src/fios.h
branchnoai
changeset 9722 ebf0ece7d8f6
parent 6577 ee768d653dd0
child 6872 1c4a4a609f85
child 8645 83500ad80b08
child 9723 eee46cb39750
equal deleted inserted replaced
9721:9a27928bcd5e 9722:ebf0ece7d8f6
     2 
     2 
     3 /** @file fios.h Declarations for savegames operations */
     3 /** @file fios.h Declarations for savegames operations */
     4 
     4 
     5 #ifndef FIOS_H
     5 #ifndef FIOS_H
     6 #define FIOS_H
     6 #define FIOS_H
       
     7 
       
     8 enum {
       
     9 	/**
       
    10 	 * Slot used for the GRF scanning and such. This slot cannot be reused
       
    11 	 * as it will otherwise cause issues when pressing "rescan directories".
       
    12 	 * It can furthermore not be larger than LAST_GRF_SLOT as that complicates
       
    13 	 * the testing for "too much NewGRFs".
       
    14 	 */
       
    15 	CONFIG_SLOT    =  0,
       
    16 	/** Slot for the sound. */
       
    17 	SOUND_SLOT     =  1,
       
    18 	/** First slot useable for (New)GRFs used during the game. */
       
    19 	FIRST_GRF_SLOT =  2,
       
    20 	/** Last slot useable for (New)GRFs used during the game. */
       
    21 	LAST_GRF_SLOT  = 63,
       
    22 	/** Maximum number of slots. */
       
    23 	MAX_FILE_SLOTS = 64
       
    24 };
     7 
    25 
     8 /* Deals with finding savegames */
    26 /* Deals with finding savegames */
     9 struct FiosItem {
    27 struct FiosItem {
    10 	byte type;
    28 	byte type;
    11 	uint64 mtime;
    29 	uint64 mtime;