1 /* 2 3 Copyright (C) 2015-2018 Night Dive Studios, LLC. 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 */ 19 #ifndef __FULLSCRN_H 20 #define __FULLSCRN_H 21 22 /* 23 * $Source: n:/project/cit/src/inc/RCS/fullscrn.h $ 24 * $Revision: 1.4 $ 25 * $Author: tjs $ 26 * $Date: 1994/05/17 02:32:03 $ 27 * 28 * $Log: fullscrn.h $ 29 * Revision 1.4 1994/05/17 02:32:03 tjs 30 * Save\restore mfd in fullscreen fix. 31 * 32 * Revision 1.3 1994/03/04 07:05:02 mahk 33 * Full screen mania. 34 * 35 * Revision 1.2 1993/09/22 00:46:57 xemu 36 * added raising & lowering of invent * mfd regions 37 * 38 * Revision 1.1 1993/09/19 19:06:26 xemu 39 * Initial revision 40 * 41 * 42 */ 43 44 // Includes 45 #include "frtypesx.h" 46 47 // Defines 48 49 #define FULL_VIEW_X 0 50 #define FULL_VIEW_Y 0 51 #define FULL_VIEW_HEIGHT 200 52 #define FULL_VIEW_WIDTH 320 53 54 // Note, these have been kludged to parallel the 55 // view360 context numbers. 56 #define FULL_R_MFD_MASK 0x01 57 #define FULL_L_MFD_MASK 0x02 58 #define FULL_INVENT_MASK 0x04 59 #define FULL_MFD_MASK(id) (((id) == 0) ? FULL_L_MFD_MASK : FULL_R_MFD_MASK) 60 61 // Typedefs 62 63 // Prototypes 64 errtype fullscreen_init(void); 65 void fullscreen_start(); 66 void fullscreen_exit(void); 67 errtype fullscreen_overlay(); 68 errtype full_lower_region(LGRegion *r); 69 errtype full_raise_region(LGRegion *r); 70 71 // Globals 72 #ifdef __FULLSCRN_SRC 73 LGRegion *fullroot_region, *fullview_region; 74 LGRegion *inventory_region_full; 75 LGRegion *pagebutton_region_full; 76 frc *full_game_fr_context; 77 uchar full_game_3d = FALSE; 78 uchar full_visible = 0; 79 #else 80 extern LGRegion *fullroot_region, *fullview_region; 81 extern LGRegion *inventory_region_full; 82 extern LGRegion *pagebutton_region_full; 83 extern frc *full_game_fr_context; 84 extern uchar full_game_3d; 85 extern uchar full_visible; 86 #endif 87 88 #endif // __FULLSCRN_H 89