15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#define MSG_PLAYERMOVING 13
#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",
|
|
>
|
|
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#define MSG_PLAYERMOVING 13
#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_CONFLICT 20
#define MSG_COLLIDEBY 21
#define MSG_COLLIDE 22
#define MSG_COLLIDING 23
#define MSG_BLOCKED 24
#ifdef HEROMESH_MAIN
const char*const standard_message_names[]={
"INIT",
"CREATE",
"DESTROY",
"BEGIN_TURN",
"ARRIVED",
|
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
"PLAYERMOVING",
"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
|
|
>
|
|
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
"PLAYERMOVING",
"HIT",
"HITBY",
"DESTROYED",
"CREATED",
"POSTINIT",
"END_TURN",
"CONFLICT",
"COLLIDEBY",
"COLLIDE",
"COLLIDING",
"BLOCKED",
};
#endif
#define SND_SPLASH 0
#define SND_POUR 1
#define SND_DOOR 2
#define SND_GLASS 3
#define SND_BANG 4
|