Initial
This commit is contained in:
commit
62d2de747e
1 changed files with 130940 additions and 0 deletions
20
Code blocks projekt/modules/saves.h
Normal file
20
Code blocks projekt/modules/saves.h
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
#ifndef SAVES_H_INCLUDED
|
||||
#define SAVES_H_INCLUDED
|
||||
|
||||
#include "global.h"
|
||||
#include <time.h>
|
||||
#include "player.h"
|
||||
#include "map.h"
|
||||
|
||||
#define maxNOSaves 5 /**< A save slotok száma */
|
||||
#define bufferSize 64000 /**< A mentéshez használ buffer mérete [byte]. */
|
||||
|
||||
|
||||
bool existingSaves[maxNOSaves]; /**< Igaz, ha a save slot üres. */
|
||||
|
||||
void getExistingSaveFiles(time_t ages[], int points[]);
|
||||
void deleteSave(int i);
|
||||
void saveGame(int currentOptions[]);
|
||||
void loadGame(int currentOptions[], int saveID);
|
||||
|
||||
#endif // SAVES_H_INCLUDED
|
||||
Loading…
Reference in a new issue