mirror of
https://github.com/1dot13/source.git
synced 2026-08-26 14:30:26 +02:00
- added full screen main menu image for all resolutions
- added xml options mor main menu - StretchImage if 1 the image is stretched to the screen size - CenterImage if 1 the image is centered in X - ImagePositionRelative if 0 the image is displayed on the same place on any resolution, ignored when StretchImage is active - removed obsolete tags - new buttons in main menu: "n" new game, "q" quit git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5498 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+4
-11
@@ -12,23 +12,16 @@ typedef struct
|
||||
BOOLEAN Visible;
|
||||
CHAR8 Description[MAX_MAIN_MENU_CHARS];
|
||||
CHAR8 FileName[MAX_MAIN_MENU_CHARS];
|
||||
CHAR8 FileName800x600[MAX_MAIN_MENU_CHARS];
|
||||
CHAR8 FileName1024x768[MAX_MAIN_MENU_CHARS];
|
||||
BOOLEAN FitToScreen;
|
||||
BOOLEAN StretchImage;
|
||||
BOOLEAN CenterImage;
|
||||
BOOLEAN ImagePositionRelative;
|
||||
INT32 ImagePositionX;
|
||||
INT32 ImagePositionY;
|
||||
INT32 ImagePosition800x600X;
|
||||
INT32 ImagePosition800x600Y;
|
||||
INT32 ImagePosition1024x768X;
|
||||
INT32 ImagePosition1024x768Y;
|
||||
|
||||
UINT32 MAINMENU_Y;
|
||||
UINT32 MAINMENU_800x600Y;
|
||||
UINT32 MAINMENU_1024x768Y;
|
||||
UINT32 MAINMENU_Y_SPACE;
|
||||
|
||||
UINT32 MAINMENU_X;
|
||||
UINT32 MAINMENU_800x600X;
|
||||
UINT32 MAINMENU_1024x768X;
|
||||
|
||||
} MAIN_MENU_VALUES;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user