_viewpt.h 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. /*
  2. ** Command & Conquer Renegade(tm)
  3. ** Copyright 2025 Electronic Arts Inc.
  4. **
  5. ** This program is free software: you can redistribute it and/or modify
  6. ** it under the terms of the GNU General Public License as published by
  7. ** the Free Software Foundation, either version 3 of the License, or
  8. ** (at your option) any later version.
  9. **
  10. ** This program is distributed in the hope that it will be useful,
  11. ** but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. ** GNU General Public License for more details.
  14. **
  15. ** You should have received a copy of the GNU General Public License
  16. ** along with this program. If not, see <http://www.gnu.org/licenses/>.
  17. */
  18. /* $Header: /Commando/Code/Tests/meshtest/_viewpt.h 2 8/11/97 4:29p Greg_h $ */
  19. /***********************************************************************************************
  20. *** Confidential - Westwood Studios ***
  21. ***********************************************************************************************
  22. * *
  23. * Project Name : Commando *
  24. * *
  25. * $Archive:: /Commando/Code/Tests/meshtest/_viewpt.h $*
  26. * *
  27. * $Author:: Greg_h $*
  28. * *
  29. * $Modtime:: 7/19/97 10:12a $*
  30. * *
  31. * $Revision:: 2 $*
  32. * *
  33. *---------------------------------------------------------------------------------------------*
  34. * Functions: *
  35. * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
  36. #ifndef _VIEWPT_H
  37. #define _VIEWPT_H
  38. #ifndef RECT_H
  39. #include "rect.h"
  40. #endif
  41. /*
  42. ** Current resolution of the screen / game window.
  43. */
  44. extern Rect ScreenResolution;
  45. /*
  46. ** Rectangle within main window for the main viewport
  47. */
  48. extern Rect MainViewport;
  49. /*
  50. ** Rectangle within the main window for the status bar
  51. */
  52. extern Rect StatusViewport;
  53. /*
  54. ** Rectangle within the main window for the radar / map
  55. */
  56. extern Rect RadarViewport;
  57. /*
  58. ** Rectangle within the main window for the PIP viewport
  59. */
  60. extern Rect PIPViewport;
  61. #endif