home *** CD-ROM | disk | FTP | other *** search
/ Amiga ACS 1998 #6 / amigaacscoverdisc1998-061998.iso / games / descent / source / main / inferno.h < prev    next >
Text File  |  1998-06-08  |  2KB  |  61 lines

  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.  
  23. #ifndef _INFERNO_H
  24. #define _INFERNO_H
  25.  
  26. #include    "settings.h"    //include personal settings
  27.  
  28. /**
  29.  **    Constants
  30.  **/
  31.  
  32. //    How close two points must be in all dimensions to be considered the same point.
  33. #define    FIX_EPSILON    10
  34.  
  35. //for Function_mode variable
  36. #define FMODE_EXIT        0        //leaving the program
  37. #define FMODE_MENU        1        //Using the menu
  38. #define FMODE_GAME        2        //running the game
  39. #define FMODE_EDITOR        3        //running the editor
  40.  
  41. //This constant doesn't really belong here, but it is because of horrible
  42. //circular dependencies involving object.h, aistruct.h, polyobj.h, & robot.h
  43. #define MAX_SUBMODELS 10            //how many animating sub-objects per model
  44.  
  45. /**
  46.  **    Global variables
  47.  **/
  48.  
  49. extern int Function_mode;            //in game or editor?
  50. extern int Screen_mode;                //editor screen or game screen?
  51. extern char Menu_pcx_name[13];
  52.  
  53. #ifdef USE_CD
  54. extern char destsat_cdpath[128];
  55. #endif
  56.  
  57. #endif
  58.  
  59.  
  60. 
  61.