shithub: qk1

ref: bcd7bbc429073a5683d89abcec6613bc1d6f6f1d
dir: /spritegn.h/

View raw version
// spritegn.h: header file for sprite generation program

enum {
	SPRITE_VERSION = 1,
	SPRITE32_VERSION = 32,

	SPR_VP_PARALLEL_UPRIGHT = 0,
	SPR_FACING_UPRIGHT,
	SPR_VP_PARALLEL,
	SPR_ORIENTED,
	SPR_VP_PARALLEL_ORIENTED,
};

typedef enum {
	SPR_SINGLE,
	SPR_GROUP,
}spriteframetype_t;

#define IDSPRITEHEADER	(('P'<<24)+('S'<<16)+('D'<<8)+'I')
// little-endian "IDSP"