Subversion Repositories Games.Carmageddon

Rev

Rev 18 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 pmbaty 1
#ifndef _LOADSAVE_H_
2
#define _LOADSAVE_H_
3
 
20 pmbaty 4
#include "brender/br_types.h"
1 pmbaty 5
#include "dr_types.h"
6
 
7
extern tSave_game* gSaved_games[8];
8
extern int gStarted_typing;
9
extern int gSave_allowed;
10
 
11
void CorrectLoadByteOrdering(int pIndex);
12
 
13
tU32 CalcLSChecksum(tSave_game* pSaved_game);
14
 
15
void LoadSavedGames(void);
16
 
17
void DisposeSavedGames(void);
18
 
19
void LoadTheGame(int pSlot_index);
20
 
21
void StartRollingSaveNamesIn(void);
22
 
23
void LoadStart(void);
24
 
25
int DoLoadGame(void);
26
 
27
void CorrectSaveByteOrdering(int pIndex);
28
 
29
void SaveTheGame(int pSlot_number);
30
 
31
int ConfirmMidGameSave(void);
32
 
33
void MakeSavedGame(tSave_game** pSave_record);
34
 
35
void SaveStart(void);
36
 
37
void GetSaveName(int pStarting_to_type, int pCurrent_choice, char* pString, int* pMax_length);
38
 
39
int SaveDone(int pCurrent_choice, int pCurrent_mode, int pGo_ahead, int pEscaped, int pTimed_out);
40
 
41
int SaveGoAhead(int* pCurrent_choice, int* pCurrent_mode);
42
 
43
int SaveEscape(int* pCurrent_choice, int* pCurrent_mode);
44
 
45
int SaveGameInterface(int pDefault_choice);
46
 
47
void DoSaveGame(int pSave_allowed);
48
 
49
#endif