25 lines
522 B
C
25 lines
522 B
C
|
// Editor specific macros
|
||
|
#define EDITORW 800
|
||
|
#define EDITORH 480
|
||
|
|
||
|
// location of tile palette in editor
|
||
|
#define PALX 640
|
||
|
#define PALY 0
|
||
|
#define PALW (EDITORW-PALX)
|
||
|
#define PALH (EDITORH/2)-1
|
||
|
|
||
|
// location of sprite palette in editor
|
||
|
#define SPALX 640
|
||
|
#define SPALY (EDITORH/2)
|
||
|
#define SPALW (EDITORW-PALX)
|
||
|
#define SPALH (EDITORH/2)-1
|
||
|
|
||
|
// Editor specific functions
|
||
|
void draweditorlevel(void);
|
||
|
void drawpalette(void);
|
||
|
void drawsprites(void);
|
||
|
int savelevel(int wnum, int lnum);
|
||
|
void cleanup(void);
|
||
|
void usage(void);
|
||
|
|