aboutsummaryrefslogtreecommitdiff
path: root/source/EditorAttachmentImpl.hpp
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2022-04-25 20:22:07 -0700
committerrtk0c <[email protected]>2022-04-25 20:22:07 -0700
commit855da86feae1a5cc14dc2d486ccf115f484dbc2e (patch)
tree8284c6a6bdfb1a919eb1a22f466f4180a329c7f3 /source/EditorAttachmentImpl.hpp
parentd78a55de5003dbb040f1d1c369409e63a2c806d8 (diff)
Changeset: 16 Initial work on rendering sprites to screen
Diffstat (limited to 'source/EditorAttachmentImpl.hpp')
-rw-r--r--source/EditorAttachmentImpl.hpp15
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;
-};