💿🐜 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

#ifndef BIOME_HPP
#define BIOME_HPP
#include <map>
#include <string>
#include <emergent/emergent.hpp>
using namespace Emergent;
class Biome
{
public:
Biome();
~Biome();
bool load();
std::string filename;
std::string name;
std::string soilHorizonOFilename;
std::string soilHorizonAFilename;
std::string soilHorizonBFilename;
std::string soilHorizonCFilename;
std::string cubemapName;
Texture2D* soilHorizonO;
Texture2D* soilHorizonA;
Texture2D* soilHorizonB;
Texture2D* soilHorizonC;
TextureCube* diffuseCubemap;
TextureCube* specularCubemap;
};
class Biosphere
{
public:
bool load(const std::string& directory);
std::map<std::string, Biome> biomes;
};
#endif // BIOME_HPP