home *** CD-ROM | disk | FTP | other *** search
/ Enter 2005 March / ENTER.ISO / files / fwp-0.0.6-win32-installer.exe / ModelHandler.h < prev    next >
Encoding:
C/C++ Source or Header  |  2004-12-06  |  579 b   |  27 lines

  1. #ifndef __ModelHandler_h__
  2. #define __ModelHandler_h__
  3.  
  4. #include "Model.h"
  5.  
  6. class ModelHandler{
  7. public:
  8.     static Model* getModel(const char* filename);
  9.     static void freeModel(Model* model);
  10.     static int getNumModels();
  11.     static void setNewSearchPath(char* newPath);
  12.     static void addToSearchPath(char* path);
  13.  
  14.     static char* searchPath;    // THINKABOUTME: muss public sein fⁿr cvar??
  15.  
  16. protected:
  17.     static char** modelFilenames;
  18.     static Model** models;
  19.     static int numModels;
  20.  
  21.     static Model* loadModel(const char* filename);
  22. };
  23.  
  24.  
  25.  
  26. #endif    /* __ModelHandler_h__ */
  27.