2 Screen.HPP version 1.0
\r
3 by Robert Schmidt of Ztiff Zox Softwear 1993
\r
5 Declares some primitives for handling the screen, some screen
\r
6 buffer pointers, and the functions that handle the single
\r
7 temporary screen used in TWEAK.
\r
9 See Screen.CPP for definitions and documentation.
\r
17 #define REGENABLE_COLOR 0x0e
\r
18 #define REGDISABLE_COLOR 0x07
\r
19 #define CURSOR_COLOR 0x0f
\r
20 #define BITHEADER_COLOR 0x04
\r
21 #define BITPATTERN_COLOR 0x0c
\r
22 #define TESTHEADER_COLOR 0x09
\r
23 #define TESTSTRING_COLOR 0x0b
\r
24 #define PROMPT_COLOR 0x0a
\r
25 #define ERROR_COLOR 0x8d
\r
26 #define HELP_COLOR 0x4f
\r
27 #define INFO_COLOR 0x0f
\r
29 extern unsigned editMode, editHeight, editWidth, editSize;
\r
31 extern unsigned *textScr;
\r
32 extern char *graphScr;
\r
34 int getBiosMode(void);
\r
35 void setBiosMode(int);
\r
36 void preparePalettes();
\r
37 void setPalette16();
\r
38 void setPalette256();
\r
42 unsigned *link, *temp;
\r
44 tempBuffer(unsigned *l) { link = l; temp = NULL; }
\r
45 ~tempBuffer() { if (temp) delete[] temp; }
\r