X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgame%2Fmeshsource.h;h=15b8d20f522985891ccfae8d24c3c691a2376ef7;hb=239cd38de0ddbb5931151523530a5e7272e16f7f;hp=74ec78120d43a0a17d2251174d5a13ed7c980ac2;hpb=76d859d1429782901799c9886f833cd331b670ce;p=libs%2Fgame.git diff --git a/source/game/meshsource.h b/source/game/meshsource.h index 74ec781..15b8d20 100644 --- a/source/game/meshsource.h +++ b/source/game/meshsource.h @@ -2,28 +2,13 @@ #define MSP_GAME_MESHSOURCE_H_ #include +#include #include "component.h" +#include "mspgame_api.h" namespace Msp::Game { -struct MeshSourceSetup -{ - class Loader: public DataFile::ObjectLoader - { - private: - static Loader::ActionMap shared_actions; - - public: - Loader(MeshSourceSetup &); - - protected: - void init_actions() override; - }; - - std::string object_name; -}; - -class MeshSource: public Component +class MSPGAME_API MeshSource: public Component { public: using Setup = MeshSourceSetup;