summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2Pool.h
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2023-07-01 02:43:29 +0100
committerAsh Wolf <ninji@wuffs.org>2023-07-01 02:43:29 +0100
commit5c6a48b2ff362a70416a6a00fda7d06e0f276f2d (patch)
tree62cf542c68d91aa6f7a4e3bfa9eddca4ab352970 /src/T2DLL/T2Pool.h
parentc0c336500955a23e344651e5412c9d9d441ef4ee (diff)
downloadt2win-5c6a48b2ff362a70416a6a00fda7d06e0f276f2d.tar.gz
t2win-5c6a48b2ff362a70416a6a00fda7d06e0f276f2d.zip
i am in hell
Diffstat (limited to '')
-rw-r--r--src/T2DLL/T2Pool.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/T2DLL/T2Pool.h b/src/T2DLL/T2Pool.h
index e91e659..54489f9 100644
--- a/src/T2DLL/T2Pool.h
+++ b/src/T2DLL/T2Pool.h
@@ -1,7 +1,7 @@
#pragma once
#include "common.h"
-class AFX_EXT_CLASS T2Pool {
+class AFX_CLASS_EXPORT T2Pool {
public:
T2Pool(T2PoolDef* inDef, T2SeasonParamDef* inSeason, T2TemplatePluginList* inPluginList, T2PeopleArrayList* inPeopleList, int inLevel, unsigned int inIndex, unsigned int inSomeNum, T2WorldDef* inWorldDef);
T2Pool(T2Archive& inArchive, T2PoolDef* inDef, T2SeasonParamDef* inSeason, T2TemplatePluginList* inPluginList, T2PeopleArrayList* inPeopleList, T2WorldDef* inWorldDef);
@@ -19,8 +19,7 @@ public:
T2People* BornVIP(int inSilhouetteType, int inEconoType = -1);
void DeadVIP(T2People* inPeople);
void Write(T2Archive& inArchive);
-
- int GetPopulation() const { return mPopulation; }
+ int GetPopulation() const;
protected:
void DayChanged();
@@ -38,3 +37,7 @@ protected:
T2TemplatePluginList *mPlugins;
T2PeopleArrayList *mPeopleList;
};
+
+inline int T2Pool::GetPopulation() const {
+ return mPopulation;
+}