saveload.c
changeset 1914 2b4b3c3a95b4
parent 1913 0798d6f1d682
child 1935 164d58b9137c
equal deleted inserted replaced
1913:0798d6f1d682 1914:2b4b3c3a95b4
   835 typedef struct ThreadedSave {
   835 typedef struct ThreadedSave {
   836 	MemoryPool *save;
   836 	MemoryPool *save;
   837 	uint count;
   837 	uint count;
   838 	bool ff_state;
   838 	bool ff_state;
   839 	bool saveinprogress;
   839 	bool saveinprogress;
   840 	uint32 cursor;
   840 	CursorID cursor;
   841 } ThreadedSave;
   841 } ThreadedSave;
   842 
   842 
   843 /* A maximum size of of 128K * 500 = 64.000KB savegames */
   843 /* A maximum size of of 128K * 500 = 64.000KB savegames */
   844 static MemoryPool _save_pool = {"Savegame", SAVE_POOL_MAX_BLOCKS, SAVE_POOL_BLOCK_SIZE_BITS, sizeof(byte), NULL, 0, 0, NULL};
   844 static MemoryPool _save_pool = {"Savegame", SAVE_POOL_MAX_BLOCKS, SAVE_POOL_BLOCK_SIZE_BITS, sizeof(byte), NULL, 0, 0, NULL};
   845 static ThreadedSave _ts;
   845 static ThreadedSave _ts;