Changeset 136 for cafu/trunk/Games/DeathMatch/Code/DeathMatch.cpp
- Timestamp:
- 08/27/10 11:30:01 (21 months ago)
- Files:
-
- 1 modified
-
cafu/trunk/Games/DeathMatch/Code/DeathMatch.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cafu/trunk/Games/DeathMatch/Code/DeathMatch.cpp
r51 r136 36 36 #include "MaterialSystem/Renderer.hpp" 37 37 #include "MaterialSystem/TextureMap.hpp" 38 #include "OpenGL/OpenGLWindow.hpp"39 38 #include "TypeSys.hpp" 40 39 #include "SoundSystem/SoundShaderManager.hpp" … … 92 91 #ifdef _WIN32 93 92 // Under Linux (where DLLs are shared objects), these all resolve to their counterparts in the main executable. 94 SingleOpenGLWindowT* SingleOpenGLWindow=NULL;95 93 cf::GuiSys::GuiManI* cf::GuiSys::GuiMan=NULL; // Define the global GuiMan pointer instance -- see GuiMan.hpp for more details. 94 MaterialManagerI* MaterialManager =NULL; 96 95 cf::ConsoleI* Console=NULL; 97 96 ConsoleInterpreterI* ConsoleInterpreter=NULL; … … 99 98 cf::ClipSys::CollModelManI* cf::ClipSys::CollModelMan=NULL; 100 99 SoundSysI* SoundSystem=NULL; 100 SoundShaderManagerI* SoundShaderManager=NULL; 101 101 #endif 102 102 … … 104 104 // WARNING: When the signature of GetGame() is changed here (e.g. by adding more interface pointer parameters), 105 105 // grep all C++ source code files for "GetGame@", because the number of parameter bytes must be updated there! 106 DLL_EXPORT cf::GameSys::GameI* __stdcall GetGame( SingleOpenGLWindowT* SingleWin,MatSys::RendererI* Renderer, MatSys::TextureMapManagerI* TexMapMan, MaterialManagerI* MatMan, cf::GuiSys::GuiManI* GuiMan_, cf::ConsoleI* Console_, ConsoleInterpreterI* ConInterpreter_, cf::ClipSys::CollModelManI* CollModelMan_, SoundSysI* SoundSystem_, SoundShaderManagerI* SoundShaderManager_)106 DLL_EXPORT cf::GameSys::GameI* __stdcall GetGame(MatSys::RendererI* Renderer, MatSys::TextureMapManagerI* TexMapMan, MaterialManagerI* MatMan, cf::GuiSys::GuiManI* GuiMan_, cf::ConsoleI* Console_, ConsoleInterpreterI* ConInterpreter_, cf::ClipSys::CollModelManI* CollModelMan_, SoundSysI* SoundSystem_, SoundShaderManagerI* SoundShaderManager_) 107 107 { 108 108 #ifdef _WIN32 109 109 // Under Linux (where DLLs are shared objects), these all resolve to their counterparts in the main executable. 110 SingleOpenGLWindow =SingleWin;111 110 MatSys::Renderer =Renderer; 112 111 MatSys::TextureMapManager=TexMapMan;
