X-Git-Url: http://git.localhorst.tv/?p=blobs.git;a=blobdiff_plain;f=src%2Fworld%2FResource.hpp;h=3abe8f3b83c11f4b5fb57d2b8304bf46d83eab2c;hp=492a7f81f1d21a5a4cb90cbf89cfefed02a2760f;hb=f59ca070e1146a3afc5ae11df327dc4cdea1fc8c;hpb=838022c799cecd0e93826565e537a0667bded024 diff --git a/src/world/Resource.hpp b/src/world/Resource.hpp index 492a7f8..3abe8f3 100644 --- a/src/world/Resource.hpp +++ b/src/world/Resource.hpp @@ -1,6 +1,8 @@ #ifndef BLOBS_WORLD_RESOURCE_HPP_ #define BLOBS_WORLD_RESOURCE_HPP_ +#include "../math/glm.hpp" + #include @@ -9,8 +11,8 @@ namespace world { struct Resource { - std::string name; - std::string label; + std::string name = ""; + std::string label = ""; double density = 1.0; @@ -26,6 +28,8 @@ struct Resource { // TODO: something about temperature and pressure and stuff int state = SOLID; + glm::dvec3 base_color = glm::dvec3(1.0); + }; }