-
Notifications
You must be signed in to change notification settings - Fork 26
/
embark.h
44 lines (34 loc) · 1.13 KB
/
embark.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#pragma once
#include "event_manager.h"
#include "exclusive_callback.h"
class AI;
class EmbarkExclusive : public ExclusiveCallback
{
AI & ai;
public:
EmbarkExclusive(AI & ai);
virtual ~EmbarkExclusive();
virtual ExclusiveCallback *ReplaceOnScreenChange() { return new EmbarkExclusive(ai); }
virtual void Run(color_ostream & out);
private:
void SelectVerticalMenuItem(int32_t *current, int32_t target);
void SelectHorizontalMenuItem(int32_t *current, int32_t target);
void ViewTitle(color_ostream & out);
void ViewLoadGame(color_ostream & out);
void ViewLoadScreen(color_ostream & out);
void ViewLoadScreenOptions();
void ViewNewRegion(color_ostream & out);
void ViewUpdateRegion(color_ostream & out);
void ViewChooseStartSite(color_ostream & out);
void DisplayEmbarkSite(color_ostream & out);
void ViewSetupDwarfGame(color_ostream & out);
void ViewTextViewer(color_ostream & out);
};
class RestartWaitExclusive : public ExclusiveCallback
{
AI & ai;
public:
RestartWaitExclusive(AI & ai);
virtual ~RestartWaitExclusive();
virtual void Run(color_ostream & out);
};