81
82
83
84
85
86
87
88
89
90
91
92
93
94
|
Uint8 cflags,shape,shovable,collisionLayers;
} Class;
extern Class*classes[0x4000]; // 0 isn't used
extern const char*messages[0x4000]; // index is 256 less than message number
extern int max_animation; // max steps in animation queue (default 32)
extern Sint32 max_volume; // max total volume to allow moving diagonally (default 10000)
// == bindings ==
typedef struct {
char cmd;
union {
int n;
|
>
>
|
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
|
Uint8 cflags,shape,shovable,collisionLayers;
} Class;
extern Class*classes[0x4000]; // 0 isn't used
extern const char*messages[0x4000]; // index is 256 less than message number
extern int max_animation; // max steps in animation queue (default 32)
extern Sint32 max_volume; // max total volume to allow moving diagonally (default 10000)
void load_classes(void);
// == bindings ==
typedef struct {
char cmd;
union {
int n;
|