Show
Ignore:
Timestamp:
08/12/10 16:39:08 (22 months ago)
Author:
Carsten
Message:

Liberated a lot of code from knowing the obsolete OpenGLWindowT class (and thus its related SingleOpenGLWindow global pointer)
and the also obsolete, related DirectX code.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • cafu/branches/cafu_to_wx/Games/VSWM/Code/VSWM.cpp

    r113 r114  
    1313#include "MaterialSystem/Renderer.hpp" 
    1414#include "MaterialSystem/TextureMap.hpp" 
    15 #include "OpenGL/OpenGLWindow.hpp" 
    1615 
    1716#include "EntityCreateParams.hpp" 
     
    249248// by the client. The parameters to this function however are always non-volatile, they don't change over multiple calls. 
    250249// 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; 
    252250cf::GuiSys::GuiManI*   cf::GuiSys::GuiMan=NULL;     // Define the global GuiMan pointer instance -- see GuiMan.hpp for more details. 
    253251MaterialManagerI*      MaterialManager   =NULL; 
     
    256254cf::FileSys::FileManI* cf::FileSys::FileMan=NULL; 
    257255 
    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; 
     256DLL_EXPORT void __stdcall InitInterfaces(MatSys::RendererI* Renderer, MatSys::TextureMapManagerI* TexMapMan, MaterialManagerI* MatMan, cf::GuiSys::GuiManI* GuiMan_, cf::ConsoleI* Console_, ConsoleInterpreterI* ConInterpreter_) 
     257{ 
    261258    MatSys::Renderer         =Renderer; 
    262259    MatSys::TextureMapManager=TexMapMan;