|
|
1.1 ! root 1: /* ! 2: * UAE - The Un*x Amiga Emulator ! 3: * ! 4: * Win32-specific header file ! 5: * ! 6: * (c) 1997 Mathias Ortmann ! 7: */ ! 8: ! 9: extern int atime, acount; ! 10: ! 11: #ifndef __GNUC__ // BDK WAS HERE ! 12: struct utimbuf ! 13: { ! 14: int actime; ! 15: int modtime; ! 16: }; ! 17: #endif ! 18: ! 19: #define UAEWINVERSION_BASE "0.6.9h" ! 20: #define UAEWINRELEASE "1" ! 21: #if CPU_LEVEL >= 3 ! 22: #define UAEWINCPULEVEL " 020/881" ! 23: #endif ! 24: #if CPU_LEVEL == 2 ! 25: #define UAEWINCPULEVEL " 020" ! 26: #endif ! 27: #if CPU_LEVEL == 1 ! 28: #define UAEWINCPULEVEL " 010" ! 29: #endif ! 30: #if CPU_LEVEL == 0 ! 31: #define UAEWINCPULEVEL "" ! 32: #endif ! 33: #define UAEWINVERSION UAEWINVERSION_BASE UAEWINCPULEVEL ! 34: #define PROGNAME "UAE " UAEWINVERSION " Release " UAEWINRELEASE ! 35: ! 36: #undef S_ISDIR ! 37: #define S_ISDIR(a) (a&0x100) ! 38: ! 39: #define DIR struct DIR ! 40: ! 41: #ifndef R_OK ! 42: #define R_OK 02 ! 43: #define W_OK 04 ! 44: #endif ! 45: ! 46: extern DIR * opendir(char *); ! 47: extern struct dirent * readdir(DIR *); ! 48: extern void closedir(DIR *); ! 49: ! 50: // win32glue.c functions ! 51: extern int my_kbd_handler(int, int, int); ! 52: extern void workthread(void); ! 53: ! 54: // win32.c functions ! 55: extern char * lockscr(void); ! 56: extern void unlockscr(void); ! 57: extern int currtime(void); ! 58: extern void setup_brkhandler(void); ! 59: extern void remove_brkhandler(void); ! 60: extern void run_workthread(void); ! 61: extern void shutdownmain(void); ! 62: extern int getcapslock(void); ! 63: ! 64: extern void clipped_linetoscr(char *, char *, int); ! 65: ! 66: extern int helppressed(void); ! 67: extern int shiftpressed(void); ! 68: extern int checkkey(int vkey, long lParam); ! 69: extern void setmouseactive(int active); ! 70: ! 71: extern int gunzip_hack(const char *src, const char *dst); ! 72: ! 73: extern void begindrawing(void); ! 74: extern void enddrawing(void); ! 75: ! 76: extern int requestfname(char *title, char *name); ! 77: ! 78: extern void togglemouse(void); ! 79: extern void startsound(void); ! 80: extern void stopsound(void); ! 81: ! 82: // globals ! 83: extern int bActive; ! 84: //extern int draw_all; ! 85: ! 86: //extern int vpos; ! 87: //extern unsigned short lof; ! 88: extern int capslock; ! 89: ! 90: extern int amiga_fullscreen, customsize; ! 91: ! 92: extern int process_desired_pri; ! 93: ! 94: extern int toggle_sound, bytesinbuf; ! 95: ! 96: #define mode_t int ! 97: ! 98: #ifndef __GNUC__ // BDK WAS HERE ! 99: #undef direct ! 100: #endif ! 101: struct direct ! 102: { ! 103: char d_name[1]; ! 104: }; ! 105: ! 106: #ifdef __GNUC__ ! 107: #define off_t int ! 108: #endif ! 109: ! 110: #define USE_ZFILE ! 111: ! 112: int iswindowhidden(void); ! 113: void fname_wtoa(unsigned char *); ! 114: void fname_atow(char *, char *, int); ! 115: void MyOutputDebugString( char *format, ... ); ! 116: extern int sound_available; ! 117: extern int framecnt; ! 118: extern int ievent_alive; ! 119: extern char prtname[]; ! 120: extern char VersionStr[256]; ! 121:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.