#include "common.h"


struct GameInfo
{
	const char *name;
	const struct RomModule *rom;
	const struct DSW *dswsettings;
	int defaultdsw[2];	/* default dipswitch settings */
};



struct GameVidInfo
{
	const char *name;
	const struct RomModule *gfxrom;
	const unsigned char *palette;
	const unsigned char *colortable;
};


struct GameSndInfo
{
	const char *name;
	const struct RomModule *sndrom;
};


extern const struct GameInfo gameinfo[];
extern const struct GameVidInfo gamevidinfo[];
extern const struct GameSndInfo gamesndinfo[];

#define TOTAL_COLORS 41
#define COLOR_CODES 24

/* color codes used to print text on the screen */
#define WHITE_TEXT 0x0a
#define YELLOW_TEXT 0x0b
#define RED_TEXT 0x0a
/* start of numbers and letters in the character roms */
#define NUMBERS_START 0
#define LETTERS_START 17
