X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fscreen.h;h=01e166083db25d7c930534ff9c4a06ae62a7eaef;hb=05364bd7d67b04adaee47006b45933b0b758ab18;hp=50c3aafaae44c63f09883a8c6b265526fd99a1f6;hpb=2fe4f4d3720583b59e0412d2a0cb72109db78573;p=thunder diff --git a/src/screen.h b/src/screen.h index 50c3aaf..01e1660 100644 --- a/src/screen.h +++ b/src/screen.h @@ -8,14 +8,18 @@ #ifndef __SCREEN_H__ #define __SCREEN_H__ -#include "SDL.h" +#include #include -#define VIRTUAL_SCREEN_WIDTH 288 -#define VIRTUAL_SCREEN_HEIGHT 224 +void BlitChar(uint8_t *, uint8_t *); +void CopySprites(void); +void SavePCXSnapshot(void); -void SnapPCX(SDL_Surface *); // Take a PCX snapshot -void BlitChar(SDL_Surface *, uint8_t *, uint8_t *); // Show NAMCO screen +// Exported vars +extern uint32_t palette[256]; // Screen physical palette +extern uint8_t ccolor[256][8]; // Character color PROM values +extern uint8_t scolor[128][16]; // Sprite color PROM values +extern bool charBankSwitch; #endif // __SCREEN_H__