home *** CD-ROM | disk | FTP | other *** search
- /*
- * "S5frotz.h"
- *
- *
- */
- #ifndef _S5FROTZ_H
- #define _S5FROTZ_H
-
- #ifndef far
- #define far
- #endif
- #ifndef NULL
- #define NULL 0
- #endif
- #define byte0(v) ((byte *)&v)[0]
- #define byte1(v) ((byte *)&v)[1]
- #define byte2(v) ((byte *)&v)[2]
- #define byte3(v) ((byte *)&v)[3]
- #define word0(v) ((word *)&v)[0]
- #define word1(v) ((word *)&v)[1]
-
- #ifndef HISTORY_MIN_ENTRY
- #define HISTORY_MIN_ENTRY 1
- #endif
-
- #define SPECIAL_KEY_MIN 0x1000
- #define SPECIAL_KEY_WORD_RIGHT 0x1000
- #define SPECIAL_KEY_WORD_LEFT 0x1001
- #define SPECIAL_KEY_HOME 0x1002
- #define SPECIAL_KEY_END 0x1003
- #define SPECIAL_KEY_PAGE_UP 0x1004
- #define SPECIAL_KEY_PAGE_DOWN 0x1005
- #define SPECIAL_KEY_DELETE 0x1006
- #define SPECIAL_KEY_MAX 0x1006
- //#define SPECIAL_KEY_INSERT 261
- //#define SPECIAL_KEY_TAB 264
-
- typedef unsigned char byte;
- typedef unsigned short word;
-
-
- // /* BCinit */ short dectoi (struct sg *g, const char *);
- // /* BCinit */ short hextoi (struct sg *g, const char *);
- /* BCmouse */ short detect_mouse (struct sg *g);
- /* BCmouse */ short read_mouse (struct sg *g);
- /* BCpic */ short init_pictures (struct sg *g);
- /* BCpic */ void reset_pictures (struct sg *g);
- /* BCsmpl */ short init_sound (struct sg *g);
- /* BCsmpl */ void reset_sound (struct sg *g);
- /* BCtext */ void switch_scrn_attr (struct sg *g, short);
- /* BCtext */ void load_fonts (struct sg *g, const char *);
- #endif
-