src/saveload.h
branchNewGRF_ports
changeset 10192 195d7f6dcf71
parent 10184 fcf5fb2548eb
child 10274 b3c58f3df92b
equal deleted inserted replaced
10184:fcf5fb2548eb 10192:195d7f6dcf71
    11 #undef SIZE_MAX
    11 #undef SIZE_MAX
    12 #endif
    12 #endif
    13 
    13 
    14 #define SIZE_MAX ((size_t)-1)
    14 #define SIZE_MAX ((size_t)-1)
    15 
    15 
    16 static const uint NEWGRF_AIRPORTS_SAVEGAME = 93;
    16 static const uint NEWGRF_AIRPORTS_SAVEGAME = 94;
    17 
    17 
    18 enum SaveOrLoadResult {
    18 enum SaveOrLoadResult {
    19 	SL_OK     = 0, ///< completed successfully
    19 	SL_OK     = 0, ///< completed successfully
    20 	SL_ERROR  = 1, ///< error that was caught before internal structures were modified
    20 	SL_ERROR  = 1, ///< error that was caught before internal structures were modified
    21 	SL_REINIT = 2, ///< error that was caught in the middle of updating game state, need to clear it. (can only happen during load)
    21 	SL_REINIT = 2, ///< error that was caught in the middle of updating game state, need to clear it. (can only happen during load)