| 1 | /* |
| 2 | * OpenTyrian: A modern cross-platform port of Tyrian |
| 3 | * Copyright (C) 2007-2009 The OpenTyrian Development Team |
| 4 | * |
| 5 | * This program is free software; you can redistribute it and/or |
| 6 | * modify it under the terms of the GNU General Public License |
| 7 | * as published by the Free Software Foundation; either version 2 |
| 8 | * of the License, or (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, write to the Free Software |
| 17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
| 18 | */ |
| 19 | #ifndef VARZ_H |
| 20 | #define VARZ_Hcxx . . $ `src/varz.h:20:9`! |
| 21 | |
| 22 | #include "episodes.h"cxx . . $ `<file>/src/episodes.h`/ |
| 23 | #include "opentyr.h"cxx . . $ `<file>/src/opentyr.h`/ |
| 24 | #include "player.h"cxx . . $ `<file>/src/player.h`/ |
| 25 | #include "sprite.h"cxx . . $ `<file>/src/sprite.h`/ |
| 26 | |
| 27 | #include <stdbool.h> |
| 28 | |
| 29 | #define SAcxx . . $ `src/varz.h:29:9`! 7 |
| 30 | |
| 31 | enumcxx . . $ $anonymous_type_75a5d6b19c4f0372_0# |
| 32 | { |
| 33 | SA_NONEcxx . . $ SA_NONE. = 0, |
| 34 | SA_NORTSHIPZcxx . . $ SA_NORTSHIPZ. = 7, |
| 35 | |
| 36 | // only used for code entry |
| 37 | SA_DESTRUCTcxx . . $ SA_DESTRUCT. = 8, |
| 38 | SA_ENGAGEcxx . . $ SA_ENGAGE. = 9, |
| 39 | |
| 40 | // only used in pItems[P_SUPERARCADE] |
| 41 | SA_SUPERTYRIANcxx . . $ SA_SUPERTYRIAN. = 254, |
| 42 | SA_ARCADEcxx . . $ SA_ARCADE. = 255 |
| 43 | }; |
| 44 | |
| 45 | #define ENEMY_SHOT_MAXcxx . . $ `src/varz.h:45:9`! 60 /* 60*/ |
| 46 | |
| 47 | #define CURRENT_KEY_SPEEDcxx . . $ `src/varz.h:47:9`! 1 /*Keyboard/Joystick movement rate*/ |
| 48 | |
| 49 | #define MAX_EXPLOSIONScxx . . $ `src/varz.h:49:9`! 200 |
| 50 | #define MAX_REPEATING_EXPLOSIONScxx . . $ `src/varz.h:50:9`! 20 |
| 51 | #define MAX_SUPERPIXELScxx . . $ `src/varz.h:51:9`! 101 |
| 52 | |
| 53 | struct JE_SingleEnemyTypecxx . . $ JE_SingleEnemyType# |
| 54 | { |
| 55 | JE_bytecxx . . $ JE_byte# fillbytecxx . . $ JE_SingleEnemyType#fillbyte.; |
| 56 | JE_integercxx . . $ JE_integer# excxx . . $ JE_SingleEnemyType#ex., eycxx . . $ JE_SingleEnemyType#ey.; /* POSITION */ |
| 57 | JE_shortintcxx . . $ JE_shortint# exccxx . . $ JE_SingleEnemyType#exc., eyccxx . . $ JE_SingleEnemyType#eyc.; /* CURRENT SPEED */ |
| 58 | JE_shortintcxx . . $ JE_shortint# excacxx . . $ JE_SingleEnemyType#exca., eycacxx . . $ JE_SingleEnemyType#eyca.; /* RANDOM ACCELERATION */ |
| 59 | JE_shortintcxx . . $ JE_shortint# excccxx . . $ JE_SingleEnemyType#excc., eycccxx . . $ JE_SingleEnemyType#eycc.; /* FIXED ACCELERATION WAITTIME */ |
| 60 | JE_shortintcxx . . $ JE_shortint# exccwcxx . . $ JE_SingleEnemyType#exccw., eyccwcxx . . $ JE_SingleEnemyType#eyccw.; |
| 61 | JE_bytecxx . . $ JE_byte# armorleftcxx . . $ JE_SingleEnemyType#armorleft.; |
| 62 | JE_bytecxx . . $ JE_byte# eshotwaitcxx . . $ JE_SingleEnemyType#eshotwait.[3], eshotmultiposcxx . . $ JE_SingleEnemyType#eshotmultipos.[3]; /* [1..3] */ |
| 63 | JE_bytecxx . . $ JE_byte# enemycyclecxx . . $ JE_SingleEnemyType#enemycycle.; |
| 64 | JE_bytecxx . . $ JE_byte# anicxx . . $ JE_SingleEnemyType#ani.; |
| 65 | JE_wordcxx . . $ JE_word# egrcxx . . $ JE_SingleEnemyType#egr.[20]; /* [1..20] */ |
| 66 | JE_bytecxx . . $ JE_byte# sizecxx . . $ JE_SingleEnemyType#size.; |
| 67 | JE_bytecxx . . $ JE_byte# linknumcxx . . $ JE_SingleEnemyType#linknum.; |
| 68 | JE_bytecxx . . $ JE_byte# aniactivecxx . . $ JE_SingleEnemyType#aniactive.; |
| 69 | JE_bytecxx . . $ JE_byte# animaxcxx . . $ JE_SingleEnemyType#animax.; |
| 70 | JE_bytecxx . . $ JE_byte# aniwhenfirecxx . . $ JE_SingleEnemyType#aniwhenfire.; |
| 71 | Sprite2_arraycxx . . $ Sprite2_array# *sprite2scxx . . $ JE_SingleEnemyType#sprite2s.; |
| 72 | JE_shortintcxx . . $ JE_shortint# exrevcxx . . $ JE_SingleEnemyType#exrev., eyrevcxx . . $ JE_SingleEnemyType#eyrev.; |
| 73 | JE_integercxx . . $ JE_integer# exccaddcxx . . $ JE_SingleEnemyType#exccadd., eyccaddcxx . . $ JE_SingleEnemyType#eyccadd.; |
| 74 | JE_bytecxx . . $ JE_byte# exccwmaxcxx . . $ JE_SingleEnemyType#exccwmax., eyccwmaxcxx . . $ JE_SingleEnemyType#eyccwmax.; |
| 75 | void *enemydatofscxx . . $ JE_SingleEnemyType#enemydatofs.; |
| 76 | JE_booleancxx . . $ JE_boolean# edamagedcxx . . $ JE_SingleEnemyType#edamaged.; |
| 77 | JE_wordcxx . . $ JE_word# enemytypecxx . . $ JE_SingleEnemyType#enemytype.; |
| 78 | JE_bytecxx . . $ JE_byte# animincxx . . $ JE_SingleEnemyType#animin.; |
| 79 | JE_wordcxx . . $ JE_word# edgrcxx . . $ JE_SingleEnemyType#edgr.; |
| 80 | JE_shortintcxx . . $ JE_shortint# edlevelcxx . . $ JE_SingleEnemyType#edlevel.; |
| 81 | JE_shortintcxx . . $ JE_shortint# edanicxx . . $ JE_SingleEnemyType#edani.; |
| 82 | JE_bytecxx . . $ JE_byte# fill1cxx . . $ JE_SingleEnemyType#fill1.; |
| 83 | JE_bytecxx . . $ JE_byte# filtercxx . . $ JE_SingleEnemyType#filter.; |
| 84 | JE_integercxx . . $ JE_integer# evaluecxx . . $ JE_SingleEnemyType#evalue.; |
| 85 | JE_integercxx . . $ JE_integer# fixedmoveycxx . . $ JE_SingleEnemyType#fixedmovey.; |
| 86 | JE_bytecxx . . $ JE_byte# freqcxx . . $ JE_SingleEnemyType#freq.[3]; /* [1..3] */ |
| 87 | JE_bytecxx . . $ JE_byte# launchwaitcxx . . $ JE_SingleEnemyType#launchwait.; |
| 88 | JE_wordcxx . . $ JE_word# launchtypecxx . . $ JE_SingleEnemyType#launchtype.; |
| 89 | JE_bytecxx . . $ JE_byte# launchfreqcxx . . $ JE_SingleEnemyType#launchfreq.; |
| 90 | JE_bytecxx . . $ JE_byte# xaccelcxx . . $ JE_SingleEnemyType#xaccel.; |
| 91 | JE_bytecxx . . $ JE_byte# yaccelcxx . . $ JE_SingleEnemyType#yaccel.; |
| 92 | JE_bytecxx . . $ JE_byte# turcxx . . $ JE_SingleEnemyType#tur.[3]; /* [1..3] */ |
| 93 | JE_wordcxx . . $ JE_word# enemydiecxx . . $ JE_SingleEnemyType#enemydie.; /* Enemy created when this one dies */ |
| 94 | JE_booleancxx . . $ JE_boolean# enemygroundcxx . . $ JE_SingleEnemyType#enemyground.; |
| 95 | JE_bytecxx . . $ JE_byte# explonumcxx . . $ JE_SingleEnemyType#explonum.; |
| 96 | JE_wordcxx . . $ JE_word# mapoffsetcxx . . $ JE_SingleEnemyType#mapoffset.; |
| 97 | JE_booleancxx . . $ JE_boolean# scoreitemcxx . . $ JE_SingleEnemyType#scoreitem.; |
| 98 | |
| 99 | JE_booleancxx . . $ JE_boolean# specialcxx . . $ JE_SingleEnemyType#special.; |
| 100 | JE_bytecxx . . $ JE_byte# flagnumcxx . . $ JE_SingleEnemyType#flagnum.; |
| 101 | JE_booleancxx . . $ JE_boolean# settocxx . . $ JE_SingleEnemyType#setto.; |
| 102 | |
| 103 | JE_bytecxx . . $ JE_byte# icedcxx . . $ JE_SingleEnemyType#iced.; /*Duration*/ |
| 104 | |
| 105 | JE_bytecxx . . $ JE_byte# launchspecialcxx . . $ JE_SingleEnemyType#launchspecial.; |
| 106 | |
| 107 | JE_integercxx . . $ JE_integer# xminbouncecxx . . $ JE_SingleEnemyType#xminbounce.; |
| 108 | JE_integercxx . . $ JE_integer# xmaxbouncecxx . . $ JE_SingleEnemyType#xmaxbounce.; |
| 109 | JE_integercxx . . $ JE_integer# yminbouncecxx . . $ JE_SingleEnemyType#yminbounce.; |
| 110 | JE_integercxx . . $ JE_integer# ymaxbouncecxx . . $ JE_SingleEnemyType#ymaxbounce.; |
| 111 | JE_bytecxx . . $ JE_byte# fillcxx . . $ JE_SingleEnemyType#fill.[3]; /* [1..3] */ |
| 112 | }; |
| 113 | |
| 114 | typedef struct JE_SingleEnemyTypecxx . . $ JE_SingleEnemyType# JE_MultiEnemyTypecxx . . $ JE_MultiEnemyType#[100]; /* [1..100] */ |
| 115 | |
| 116 | typedef JE_bytecxx . . $ JE_byte# JE_DanCShapecxx . . $ JE_DanCShape#[24 * 28]; /* [1..(24*28) div 2] OF WORD */ |
| 117 | |
| 118 | typedef JE_charcxx . . $ JE_char# JE_CharStringcxx . . $ JE_CharString#[256]; /* [1..256] */ |
| 119 | |
| 120 | typedef JE_bytecxx . . $ JE_byte# JE_Map1Buffercxx . . $ JE_Map1Buffer#[24 * 28 * 13 * 4]; /* [1..24*28*13*4] */ |
| 121 | |
| 122 | typedef JE_bytecxx . . $ JE_byte# *JE_MapTypecxx . . $ JE_MapType#[300][14]; /* [1..300, 1..14] */ |
| 123 | typedef JE_bytecxx . . $ JE_byte# *JE_MapType2cxx . . $ JE_MapType2#[600][14]; /* [1..600, 1..14] */ |
| 124 | typedef JE_bytecxx . . $ JE_byte# *JE_MapType3cxx . . $ JE_MapType3#[600][15]; /* [1..600, 1..15] */ |
| 125 | |
| 126 | struct JE_EventRecTypecxx . . $ JE_EventRecType# |
| 127 | { |
| 128 | JE_wordcxx . . $ JE_word# eventtimecxx . . $ JE_EventRecType#eventtime.; |
| 129 | JE_bytecxx . . $ JE_byte# eventtypecxx . . $ JE_EventRecType#eventtype.; |
| 130 | JE_integercxx . . $ JE_integer# eventdatcxx . . $ JE_EventRecType#eventdat., eventdat2cxx . . $ JE_EventRecType#eventdat2.; |
| 131 | JE_shortintcxx . . $ JE_shortint# eventdat3cxx . . $ JE_EventRecType#eventdat3., eventdat5cxx . . $ JE_EventRecType#eventdat5., eventdat6cxx . . $ JE_EventRecType#eventdat6.; |
| 132 | JE_bytecxx . . $ JE_byte# eventdat4cxx . . $ JE_EventRecType#eventdat4.; |
| 133 | }; |
| 134 | |
| 135 | struct JE_MegaDataType1cxx . . $ JE_MegaDataType1# |
| 136 | { |
| 137 | JE_MapTypecxx . . $ JE_MapType# mainmapcxx . . $ JE_MegaDataType1#mainmap.; |
| 138 | structcxx . . $ JE_MegaDataType1#$anonymous_type_1# |
| 139 | { |
| 140 | JE_DanCShapecxx . . $ JE_DanCShape# shcxx . . $ JE_MegaDataType1#$anonymous_type_1#sh.; |
| 141 | } shapescxx . . $ JE_MegaDataType1#shapes.[72]; /* [0..71] */ |
| 142 | JE_bytecxx . . $ JE_byte# tempdat1cxx . . $ JE_MegaDataType1#tempdat1.; |
| 143 | /*JE_DanCShape filler;*/ |
| 144 | }; |
| 145 | |
| 146 | struct JE_MegaDataType2cxx . . $ JE_MegaDataType2# |
| 147 | { |
| 148 | JE_MapType2cxx . . $ JE_MapType2# mainmapcxx . . $ JE_MegaDataType2#mainmap.; |
| 149 | structcxx . . $ JE_MegaDataType2#$anonymous_type_2# |
| 150 | { |
| 151 | JE_bytecxx . . $ JE_byte# nothingcxx . . $ JE_MegaDataType2#$anonymous_type_2#nothing.[3]; /* [1..3] */ |
| 152 | JE_bytecxx . . $ JE_byte# fillcxx . . $ JE_MegaDataType2#$anonymous_type_2#fill.; |
| 153 | JE_DanCShapecxx . . $ JE_DanCShape# shcxx . . $ JE_MegaDataType2#$anonymous_type_2#sh.; |
| 154 | } shapescxx . . $ JE_MegaDataType2#shapes.[71]; /* [0..70] */ |
| 155 | JE_bytecxx . . $ JE_byte# tempdat2cxx . . $ JE_MegaDataType2#tempdat2.; |
| 156 | }; |
| 157 | |
| 158 | struct JE_MegaDataType3cxx . . $ JE_MegaDataType3# |
| 159 | { |
| 160 | JE_MapType3cxx . . $ JE_MapType3# mainmapcxx . . $ JE_MegaDataType3#mainmap.; |
| 161 | structcxx . . $ JE_MegaDataType3#$anonymous_type_3# |
| 162 | { |
| 163 | JE_bytecxx . . $ JE_byte# nothingcxx . . $ JE_MegaDataType3#$anonymous_type_3#nothing.[3]; /* [1..3] */ |
| 164 | JE_bytecxx . . $ JE_byte# fillcxx . . $ JE_MegaDataType3#$anonymous_type_3#fill.; |
| 165 | JE_DanCShapecxx . . $ JE_DanCShape# shcxx . . $ JE_MegaDataType3#$anonymous_type_3#sh.; |
| 166 | } shapescxx . . $ JE_MegaDataType3#shapes.[70]; /* [0..69] */ |
| 167 | JE_bytecxx . . $ JE_byte# tempdat3cxx . . $ JE_MegaDataType3#tempdat3.; |
| 168 | }; |
| 169 | |
| 170 | typedef JE_bytecxx . . $ JE_byte# JE_EnemyAvailTypecxx . . $ JE_EnemyAvailType#[100]; /* [1..100] */ |
| 171 | |
| 172 | typedef structcxx . . $ $anonymous_type_75a5d6b19c4f0372_4# { |
| 173 | JE_integercxx . . $ JE_integer# sxcxx . . $ $anonymous_type_75a5d6b19c4f0372_4#sx., sycxx . . $ $anonymous_type_75a5d6b19c4f0372_4#sy.; |
| 174 | JE_integercxx . . $ JE_integer# sxmcxx . . $ $anonymous_type_75a5d6b19c4f0372_4#sxm., symcxx . . $ $anonymous_type_75a5d6b19c4f0372_4#sym.; |
| 175 | JE_shortintcxx . . $ JE_shortint# sxccxx . . $ $anonymous_type_75a5d6b19c4f0372_4#sxc., syccxx . . $ $anonymous_type_75a5d6b19c4f0372_4#syc.; |
| 176 | JE_bytecxx . . $ JE_byte# txcxx . . $ $anonymous_type_75a5d6b19c4f0372_4#tx., tycxx . . $ $anonymous_type_75a5d6b19c4f0372_4#ty.; |
| 177 | JE_wordcxx . . $ JE_word# sgrcxx . . $ $anonymous_type_75a5d6b19c4f0372_4#sgr.; |
| 178 | JE_bytecxx . . $ JE_byte# sdmgcxx . . $ $anonymous_type_75a5d6b19c4f0372_4#sdmg.; |
| 179 | JE_bytecxx . . $ JE_byte# durationcxx . . $ $anonymous_type_75a5d6b19c4f0372_4#duration.; |
| 180 | JE_wordcxx . . $ JE_word# animatecxx . . $ $anonymous_type_75a5d6b19c4f0372_4#animate.; |
| 181 | JE_wordcxx . . $ JE_word# animaxcxx . . $ $anonymous_type_75a5d6b19c4f0372_4#animax.; |
| 182 | JE_bytecxx . . $ JE_byte# fillcxx . . $ $anonymous_type_75a5d6b19c4f0372_4#fill.[12]; |
| 183 | } EnemyShotTypecxx . . $ EnemyShotType#; |
| 184 | |
| 185 | typedef structcxx . . $ $anonymous_type_75a5d6b19c4f0372_5# { |
| 186 | unsigned int ttlcxx . . $ $anonymous_type_75a5d6b19c4f0372_5#ttl.; |
| 187 | signed int xcxx . . $ $anonymous_type_75a5d6b19c4f0372_5#x., ycxx . . $ $anonymous_type_75a5d6b19c4f0372_5#y.; |
| 188 | signed int delta_xcxx . . $ $anonymous_type_75a5d6b19c4f0372_5#delta_x., delta_ycxx . . $ $anonymous_type_75a5d6b19c4f0372_5#delta_y.; |
| 189 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! fixed_positioncxx . . $ $anonymous_type_75a5d6b19c4f0372_5#fixed_position.; |
| 190 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! follow_playercxx . . $ $anonymous_type_75a5d6b19c4f0372_5#follow_player.; |
| 191 | unsigned int spritecxx . . $ $anonymous_type_75a5d6b19c4f0372_5#sprite.; |
| 192 | } explosion_typecxx . . $ explosion_type#; |
| 193 | |
| 194 | typedef structcxx . . $ $anonymous_type_75a5d6b19c4f0372_6# { |
| 195 | unsigned int delaycxx . . $ $anonymous_type_75a5d6b19c4f0372_6#delay.; |
| 196 | unsigned int ttlcxx . . $ $anonymous_type_75a5d6b19c4f0372_6#ttl.; |
| 197 | unsigned int xcxx . . $ $anonymous_type_75a5d6b19c4f0372_6#x., ycxx . . $ $anonymous_type_75a5d6b19c4f0372_6#y.; |
| 198 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! bigcxx . . $ $anonymous_type_75a5d6b19c4f0372_6#big.; |
| 199 | } rep_explosion_typecxx . . $ rep_explosion_type#; |
| 200 | |
| 201 | typedef structcxx . . $ $anonymous_type_75a5d6b19c4f0372_7# { |
| 202 | unsigned int xcxx . . $ $anonymous_type_75a5d6b19c4f0372_7#x., ycxx . . $ $anonymous_type_75a5d6b19c4f0372_7#y., zcxx . . $ $anonymous_type_75a5d6b19c4f0372_7#z.; |
| 203 | signed int delta_xcxx . . $ $anonymous_type_75a5d6b19c4f0372_7#delta_x., delta_ycxx . . $ $anonymous_type_75a5d6b19c4f0372_7#delta_y.; |
| 204 | Uint8cxx . . $ Uint8# colorcxx . . $ $anonymous_type_75a5d6b19c4f0372_7#color.; |
| 205 | } superpixel_typecxx . . $ superpixel_type#; |
| 206 | |
| 207 | extern JE_integercxx . . $ JE_integer# tempDatcxx . . $ tempDat., tempDat2cxx . . $ tempDat2., tempDat3cxx . . $ tempDat3.; |
| 208 | extern const JE_bytecxx . . $ JE_byte# SANextShipcxx . . $ SANextShip.[SAcxx . . $ `src/varz.h:29:9`! + 2]; |
| 209 | extern const JE_wordcxx . . $ JE_word# SASpecialWeaponcxx . . $ SASpecialWeapon.[SAcxx . . $ `src/varz.h:29:9`!]; |
| 210 | extern const JE_wordcxx . . $ JE_word# SASpecialWeaponBcxx . . $ SASpecialWeaponB.[SAcxx . . $ `src/varz.h:29:9`!]; |
| 211 | extern const JE_bytecxx . . $ JE_byte# SAShipcxx . . $ SAShip.[SAcxx . . $ `src/varz.h:29:9`!]; |
| 212 | extern const JE_wordcxx . . $ JE_word# SAWeaponcxx . . $ SAWeapon.[SAcxx . . $ `src/varz.h:29:9`!][5]; |
| 213 | extern const JE_bytecxx . . $ JE_byte# specialArcadeWeaponcxx . . $ specialArcadeWeapon.[PORT_NUMcxx . . $ `src/lvlmast.h:27:9`!]; |
| 214 | extern const JE_bytecxx . . $ JE_byte# optionSelectcxx . . $ optionSelect.[16][3][2]; |
| 215 | extern const JE_wordcxx . . $ JE_word# PGRcxx . . $ PGR.[21]; |
| 216 | extern const JE_bytecxx . . $ JE_byte# PAnicxx . . $ PAni.[21]; |
| 217 | extern const JE_wordcxx . . $ JE_word# linkGunWeaponscxx . . $ linkGunWeapons.[38]; |
| 218 | extern const JE_wordcxx . . $ JE_word# chargeGunWeaponscxx . . $ chargeGunWeapons.[38]; |
| 219 | extern const JE_bytecxx . . $ JE_byte# randomEnemyLaunchSoundscxx . . $ randomEnemyLaunchSounds.[3]; |
| 220 | extern const JE_bytecxx . . $ JE_byte# keyboardComboscxx . . $ keyboardCombos.[26][8]; |
| 221 | extern const JE_bytecxx . . $ JE_byte# shipCombosBcxx . . $ shipCombosB.[21]; |
| 222 | extern const JE_bytecxx . . $ JE_byte# superTyrianSpecialscxx . . $ superTyrianSpecials.[4]; |
| 223 | extern const JE_bytecxx . . $ JE_byte# shipComboscxx . . $ shipCombos.[14][3]; |
| 224 | extern JE_bytecxx . . $ JE_byte# SFCurrentCodecxx . . $ SFCurrentCode.[2][21]; |
| 225 | extern JE_bytecxx . . $ JE_byte# SFExecutedcxx . . $ SFExecuted.[2]; |
| 226 | extern JE_bytecxx . . $ JE_byte# lvlFileNumcxx . . $ lvlFileNum.; |
| 227 | extern JE_wordcxx . . $ JE_word# maxEventcxx . . $ maxEvent., eventLoccxx . . $ eventLoc.; |
| 228 | extern JE_wordcxx . . $ JE_word# tempBackMovecxx . . $ tempBackMove., explodeMovecxx . . $ explodeMove.; |
| 229 | extern JE_bytecxx . . $ JE_byte# levelEndcxx . . $ levelEnd.; |
| 230 | extern JE_wordcxx . . $ JE_word# levelEndFxWaitcxx . . $ levelEndFxWait.; |
| 231 | extern JE_shortintcxx . . $ JE_shortint# levelEndWarpcxx . . $ levelEndWarp.; |
| 232 | extern JE_booleancxx . . $ JE_boolean# endLevelcxx . . $ endLevel., reallyEndLevelcxx . . $ reallyEndLevel., waitToEndLevelcxx . . $ waitToEndLevel., playerEndLevelcxx . . $ playerEndLevel., normalBonusLevelCurrentcxx . . $ normalBonusLevelCurrent., bonusLevelCurrentcxx . . $ bonusLevelCurrent., smallEnemyAdjustcxx . . $ smallEnemyAdjust., readyToEndLevelcxx . . $ readyToEndLevel., quitRequestedcxx . . $ quitRequested.; |
| 233 | extern JE_bytecxx . . $ JE_byte# newPLcxx . . $ newPL.[10]; |
| 234 | extern JE_wordcxx . . $ JE_word# returnLoccxx . . $ returnLoc.; |
| 235 | extern JE_booleancxx . . $ JE_boolean# returnActivecxx . . $ returnActive.; |
| 236 | extern JE_wordcxx . . $ JE_word# galagaShotFreqcxx . . $ galagaShotFreq.; |
| 237 | extern JE_longintcxx . . $ JE_longint# galagaLifecxx . . $ galagaLife.; |
| 238 | extern JE_booleancxx . . $ JE_boolean# debugcxx . . $ debug.; |
| 239 | extern Uint32cxx . . $ Uint32# debugTimecxx . . $ debugTime., lastDebugTimecxx . . $ lastDebugTime.; |
| 240 | extern JE_longintcxx . . $ JE_longint# debugHistCountcxx . . $ debugHistCount.; |
| 241 | extern JE_realcxx . . $ JE_real# debugHistcxx . . $ debugHist.; |
| 242 | extern JE_wordcxx . . $ JE_word# curLoccxx . . $ curLoc.; |
| 243 | extern JE_booleancxx . . $ JE_boolean# firstGameOvercxx . . $ firstGameOver., gameLoadedcxx . . $ gameLoaded., enemyStillExplodingcxx . . $ enemyStillExploding.; |
| 244 | extern JE_wordcxx . . $ JE_word# totalEnemycxx . . $ totalEnemy.; |
| 245 | extern JE_wordcxx . . $ JE_word# enemyKilledcxx . . $ enemyKilled.; |
| 246 | extern struct JE_MegaDataType1cxx . . $ JE_MegaDataType1# megaData1cxx . . $ megaData1.; |
| 247 | extern struct JE_MegaDataType2cxx . . $ JE_MegaDataType2# megaData2cxx . . $ megaData2.; |
| 248 | extern struct JE_MegaDataType3cxx . . $ JE_MegaDataType3# megaData3cxx . . $ megaData3.; |
| 249 | extern JE_bytecxx . . $ JE_byte# flashcxx . . $ flash.; |
| 250 | extern JE_shortintcxx . . $ JE_shortint# flashChangecxx . . $ flashChange.; |
| 251 | extern JE_bytecxx . . $ JE_byte# displayTimecxx . . $ displayTime.; |
| 252 | |
| 253 | extern boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! play_democxx . . $ play_demo., record_democxx . . $ record_demo., stopped_democxx . . $ stopped_demo.; |
| 254 | extern Uint8cxx . . $ Uint8# demo_numcxx . . $ demo_num.; |
| 255 | extern FILEcxx . . $ FILE# *demo_filecxx . . $ demo_file.; |
| 256 | |
| 257 | extern Uint8cxx . . $ Uint8# demo_keyscxx . . $ demo_keys.; |
| 258 | extern Uint16cxx . . $ Uint16# demo_keys_waitcxx . . $ demo_keys_wait.; |
| 259 | |
| 260 | extern JE_bytecxx . . $ JE_byte# soundQueuecxx . . $ soundQueue.[8]; |
| 261 | extern JE_booleancxx . . $ JE_boolean# enemyContinualDamagecxx . . $ enemyContinualDamage.; |
| 262 | extern JE_booleancxx . . $ JE_boolean# enemiesActivecxx . . $ enemiesActive.; |
| 263 | extern JE_booleancxx . . $ JE_boolean# forceEventscxx . . $ forceEvents.; |
| 264 | extern JE_booleancxx . . $ JE_boolean# stopBackgroundscxx . . $ stopBackgrounds.; |
| 265 | extern JE_bytecxx . . $ JE_byte# stopBackgroundNumcxx . . $ stopBackgroundNum.; |
| 266 | extern JE_bytecxx . . $ JE_byte# damageRatecxx . . $ damageRate.; |
| 267 | extern JE_booleancxx . . $ JE_boolean# background3x1cxx . . $ background3x1.; |
| 268 | extern JE_booleancxx . . $ JE_boolean# background3x1bcxx . . $ background3x1b.; |
| 269 | extern JE_booleancxx . . $ JE_boolean# levelTimercxx . . $ levelTimer.; |
| 270 | extern JE_wordcxx . . $ JE_word# levelTimerCountdowncxx . . $ levelTimerCountdown.; |
| 271 | extern JE_wordcxx . . $ JE_word# levelTimerJumpTocxx . . $ levelTimerJumpTo.; |
| 272 | extern JE_booleancxx . . $ JE_boolean# randomExplosionscxx . . $ randomExplosions.; |
| 273 | extern JE_booleancxx . . $ JE_boolean# editShip1cxx . . $ editShip1., editShip2cxx . . $ editShip2.; |
| 274 | extern JE_booleancxx . . $ JE_boolean# globalFlagscxx . . $ globalFlags.[10]; |
| 275 | extern JE_bytecxx . . $ JE_byte# levelSongcxx . . $ levelSong.; |
| 276 | extern JE_booleancxx . . $ JE_boolean# loadDestructcxx . . $ loadDestruct.; |
| 277 | extern JE_wordcxx . . $ JE_word# mapOrigincxx . . $ mapOrigin., mapPNumcxx . . $ mapPNum.; |
| 278 | extern JE_bytecxx . . $ JE_byte# mapPlanetcxx . . $ mapPlanet.[5], mapSectioncxx . . $ mapSection.[5]; |
| 279 | extern JE_booleancxx . . $ JE_boolean# moveTyrianLogoUpcxx . . $ moveTyrianLogoUp.; |
| 280 | extern JE_booleancxx . . $ JE_boolean# skipStarShowVGAcxx . . $ skipStarShowVGA.; |
| 281 | extern JE_MultiEnemyTypecxx . . $ JE_MultiEnemyType# enemycxx . . $ enemy.; |
| 282 | extern JE_EnemyAvailTypecxx . . $ JE_EnemyAvailType# enemyAvailcxx . . $ enemyAvail.; |
| 283 | extern JE_wordcxx . . $ JE_word# enemyOffsetcxx . . $ enemyOffset.; |
| 284 | extern JE_wordcxx . . $ JE_word# enemyOnScreencxx . . $ enemyOnScreen.; |
| 285 | extern JE_wordcxx . . $ JE_word# superEnemy254Jumpcxx . . $ superEnemy254Jump.; |
| 286 | extern explosion_typecxx . . $ explosion_type# explosionscxx . . $ explosions.[MAX_EXPLOSIONScxx . . $ `src/varz.h:49:9`!]; |
| 287 | extern JE_integercxx . . $ JE_integer# explosionFollowAmountXcxx . . $ explosionFollowAmountX., explosionFollowAmountYcxx . . $ explosionFollowAmountY.; |
| 288 | extern JE_booleancxx . . $ JE_boolean# fireButtonHeldcxx . . $ fireButtonHeld.; |
| 289 | extern JE_booleancxx . . $ JE_boolean# enemyShotAvailcxx . . $ enemyShotAvail.[ENEMY_SHOT_MAXcxx . . $ `src/varz.h:45:9`!]; |
| 290 | extern EnemyShotTypecxx . . $ EnemyShotType# enemyShotcxx . . $ enemyShot.[ENEMY_SHOT_MAXcxx . . $ `src/varz.h:45:9`!]; |
| 291 | extern JE_bytecxx . . $ JE_byte# zinglonDurationcxx . . $ zinglonDuration.; |
| 292 | extern JE_bytecxx . . $ JE_byte# astralDurationcxx . . $ astralDuration.; |
| 293 | extern JE_wordcxx . . $ JE_word# flareDurationcxx . . $ flareDuration.; |
| 294 | extern JE_booleancxx . . $ JE_boolean# flareStartcxx . . $ flareStart.; |
| 295 | extern JE_shortintcxx . . $ JE_shortint# flareColChgcxx . . $ flareColChg.; |
| 296 | extern JE_bytecxx . . $ JE_byte# specialWaitcxx . . $ specialWait.; |
| 297 | extern JE_bytecxx . . $ JE_byte# nextSpecialWaitcxx . . $ nextSpecialWait.; |
| 298 | extern JE_booleancxx . . $ JE_boolean# spraySpecialcxx . . $ spraySpecial.; |
| 299 | extern JE_bytecxx . . $ JE_byte# doIcedcxx . . $ doIced.; |
| 300 | extern JE_booleancxx . . $ JE_boolean# infiniteShotcxx . . $ infiniteShot.; |
| 301 | extern JE_booleancxx . . $ JE_boolean# allPlayersGonecxx . . $ allPlayersGone.; |
| 302 | extern const uintcxx . . $ uint# shadowYDistcxx . . $ shadowYDist.; |
| 303 | extern JE_realcxx . . $ JE_real# optionSatelliteRotatecxx . . $ optionSatelliteRotate.; |
| 304 | extern JE_integercxx . . $ JE_integer# optionAttachmentMovecxx . . $ optionAttachmentMove.; |
| 305 | extern JE_booleancxx . . $ JE_boolean# optionAttachmentLinkedcxx . . $ optionAttachmentLinked., optionAttachmentReturncxx . . $ optionAttachmentReturn.; |
| 306 | extern JE_bytecxx . . $ JE_byte# chargeWaitcxx . . $ chargeWait., chargeLevelcxx . . $ chargeLevel., chargeMaxcxx . . $ chargeMax., chargeGrcxx . . $ chargeGr., chargeGrWaitcxx . . $ chargeGrWait.; |
| 307 | extern JE_wordcxx . . $ JE_word# neatcxx . . $ neat.; |
| 308 | extern rep_explosion_typecxx . . $ rep_explosion_type# rep_explosionscxx . . $ rep_explosions.[MAX_REPEATING_EXPLOSIONScxx . . $ `src/varz.h:50:9`!]; |
| 309 | extern superpixel_typecxx . . $ superpixel_type# superpixelscxx . . $ superpixels.[MAX_SUPERPIXELScxx . . $ `src/varz.h:51:9`!]; |
| 310 | extern unsigned int last_superpixelcxx . . $ last_superpixel.; |
| 311 | extern JE_bytecxx . . $ JE_byte# tempcxx . . $ temp., temp2cxx . . $ temp2., temp3cxx . . $ temp3.; |
| 312 | extern JE_wordcxx . . $ JE_word# tempXcxx . . $ tempX., tempYcxx . . $ tempY.; |
| 313 | extern JE_wordcxx . . $ JE_word# tempWcxx . . $ tempW.; |
| 314 | extern JE_booleancxx . . $ JE_boolean# doNotSaveBackupcxx . . $ doNotSaveBackup.; |
| 315 | extern JE_wordcxx . . $ JE_word# xcxx . . $ x., ycxx . . $ y.; |
| 316 | extern JE_integercxx . . $ JE_integer# bcxx . . $ b.; |
| 317 | extern JE_bytecxx . . $ JE_byte# **BKwrap1tocxx . . $ BKwrap1to., **BKwrap2tocxx . . $ BKwrap2to., **BKwrap3tocxx . . $ BKwrap3to., **BKwrap1cxx . . $ BKwrap1., **BKwrap2cxx . . $ BKwrap2., **BKwrap3cxx . . $ BKwrap3.; |
| 318 | extern JE_shortintcxx . . $ JE_shortint# specialWeaponFiltercxx . . $ specialWeaponFilter., specialWeaponFreqcxx . . $ specialWeaponFreq.; |
| 319 | extern JE_wordcxx . . $ JE_word# specialWeaponWpncxx . . $ specialWeaponWpn.; |
| 320 | extern JE_booleancxx . . $ JE_boolean# linkToPlayercxx . . $ linkToPlayer.; |
| 321 | extern JE_wordcxx . . $ JE_word# shipGrcxx . . $ shipGr., shipGr2cxx . . $ shipGr2.; |
| 322 | extern Sprite2_arraycxx . . $ Sprite2_array# *shipGrPtrcxx . . $ shipGrPtr., *shipGr2ptrcxx . . $ shipGr2ptr.; |
| 323 | |
| 324 | static const int hud_sidekick_ycxx . . $ hud_sidekick_y.[2][2] = |
| 325 | { |
| 326 | { 64, 82 }, // one player HUD |
| 327 | { 108, 126 }, // two player HUD |
| 328 | }; |
| 329 | |
| 330 | void JE_getShipInfocxx . . $ JE_getShipInfo(49f6e7a06ebc5aa8).(void); |
| 331 | JE_wordcxx . . $ JE_word# JE_SGrcxx . . $ JE_SGr(638b2d25147dc206).(JE_wordcxx . . $ JE_word# ship, Sprite2_arraycxx . . $ Sprite2_array# **ptr); |
| 332 | |
| 333 | void JE_drawOptionscxx . . $ JE_drawOptions(49f6e7a06ebc5aa8).(void); |
| 334 | |
| 335 | void JE_tyrianHaltcxx . . $ JE_tyrianHalt(ac50b47256ae7414).(JE_bytecxx . . $ JE_byte# code); /* This ends the game */ |
| 336 | void JE_specialCompletecxx . . $ JE_specialComplete(8fbe6856f5410d23).(JE_bytecxx . . $ JE_byte# playernum, JE_bytecxx . . $ JE_byte# specialType); |
| 337 | void JE_doSpecialShotcxx . . $ JE_doSpecialShot(69ec12f035786005).(JE_bytecxx . . $ JE_byte# playernum, uintcxx . . $ uint# *armor, uintcxx . . $ uint# *shield); |
| 338 | |
| 339 | void JE_wipeShieldArmorBarscxx . . $ JE_wipeShieldArmorBars(49f6e7a06ebc5aa8).(void); |
| 340 | JE_bytecxx . . $ JE_byte# JE_playerDamagecxx . . $ JE_playerDamage(9c37ec4f31b8640b).(JE_bytecxx . . $ JE_byte# temp, Playercxx . . $ Player# *); |
| 341 | |
| 342 | void JE_setupExplosioncxx . . $ JE_setupExplosion(9c65cb39d99632c2).(signed int x, signed int y, signed int delta_y, unsigned int type, boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! fixed_position, boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! follow_player); |
| 343 | void JE_setupExplosionLargecxx . . $ JE_setupExplosionLarge(c08e0f34ac44585d).(JE_booleancxx . . $ JE_boolean# enemyground, JE_bytecxx . . $ JE_byte# explonum, JE_integercxx . . $ JE_integer# x, JE_integercxx . . $ JE_integer# y); |
| 344 | |
| 345 | void JE_drawShieldcxx . . $ JE_drawShield(49f6e7a06ebc5aa8).(void); |
| 346 | void JE_drawArmorcxx . . $ JE_drawArmor(49f6e7a06ebc5aa8).(void); |
| 347 | |
| 348 | JE_wordcxx . . $ JE_word# JE_portConfigscxx . . $ JE_portConfigs(32a7769d58713265).(void); |
| 349 | |
| 350 | /*SuperPixels*/ |
| 351 | void JE_doSPcxx . . $ JE_doSP(92c8302fc7928c72).(JE_wordcxx . . $ JE_word# x, JE_wordcxx . . $ JE_word# y, JE_wordcxx . . $ JE_word# num, JE_bytecxx . . $ JE_byte# explowidth, JE_bytecxx . . $ JE_byte# color); |
| 352 | void JE_drawSPcxx . . $ JE_drawSP(49f6e7a06ebc5aa8).(void); |
| 353 | |
| 354 | void JE_drawOptionLevelcxx . . $ JE_drawOptionLevel(49f6e7a06ebc5aa8).(void); |
| 355 | |
| 356 | #endif /* VARZ_H */ |