-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPOROFONT.H
More file actions
executable file
·45 lines (42 loc) · 993 Bytes
/
POROFONT.H
File metadata and controls
executable file
·45 lines (42 loc) · 993 Bytes
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
/*
Action Puzzle Game "POROLITH"
PC-9801,286
FMR50/60/70
Dynabook
and MSDOS Machine
Copyright(C)1990 by Ko.Mo.Mo. Allrights Reserved.
*/
#define CG_BLACK 0
#define CG_BLUE 1
#define CG_RED 2
#define CG_MAGENDA 3
#define CG_GREEN 4
#define CG_CYAN 5
#define CG_YELLOW 6
#define CG_WHITE 7
#define gstart \
printf("\x1b[>1h") ; \
_displaycursor(_GCURSOROFF) ; \
_setvideomode(_98RESS8COLOR) ; \
_clearscreen(_GCLEARSCREEN)
#define gstop \
_displaycursor(_GCURSORON) ; \
_clearscreen(_GCLEARSCREEN) ; \
printf("\x1b[>1l")
#define cls \
_clearscreen(_GCLEARSCREEN)
#define MASK_NORMAL 0
#define MASK_REVERCE 1
#define READ_OK 0
#define READ_NG 1
extern int
font_read(char *fname, char *envname);
extern void
mask_set(char rr, char gg, char bb, int rev);
extern void
out_text(int x, int y, char *str);
extern void
font_unread(void);
extern int
font_select(int);