16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#define MSG_HIT 14
#define MSG_HITBY 15
#define MSG_DESTROYED 16
#define MSG_CREATED 17
#define MSG_POSTINIT 18
#define MSG_END_TURN 19
#define MSG_CLEANUP 20
const char*const standard_message_names[]={
"INIT",
"CREATE",
"DESTROY",
"BEGIN_TURN",
"ARRIVED",
"DEPARTED",
|
>
>
|
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#define MSG_HIT 14
#define MSG_HITBY 15
#define MSG_DESTROYED 16
#define MSG_CREATED 17
#define MSG_POSTINIT 18
#define MSG_END_TURN 19
#define MSG_CLEANUP 20
#define MSG_COLLIDING 21
#define MSG_COLLIDE 22
const char*const standard_message_names[]={
"INIT",
"CREATE",
"DESTROY",
"BEGIN_TURN",
"ARRIVED",
"DEPARTED",
|
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
"HIT",
"HITBY",
"DESTROYED",
"CREATED",
"POSTINIT",
"END_TURN",
"CLEANUP",
};
#define SND_SPLASH 0
#define SND_POUR 1
#define SND_DOOR 2
#define SND_GLASS 3
#define SND_BANG 4
#define SND_UNHH 5
|
>
>
|
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
"HIT",
"HITBY",
"DESTROYED",
"CREATED",
"POSTINIT",
"END_TURN",
"CLEANUP",
"COLLIDING",
"COLLIDE",
};
#define SND_SPLASH 0
#define SND_POUR 1
#define SND_DOOR 2
#define SND_GLASS 3
#define SND_BANG 4
#define SND_UNHH 5
|