X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fscreen.h;h=bc1e2ec53763e03899e7a92d3697b5a18aab10de;hb=HEAD;hp=3d431d90d4454120d6e47a3d6e20b8d2cc4688b6;hpb=27ad8041c00ff80e50ba0ad9022c3eaa7a05b8b0;p=thunder diff --git a/src/screen.h b/src/screen.h old mode 100755 new mode 100644 index 3d431d9..bc1e2ec --- a/src/screen.h +++ b/src/screen.h @@ -1,20 +1,25 @@ // // SCREEN.H // -// This sets screen to Mode X so we can use the WHOLE laptop screen -// (i.e. 320x240) +// by James Hammons +// (C) 1997, 2014 Underground Software // -// Tweaked by James L. Hammons -// -// (C) 1997 Underground Software #ifndef __SCREEN_H__ #define __SCREEN_H__ -#include "types.h" +#include +#include + +void BlitChar(uint8_t *, uint8_t *); +void CopySprites(void); +void SavePCXSnapshot(void); -void SnapPCX(SDL_Surface *); // Take a PCX snapshot -void BlitChar(SDL_Surface *, BYTE *, BYTE *); // Show NAMCO screen -void Sprite(DWORD, WORD, WORD, BYTE, WORD); // Show sprite on the 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__ +