💿🐜 Antkeeper source code https://antkeeper.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
703 B

  1. #ifndef BIOME_HPP
  2. #define BIOME_HPP
  3. #include <map>
  4. #include <string>
  5. #include <emergent/emergent.hpp>
  6. using namespace Emergent;
  7. class Biome
  8. {
  9. public:
  10. Biome();
  11. ~Biome();
  12. bool load();
  13. std::string filename;
  14. std::string name;
  15. std::string soilHorizonOFilename;
  16. std::string soilHorizonAFilename;
  17. std::string soilHorizonBFilename;
  18. std::string soilHorizonCFilename;
  19. std::string cubemapName;
  20. Texture2D* soilHorizonO;
  21. Texture2D* soilHorizonA;
  22. Texture2D* soilHorizonB;
  23. Texture2D* soilHorizonC;
  24. TextureCube* diffuseCubemap;
  25. TextureCube* specularCubemap;
  26. };
  27. class Biosphere
  28. {
  29. public:
  30. bool load(const std::string& directory);
  31. std::map<std::string, Biome> biomes;
  32. };
  33. #endif // BIOME_HPP