src/saveload.h
branchNewGRF_ports
changeset 6871 5a9dc001e1ad
parent 6870 ca3fd1fbe311
child 6872 1c4a4a609f85
equal deleted inserted replaced
6870:ca3fd1fbe311 6871:5a9dc001e1ad
    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 = 80;
    16 static const uint NEWGRF_AIRPORTS_SAVEGAME = 83;
    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)