Changeset 136 for cafu/trunk/Games/VSWM/Code/VSWM.cpp
- Timestamp:
- 08/27/10 11:30:01 (21 months ago)
- Files:
-
- 1 modified
-
cafu/trunk/Games/VSWM/Code/VSWM.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cafu/trunk/Games/VSWM/Code/VSWM.cpp
r51 r136 13 13 #include "MaterialSystem/Renderer.hpp" 14 14 #include "MaterialSystem/TextureMap.hpp" 15 #include "OpenGL/OpenGLWindow.hpp"16 15 17 16 #include "EntityCreateParams.hpp" … … 249 248 // by the client. The parameters to this function however are always non-volatile, they don't change over multiple calls. 250 249 // In future implementations I'll possibly change this and load and init the DLL only once, even before the client or server gets instantiated. 251 SingleOpenGLWindowT* SingleOpenGLWindow=NULL;252 250 cf::GuiSys::GuiManI* cf::GuiSys::GuiMan=NULL; // Define the global GuiMan pointer instance -- see GuiMan.hpp for more details. 251 MaterialManagerI* MaterialManager =NULL; 253 252 cf::ConsoleI* Console=NULL; 254 253 ConsoleInterpreterI* ConsoleInterpreter=NULL; 255 254 cf::FileSys::FileManI* cf::FileSys::FileMan=NULL; 256 255 257 DLL_EXPORT void __stdcall InitInterfaces(SingleOpenGLWindowT* SingleWin, MatSys::RendererI* Renderer, MatSys::TextureMapManagerI* TexMapMan, MaterialManagerI* MatMan, cf::GuiSys::GuiManI* GuiMan_, cf::ConsoleI* Console_, ConsoleInterpreterI* ConInterpreter_) 258 { 259 SingleOpenGLWindow =SingleWin; 256 DLL_EXPORT void __stdcall InitInterfaces(MatSys::RendererI* Renderer, MatSys::TextureMapManagerI* TexMapMan, MaterialManagerI* MatMan, cf::GuiSys::GuiManI* GuiMan_, cf::ConsoleI* Console_, ConsoleInterpreterI* ConInterpreter_) 257 { 260 258 MatSys::Renderer =Renderer; 261 259 MatSys::TextureMapManager=TexMapMan;
