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/T2PeopleAnimeDef.h | 31 +++++++++++++++++++------------ 1 file changed, 19 insertions(+), 12 deletions(-) (limited to 'src/T2DLL/T2PeopleAnimeDef.h') 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; }; -- cgit v1.2.3