home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2006 March / Gamestar_82_2006-03_dvd.iso / DVDStar / Editace / quake4_sdkv10.exe / source / game / Game_Log.h < prev    next >
C/C++ Source or Header  |  2005-11-14  |  934b  |  41 lines

  1.  
  2. #ifndef __GAME_LOG_H__
  3. #define    __GAME_LOG_H__
  4.  
  5. //============================================================================
  6.  
  7. class rvGameLogLocal : public rvGameLog {
  8. public:
  9.  
  10.     rvGameLogLocal ( void );
  11.  
  12.     virtual void        Init        ( void );
  13.     virtual void        Shutdown    ( void );
  14.  
  15.     virtual void        BeginFrame    ( int time );
  16.     virtual void        EndFrame    ( void );
  17.  
  18.     virtual    void        Set            ( const char* keyword, int value );
  19.     virtual void        Set            ( const char* keyword, float value );
  20.     virtual void        Set            ( const char* keyword, const char* value );
  21.     virtual void        Set            ( const char* keyword, bool value );
  22.     
  23.     virtual void        Add            ( const char* keyword, int value );
  24.     virtual void        Add            ( const char* keyword, float value );
  25.  
  26. protected:
  27.  
  28.     int            lastTime;
  29.     int            indexCount;
  30.     idStrList    index;
  31.     idStrList    frame;
  32.     idStrList    oldframe;
  33.     idFile*        file;
  34.     bool        initialized;
  35.     idTimer        timer_fps;
  36. };
  37.  
  38. extern rvGameLogLocal        gameLogLocal;
  39.  
  40. #endif    // __GAME_LOG_H__
  41.