Subversion Repositories Games.Carmageddon

Rev

Rev 1 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

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