summaryrefslogtreecommitdiff
path: root/src/Plugins/Food/Common/FoodDef.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Plugins/Food/Common/FoodDef.h')
-rw-r--r--src/Plugins/Food/Common/FoodDef.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/Plugins/Food/Common/FoodDef.h b/src/Plugins/Food/Common/FoodDef.h
index 93bbe62..f425270 100644
--- a/src/Plugins/Food/Common/FoodDef.h
+++ b/src/Plugins/Food/Common/FoodDef.h
@@ -1,5 +1,17 @@
#pragma once
#include "common.h"
+#include "T2TenantDef.h"
-class FoodDef {
+class FoodDef : public T2TenantDef {
+public:
+ FoodDef(DWORD inType, T2PluginSpecifier &inSpecifier, CResFile *inResFile, T2WorldDef *inWorldDef, T2TenantPlugin *inPlugin);
+ virtual ~FoodDef();
+
+ virtual void LoadSound(T2TowerDoc *inDoc);
+ virtual BOOL ChangeStatusOnIdle(T2TowerDoc *inDoc, T2Tenant *inTenant, int inStatus);
+ virtual void EnterTenant(T2TowerDoc *inDoc, T2Tenant *inTenant, T2People *inPeople);
+ virtual void LeaveTenant(T2TowerDoc *inDoc, T2Tenant *inTenant, T2People *inPeople);
+ virtual int EmergencyProc(T2TowerDoc *inDoc, T2Equip *inEquip);
+ virtual void UnkVF(T2TowerDoc *inDoc, T2Tenant *inTenant);
+ virtual T2InfoDialog *ConstructInfoDialog(T2Equip *inEquip);
};