Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 5, 2018, 12:49:23 PM (6 years ago)
Author:
kunzro
Message:

WagnisHUDinfo added

File:
1 edited

Legend:

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

    r12157 r12158  
    5050            findWagnis();
    5151        }
     52    enum GameStage { NOT_READY, CHOOSE_PROVINCE_STAGE, REINFORCEMENT_STAGE, ATTACK_STAGE, MOVE_STAGE };
    5253        std::stringstream ss;
    5354        switch(wagnisgame->gameStage){
    5455            case CHOOSE_PROVINCE_STAGE: {
    55                 ss<<"Player"<<wagnisgame->active_player;
     56                ss<<"Player "<<wagnisgame->active_player<<" choose a province to occupy";
     57                setCaption( ss.str() );
     58                break;
     59            }
     60            case REINFORCEMENT_STAGE: {
     61                ss<<"Player "<<wagnisgame->active_player<<" place your reinforcements";
     62                setCaption( ss.str() );
     63                break;
     64            }
     65            case ATTACK_STAGE: {
     66                ss<<"Player "<<wagnisgame->active_player<<" you can attack now";
     67                setCaption( ss.str() );
     68                break;
     69            }
     70            case MOVE_STAGE: {
     71                ss<<"Player "<<wagnisgame->active_player<<" you can reorganize your troops now";
     72                setCaption( ss.str() );
     73                break;
     74            }
     75            case NOT_READY: {
     76                ss<<"";
    5677                setCaption( ss.str() );
    5778                break;
Note: See TracChangeset for help on using the changeset viewer.