]> Shamusworld >> Repos - thunder/blobdiff - src/screen.h
Oops, forgot to pull first before the changes. :-P
[thunder] / src / screen.h
index 6ea06f4818bacc461dbaf2b2f90a0c10272ca9bc..01e166083db25d7c930534ff9c4a06ae62a7eaef 100644 (file)
@@ -8,11 +8,18 @@
 #ifndef __SCREEN_H__
 #define __SCREEN_H__
 
-#include <SDL2/SDL.h>
+#include <SDL.h>
 #include <stdint.h>
 
-void BlitChar(SDL_Surface *, uint8_t *, uint8_t *);
+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__