diff options
author | Ash Wolf <ninji@wuffs.org> | 2023-06-28 22:22:32 +0100 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2023-06-28 22:22:32 +0100 |
commit | c0c336500955a23e344651e5412c9d9d441ef4ee (patch) | |
tree | 790769c748db307cf3314f6e896e2f61c68561a2 /src/T2DLL/T2PeopleAnimeDef.h | |
parent | 37e364b2c6cc7487a1c888d256a73e5337bb7189 (diff) | |
download | t2win-c0c336500955a23e344651e5412c9d9d441ef4ee.tar.gz t2win-c0c336500955a23e344651e5412c9d9d441ef4ee.zip |
first pass of T2DLL
Diffstat (limited to 'src/T2DLL/T2PeopleAnimeDef.h')
-rw-r--r-- | src/T2DLL/T2PeopleAnimeDef.h | 31 |
1 files changed, 19 insertions, 12 deletions
diff --git a/src/T2DLL/T2PeopleAnimeDef.h b/src/T2DLL/T2PeopleAnimeDef.h index e3c98ad..f83a77b 100644 --- a/src/T2DLL/T2PeopleAnimeDef.h +++ b/src/T2DLL/T2PeopleAnimeDef.h @@ -1,25 +1,32 @@ #pragma once #include "common.h" -class T2PeopleAnimeDef { +class AFX_EXT_CLASS T2PeopleAnimeDef { public: - T2PeopleAnimeDef(CResFile&); + T2PeopleAnimeDef(CResFile& resFile); + virtual ~T2PeopleAnimeDef(); + void Set(T2People* people, int h, int inIndex); + private: void Init(); -public: - virtual ~T2PeopleAnimeDef(); - void Set(T2People*, int, int); - T2PeopleAnimeDef(const T2PeopleAnimeDef&) {} - T2PeopleAnimeDef& operator=(const T2PeopleAnimeDef&) {} + int m4; + int m8; + int mNumOfElems; + int m10; + T2PeopleAnimeDefElem *mElems; }; -class T2PeopleAnimeDefElem { + +class AFX_EXT_CLASS T2PeopleAnimeDefElem { public: T2PeopleAnimeDefElem(); virtual ~T2PeopleAnimeDefElem(); - void Initialize(CResFile&); - void Set(T2People*, int); + void Initialize(CResFile& resFile); + void Set(T2People* people, int h); - T2PeopleAnimeDefElem(const T2PeopleAnimeDefElem&) {} - T2PeopleAnimeDefElem& operator=(const T2PeopleAnimeDefElem&) {} +private: + int mFillerStart; + int mFillerRange; + int mHStart; + int mHRange; }; |