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/CaTools/CaSanity.cpp

    r51 r113  
    5252#include "Templates/Array.hpp" 
    5353#include "ConsoleCommands/Console.hpp" 
     54#include "ConsoleCommands/ConsoleInterpreter.hpp" 
    5455#include "ConsoleCommands/ConsoleStdout.hpp" 
    5556#include "FileSys/FileManImpl.hpp" 
     
    7778static cf::ClipSys::CollModelManImplT CCM; 
    7879cf::ClipSys::CollModelManI* cf::ClipSys::CollModelMan=&CCM; 
     80 
     81ConsoleInterpreterI* ConsoleInterpreter=NULL; 
     82MaterialManagerI*    MaterialManager   =NULL; 
    7983 
    8084