mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
.editorconfig already enforces it but it's getting changed piecemeal in every commit. just get it done with. the script: ``` find . -type f -not -path "./.git/*" -not -path "./.vs/*" | while read -r file; do isFile=$(file -0 "$file" | cut -d $'\0' -f2) case "$isFile" in (*text*) echo "$file is text" if [[ $(tail -c 1 "$file" | wc -l) -ne 1 ]]; then echo "" >> "$file" fi ;; (*) echo "file isn't text" ;; esac done ```
41 lines
842 B
C
41 lines
842 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
|