Include.hpp 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <process.h>
  4. #include <conio.h>
  5. #include <fcntl.h>
  6. #include <io.h>
  7. #include <string.h>
  8. #include <stdarg.h>
  9. #include <sys\stat.h>
  10. //#define DONT_DISABLE_FAULTS
  11. //#define DEBUG_C
  12. //#define WITH_REPLAY
  13. //#define CMD_OPTIONS
  14. //#define WITH_VOC_EDITOR
  15. //#define FILE_ORDER_CHK
  16. //#define CLICKING_OPTIONAL
  17. //#define AR_DEBUG
  18. int get_free_disk_space(int);
  19. int get_current_disk_drive(void);
  20. // IMPORTANT : These values must be matched in include.asm
  21. #define ENGLISH_CODE 0
  22. #define GERMAN_CODE 1
  23. #define FRENCH_CODE 2
  24. #define USA_CODE 3
  25. #define SWEDISH_CODE 4
  26. #define ITALIAN_CODE 5
  27. #define PORTUGUESE_CODE 6
  28. #define SPANISH_CODE 7
  29. #define START_UP_LANGUAGE ENGLISH_CODE
  30. #ifdef DEBUG_C
  31. void debug_printf(char *format,...);
  32. void draw_box(char,int,int,int,int);
  33. int mgetch(void);
  34. struct st_compact_item
  35. { int section;
  36. int number;
  37. char * name;
  38. int range;
  39. };
  40. #endif
  41. void pc_restore();
  42.