-
Notifications
You must be signed in to change notification settings - Fork 0
/
Doors.ash
65 lines (58 loc) · 1.64 KB
/
Doors.ash
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
enum eDoorState
{
eDoorClosed = 0,
eDoorOpen = 1,
eDoorLocked = 2,
};
enum eDoorNum
{
eDoorNumGericht,
eDoorNumRichterzimmer,
eDoorNumDamentoilette,
eDoorNumHerrentoilette,
eDoorNumPraesidiumEingang,
eDoorNumDuschen,
eDoorNumZellentrakt,
eDoorNumSupercomputer,
eDoorNumWaeschekammer,
eDoorNumPathologie,
eDoorNumParkplatz,
eDoorNumZelle,
eDoorNumMiller,
eDoorNumRutherford,
eDoorNumTankstellentuer,
eDoorNumEisladen,
};
struct DoorType
{
String s_LookAt;
String s_NewLookAt;
String s_IsLocked;
String s_WrongItemOpen;
String s_WrongItemClose;
int i_GlobalInt;
int l_Room;
int i_XPosition;
int i_YPosition;
CharacterDirection l_Direction;
Hotspot *h_Hotspot;
Object *o_Objekt;
int l_NewRoom;
int i_NewXPosition;
int i_NewYPosition;
CharacterDirection l_NewDirection;
Hotspot *h_NewHotspot;
Object *o_NewObjekt;
import int SetStrings(String lookat, String islocked, String wrongitemopen, String wrongitemclose, String lookAt2);
import int ClickSpecial(int opensound = 2, int closesound = 3, InventoryItem *iItem, int closevalue = 0);
import int Click();
import int Init(Object *o_Objekt, Hotspot *h_Hotspot);
};
#define MAX_DOORS 30
import DoorType Door[MAX_DOORS];
import String s_IsLockedStandard;
import String s_WrongItemOpenStandard;
import String s_WrongItemCloseStandard;
import String s_LookAtStandard;
import String s_NewLookAtStandard;
import void DoorSetup();