blob: 2ea40325351f4574504546a61cf4fae0f8f03824 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
#pragma once
#include "common.h"
#include "T2EventItem.h"
enum {
kTerroristStatus0 = 0,
kTerroristStatus1 = 1,
kTerroristStatus2 = 2,
kTerroristStatus3 = 3,
};
class AFX_CLASS_EXPORT T2Terrorist : public T2EventItem {
public:
T2Terrorist(T2TowerEvent* inTowerEvent, CResFile* inResFile, int inSubID);
virtual ~T2Terrorist();
virtual BOOL Start(T2TowerDoc* inDoc);
virtual int Exec(T2TowerDoc* inDoc);
virtual void StopEvent(T2TowerDoc* inDoc);
virtual unsigned int DialogHook(T2EventDialog* inDialog, unsigned int inResult, T2TowerDoc* inDoc);
virtual DWORD GetID() { return 'TrEv'; }
BOOL IsBombHideRoom(unsigned int inTenantID) { return (mBombHideRoomID == inTenantID); }
protected:
virtual void SetupDialog(T2Dialog* inDialog);
void SetupSound();
void DisposeSound();
int mRansomFee;
int mDeadline;
int mHigherRansomFee;
unsigned int mBombHideRoomID;
CPoint mBombHidePos;
unsigned int mLastMinute;
T2FireAttach *mAttach;
LArray *mSearcherL;
LArray *mSearcherR;
};
|