- Timestamp:
- Dec 5, 2018, 1:24:26 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/wagnis_HS18/src/modules/wagnis/WagnisHUDinfo.cc
r12158 r12159 21 21 * 22 22 * Author: 23 * Florian Zinggeler23 * Roman Kunz 24 24 * 25 25 */ … … 50 50 findWagnis(); 51 51 } 52 enum GameStage { NOT_READY, CHOOSE_PROVINCE_STAGE, REINFORCEMENT_STAGE, ATTACK_STAGE, MOVE_STAGE }; 52 switch(wagnisgame->active_player){ 53 case 1: setColour( colour({255,0,0}, 100.0f) ); 54 break; 55 case 2: setColour( colour({0,255,0}, 100.0f) ); 56 break; 57 case 3: setColour( colour({255,255,0}, 100.0f) ); 58 break; 59 case 4: setColour( colour({0,0,255}, 100.0f) ); 60 break; 61 case 5: setColour( colour({255,0,255}, 100.0f) ); 62 break; 63 case 6: setColour( colour({128,128,0}, 40.0f) ); 64 break; 65 case 7: setColour( colour({0,255,255}, 100.0f) ); 66 break; 67 case 8: setColour( colour({153,255,204}, 100.0f) ); 68 break; 69 case 9: setColour( colour({102,51,0}, 100.0f) ); 70 break; 71 } 72 53 73 std::stringstream ss; 54 74 switch(wagnisgame->gameStage){
Note: See TracChangeset
for help on using the changeset viewer.