INFERNO.H 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. /*
  2. THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
  3. SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
  4. END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
  5. ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
  6. IN USING, DISPLAYING, AND CREATING DERIVATIVE WORKS THEREOF, SO LONG AS
  7. SUCH USE, DISPLAY OR CREATION IS FOR NON-COMMERCIAL, ROYALTY OR REVENUE
  8. FREE PURPOSES. IN NO EVENT SHALL THE END-USER USE THE COMPUTER CODE
  9. CONTAINED HEREIN FOR REVENUE-BEARING PURPOSES. THE END-USER UNDERSTANDS
  10. AND AGREES TO THE TERMS HEREIN AND ACCEPTS THE SAME BY USE OF THIS FILE.
  11. COPYRIGHT 1993-1998 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
  12. */
  13. /*
  14. * $Source: f:/miner/source/main/rcs/inferno.h $
  15. * $Revision: 2.4 $
  16. * $Author: john $
  17. * $Date: 1995/05/26 16:16:17 $
  18. *
  19. * Header file for Inferno. Should be included in all source files.
  20. *
  21. */
  22. #ifndef _INFERNO_H
  23. #define _INFERNO_H
  24. #include "settings.h" //include personal settings
  25. /**
  26. ** Constants
  27. **/
  28. // How close two points must be in all dimensions to be considered the same point.
  29. #define FIX_EPSILON 10
  30. //for Function_mode variable
  31. #define FMODE_EXIT 0 //leaving the program
  32. #define FMODE_MENU 1 //Using the menu
  33. #define FMODE_GAME 2 //running the game
  34. #define FMODE_EDITOR 3 //running the editor
  35. //This constant doesn't really belong here, but it is because of horrible
  36. //circular dependencies involving object.h, aistruct.h, polyobj.h, & robot.h
  37. #define MAX_SUBMODELS 10 //how many animating sub-objects per model
  38. /**
  39. ** Global variables
  40. **/
  41. extern int Function_mode; //in game or editor?
  42. extern int Screen_mode; //editor screen or game screen?
  43. extern char Menu_pcx_name[13];
  44. #ifdef USE_CD
  45. extern char destsat_cdpath[128];
  46. #endif
  47. #endif
  48.