Changeset 1390 for GTP/trunk/App/Games/Jungle_Rumble
- Timestamp:
- 09/17/06 00:06:54 (18 years ago)
- Location:
- GTP/trunk/App/Games/Jungle_Rumble
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Games/Jungle_Rumble/src/GameManager.cpp
r1389 r1390 107 107 108 108 s += "\n F11 Opponent Fire On/Off\n Pause: Pause Game\n 1 Standard weapon\n 2 Bombs - explode late, but do cause lots of damage!\n 3 Alien weapon - just shoot!\n 4 Firethrower - Toast your opponent\n 5 Icethrower - Slow down your opponent"; 109 //s += "HELP:\n drive: w-a-s-d\n shoot: left mouse\n F2: show FPS\n F3: PhysX Debugger\n F4: Music On/Off\n F9: Depth Imposters On/Off\n F10: Raytracer On/Off\n F11 Opponent Fire On/Off\n Pause: Pause Game\n 1 Standard weapon\n 2 Bombs - explode late, but do cause lots of damage!\n 3 Alien weapon - just shoot!\n 4 Firethrower - Toast your opponent\n 5 Icethrower - Slow down your opponent";110 109 this->gs.getHUD()->message(s, 2, 0.01f, true); 111 //this->gs.useRaytracer112 110 #elif(1) // MG 111 // Toggle help with F1 113 112 GLOBAL_display_help_screenQ = !GLOBAL_display_help_screenQ; 113 if(GLOBAL_display_help_screenQ) { 114 this->gs.preparepaused = true; 115 } 116 else { 117 this->gs.preparepaused= false; 118 this->gs.currentlypaused = false; 119 this->gs.getHUD()->message("", 1, 0.01f); 120 } 114 121 #endif 115 122 } 116 //this->gs.hasWon();117 123 break; 118 124 case VK_F2: -
GTP/trunk/App/Games/Jungle_Rumble/src/HUDRenderer.cpp
r1389 r1390 232 232 233 233 if(GLOBAL_display_help_screenQ) { 234 //std::wstring str_helpscreen(this->myScene->manager->HelpScreenString_Get());235 //this->myScene->manager->236 //myFont->DrawText(sprite, hud->messagestring.c_str(), -1, &helpRectangle, DT_LEFT | DT_WORDBREAK, fontColor);237 //myFont->DrawText(sprite, str_helpscreen.c_str(), -1, &helpRectangle, DT_LEFT | DT_WORDBREAK, fontColor);238 234 myFont->DrawText(sprite, this->myScene->manager->HelpScreenString_Get().c_str(), -1, &helpRectangle, DT_LEFT | DT_WORDBREAK, fontColor); 239 235 } … … 241 237 // No help screen active => display message (if active) 242 238 if (hud->messagetimer < hud->messagethreshold) { 243 //hud->messagetimer += hud->messagedt;244 //if(!hud->bHelp) {245 239 myFont->DrawText(sprite, hud->messagestring.c_str(), -1, &textRectangle, DT_CENTER | DT_WORDBREAK, fontColor); 246 //}247 240 } 248 241 }
Note: See TracChangeset
for help on using the changeset viewer.