Changeset 114 for cafu/branches/cafu_to_wx/Games/VSWM/Code/VSWM.cpp
- Timestamp:
- 08/12/10 16:39:08 (22 months ago)
- Files:
-
- 1 modified
-
cafu/branches/cafu_to_wx/Games/VSWM/Code/VSWM.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cafu/branches/cafu_to_wx/Games/VSWM/Code/VSWM.cpp
r113 r114 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. 253 251 MaterialManagerI* MaterialManager =NULL; … … 256 254 cf::FileSys::FileManI* cf::FileSys::FileMan=NULL; 257 255 258 DLL_EXPORT void __stdcall InitInterfaces(SingleOpenGLWindowT* SingleWin, MatSys::RendererI* Renderer, MatSys::TextureMapManagerI* TexMapMan, MaterialManagerI* MatMan, cf::GuiSys::GuiManI* GuiMan_, cf::ConsoleI* Console_, ConsoleInterpreterI* ConInterpreter_) 259 { 260 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 { 261 258 MatSys::Renderer =Renderer; 262 259 MatSys::TextureMapManager=TexMapMan;
