Files
source/SaveLoadScreen.h
T
Wanne 91087ca8c0 ************************************************************
* Merged Source Code from Development Trunk: Revision 4063 *
************************************************************
- Source Code is merged from: https://81.169.133.124/source/ja2/branches/Wanne/JA2%201.13%20MP
- This will be the Source for the Beta 2011 Test

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@4064 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2011-01-18 09:11:09 +00:00

54 lines
1.4 KiB
C

#ifndef _SAVE_LOAD_SCREEN__H_
#define _SAVE_LOAD_SCREEN__H_
#include "MessageBoxScreen.h"
#define NUM_SAVE_GAMES_OLD 11
#define NUM_SAVE_GAMES_NEW 19
#define NUM_SAVE_GAMES 19
extern UINT16 NUM_SLOT;
extern UINT32 SLG_SAVELOCATION_HEIGHT;
extern UINT32 SLG_GAP_BETWEEN_LOCATIONS;
extern UINT32 SLG_DATE_OFFSET_Y;
extern UINT32 SLG_SELECTED_SLOT_GRAPHICS_NUMBER;
extern UINT32 SLG_UNSELECTED_SLOT_GRAPHICS_NUMBER;
extern void LoadSaveGameOldOrNew();
//This flag is used to diferentiate between loading a game and saveing a game.
// gfSaveGame=TRUE For saving a game
// gfSaveGame=FALSE For loading a game
extern BOOLEAN gfSaveGame;
//if there is to be a slot selected when entering this screen
extern INT8 gbSetSlotToBeSelected;
extern BOOLEAN gbSaveGameArray[ NUM_SAVE_GAMES ];
extern BOOLEAN gfCameDirectlyFromGame;
UINT32 SaveLoadScreenShutdown( void );
UINT32 SaveLoadScreenHandle( void );
UINT32 SaveLoadScreenInit( void );
//Kaiden : Trying to get Editor to work
extern BOOLEAN DoSaveLoadMessageBox( UINT8 ubStyle, const STR16 zString, UINT32 uiExitScreen, UINT16 usFlags, MSGBOX_CALLBACK ReturnCallback );
BOOLEAN InitSaveGameArray();
void DoneFadeOutForSaveLoadScreen( void );
void DoneFadeInForSaveLoadScreen( void );
BOOLEAN DoQuickSave();
BOOLEAN DoQuickLoad();
BOOLEAN IsThereAnySavedGameFiles();
void DeleteSaveGameNumber( UINT8 ubSaveGameSlotID );
#endif