Subversion Repositories Games.Descent

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. /*
  2.  * Portions of this file are copyright Rebirth contributors and licensed as
  3.  * described in COPYING.txt.
  4.  * Portions of this file are copyright Parallax Software and licensed
  5.  * according to the Parallax license below.
  6.  * See COPYING.txt for license details.
  7.  
  8. THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
  9. SOFTWARE CORPORATION ("PARALLAX").  PARALLAX, IN DISTRIBUTING THE CODE TO
  10. END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
  11. ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
  12. IN USING, DISPLAYING,  AND CREATING DERIVATIVE WORKS THEREOF, SO LONG AS
  13. SUCH USE, DISPLAY OR CREATION IS FOR NON-COMMERCIAL, ROYALTY OR REVENUE
  14. FREE PURPOSES.  IN NO EVENT SHALL THE END-USER USE THE COMPUTER CODE
  15. CONTAINED HEREIN FOR REVENUE-BEARING PURPOSES.  THE END-USER UNDERSTANDS
  16. AND AGREES TO THE TERMS HEREIN AND ACCEPTS THE SAME BY USE OF THIS FILE.
  17. COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION.  ALL RIGHTS RESERVED.
  18. */
  19.  
  20. /*
  21.  *
  22.  * Info on canvases, screens, etc.
  23.  *
  24.  */
  25.  
  26. #pragma once
  27.  
  28. #ifdef __cplusplus
  29. #include "fwd-gr.h"
  30.  
  31. // What graphics modes the game & editor open
  32.  
  33. // for Screen_mode variable
  34. #define SCREEN_MENU             0       // viewing the menu screen
  35. #define SCREEN_GAME             1       // viewing the menu screen
  36. #define SCREEN_EDITOR           2       // viewing the editor screen
  37. #if defined(DXX_BUILD_DESCENT_II)
  38. #define SCREEN_MOVIE            3       // viewing a movie
  39. #endif
  40.  
  41. //from game.c
  42. #ifdef dsx
  43. namespace dsx {
  44. int set_screen_mode(int sm);    // True = editor screen
  45. }
  46. #endif
  47.  
  48. //About the screen
  49.  
  50. extern grs_canvas               Screen_3d_window;               // The rectangle for rendering the mine to
  51.  
  52. #endif
  53.