blob: b4fa5be8cf9b212a884be2a6444f5f1d10fe5ed5 (
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
25
26
27
28
29
30
31
32
33
|
/* (C) 2001 Vasyl Tsvirkunov */
#ifndef SCREEN_H
#define SCREEN_H
#ifndef UBYTE
#define UBYTE unsigned char
#endif
int GraphicsOn(HWND hWndMain);
void GraphicsOff();
void GraphicsSuspend();
void GraphicsResume();
void SetPalEntry(int ent, UBYTE r, UBYTE g, UBYTE b);
void Blt(UBYTE * scr_ptr);
/* meaning: 0 - portrait, 1 - left hand landscape, 2 - right hand landscape */
void SetScreenMode(int mode);
int GetScreenMode();
void Translate(int* x, int* y);
typedef enum ToolbarSelected {
ToolbarNone,
ToolbarSaveLoad,
ToolbarExit,
ToolbarSkip,
ToolbarSound
} ToolbarSelected;
#endif
|