#include "../app/Input.h"
#include "../common/GameConfig.h"
#include "../common/GameState.h"
#include "../app/Input.h"
#include "../common/GameConfig.h"
#include "../common/GameState.h"
#include "../graphics/Font.h"
#include "../graphics/Frame.h"
#include "../graphics/Texture.h"
using app::Input;
using common::GameConfig;
#include "../graphics/Font.h"
#include "../graphics/Frame.h"
#include "../graphics/Texture.h"
using app::Input;
using common::GameConfig;
mainMenu.Add(Res().mainMenuStatusText, 4);
mainMenu.Add(Res().mainMenuSpellText, 1);
mainMenu.Add(Res().mainMenuChangeText, 5);
mainMenu.Add(Res().mainMenuStatusText, 4);
mainMenu.Add(Res().mainMenuSpellText, 1);
mainMenu.Add(Res().mainMenuChangeText, 5);
mainMenu.Add(Res().mainMenuConfigText, 6);
mainMenu.Add(Res().mainMenuEquipmentText, 3);
mainMenu.Add(Res().mainMenuScenarioText, 7);
mainMenu.Add(Res().mainMenuConfigText, 6);
mainMenu.Add(Res().mainMenuEquipmentText, 3);
mainMenu.Add(Res().mainMenuScenarioText, 7);
Ctrl().PushState(new SelectHero(this, this, this, OnSpellSelect));
break;
case MENU_ITEM_CAPSULE:
Ctrl().PushState(new SelectHero(this, this, this, OnSpellSelect));
break;
case MENU_ITEM_CAPSULE:
break;
case MENU_ITEM_EQUIP:
Ctrl().PushState(new SelectHero(this, this, this, OnEquipSelect));
break;
case MENU_ITEM_EQUIP:
Ctrl().PushState(new SelectHero(this, this, this, OnEquipSelect));
- Res().menubg->Render(screen, Vector<int>(), Vector<int>(screen->w, screen->h));
+ Res().menubg->Draw(screen, Vector<int>(), Vector<int>(screen->w, screen->h));