summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2Sprite.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/T2DLL/T2Sprite.h')
-rw-r--r--src/T2DLL/T2Sprite.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/T2DLL/T2Sprite.h b/src/T2DLL/T2Sprite.h
index 13f6372..304891b 100644
--- a/src/T2DLL/T2Sprite.h
+++ b/src/T2DLL/T2Sprite.h
@@ -1,11 +1,22 @@
#pragma once
#include "common.h"
+#include "T2SpriteObj.h"
-class DLL_EXPORT T2Sprite : private CList<T2SpriteObj *, T2SpriteObj *> {
+class AFX_EXT_CLASS T2Sprite : private CList<T2SpriteObj *, T2SpriteObj *> {
public:
T2Sprite();
virtual ~T2Sprite();
+ enum ELayer {
+ ELayer_0,
+ ELayer_1,
+ ELayer_2,
+ ELayer_3,
+ ELayer_4,
+ ELayer_5,
+ ELayer_6
+ };
+
void AllClear();
int NewSprite(T2ImageObj& imageObj, const CString& name, int layer);
void DeleteSprite(int index);