]> git.tdb.fi Git - libs/game.git/blobdiff - source/game/meshsource.h
Use the setup generator to create setup structs
[libs/game.git] / source / game / meshsource.h
index dfc6509844c4f749dcfa4600487bf08d5b5cbd32..15b8d20f522985891ccfae8d24c3c691a2376ef7 100644 (file)
@@ -2,28 +2,12 @@
 #define MSP_GAME_MESHSOURCE_H_
 
 #include <msp/datafile/objectloader.h>
+#include <msp/game/setups.h>
 #include "component.h"
 #include "mspgame_api.h"
 
 namespace Msp::Game {
 
-struct MeshSourceSetup
-{
-       class Loader: public DataFile::ObjectLoader<MeshSourceSetup>
-       {
-       private:
-               static Loader::ActionMap shared_actions;
-
-       public:
-               Loader(MeshSourceSetup &);
-
-       protected:
-               void init_actions() override;
-       };
-
-       std::string object_name;
-};
-
 class MSPGAME_API MeshSource: public Component
 {
 public: