22 #ifndef HARVESTER_MENU_H 23 #define HARVESTER_MENU_H 25 #include "common/array.h" 26 #include "common/error.h" 27 #include "common/rect.h" 28 #include "common/str.h" 29 #include "harvester/art.h" 37 class HarvesterEngine;
47 float paletteBrightness,
Flow &flow,
bool canSaveGame);
50 Common::Error runLoadGameMenu(
const byte *palette,
float paletteBrightness,
51 Flow &flow,
bool &loadedGame);
53 float paletteBrightness,
Flow &flow);
54 Common::Error runHelpScreen(
const byte *palette,
float paletteBrightness,
Flow &flow);
55 Common::Error runSaveGameMenu(
const byte *palette,
float paletteBrightness,
56 Flow &flow,
bool &savedGame);
58 float paletteBrightness,
Flow &flow)
const;
63 float paletteBrightness,
Flow &flow);
65 void clearMainMenuBackdrop();
68 void renderMainMenuScreen(
int selectedItem,
const Common::String &statusMessage,
70 void renderBackdropMenuScreen(
const IndexedBitmap &backdrop,
const byte *palette,
72 int selectedItem)
const;
81 byte _mainMenuBackdropPalette[256 * 3] = { 0 };
82 bool _hasMainMenuBackdrop =
false;
87 #endif // HARVESTER_MENU_H
Definition: formatinfo.h:28
Definition: harvester.h:47