summaryrefslogtreecommitdiff
path: root/src/Plugins/Food/Common/FoodDef.h
blob: f425270fd08ce14a02fb443e9f0df3fd561b3105 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once
#include "common.h"
#include "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);
};