X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fworld%2FResource.hpp;h=3798d707ca03ea0cd38ffba2268c4e7de21bcac8;hb=HEAD;hp=ad729c80160d8c84973a4a751d62458f1a397437;hpb=a1b5d6dbc13d185b9ac459e421ae44b3ef8ce133;p=blobs.git diff --git a/src/world/Resource.hpp b/src/world/Resource.hpp index ad729c8..3798d70 100644 --- a/src/world/Resource.hpp +++ b/src/world/Resource.hpp @@ -3,6 +3,7 @@ #include "../math/glm.hpp" +#include #include @@ -28,10 +29,12 @@ struct Resource { }; // the resource's natural state // TODO: something about temperature and pressure and stuff - int state = SOLID; + State state = SOLID; glm::dvec3 base_color = glm::dvec3(1.0); + std::map compatibility; + }; }