Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 8, 2018, 6:04:56 PM (5 years ago)
Author:
stadlero
Message:

Continent color Billboards and arrows added.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/wagnis_HS18/src/modules/wagnis/Wagnis.cc

    r12172 r12173  
    1818    this->initial_reinforcements_left = 2; //changed here
    1919
    20     int n = 6;
     20    int n = 4;
    2121    for(int i = 0;i < n;i++){
    2222        WagnisPlayer* p = new WagnisPlayer(context);
     
    7474                //Still empty provinces left
    7575
    76                 if(this->active_player < this->players.size()){
     76                if(this->active_player < (int)this->players.size()){
    7777                    this->active_player++;
    7878                }else{
     
    101101            if(this->initial_reinforcements_left > 0){
    102102                player->setActive(false);
    103                 if(this->active_player == this->players.size()){
     103                if(this->active_player == (int)this->players.size()){
    104104                    //Last player finished this round of initial troops.
    105105                    this->initial_reinforcements_left -= 1;
     
    142142            int tc;
    143143            do{
    144                 if(this->active_player < this->players.size()){
     144                if(this->active_player < (int)this->players.size()){
    145145                    this->active_player++;
    146146                }else{
Note: See TracChangeset for help on using the changeset viewer.