22 #include <yaml-cpp/yaml.h> 39 std::list<Polygon*> _polygons;
40 std::list<Polyline*> _polylines;
41 std::map<int, Texture*> _textures;
48 void load(
const YAML::Node& node);
54 void loadDat(
const std::string &filename);
58 std::vector<std::string>
getTerrains(
const std::string &deployment)
const;
std::vector< std::string > getTerrains(const std::string &deployment) const
Gets all the terrains for a specific deployment.
Definition: RuleGlobe.cpp:236
void load(const YAML::Node &node)
Loads the globe from YAML.
Definition: RuleGlobe.cpp:64
Texture * getTexture(int id) const
Gets a specific world texture.
Definition: RuleGlobe.cpp:225
Represents the contents of the Geoscape globe, such as world polygons, polylines, etc...
Definition: RuleGlobe.h:36
std::list< Polyline * > * getPolylines()
Gets the list of world polylines.
Definition: RuleGlobe.cpp:156
std::list< Polygon * > * getPolygons()
Gets the list of world polygons.
Definition: RuleGlobe.cpp:147
Represents the relations between a Geoscape texture and the corresponding Battlescape mission attribu...
Definition: Texture.h:42
void loadDat(const std::string &filename)
Loads a set of polygons from a DAT file.
Definition: RuleGlobe.cpp:167
~RuleGlobe()
Cleans up the globe ruleset.
Definition: RuleGlobe.cpp:44
RuleGlobe()
Creates a blank globe ruleset.
Definition: RuleGlobe.cpp:37
Definition: BaseInfoState.cpp:40