diff options
author | hnOsmium0001 <[email protected]> | 2022-04-25 20:22:07 -0700 |
---|---|---|
committer | hnOsmium0001 <[email protected]> | 2022-04-25 20:22:07 -0700 |
commit | f54370de7e4214cb7813d26b1a39a8f6e42b7b56 (patch) | |
tree | 20913b4099b77af933fcd2ebb4e73f53b366ad8f /source/EditorAttachmentImpl.hpp | |
parent | c8ebee643f23c34ff57f69f8dfcf1903b59ea9d1 (diff) |
Initial work on rendering sprites to screen
Diffstat (limited to 'source/EditorAttachmentImpl.hpp')
-rw-r--r-- | source/EditorAttachmentImpl.hpp | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/source/EditorAttachmentImpl.hpp b/source/EditorAttachmentImpl.hpp index 258e987..e9dbe6f 100644 --- a/source/EditorAttachmentImpl.hpp +++ b/source/EditorAttachmentImpl.hpp @@ -2,7 +2,9 @@ #include "EditorAttachment.hpp" #include "GameObject.hpp" +#include "Material.hpp" #include "Player.hpp" +#include "Sprite.hpp" #include <memory> @@ -13,6 +15,8 @@ public: class EaPlayer : public EditorAttachment { public: + RcPtr<IresSpritesheet> confSprite; + RcPtr<IresMaterial> confMaterial; }; class EaLevelWrapper : public EditorAttachment { @@ -24,14 +28,3 @@ public: std::string nameEditingScratch; bool isEditingName = false; }; - -class EaShader : public EditorAttachment { -public: - Shader* shader; -}; - -class EaMaterial : public EditorAttachment { -public: - std::string editingScratch; - bool isEditingName = false; -}; |