]> git.localhorst.tv Git - l2e.git/blobdiff - src/graphics/Texture.h
moved menu resources to data files
[l2e.git] / src / graphics / Texture.h
index ef4256b83228b39e5e0301fc80fc85f2070e214a..bd85aaafb1fe5d4b9258e30894b7888b5af6db19 100644 (file)
@@ -16,6 +16,8 @@ public:
                        const geometry::Vector<int> &offset = geometry::Vector<int>());
        ~Texture();
 
+       static const int TYPE_ID = 410;
+
 public:
        void Render(SDL_Surface *dest, const geometry::Vector<int> &from, const geometry::Vector<int> &to) const;
 
@@ -24,6 +26,9 @@ public:
        void SetSize(const geometry::Vector<int> &s) { size = s; }
        void SetOffset(const geometry::Vector<int> &o) { offset = o; }
 
+       static void CreateTypeDescription();
+       static void Construct(void *);
+
 private:
        SDL_Surface *surface;
        geometry::Vector<int> size;