Changeset 1383 for GTP


Ignore:
Timestamp:
09/16/06 01:49:27 (18 years ago)
Author:
giegl
Message:

GTPD - Jungle Rumble - better help etc

Location:
GTP/trunk/App/Games/Jungle_Rumble
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Games/Jungle_Rumble/bin/config.xml

    r1378 r1383  
    33        <width>800</width> 
    44        <height>600</height> 
    5         <fullscreen>1</fullscreen> <!-- 1 = TRUE, 0 = FALSE --> 
     5        <fullscreen>0</fullscreen> <!-- 1 = TRUE, 0 = FALSE --> 
    66        <physxdebug>0</physxdebug>   <!-- 1 = TRUE, 0 = FALSE --> 
    77        <challenge><name>Alien Planet</name><location>./media/challenges/moon.xml</location><loadingScreen>./media/textures/moonLoading.jpg</loadingScreen></challenge> 
  • GTP/trunk/App/Games/Jungle_Rumble/src/GameManager.cpp

    r1382 r1383  
    7474                                case VK_F1: 
    7575                                        if(activeScene == &this->gs) { 
    76                                                 this->gs.getHUD()->message("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", 2, 0.01f, true); 
     76                                                #if(0) 
     77                                                        this->gs.getHUD()->message("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", 2, 0.01f, true); 
     78                                                #else // MG 
     79                                                        std::string s(""); 
     80                                                        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"; 
     81                                                         
     82                                                        s += "\n F9: Depth Imposters On/Off "; 
     83                                                        if(this->gs.useDepthImposter) { s+= "[ON]"; } else { s+= "[OFF]"; } 
     84                                                         
     85                                                        s += "\n F10: Raytracer On/Off "; 
     86                                                        if(this->gs.useRaytracer) { s+= "[ON]"; } else { s+= "[OFF]"; } 
     87                                                         
     88                                                        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"; 
     89                                                        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"; 
     90                                                        this->gs.getHUD()->message(s, 2, 0.01f, true); 
     91                                                        //this->gs.useRaytracer 
     92                                                #endif 
    7793                                        } 
    7894                                        //this->gs.hasWon(); 
  • GTP/trunk/App/Games/Jungle_Rumble/src/GameSceneLoader.cpp

    r1378 r1383  
    11021102        float fresnel = 0; 
    11031103        float refraction = 0; 
    1104         int nbIteration = 10; 
     1104         
     1105        #if(1) 
     1106                int nbIteration = 10; 
     1107        #else 
     1108                int nbIteration = 3; // MG 
     1109        #endif 
    11051110 
    11061111        for (MSXML::IXMLDOMNodePtr pChild = rendererNode->firstChild;NULL != pChild;pChild = pChild->nextSibling) { 
  • GTP/trunk/App/Games/Jungle_Rumble/src/RaytraceRenderer.cpp

    r1378 r1383  
    66#include "NodeFilter.h" 
    77#include <ctime> 
     8 
     9 
     10#if(0) 
     11        #define CUBEMAP_SIZE            512                             // Size of CubeMaps (MG: 512 works on both current NVidia and ATI driver) 
     12#elif(0) 
     13        #define CUBEMAP_SIZE            1024                            // Size of CubeMaps (MG) 
     14#elif(1) 
     15        const int CUBEMAP_SIZE = 1024; 
     16#endif 
     17 
    818 
    919RaytraceRenderer::RaytraceRenderer(void) : Renderer() 
  • GTP/trunk/App/Games/Jungle_Rumble/src/RaytraceRenderer.h

    r1378 r1383  
    5151        LPDIRECT3DSURFACE9 pCubeMapDistSurf; 
    5252         
    53 #define CUBEMAP_SIZE            512                             // Size of CubeMaps 
    5453 
    5554enum { 
Note: See TracChangeset for help on using the changeset viewer.