Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Continent color Billboards and arrows added.

Location:
code/branches/wagnis_HS18/src/modules/wagnis
Files:
2 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{
  • code/branches/wagnis_HS18/src/modules/wagnis/Wagnis.h

    r12172 r12173  
     1/*
     2 *   ORXONOX - the hottest 3D action shooter ever to exist
     3 *                    > www.orxonox.net <
     4 *
     5 *
     6 *   License notice:
     7 *
     8 *   This program is free software; you can redistribute it and/or
     9 *   modify it under the terms of the GNU General Public License
     10 *   as published by the Free Software Foundation; either version 2
     11 *   of the License, or (at your option) any later version.
     12 *
     13 *   This program is distributed in the hope that it will be useful,
     14 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
     15 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     16 *   GNU General Public License for more details.
     17 *
     18 *   You should have received a copy of the GNU General Public License
     19 *   along with this program; if not, write to the Free Software
     20 *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
     21 *
     22 *   Authors:
     23 * 
     24 *   Co-authors:
     25 *      ...
     26 *
     27 */
    128
    229
Note: See TracChangeset for help on using the changeset viewer.