From c0c336500955a23e344651e5412c9d9d441ef4ee Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Wed, 28 Jun 2023 22:22:32 +0100 Subject: first pass of T2DLL --- src/T2DLL/T2Sprite.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'src/T2DLL/T2Sprite.h') 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 { +class AFX_EXT_CLASS T2Sprite : private CList { 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); -- cgit v1.2.3