summaryrefslogtreecommitdiff
path: root/src/Plugins/Food/Common/FoodDef.h
blob: 67b86bf46c9930f387a12494f3da360700ddb569 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once
#include "../../../common.h"
#include "../../../T2DLL/T2TenantDef.h"

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);
};