gamelog.h

Go to the documentation of this file.
00001 /* $Id: gamelog.h 15410 2009-02-08 12:25:13Z rubidium $ */
00002 
00005 #ifndef GAMELOG_H
00006 #define GAMELOG_H
00007 
00008 #include "newgrf_config.h"
00009 
00010 enum GamelogActionType {
00011   GLAT_START,        
00012   GLAT_LOAD,         
00013   GLAT_GRF,          
00014   GLAT_CHEAT,        
00015   GLAT_SETTING,      
00016   GLAT_GRFBUG,       
00017   GLAT_END,          
00018   GLAT_NONE  = 0xFF, 
00019 };
00020 
00021 void GamelogStartAction(GamelogActionType at);
00022 void GamelogStopAction();
00023 
00024 void GamelogReset();
00025 
00026 typedef void GamelogPrintProc(const char *s);
00027 void GamelogPrint(GamelogPrintProc *proc); // needed for WIN32 / WINCE crash.log
00028 
00029 void GamelogPrintDebug(int level);
00030 void GamelogPrintConsole();
00031 
00032 void GamelogRevision();
00033 void GamelogMode();
00034 void GamelogOldver();
00035 void GamelogSetting(const char *name, int32 oldval, int32 newval);
00036 
00037 void GamelogGRFUpdate(const GRFConfig *oldg, const GRFConfig *newg);
00038 void GamelogGRFAddList(const GRFConfig *newg);
00039 void GamelogGRFRemove(uint32 grfid);
00040 void GamelogGRFAdd(const GRFConfig *newg);
00041 void GamelogGRFCompatible(const GRFIdentifier *newg);
00042 
00043 void GamelogTestRevision();
00044 void GamelogTestMode();
00045 void GamelogTestGRF();
00046 
00047 bool GamelogGRFBugReverse(uint32 grfid, uint16 internal_id);
00048 
00049 void GamelogGetOriginalGRFMD5Checksum(uint32 grfid, byte *md5sum);
00050 
00051 #endif /* GAMELOG_H */

Generated on Mon Mar 9 23:33:47 2009 for openttd by  doxygen 1.5.6