Changeset 1383 for GTP/trunk/App/Games/Jungle_Rumble
- Timestamp:
- 09/16/06 01:49:27 (18 years ago)
- 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 3 3 <width>800</width> 4 4 <height>600</height> 5 <fullscreen> 1</fullscreen> <!-- 1 = TRUE, 0 = FALSE -->5 <fullscreen>0</fullscreen> <!-- 1 = TRUE, 0 = FALSE --> 6 6 <physxdebug>0</physxdebug> <!-- 1 = TRUE, 0 = FALSE --> 7 7 <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 74 74 case VK_F1: 75 75 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 77 93 } 78 94 //this->gs.hasWon(); -
GTP/trunk/App/Games/Jungle_Rumble/src/GameSceneLoader.cpp
r1378 r1383 1102 1102 float fresnel = 0; 1103 1103 float refraction = 0; 1104 int nbIteration = 10; 1104 1105 #if(1) 1106 int nbIteration = 10; 1107 #else 1108 int nbIteration = 3; // MG 1109 #endif 1105 1110 1106 1111 for (MSXML::IXMLDOMNodePtr pChild = rendererNode->firstChild;NULL != pChild;pChild = pChild->nextSibling) { -
GTP/trunk/App/Games/Jungle_Rumble/src/RaytraceRenderer.cpp
r1378 r1383 6 6 #include "NodeFilter.h" 7 7 #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 8 18 9 19 RaytraceRenderer::RaytraceRenderer(void) : Renderer() -
GTP/trunk/App/Games/Jungle_Rumble/src/RaytraceRenderer.h
r1378 r1383 51 51 LPDIRECT3DSURFACE9 pCubeMapDistSurf; 52 52 53 #define CUBEMAP_SIZE 512 // Size of CubeMaps54 53 55 54 enum {
Note: See TracChangeset
for help on using the changeset viewer.