//
// SCREEN.H
//
-// by James L. Hammons
-// (C) 1997 Underground Software
+// by James Hammons
+// (C) 1997, 2014 Underground Software
//
#ifndef __SCREEN_H__
#define __SCREEN_H__
-#include "SDL.h"
-#include "types.h"
+#include <SDL.h>
+#include <stdint.h>
-void SnapPCX(SDL_Surface *); // Take a PCX snapshot
-void BlitChar(SDL_Surface *, uint8 *, uint8 *); // Show NAMCO screen
-void Sprite(uint32, uint16, uint16, uint8, uint16); // Show sprite on the screen
+void BlitChar(uint8_t *, uint8_t *);
+void CopySprites(void);
+void SavePCXSnapshot(void);
+
+// 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__
+