aboutsummaryrefslogtreecommitdiff
path: root/shell/video/retrostone/video_blit.h
blob: 8e1c81cf658feb4cf9d49518db71cc8cadf79f02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef VIDEO_BLIT_H
#define VIDEO_BLIT_H

#include <SDL/SDL.h>

#define HOST_WIDTH_RESOLUTION (sdl_screen->w)
#define HOST_HEIGHT_RESOLUTION (sdl_screen->h)

#define INTERNAL_WSWAN_WIDTH 224
#define INTERNAL_WSWAN_HEIGHT 144

extern SDL_Surface *screen, *wswan_vs, *backbuffer;

extern uint32_t width_of_surface;
extern uint32_t* Draw_to_Virtual_Screen;

void Init_Video();
void Set_Video_Menu();
void Set_Video_InGame();
void Close_Video();
void Update_Video_Menu();
void Update_Video_Ingame();

#endif