16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
#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
#define MSG_BIZARRO_SWAP 23
#define MSG_TRANSFORMING 24
#define MSG_TRANSFORMED 25
#ifdef HEROMESH_MAIN
const char*const standard_message_names[]={
"INIT",
"CREATE",
"DESTROY",
"BEGIN_TURN",
"ARRIVED",
|
|
<
<
|
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#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_COLLIDEBY 21
#define MSG_COLLIDE 22
#define MSG_BIZARRO_SWAP 23
#ifdef HEROMESH_MAIN
const char*const standard_message_names[]={
"INIT",
"CREATE",
"DESTROY",
"BEGIN_TURN",
"ARRIVED",
|
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
"HIT",
"HITBY",
"DESTROYED",
"CREATED",
"POSTINIT",
"END_TURN",
"CLEANUP",
"COLLIDING",
"COLLIDE",
"BIZARRO_SWAP",
"TRANSFORMING",
"TRANSFORMED",
};
#endif
#define SND_SPLASH 0
#define SND_POUR 1
#define SND_DOOR 2
#define SND_GLASS 3
#define SND_BANG 4
|
|
<
<
|
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
"HIT",
"HITBY",
"DESTROYED",
"CREATED",
"POSTINIT",
"END_TURN",
"CLEANUP",
"COLLIDEBY",
"COLLIDE",
"BIZARRO_SWAP",
};
#endif
#define SND_SPLASH 0
#define SND_POUR 1
#define SND_DOOR 2
#define SND_GLASS 3
#define SND_BANG 4
|