]> Shamusworld >> Repos - thunder/blobdiff - src/screen.h
Final fixes for git pull/push kerfuffle. :-P
[thunder] / src / screen.h
index 50c3aafaae44c63f09883a8c6b265526fd99a1f6..bc1e2ec53763e03899e7a92d3697b5a18aab10de 100644 (file)
@@ -8,14 +8,18 @@
 #ifndef __SCREEN_H__
 #define __SCREEN_H__
 
-#include "SDL.h"
+#include <SDL2/SDL.h>
 #include <stdint.h>
 
-#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__