]> Shamusworld >> Repos - thunder/blobdiff - src/screen.h
Added DIP switch fungibility, misc. code cleanups.
[thunder] / src / screen.h
index 48b4b290723a633096e33a369a9631c4e48de061..bc1e2ec53763e03899e7a92d3697b5a18aab10de 100644 (file)
 #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__