]> Shamusworld >> Repos - thunder/blobdiff - src/screen.h
Fixes for compilation under MinGW.
[thunder] / src / screen.h
index 48b4b290723a633096e33a369a9631c4e48de061..01e166083db25d7c930534ff9c4a06ae62a7eaef 100644 (file)
@@ -8,14 +8,18 @@
 #ifndef __SCREEN_H__
 #define __SCREEN_H__
 
-#include <SDL2/SDL.h>
+#include <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__