mainswitches.h 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. #ifndef ___MAINSWITCHES_H
  2. #define ___MAINSWITCHES_H
  3. #include "types.h"
  4. #ifndef STATVIEWER_PROGRAM
  5. //statviewer program is compiling this bitch...lets not do this
  6. #include "globals.h"
  7. #endif
  8. #include "objtypes.h"
  9. #include "formation.h"
  10. //command-line switches and parameters
  11. extern bool DebugWindow;
  12. extern sdword MemoryHeapSize;
  13. extern bool FilePathPrepended;
  14. extern bool CDROMPathPrepended;
  15. extern bool mouseClipped;
  16. extern bool startupClipMouse;
  17. extern bool showFrontEnd;
  18. extern bool enableSFX;
  19. extern bool enableSpeech;
  20. extern bool reverseStereo;
  21. extern bool useWaveout;
  22. extern bool useDSound;
  23. extern bool coopDSound;
  24. extern bool noDefaultComputerPlayer;
  25. extern bool8 ComputerPlayerEnabled[MAX_MULTIPLAYER_PLAYERS];
  26. extern udword ComputerPlayerLevel[MAX_MULTIPLAYER_PLAYERS];
  27. extern bool gatherStats;
  28. extern bool showStatsFight;
  29. extern udword showStatsFightI;
  30. extern udword showStatsFightJ;
  31. extern bool showStatsFancyFight;
  32. extern char showStatsFancyFightScriptFile[50];
  33. extern sdword GiveAllTechnology;
  34. #ifdef DEBUG_TACTICS
  35. extern bool tacticsOn;
  36. #endif
  37. extern bool noRetreat;
  38. extern bool recordPackets;
  39. extern bool playPackets;
  40. extern bool recordplayPacketsInGame;
  41. extern bool recordFakeSendPackets;
  42. #define MAX_RECORDPACKETFILENAME_STRLEN 50
  43. extern char recordPacketFileName[MAX_RECORDPACKETFILENAME_STRLEN];
  44. extern char recordPacketSaveFileName[MAX_RECORDPACKETFILENAME_STRLEN];
  45. extern bool noAuthorization;
  46. extern bool mainSinglePlayerEnabled;
  47. extern bool mainScreenShotsEnabled;
  48. extern bool mainCDCheckEnabled;
  49. extern bool mainCDCheckEnabled;
  50. extern bool mainEnableSpecialMissions;
  51. extern bool SecretWON;
  52. extern bool forceLAN;
  53. extern bool ShortCircuitWON;
  54. extern char versionString[];
  55. extern char networkVersion[];
  56. extern char languageVersion[];
  57. extern char minorBuildVersion[];
  58. extern bool autoSaveDebug;
  59. extern bool determCompPlayer;
  60. extern bool bkDisableKeyRemap;
  61. extern bool debugPacketRecord;
  62. extern bool pilotView;
  63. #endif