Show
Ignore:
Timestamp:
08/27/10 11:30:01 (21 months ago)
Author:
Carsten
Message:

Reintegrated branches/cafu_to_wx back into trunk!

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • cafu/trunk/Games/DeathMatch/Code/DeathMatch.cpp

    r51 r136  
    3636#include "MaterialSystem/Renderer.hpp" 
    3737#include "MaterialSystem/TextureMap.hpp" 
    38 #include "OpenGL/OpenGLWindow.hpp" 
    3938#include "TypeSys.hpp" 
    4039#include "SoundSystem/SoundShaderManager.hpp" 
     
    9291#ifdef _WIN32 
    9392// Under Linux (where DLLs are shared objects), these all resolve to their counterparts in the main executable. 
    94 SingleOpenGLWindowT*   SingleOpenGLWindow=NULL; 
    9593cf::GuiSys::GuiManI*   cf::GuiSys::GuiMan=NULL;     // Define the global GuiMan pointer instance -- see GuiMan.hpp for more details. 
     94MaterialManagerI*      MaterialManager   =NULL; 
    9695cf::ConsoleI*          Console=NULL; 
    9796ConsoleInterpreterI*   ConsoleInterpreter=NULL; 
     
    9998cf::ClipSys::CollModelManI* cf::ClipSys::CollModelMan=NULL; 
    10099SoundSysI*             SoundSystem=NULL; 
     100SoundShaderManagerI*   SoundShaderManager=NULL; 
    101101#endif 
    102102 
     
    104104// WARNING: When the signature of GetGame() is changed here (e.g. by adding more interface pointer parameters), 
    105105// 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_) 
     106DLL_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_) 
    107107{ 
    108108#ifdef _WIN32 
    109109    // Under Linux (where DLLs are shared objects), these all resolve to their counterparts in the main executable. 
    110     SingleOpenGLWindow       =SingleWin; 
    111110    MatSys::Renderer         =Renderer; 
    112111    MatSys::TextureMapManager=TexMapMan;