23#ifndef M4_GUI_GUI_GAME_MENU_H
24#define M4_GUI_GUI_GAME_MENU_H
26#include "m4/gui/gui_menu_items.h"
35 static int16 SL_THUMBNAIL_W;
36 static int16 SL_THUMBNAIL_H;
38 static int16 SL_DIALOG_BOX;
39 static int16 SL_EMPTY_THUMB_25;
40 static int16 SL_SAVE_BTN_GREY;
41 static int16 SL_SAVE_BTN_NORM;
42 static int16 SL_SAVE_BTN_OVER;
43 static int16 SL_SAVE_BTN_PRESS;
44 static int16 SL_LOAD_BTN_GREY;
45 static int16 SL_LOAD_BTN_NORM;
46 static int16 SL_LOAD_BTN_OVER;
47 static int16 SL_LOAD_BTN_PRESS;
48 static int16 SL_CANCEL_BTN_NORM;
49 static int16 SL_CANCEL_BTN_OVER;
50 static int16 SL_CANCEL_BTN_PRESS;
51 static int16 SL_UP_BTN_GREY_19;
52 static int16 SL_UP_BTN_NORM_13;
53 static int16 SL_UP_BTN_OVER_15;
54 static int16 SL_UP_BTN_PRESS_17;
55 static int16 SL_DOWN_BTN_GREY_20;
56 static int16 SL_DOWN_BTN_NORM_14;
57 static int16 SL_DOWN_BTN_OVER_16;
58 static int16 SL_DOWN_BTN_PRESS_18;
59 static int16 SL_SAVE_LABEL_7;
60 static int16 SL_LOAD_LABEL_9;
61 static int16 SL_SLIDER_BTN_NORM_21;
62 static int16 SL_SLIDER_BTN_OVER_22;
63 static int16 SL_SLIDER_BTN_PRESS_23;
64 static int16 SL_LINE_NORM;
65 static int16 SL_LINE_OVER;
66 static int16 SL_LINE_PRESS;
67 static int16 SL_SCROLL_BAR_24;
68 static int16 SL_TOTAL_SPRITES;
70 static constexpr int16 SL_SAVE_TITLE = 11;
71 static constexpr int16 SL_LOAD_TITLE = 12;
72 static constexpr int16 SL_SAVE_LABEL_GREY = 8;
73 static constexpr int16 SL_LOAD_LABEL_GREY = 10;
76 static void initializeSlotTables();
77 static Sprite *menu_CreateThumbnail(int32 *spriteSize);
78 static bool loadThumbnail(int32 slotNum);
79 static void unloadThumbnail(int32 slotNum);
80 static void setFirstSlot(int32 firstSlot,
guiMenu *myMenu);
83 static void updateThumbnails(int32 firstSlot,
guiMenu *myMenu);
Definition: database.h:28