//
// 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 <SDL.h>
+#include <stdint.h>
+
+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__
+