port/mars-tycoon
Last change
on this file since aad5afa was 80a6a52, checked in by Jonathan Neufeld <support@…>, 3 years ago |
Get to a compile state for terrain procedural generation
|
-
Property mode
set to
100755
|
File size:
604 bytes
|
Rev | Line | |
---|
[80a6a52] | 1 | #ifndef __YAMLDEPOSITSYNTHESIZERCONFIGURATIONREADER_H__
|
---|
| 2 | #define __YAMLDEPOSITSYNTHESIZERCONFIGURATIONREADER_H__
|
---|
| 3 |
|
---|
| 4 | #include <yaml.h>
|
---|
| 5 | #include <fstream>
|
---|
| 6 | #include <vector>
|
---|
| 7 |
|
---|
| 8 | #include <gwconfig.h>
|
---|
| 9 | #include <mars_platform.h>
|
---|
| 10 |
|
---|
| 11 | namespace genesis
|
---|
| 12 | {
|
---|
| 13 | class DL_EXPORT YAMLDepositSynthCfgReader : public geoworld::IDepositSynthConfigReader
|
---|
| 14 | {
|
---|
| 15 | public:
|
---|
| 16 | YAMLDepositSynthCfgReader(std::istream & input);
|
---|
| 17 | ~YAMLDepositSynthCfgReader();
|
---|
| 18 |
|
---|
| 19 | virtual bool load (geoworld::DepositSynthesizerSettings & settings);
|
---|
| 20 |
|
---|
| 21 | private:
|
---|
| 22 | std::vector<YAML::Node> _docs;
|
---|
| 23 | std::vector<YAML::Node>::const_iterator _i;
|
---|
| 24 | };
|
---|
| 25 | }
|
---|
| 26 |
|
---|
| 27 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.