/
game_temp.h
79 lines (67 loc) · 1.93 KB
/
game_temp.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
/*
* This file is part of EasyRPG Player.
*
* EasyRPG Player is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EasyRPG Player is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EasyRPG Player. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef EP_GAME_TEMP_H
#define EP_GAME_TEMP_H
// Headers
#include <string>
#include "game_battler.h"
#include "transition.h"
/**
* Game Temp static class.
*/
class Game_Temp {
public:
/**
* Initializes Game Temp.
*/
static void Init();
static bool inn_calling;
static bool to_title;
static bool transition_processing;
static Transition::TransitionType transition_type;
static bool transition_erase;
static bool shop_buys;
static bool shop_sells;
static int shop_type; // message set A, B, or C
static bool shop_handlers; // custom transaction/no-transaction handlers
static std::vector<int> shop_goods;
static bool shop_transaction;
static int inn_type; // message set A or B
static int inn_price;
static bool inn_handlers; // custom stay/no-stay handlers
static bool inn_stay;
static std::string hero_name;
static int hero_name_id;
static int hero_name_charset;
static bool battle_running;
static int battle_troop_id;
static std::string battle_background;
static int battle_formation;
static int battle_escape_mode;
static int battle_defeat_mode;
static bool battle_first_strike;
static int battle_result;
enum BattleResult {
BattleVictory,
BattleEscape,
BattleDefeat,
BattleAbort
};
private:
Game_Temp();
};
#endif