port/mars-tycoon
Last change
on this file since 7ef8ec4 was 80a6a52, checked in by Jonathan Neufeld <support@…>, 4 years ago |
Get to a compile state for terrain procedural generation
|
-
Property mode
set to
100755
|
File size:
546 bytes
|
Rev | Line | |
---|
[80a6a52] | 1 | #ifndef __YAMLMINERALSDBREADER_H__
|
---|
| 2 | #define __YAMLMINERALSDBREADER_H__
|
---|
| 3 |
|
---|
| 4 | #include <mindbtypes.h>
|
---|
| 5 |
|
---|
| 6 | #include <vector>
|
---|
| 7 | #include <fstream>
|
---|
| 8 |
|
---|
| 9 | #include <stdarg.h>
|
---|
| 10 | #include <yaml.h>
|
---|
| 11 |
|
---|
| 12 | #include <mars_platform.h>
|
---|
| 13 |
|
---|
| 14 | namespace genesis
|
---|
| 15 | {
|
---|
| 16 | class DL_EXPORT MineralsYAMLReader : public geoworld::IMineralsDBReader
|
---|
| 17 | {
|
---|
| 18 | private:
|
---|
| 19 | typedef std::vector< std::ifstream * > FileList;
|
---|
| 20 |
|
---|
| 21 | FileList * _pifs;
|
---|
| 22 |
|
---|
| 23 | public:
|
---|
| 24 | MineralsYAMLReader(const char * szFile, ...);
|
---|
| 25 | ~MineralsYAMLReader();
|
---|
| 26 |
|
---|
| 27 | virtual bool load (geoworld::IMineralsDatabase * pMinDB);
|
---|
| 28 | };
|
---|
| 29 | }
|
---|
| 30 |
|
---|
| 31 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.