22 #ifndef ULTIMA8_GAMES_TREASURELOADER_H 23 #define ULTIMA8_GAMES_TREASURELOADER_H 25 #include "ultima/ultima8/world/actors/treasure_info.h" 26 #include "ultima/shared/std/containers.h" 45 TreasureMap _defaultTreasure;
50 bool parseUIntRange(
const Std::string &val,
unsigned int &min,
unsigned int &max)
const;
51 bool parseDouble(
const Std::string &val,
double &d)
const;
52 bool parseInt(
const Std::string &val,
int &i)
const;
bool parse(const Std::string &, Std::vector< TreasureInfo > &treasure) const
parse treasure string into vector of TreasureInfo objects
Definition: treasure_info.h:31
Definition: treasure_loader.h:33
Definition: detection.h:27
void loadDefaults()
load defaults from 'game' ini section
Definition: containers.h:38