SCREENS.H 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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. #ifndef _SCREEN_H
  83. #define _SCREEN_H
  84. #include "gr.h"
  85. //What graphics modes the game & editor open
  86. //for Screen_mode variable
  87. #define SCREEN_MENU 0 //viewing the menu screen
  88. #define SCREEN_GAME 1 //viewing the menu screen
  89. #define SCREEN_EDITOR 2 //viewing the editor screen
  90. //from editor.c
  91. extern grs_canvas *Canv_editor; //the full on-scrren editor canvas
  92. extern grs_canvas *Canv_editor_game; //the game window on the editor screen
  93. //from game.c
  94. extern int set_screen_mode(int sm); // True = editor screen
  95. #endif
  96.