- Timestamp:
- 08/12/10 16:39:08 (22 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
cafu/branches/cafu_to_wx/Games/DeathMatch/Code/DeathMatch.cpp
r113 r114 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. 96 94 MaterialManagerI* MaterialManager =NULL; … … 106 104 // WARNING: When the signature of GetGame() is changed here (e.g. by adding more interface pointer parameters), 107 105 // grep all C++ source code files for "GetGame@", because the number of parameter bytes must be updated there! 108 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_) 109 107 { 110 108 #ifdef _WIN32 111 109 // Under Linux (where DLLs are shared objects), these all resolve to their counterparts in the main executable. 112 SingleOpenGLWindow =SingleWin;113 110 MatSys::Renderer =Renderer; 114 111 MatSys::TextureMapManager=TexMapMan;
