forked from LaPingvino/The-Puzzle-Pits
-
Notifications
You must be signed in to change notification settings - Fork 0
/
GFX.H
54 lines (44 loc) · 1.45 KB
/
GFX.H
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/* gfx.h
10.21.95 by Abe Pralle
*/
#define MAXSHAPE 300
#define LOGIC 0
#define PHYSIC 1
void Txt(WORD x,WORD y,CHAR *str,WORD len);
WORD TxtLength(CHAR *str,WORD len);
void SetPalette(WORD n);
void SetColor(WORD n);
void Blit16(WORD bmap,WORD x,WORD y,WORD image);
void BlitMask16(WORD bmap,WORD x,WORD y,WORD image);
void Blit24(WORD bmap,WORD x,WORD y,WORD image);
void BlitMask24(WORD bmap,WORD x,WORD y,WORD image);
void Blit(WORD bmap,WORD x,WORD y,WORD image);
void BlitMask(WORD bmap,WORD x,WORD y,WORD image);
void LittleTile(WORD bmap,WORD x,WORD y,WORD image);
void OwnBlit(void);
void DisownBlit(void);
void GetLevelName(char *lname,WORD firsttime);
ULONG Timer(void);
void WasteTime(void);
void SetMousePos(WORD x,WORD y);
void CheckMouse(void);
void ChangeMouse(WORD n);
void Frame(WORD x,WORD y,WORD width,WORD height,WORD c1,WORD c2);
void FilledFrame(WORD x,WORD y,WORD width,WORD height,WORD c1,WORD c2,WORD c3);
void Boxf(WORD x,WORD y,WORD width,WORD height,WORD c1);
void Pause(LONG n);
void LoadScreen(LONG n);
void FadeIn(void);
void ScreenCopySidebar(void);
void LoadSprites(void);
void FreeSprites(void);
void Plot(WORD x,WORD y,BYTE c,char far *vscreen);
void ScreenSwap(void);
void ScreenCopy(void);
void clearscreen(char far *vscreen);
void Clear(WORD n);
void FreeShapes(void);
void LoadShapes(char *filename,WORD pos);
void PlaySound(int n);
void gfxInit(void);
void cleanExit(WORD retval);