31 #ifndef CRAB_GAMEEVENTINFO_H 32 #define CRAB_GAMEEVENTINFO_H 34 #include "crab/stat/StatTemplate.h" 35 #include "crab/ui/Inventory.h" 36 #include "crab/ui/journal.h" 40 namespace pyrodactyl {
87 bool _inventory, _journal, _trait, _map;
105 bool _notify, _repInc, _repDec;
124 _talkKeyDown =
false;
127 void load(rapidxml::xml_node<char> *node);
130 void type(
const Common::String &
id,
const pyrodactyl::people::PersonType &val);
133 void state(
const Common::String &
id,
const pyrodactyl::people::PersonState &val);
137 bool opinionGet(
const Common::String &name,
const pyrodactyl::people::OpinionType &type,
int &val);
138 void opinionSet(
const Common::String &name,
const pyrodactyl::people::OpinionType &type,
int val);
139 void opinionChange(
const Common::String &name,
const pyrodactyl::people::OpinionType &type,
int val);
142 bool statGet(
const Common::String &name,
const pyrodactyl::stat::StatType &type,
int &num);
143 void statSet(
const Common::String &name,
const pyrodactyl::stat::StatType &type,
const int &num);
144 void statChange(
const Common::String &name,
const pyrodactyl::stat::StatType &type,
const int &num);
160 void playerImg(
const int &val) {
213 _inv.draw(_people[
id], _var[_moneyVar]);
215 _inv.draw(_people[
id], 0);
223 void ironMan(
const bool &val) {
227 void loadIronMan(rapidxml::xml_node<char> *node) {
229 loadStr(str,
"diff", node);
230 _ironman = (str ==
"Iron Man");
233 void saveState(rapidxml::xml_document<> &doc, rapidxml::xml_node<char> *root);
234 void loadState(rapidxml::xml_node<char> *node);
243 #endif // CRAB_GAMEEVENTINFO_H Definition: GameEventInfo.h:104
Definition: GameEventInfo.h:44
Definition: StatTemplate.h:42
bool contains(const Key &key) const
Definition: hashmap.h:594
Definition: moveeffect.h:37
Definition: GameEventInfo.h:86
Definition: Inventory.h:43