1 /* 2 Copyright (C) 1994-1995 Apogee Software, Ltd. 3 4 This program is free software; you can redistribute it and/or 5 modify it under the terms of the GNU General Public License 6 as published by the Free Software Foundation; either version 2 7 of the License, or (at your option) any later version. 8 9 This program is distributed in the hope that it will be useful, 10 but WITHOUT ANY WARRANTY; without even the implied warranty of 11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12 13 See the 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, write to the Free Software 17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 18 19 */ 20 #ifndef _rt_game_private 21 #define _rt_game_private 22 23 //****************************************************************************** 24 // 25 // Private header for RT_GAME.C 26 // 27 //****************************************************************************** 28 29 30 //****************************************************************************** 31 // 32 // TYPEDEFS 33 // 34 //****************************************************************************** 35 36 typedef struct { 37 char str[10]; 38 int length; 39 } STR; 40 41 //****************************************************************************** 42 // 43 // DEFINES 44 // 45 //****************************************************************************** 46 47 #define MENUSHADELEVEL 105 48 49 #define KILLS_X 0 50 #define KILLS_Y 176 51 #define KILLS_WIDTH 32 52 #define KILLS_HEIGHT 24 53 #define KILLS_OFFSET 14 54 #define KILLS_NAME_Y ( KILLS_Y + 16 ) 55 #define MAXKILLBOXES 10 56 #define PLAYERS_Y ( 107 + ( gamestate.teamplay ? 0 : 4 ) ) 57 #define PLAYERS_NAME_Y ( PLAYERS_Y + 16 ) 58 #define PLAYERS_TEAM_Y ( PLAYERS_Y + 24 ) 59 60 #define LEADER_X 0 61 #define LEADER_Y 0 62 #define LEADER_NUM_X 61 63 #define LEADER_NUM_Y ( LEADER_Y ) 64 #define LEADER_NAME_X ( LEADER_X + 3 ) 65 #define LEADER_NAME_Y ( LEADER_Y + 2 ) 66 #define LEADER_WIDTH 88 67 #define LEADER_HEIGHT 16 68 69 #define HEALTH_X 20 70 #define HEALTH_Y 185 71 72 #define AMMO_X 300 73 #define AMMO_Y 184 74 75 #define SCORE_X 4 76 #define SCORE_Y 0 77 78 #define KEY1_X 152 79 #define KEY2_X 160 80 #define KEY3_X 168 81 #define KEY4_X 176 82 #define KEY_Y 0 83 84 #define POWER_X 184 85 #define POWER_Y 0 86 87 #define ARMOR_X 200 88 #define ARMOR_Y 0 89 90 #define MEN_X 216 91 #define MEN_Y 0 92 93 #define HOUR_X 7 94 #define MIN_X 26 95 #define SEC_X 45 96 #define TIME_Y 0 97 98 #define GAMETIME_X 88 99 #define GAMETIME_Y 0 100 101 #define TALLYTIME_X 130 102 #define TALLYTIME_Y 8 103 104 #define LIVES_X 288 105 #define LIVES_Y 0 106 107 #define TRIAD_X 308 108 #define TRIAD_Y 6 109 110 #define POWERUP1X 184 111 #define POWERUP2X 200 112 #define POWERUPY 0 113 114 #define EXTRAPOINTS 50000 115 #define ADRENALINEBONUS 5 116 117 #define STR_SAVECHT1 "Your Save Game file is," 118 #define STR_SAVECHT2 "shall we say, \"corrupted\"." 119 #define STR_SAVECHT3 "But I'll let you go on and" 120 #define STR_SAVECHT4 "play anyway...." 121 122 #define MAXSAVEDGAMESIZE 120000 123 124 #if (SHAREWARE == 0) 125 #define WEAPON_IS_MAGICAL(x) (((x) == wp_dog) || ((x) == wp_godhand)) 126 #else 127 #define WEAPON_IS_MAGICAL(x) ((x) == wp_godhand) 128 #endif 129 130 //****************************************************************************** 131 // 132 // PROTOTYPES 133 // 134 //****************************************************************************** 135 136 void DrawMPPic (int xpos, int ypos, int width, int height, int heightmod, byte *src, boolean bufferofsonly); 137 void DrawHighScores (void); 138 void GM_MemToScreen (byte *source, int width, int height, int x, int y); 139 140 #endif 141