Changeset 1390


Ignore:
Timestamp:
09/17/06 00:06:54 (18 years ago)
Author:
giegl
Message:

GTPD - Jungle Rumble - F1 freezes gameplay

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  
    107107                                                         
    108108                                                        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"; 
    110109                                                        this->gs.getHUD()->message(s, 2, 0.01f, true); 
    111                                                         //this->gs.useRaytracer 
    112110                                                #elif(1) // MG 
     111                                                        // Toggle help with F1 
    113112                                                        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                                                        } 
    114121                                                #endif 
    115122                                        } 
    116                                         //this->gs.hasWon(); 
    117123                                        break; 
    118124                                case VK_F2: 
  • GTP/trunk/App/Games/Jungle_Rumble/src/HUDRenderer.cpp

    r1389 r1390  
    232232 
    233233                                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); 
    238234                                                myFont->DrawText(sprite, this->myScene->manager->HelpScreenString_Get().c_str(), -1, &helpRectangle, DT_LEFT | DT_WORDBREAK, fontColor); 
    239235                                } 
     
    241237                                        // No help screen active => display message (if active) 
    242238                                        if (hud->messagetimer < hud->messagethreshold) { 
    243                                                 //hud->messagetimer += hud->messagedt; 
    244                                                 //if(!hud->bHelp) { 
    245239                                                myFont->DrawText(sprite, hud->messagestring.c_str(), -1, &textRectangle, DT_CENTER | DT_WORDBREAK, fontColor); 
    246                                                 //}  
    247240                                        } 
    248241                                } 
Note: See TracChangeset for help on using the changeset viewer.