182
183
184
185
186
187
188
189
190
191
192
193
194
195
|
extern char**stringpool;
extern AnimationSlot anim_slot[8];
extern Uint8 keymask[256/8];
extern Uint16 array_size;
extern Uint16*orders;
extern Uint8 norders;
extern Uint16 control_class;
typedef struct {
// Flags: 1=fill-width, 2=multi-colours, 4=built-in-data
Uint8 width,data,color,flag;
Uint8 form[2];
Uint16 ptr;
} DisplayColumn;
|
>
|
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
|
extern char**stringpool;
extern AnimationSlot anim_slot[8];
extern Uint8 keymask[256/8];
extern Uint16 array_size;
extern Uint16*orders;
extern Uint8 norders;
extern Uint16 control_class;
extern Uint8 has_xy_input; // zero if not, nonzero if it has
typedef struct {
// Flags: 1=fill-width, 2=multi-colours, 4=built-in-data
Uint8 width,data,color,flag;
Uint8 form[2];
Uint16 ptr;
} DisplayColumn;
|
241
242
243
244
245
246
247
248
249
250
251
252
253
254
|
#define ANI_STOP 0x00
#define ANI_ONCE 0x01
#define ANI_LOOP 0x02
#define ANI_OSC 0x08
#define ANI_SYNC 0x80
// Special key codes; used in encoded move lists and in some cases also values for Key
#define KEY_XY 1
typedef struct {
Uint8 flag,start,end;
union {
Uint8 speed; // unsynchronized
Uint8 slot; // synchronized
|
>
|
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
|
#define ANI_STOP 0x00
#define ANI_ONCE 0x01
#define ANI_LOOP 0x02
#define ANI_OSC 0x08
#define ANI_SYNC 0x80
// Special key codes; used in encoded move lists and in some cases also values for Key
// Only numbers 1 to 7 can be used in this way.
#define KEY_XY 1
typedef struct {
Uint8 flag,start,end;
union {
Uint8 speed; // unsynchronized
Uint8 slot; // synchronized
|