]> Shamusworld >> Repos - thunder/blob - src/screen.h
Added DIP switch fungibility, misc. code cleanups.
[thunder] / src / screen.h
1 //
2 // SCREEN.H
3 //
4 // by James Hammons
5 // (C) 1997, 2014 Underground Software
6 //
7
8 #ifndef __SCREEN_H__
9 #define __SCREEN_H__
10
11 #include <SDL2/SDL.h>
12 #include <stdint.h>
13
14 void BlitChar(uint8_t *, uint8_t *);
15 void CopySprites(void);
16 void SavePCXSnapshot(void);
17
18 // Exported vars
19 extern uint32_t palette[256];   // Screen physical palette
20 extern uint8_t ccolor[256][8];  // Character color PROM values
21 extern uint8_t scolor[128][16]; // Sprite color PROM values
22 extern bool charBankSwitch;
23
24 #endif  // __SCREEN_H__
25