]> Shamusworld >> Repos - apple2/blob - src/video.h
Set eol-style to sane default.
[apple2] / src / video.h
1 //
2 // VIDEO.H: Header file
3 //
4
5 #ifndef __VIDEO_H__
6 #define __VIDEO_H__
7
8 #include <SDL.h>                                                        // For SDL_Surface
9 #include "types.h"                                                      // For uint32
10
11 //#define VIRTUAL_SCREEN_WIDTH          280
12 #define VIRTUAL_SCREEN_WIDTH            560
13 //#define VIRTUAL_SCREEN_HEIGHT         192
14 #define VIRTUAL_SCREEN_HEIGHT           384
15
16 bool InitVideo(void);
17 void VideoDone(void);
18 //void RenderBackbuffer(void);
19 void RenderScreenBuffer(void);
20 //void ResizeScreen(uint32 width, uint32 height);
21 //uint32 GetSDLScreenPitch(void);
22 //void ToggleFullscreen(void);
23
24 // Exported crap
25
26 //extern uint32 scrBuffer[VIRTUAL_SCREEN_WIDTH * VIRTUAL_SCREEN_HEIGHT];
27 extern uint32 * scrBuffer;
28 extern SDL_Surface * surface;
29
30 #endif  // __VIDEO_H__