Show
Ignore:
Timestamp:
08/11/10 19:17:21 (22 months ago)
Author:
Carsten
Message:

Our libraries *declare* (module-)global pointers to implementations of their interfaces,
i.e. pointers that are available for convenient access from the entire exe or dll.

Some libraries also (erroneously) provided *definitions* for these pointer instances,
namely the ConsoleInterpreter, the MaterialManager and the SoundShaderManager.

These definitions have been removed (and moved into the application code instead).

This change makes all our libraries consistent, and linking them to an application or dll easier.

Files:
1 modified

Legend:

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

    r51 r113  
    9494SingleOpenGLWindowT*   SingleOpenGLWindow=NULL; 
    9595cf::GuiSys::GuiManI*   cf::GuiSys::GuiMan=NULL;     // Define the global GuiMan pointer instance -- see GuiMan.hpp for more details. 
     96MaterialManagerI*      MaterialManager   =NULL; 
    9697cf::ConsoleI*          Console=NULL; 
    9798ConsoleInterpreterI*   ConsoleInterpreter=NULL; 
     
    99100cf::ClipSys::CollModelManI* cf::ClipSys::CollModelMan=NULL; 
    100101SoundSysI*             SoundSystem=NULL; 
     102SoundShaderManagerI*   SoundShaderManager=NULL; 
    101103#endif 
    102104