blob: f245c662589e4033d456823f1c70c3afd50d12d1 (
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
|
/* (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);
#endif
|