port/mars-tycoon
Last change
on this file since aad5afa 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:
592 bytes
|
Rev | Line | |
---|
[80a6a52] | 1 | #ifndef __YAMLMATERIALBINDINGS_H__
|
---|
| 2 | #define __YAMLMATERIALBINDINGS_H__
|
---|
| 3 |
|
---|
| 4 | #include <yaml.h>
|
---|
| 5 |
|
---|
| 6 | #include <fstream>
|
---|
| 7 |
|
---|
| 8 | #include <mars_platform.h>
|
---|
| 9 |
|
---|
| 10 | namespace genesis
|
---|
| 11 | {
|
---|
| 12 | /* TODO: Migrate to Godot
|
---|
| 13 |
|
---|
| 14 | class DL_EXPORT YAMLTexBindingsReader : public genesis::ITextureBindingsReader
|
---|
| 15 | {
|
---|
| 16 | public:
|
---|
| 17 | YAMLTexBindingsReader(std::istream & input);
|
---|
| 18 | ~YAMLTexBindingsReader();
|
---|
| 19 |
|
---|
| 20 | virtual bool load (ITextureBinder * pMatBind);
|
---|
| 21 |
|
---|
| 22 | private:
|
---|
| 23 | YAML::Parser * _pParser;
|
---|
| 24 |
|
---|
| 25 | void readBinding (const ITextureBinder::Category enmbcCategory, ITextureBinder * pMatBind, const YAML::Node * pNode);
|
---|
| 26 | };
|
---|
| 27 | */
|
---|
| 28 | }
|
---|
| 29 |
|
---|
| 30 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.