mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Merging lai's source with this one is very irritating because they have different indentation styles. I couldn't find what profile vegard used for his version, so I used these flags (which should bring the source close to KNF): -bap -br -ce -ci4 -cli0 -d0 -di0 -i8 -ip -l79 -nbc -ncdb -ndj -ei -nfc1 -nlp -npcs -psl -sc -sob
36 lines
600 B
C
36 lines
600 B
C
#ifndef ASMOTOR_MAIN_H
|
|
#define ASMOTOR_MAIN_H
|
|
|
|
struct sOptions {
|
|
ULONG endian;
|
|
char gbgfx[4];
|
|
char binary[2];
|
|
SLONG fillchar;
|
|
//-1 == random
|
|
};
|
|
|
|
extern char *tzNewMacro;
|
|
extern ULONG ulNewMacroSize;
|
|
extern SLONG nGBGfxID;
|
|
extern SLONG nBinaryID;
|
|
|
|
extern struct sOptions DefaultOptions;
|
|
extern struct sOptions CurrentOptions;
|
|
extern void opt_Push(void);
|
|
extern void opt_Pop(void);
|
|
extern void opt_Parse(char *s);
|
|
|
|
void fatalerror(char *s);
|
|
void yyerror(char *s);
|
|
|
|
extern char temptext[1024];
|
|
|
|
#define YY_FATAL_ERROR fatalerror
|
|
|
|
#ifdef YYLMAX
|
|
#undef YYLMAX
|
|
#endif
|
|
#define YYLMAX 65536
|
|
|
|
#endif
|