22 #ifndef NUVIE_CONF_CONFIGURATION_H 23 #define NUVIE_CONF_CONFIGURATION_H 25 #include "ultima/shared/std/string.h" 26 #include "ultima/shared/std/containers.h" 27 #include "ultima/detection.h" 38 #define NUVIE_CONF_READONLY true 39 #define NUVIE_CONF_READWRITE false 66 Common::HashMap<Common::String, Common::String, Common::IgnoreCase_Hash,
72 void setCommonDefaults(GameId gameType);
75 void setUnenhancedDefaults(GameId gameType);
78 void setEnhancedDefaults(GameId gameType);
87 void load(GameId gameId,
bool isEnhanced);
97 void value(
const Std::string &key,
int &ret,
int defaultvalue = 0)
const;
98 void value(
const Std::string &key,
bool &ret,
bool defaultvalue =
false)
const;
104 bool set(
const Std::string &key,
const char *value);
117 void getSubkeys(KeyTypeList &ktl,
const Std::string &basekey);
Definition: containers.h:120
Definition: configuration.h:61
Definition: config_node.h:31
Definition: detection.h:27
Definition: containers.h:38
Definition: hash-str.h:49
Definition: hash-str.h:45