@@ -16,7 +16,7 @@
|
||||
struct LoggedAction;
|
||||
|
||||
/** The actions we log. */
|
||||
enum GamelogActionType : uint8 {
|
||||
enum GamelogActionType : uint8_t {
|
||||
GLAT_START, ///< Game created
|
||||
GLAT_LOAD, ///< Game loaded
|
||||
GLAT_GRF, ///< GRF changed
|
||||
@@ -51,20 +51,20 @@ bool GamelogTestEmergency();
|
||||
void GamelogRevision();
|
||||
void GamelogMode();
|
||||
void GamelogOldver();
|
||||
void GamelogSetting(const char *name, int32 oldval, int32 newval);
|
||||
void GamelogSetting(const char *name, int32_t oldval, int32_t newval);
|
||||
|
||||
void GamelogGRFUpdate(const GRFConfig *oldg, const GRFConfig *newg);
|
||||
void GamelogGRFAddList(const GRFConfig *newg);
|
||||
void GamelogGRFRemove(uint32 grfid);
|
||||
void GamelogGRFRemove(uint32_t grfid);
|
||||
void GamelogGRFAdd(const GRFConfig *newg);
|
||||
void GamelogGRFCompatible(const GRFIdentifier *newg);
|
||||
|
||||
void GamelogTestRevision();
|
||||
void GamelogTestMode();
|
||||
|
||||
bool GamelogGRFBugReverse(uint32 grfid, uint16 internal_id);
|
||||
bool GamelogGRFBugReverse(uint32_t grfid, uint16_t internal_id);
|
||||
|
||||
void GamelogInfo(const std::vector<LoggedAction> &gamelog_actions, uint32 *last_ottd_rev, byte *ever_modified, bool *removed_newgrfs);
|
||||
void GamelogInfo(const std::vector<LoggedAction> &gamelog_actions, uint32_t *last_ottd_rev, byte *ever_modified, bool *removed_newgrfs);
|
||||
const char *GamelogGetLastRevision(const std::vector<LoggedAction> &gamelog_actions);
|
||||
|
||||
#endif /* GAMELOG_H */
|
||||
|
Reference in New Issue
Block a user