home *** CD-ROM | disk | FTP | other *** search
/ Amiga ACS 1998 #6 / amigaacscoverdisc1998-061998.iso / games / descent / source / lib / screens.h < prev    next >
Text File  |  1998-06-08  |  3KB  |  104 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/screens.h $
  15.  * $Revision: 2.2 $
  16.  * $Author: john $
  17.  * $Date: 1995/03/14 12:14:00 $
  18.  * 
  19.  * Info on canvases, screens, etc.
  20.  * 
  21.  * $Log: screens.h $
  22.  * Revision 2.2  1995/03/14  12:14:00  john
  23.  * Made VR helmets have 4 resolutions to choose from.
  24.  * 
  25.  * Revision 2.1  1995/03/06  15:24:09  john
  26.  * New screen techniques.
  27.  * 
  28.  * Revision 2.0  1995/02/27  11:31:40  john
  29.  * New version 2.0, which has no anonymous unions, builds with
  30.  * Watcom 10.0, and doesn't require parsing BITMAPS.TBL.
  31.  * 
  32.  * Revision 1.15  1994/08/10  19:56:45  john
  33.  * Changed font stuff; Took out old menu; messed up lots of
  34.  * other stuff like game sequencing messages, etc.
  35.  * 
  36.  * Revision 1.14  1994/07/20  21:04:26  john
  37.  * Add VictorMax VR helment support.
  38.  * 
  39.  * Revision 1.13  1994/06/24  17:01:28  john
  40.  * Add VFX support; Took Game Sequencing, like EndGame and stuff and
  41.  * took it out of game.c and into gameseq.c
  42.  * 
  43.  * Revision 1.12  1994/04/20  20:30:03  john
  44.  * *** empty log message ***
  45.  * 
  46.  * Revision 1.11  1994/03/30  21:12:05  yuan
  47.  * Use only 119 lines (saves 3 scanlines)
  48.  * 
  49.  * Revision 1.10  1994/03/17  16:49:37  john
  50.  * *** empty log message ***
  51.  * 
  52.  * Revision 1.9  1994/02/11  15:07:44  matt
  53.  * Added extern of Canv_game_offscrn
  54.  * 
  55.  * Revision 1.8  1994/01/31  16:52:43  john
  56.  * redid cockpit bounds.
  57.  * 
  58.  * Revision 1.7  1994/01/26  18:13:53  john
  59.  * Changed 3d constants..
  60.  * 
  61.  * Revision 1.6  1994/01/25  17:11:46  john
  62.  * *** empty log message ***
  63.  * 
  64.  * Revision 1.5  1994/01/25  11:43:25  john
  65.  * Changed game window size.
  66.  * 
  67.  * Revision 1.4  1993/12/13  16:32:39  yuan
  68.  * Fixed menu system memory errors, and other bugs.
  69.  * 
  70.  * Revision 1.3  1993/12/10  16:07:23  yuan
  71.  * Working on menu system.  Updated the title screen.
  72.  * 
  73.  * Revision 1.2  1993/12/09  21:27:46  matt
  74.  * Added 3d window sizing constants
  75.  * 
  76.  * Revision 1.1  1993/12/06  09:50:33  matt
  77.  * Initial revision
  78.  * 
  79.  * 
  80.  * 
  81.  */
  82.  
  83. #ifndef _SCREEN_H
  84. #define _SCREEN_H
  85.  
  86. #include "gr.h"
  87.  
  88. //What graphics modes the game & editor open
  89.  
  90. //for Screen_mode variable
  91. #define SCREEN_MENU                0    //viewing the menu screen
  92. #define SCREEN_GAME                1    //viewing the menu screen
  93. #define SCREEN_EDITOR            2    //viewing the editor screen
  94.  
  95. //from editor.c
  96. extern grs_canvas *Canv_editor;            //the full on-scrren editor canvas
  97. extern grs_canvas *Canv_editor_game;    //the game window on the editor screen
  98.  
  99. //from game.c
  100. extern int set_screen_mode(int sm);        // True = editor screen
  101.  
  102. #endif
  103. 
  104.