From f54370de7e4214cb7813d26b1a39a8f6e42b7b56 Mon Sep 17 00:00:00 2001 From: hnOsmium0001 Date: Mon, 25 Apr 2022 20:22:07 -0700 Subject: Initial work on rendering sprites to screen --- source/EditorAttachmentImpl.hpp | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) (limited to 'source/EditorAttachmentImpl.hpp') 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 @@ -13,6 +15,8 @@ public: class EaPlayer : public EditorAttachment { public: + RcPtr confSprite; + RcPtr 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; -}; -- cgit v1.2.3-70-g09d2