Files
source/Ja2/mainmenuscreen.h
majcostaandGitHub ae55496e39 Move main executable source to its own directory (#248)
* Move main executable files to their own directory

* Adapt the build to the new file structure

... and fix some weird #include's that were relying on the project root
being an include directory.
2023-10-23 15:46:51 -03:00

40 lines
841 B
C

#ifndef _MAINMENU_H
#define _MAINMENU_H
//MainMenu by Jazz
#define MAX_MAIN_MENU_IMAGE 200
#define MAX_MAIN_MENU_CHARS 500
#define MAX_ELEMENT 20
typedef struct
{
UINT32 uiIndex; // add
BOOLEAN Visible;
CHAR8 Description[MAX_MAIN_MENU_CHARS];
CHAR8 FileName[MAX_MAIN_MENU_CHARS];
BOOLEAN FitToScreen;
BOOLEAN StretchImage;
BOOLEAN CenterImage;
BOOLEAN ImagePositionRelative;
INT32 ImagePositionX;
INT32 ImagePositionY;
UINT32 MAINMENU_Y;
UINT32 MAINMENU_Y_SPACE;
UINT32 MAINMENU_X;
} MAIN_MENU_VALUES;
//Main Menu layout by Jazz
extern MAIN_MENU_VALUES gMainMenulayout[MAX_MAIN_MENU_IMAGE];
extern UINT32 MAINMENU_Y;
extern UINT32 MAINMENU_X;
extern UINT32 MAINMENU_Y_SPACE;
BOOLEAN InitMainMenu( );
void ClearMainMenu( );
void InitDependingGameStyleOptions();
#endif