author | unc0rr |
Fri, 31 Oct 2008 17:58:18 +0000 | |
changeset 1453 | 2dc2c4429756 |
parent 1445 | 3dcff3e1a4c9 |
child 1505 | 3a96e93572cb |
permissions | -rw-r--r-- |
4 | 1 |
(* |
1066 | 2 |
* Hedgewars, a free turn based strategy game |
883 | 3 |
* Copyright (c) 2004-2008 Andrey Korotaev <unC0Rr@gmail.com> |
4 | 4 |
* |
183 | 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; version 2 of the License |
|
4 | 8 |
* |
183 | 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. See the |
|
12 |
* GNU General Public License for more details. |
|
4 | 13 |
* |
183 | 14 |
* You should have received a copy of the GNU General Public License |
15 |
* along with this program; if not, write to the Free Software |
|
16 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA |
|
4 | 17 |
*) |
18 |
||
19 |
unit uConsts; |
|
20 |
interface |
|
755 | 21 |
uses SDLh, GL, uLocale; |
4 | 22 |
{$INCLUDE options.inc} |
271 | 23 |
{$INCLUDE proto.inc} |
689 | 24 |
type |
282 | 25 |
|
1259 | 26 |
TGameState = (gsLandGen, gsStart, gsGame, gsChat, gsConfirm, gsExit); |
282 | 27 |
|
1259 | 28 |
TGameType = (gmtLocal, gmtDemo, gmtNet, gmtSave, gmtLandPreview); |
282 | 29 |
|
1259 | 30 |
TPathType = (ptNone, ptData, ptGraphics, ptThemes, ptCurrTheme, ptTeams, ptMaps, |
31 |
ptMapCurrent, ptDemos, ptSounds, ptGraves, ptFonts, ptForts, |
|
32 |
ptLocale, ptAmmoMenu, ptHedgehog, ptVoices, ptHats); |
|
282 | 33 |
|
1259 | 34 |
TSprite = (sprWater, sprCloud, sprBomb, sprBigDigit, sprFrame, |
35 |
sprLag, sprArrow, sprGrenade, sprTargetP, sprUFO, |
|
36 |
sprSmokeTrace, sprRopeHook, sprExplosion50, sprMineOff, |
|
37 |
sprMineOn, sprCase, sprFAid, sprDynamite, sprPower, |
|
38 |
sprClusterBomb, sprClusterParticle, sprFlame, sprHorizont, |
|
39 |
sprSky, sprAMBorders, sprAMSlot, sprAMSlotName, sprAMAmmos, |
|
40 |
sprAMSlotKeys, sprAMSelection, sprFinger, sprAirBomb, |
|
41 |
sprAirplane, sprAmAirplane, sprAmGirder, sprHHTelepMask, |
|
42 |
sprSwitch, sprParachute, sprTarget, sprRopeNode, |
|
43 |
sprQuestion, sprPowerBar, sprWindBar, sprWindL, sprWindR, |
|
44 |
sprFlake, sprHandRope, sprHandBazooka, sprHandShotgun, |
|
45 |
sprHandDEagle, sprHandAirAttack, sprHandBaseball, sprPHammer, |
|
46 |
sprHandBlowTorch, sprBlowTorch, sprTeleport, sprHHDeath, |
|
47 |
sprShotgun, sprDEagle, sprHHIdle, sprMortar, sprTurnsLeft, |
|
48 |
sprKamikaze, sprWhip, sprKowtow, sprSad, sprWave, |
|
49 |
sprHurrah, sprLemonade, sprExplPart, sprExplPart2, |
|
1263 | 50 |
sprCakeWalk, sprCakeDown, sprAMAmmosBW, sprWatermelon, |
1286 | 51 |
sprEvilTrace, sprHellishBomb, sprSeduction, sprDress, |
52 |
sprCensored); |
|
282 | 53 |
|
1259 | 54 |
TGearType = (gtAmmo_Bomb, gtHedgehog, gtAmmo_Grenade, gtHealthTag, |
55 |
gtGrave, gtUFO, gtShotgunShot, gtPickHammer, gtRope, |
|
56 |
gtSmokeTrace, gtExplosion, gtMine, gtCase, gtDEagleShot, gtDynamite, |
|
57 |
gtTeamHealthSorter, gtClusterBomb, gtCluster, gtShover, gtFlame, |
|
58 |
gtFirePunch, gtATStartGame, gtATSmoothWindCh, gtATFinishGame, |
|
59 |
gtParachute, gtAirAttack, gtAirBomb, gtBlowTorch, gtGirder, |
|
60 |
gtTeleport, gtSmallDamage, gtSwitcher, gtTarget, gtMortar, |
|
1263 | 61 |
gtWhip, gtKamikaze, gtCake, gtSeduction, gtWatermelon, gtMelonPiece, |
1298 | 62 |
gtHellishBomb, gtEvilTrace, gtWaterUp); |
282 | 63 |
|
1259 | 64 |
TVisualGearType = (vgtFlake, vgtCloud, vgtExplPart, vgtExplPart2, vgtFire); |
802
ed5450a89b96
Start implementing 'visual gears' - gears, that don't need to be synchronized (clouds and flakes)
unc0rr
parents:
801
diff
changeset
|
65 |
|
1259 | 66 |
TGearsType = set of TGearType; |
282 | 67 |
|
1259 | 68 |
TSound = (sndGrenadeImpact, sndExplosion, sndThrowPowerUp, sndThrowRelease, |
69 |
sndSplash, sndShotgunReload, sndShotgunFire, sndGraveImpact, |
|
70 |
sndMineTick, sndPickhammer, sndGun, sndUFO, sndJump1, sndJump2, |
|
71 |
sndJump3, sndYesSir, sndLaugh, sndIllGetYou, sndIncoming, |
|
72 |
sndMissed, sndStupid, sndFirstBlood, sndBoring, sndByeBye, |
|
73 |
sndSameTeam, sndNutter, sndReinforce, sndTraitor, sndRegret, |
|
74 |
sndEnemyDown, sndCoward, sndHurry, sndWatchIt, sndKamikaze, |
|
1279 | 75 |
sndCake, sndOw1, sndOw4, sndFirePunch1, sndFirePunch2, |
76 |
sndFirePunch3, sndFirePunch4, sndFirePunch5, sndFirePunch6, |
|
1367 | 77 |
sndMelon, sndHellish, sndYoohoo); |
282 | 78 |
|
1259 | 79 |
TAmmoType = (amGrenade, amClusterBomb, amBazooka, amUFO, amShotgun, amPickHammer, |
80 |
amSkip, amRope, amMine, amDEagle, amDynamite, amFirePunch, amWhip, |
|
81 |
amBaseballBat, amParachute, amAirAttack, amMineStrike, amBlowTorch, |
|
82 |
amGirder, amTeleport, amSwitch, amMortar, amKamikaze, amCake, |
|
1263 | 83 |
amSeduction, amWatermelon, amHellishBomb); |
282 | 84 |
|
1259 | 85 |
THWFont = (fnt16, fntBig, fntSmall); |
282 | 86 |
|
1259 | 87 |
TCapGroup = (capgrpGameState, capgrpAmmoinfo, capgrpNetSay, capgrpVolume); |
282 | 88 |
|
1259 | 89 |
TStatInfoType = (siGameResult, siMaxStepDamage, siMaxStepKills, siKilledHHs); |
306 | 90 |
|
1259 | 91 |
TWave = (waveRollup, waveSad,waveWave, waveHurrah, waveLemonade); |
1034 | 92 |
|
1259 | 93 |
THHFont = record |
94 |
Handle: PTTF_Font; |
|
95 |
Height: LongInt; |
|
96 |
style: LongInt; |
|
97 |
Name: string[19]; |
|
98 |
end; |
|
282 | 99 |
|
1259 | 100 |
PAmmo = ^TAmmo; |
101 |
TAmmo = record |
|
102 |
Propz: LongWord; |
|
103 |
Count: LongWord; |
|
104 |
NumPerTurn: LongWord; |
|
105 |
Timer: LongWord; |
|
106 |
Pos: LongWord; |
|
107 |
AmmoType: TAmmoType; |
|
108 |
end; |
|
109 |
TTexture = record |
|
110 |
id: GLuint; |
|
111 |
w, h: LongInt; |
|
112 |
end; |
|
113 |
PTexture = ^TTexture; |
|
4 | 114 |
|
115 |
||
105 | 116 |
const |
1259 | 117 |
errmsgCreateSurface = 'Error creating SDL surface'; |
118 |
errmsgTransparentSet = 'Error setting transparent color'; |
|
119 |
errmsgUnknownCommand = 'Unknown command'; |
|
120 |
errmsgUnknownVariable = 'Unknown variable'; |
|
121 |
errmsgIncorrectUse = 'Incorrect use'; |
|
122 |
errmsgShouldntRun = 'This program shouldn''t be run manually'; |
|
123 |
errmsgWrongNumber = 'Wrong parameters number'; |
|
4 | 124 |
|
1259 | 125 |
msgLoading = 'Loading '; |
126 |
msgOK = 'ok'; |
|
127 |
msgFailed = 'failed'; |
|
128 |
msgGettingConfig = 'Getting game config...'; |
|
4 | 129 |
|
130 |
const |
|
1033 | 131 |
cMaxPower = 1500; |
132 |
cMaxAngle = 2048; |
|
133 |
cPowerDivisor = 1500; |
|
621 | 134 |
|
1190
73ec31d8bb6f
Enable back rendering objects that are put on top of land texture
unc0rr
parents:
1184
diff
changeset
|
135 |
MAXNAMELEN = 192; |
74 | 136 |
|
1033 | 137 |
COLOR_LAND = $00FFFFFF; |
64 | 138 |
|
1033 | 139 |
cifRandomize = $00000001; |
140 |
cifTheme = $00000002; |
|
141 |
cifMap = $00000002; // either theme or map (or map+theme) |
|
142 |
cifAllInited = cifRandomize or |
|
143 |
cifTheme or |
|
144 |
cifMap; |
|
55
e09f7c952a40
Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents:
53
diff
changeset
|
145 |
|
1033 | 146 |
cTransparentColor: Longword = $000000; |
4 | 147 |
|
1033 | 148 |
cMaxTeams = 6; |
149 |
cMaxHHIndex = 7; |
|
150 |
cMaxHHs = 30; |
|
151 |
cMaxSpawnPoints = 1024; |
|
4 | 152 |
|
1033 | 153 |
cMaxEdgePoints = 16384; |
22 | 154 |
|
1033 | 155 |
cHHRadius = 9; |
1141 | 156 |
cHHStepTicks = 29; |
509 | 157 |
|
1270 | 158 |
cUsualZ = 500; |
159 |
cSmokeZ = 499; |
|
1033 | 160 |
cHHZ = 1000; |
161 |
cCurrHHZ = Succ(cHHZ); |
|
1109 | 162 |
cOnHHZ = 2000; |
4 | 163 |
|
1033 | 164 |
cShotgunRadius = 22; |
165 |
cBlowTorchC = 6; |
|
509 | 166 |
|
1033 | 167 |
cKeyMaxIndex = 1023; |
4 | 168 |
|
1033 | 169 |
cMaxCaptions = 4; |
97
e7c1df9cce2c
- make the game be run from ${PREFIX}/bin with data in ${PREFIX}/share/hedgewars/Data
unc0rr
parents:
95
diff
changeset
|
170 |
|
1033 | 171 |
gfForts = $00000001; |
172 |
gfMultiWeapon = $00000002; |
|
173 |
gfSolidLand = $00000004; |
|
1428 | 174 |
gfDivideTeams = $00000010; |
1033 | 175 |
gfOneClanMode = $10000000; |
4 | 176 |
|
1033 | 177 |
gstDrowning = $00000001; |
178 |
gstHHDriven = $00000002; |
|
179 |
gstMoving = $00000004; |
|
180 |
gstAttacked = $00000008; |
|
181 |
gstAttacking = $00000010; |
|
182 |
gstCollision = $00000020; |
|
183 |
gstHHChooseTarget = $00000040; |
|
184 |
gstHHJumping = $00000100; |
|
185 |
gsttmpFlag = $00000200; |
|
186 |
gstHHThinking = $00000800; |
|
187 |
gstNoDamage = $00001000; |
|
188 |
gstHHHJump = $00002000; |
|
189 |
gstAnimation = $00004000; |
|
190 |
gstHHDeath = $00008000; |
|
191 |
gstWinner = $00010000; |
|
192 |
gstWait = $00020000; |
|
4 | 193 |
|
1033 | 194 |
gm_Left = $00000001; |
195 |
gm_Right = $00000002; |
|
196 |
gm_Up = $00000004; |
|
197 |
gm_Down = $00000008; |
|
198 |
gm_Switch = $00000010; |
|
199 |
gm_Attack = $00000020; |
|
200 |
gm_LJump = $00000040; |
|
201 |
gm_HJump = $00000080; |
|
202 |
gm_Destroy= $00000100; |
|
203 |
gm_Slot = $00000200; // with param |
|
204 |
gm_Weapon = $00000400; // with param |
|
205 |
gm_Timer = $00000800; // with param |
|
206 |
gm_Animate= $00001000; // with param |
|
207 |
gmAllStoppable = gm_Left or gm_Right or gm_Up or gm_Down or gm_Attack; |
|
4 | 208 |
|
1033 | 209 |
cMaxSlotIndex = 8; |
210 |
cMaxSlotAmmoIndex = 3; |
|
4 | 211 |
|
1033 | 212 |
ammoprop_Timerable = $00000001; |
213 |
ammoprop_Power = $00000002; |
|
214 |
ammoprop_NeedTarget = $00000004; |
|
215 |
ammoprop_ForwMsgs = $00000008; |
|
216 |
ammoprop_AttackInMove = $00000010; |
|
217 |
ammoprop_NoCrosshair = $00000040; |
|
218 |
ammoprop_AttackingPut = $00000080; |
|
219 |
ammoprop_DontHold = $00000100; |
|
220 |
ammoprop_AltAttack = $00000200; |
|
221 |
ammoprop_AltUse = $00000400; |
|
930 | 222 |
|
1033 | 223 |
AMMO_INFINITE = 9; |
4 | 224 |
|
1033 | 225 |
EXPLAllDamageInRadius = $00000001; |
226 |
EXPLAutoSound = $00000002; |
|
227 |
EXPLNoDamage = $00000004; |
|
228 |
EXPLDoNotTouchHH = $00000008; |
|
229 |
EXPLDontDraw = $00000010; |
|
42 | 230 |
|
1033 | 231 |
posCaseAmmo = $00000001; |
232 |
posCaseHealth = $00000002; |
|
4 | 233 |
|
1033 | 234 |
NoPointX = Low(LongInt); |
4 | 235 |
|
1033 | 236 |
cHHFileName = 'Hedgehog'; |
237 |
cCHFileName = 'Crosshair'; |
|
238 |
cThemeCFGFilename = 'theme.cfg'; |
|
4 | 239 |
|
1033 | 240 |
Fontz: array[THWFont] of THHFont = ( |
241 |
(Handle: nil; |
|
242 |
Height: 12; |
|
1118 | 243 |
style: TTF_STYLE_NORMAL; |
244 |
Name: 'DejaVuSans-Bold.ttf'), |
|
1033 | 245 |
(Handle: nil; |
246 |
Height: 24; |
|
1118 | 247 |
style: TTF_STYLE_NORMAL; |
248 |
Name: 'DejaVuSans-Bold.ttf'), |
|
1033 | 249 |
(Handle: nil; |
250 |
Height: 10; |
|
1118 | 251 |
style: TTF_STYLE_NORMAL; |
252 |
Name: 'DejaVuSans-Bold.ttf') |
|
1033 | 253 |
); |
4 | 254 |
|
1033 | 255 |
FontBorder = 2; |
202 | 256 |
|
1033 | 257 |
PathPrefix: string = './'; |
258 |
Pathz: array[TPathType] of String = ( |
|
259 |
'', // ptNone |
|
260 |
'', // ptData |
|
261 |
'Graphics', // ptGraphics |
|
262 |
'Themes', // ptThemes |
|
263 |
'Themes/avematan', // ptCurrTheme |
|
264 |
'Teams', // ptTeams |
|
265 |
'Maps', // ptMaps |
|
266 |
'', // ptMapCurrent |
|
267 |
'Demos', // ptDemos |
|
268 |
'Sounds', // ptSounds |
|
269 |
'Graphics/Graves', // ptGraves |
|
270 |
'Fonts', // ptFonts |
|
271 |
'Forts', // ptForts |
|
272 |
'Locale', // ptLocale |
|
273 |
'Graphics/AmmoMenu', // ptAmmoMenu |
|
274 |
'Graphics/Hedgehog', // ptHedgehog |
|
275 |
'Sounds/voices', // ptVoices |
|
276 |
'Graphics/Hats' // ptHats |
|
277 |
); |
|
4 | 278 |
|
1259 | 279 |
SpritesData: array[TSprite] of record |
280 |
FileName: String[14]; |
|
281 |
Path, AltPath: TPathType; |
|
282 |
Texture: PTexture; |
|
283 |
Surface: PSDL_Surface; |
|
284 |
Width, Height: LongInt; |
|
285 |
saveSurf: boolean; |
|
286 |
end = ( |
|
287 |
(FileName: 'BlueWater'; Path: ptCurrTheme;AltPath: ptGraphics; Texture: nil; Surface: nil; |
|
1439 | 288 |
Width: 125; Height: 32; saveSurf: false),// sprWater |
1259 | 289 |
(FileName: 'Clouds'; Path: ptCurrTheme;AltPath: ptGraphics; Texture: nil; Surface: nil; |
290 |
Width: 256; Height:128; saveSurf: false),// sprCloud |
|
291 |
(FileName: 'Bomb'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
292 |
Width: 8; Height: 8; saveSurf: false),// sprBomb |
|
293 |
(FileName: 'BigDigits'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
294 |
Width: 32; Height: 32; saveSurf: false),// sprBigDigit |
|
295 |
(FileName: 'Frame'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
296 |
Width: 4; Height: 32; saveSurf: false),// sprFrame |
|
297 |
(FileName: 'Lag'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
298 |
Width: 65; Height: 65; saveSurf: false),// sprLag |
|
299 |
(FileName: 'Arrow'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
300 |
Width: 16; Height: 16; saveSurf: false),// sprCursor |
|
301 |
(FileName: 'Grenade'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
302 |
Width: 16; Height: 16; saveSurf: false),// sprGrenade |
|
303 |
(FileName: 'Targetp'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
304 |
Width: 32; Height: 32; saveSurf: false),// sprTargetP |
|
305 |
(FileName: 'UFO'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
306 |
Width: 32; Height: 32; saveSurf: false),// sprUFO |
|
307 |
(FileName: 'SmokeTrace'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
308 |
Width: 32; Height: 32; saveSurf: false),// sprSmokeTrace |
|
309 |
(FileName: 'RopeHook'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
310 |
Width: 16; Height: 16; saveSurf: false),// sprRopeHook |
|
311 |
(FileName: 'Expl50'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
312 |
Width: 64; Height: 64; saveSurf: false),// sprExplosion50 |
|
313 |
(FileName: 'MineOff'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
314 |
Width: 8; Height: 8; saveSurf: false),// sprMineOff |
|
315 |
(FileName: 'MineOn'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
316 |
Width: 8; Height: 8; saveSurf: false),// sprMineOn |
|
317 |
(FileName: 'Case'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
318 |
Width: 32; Height: 32; saveSurf: false),// sprCase |
|
319 |
(FileName: 'FirstAid'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
320 |
Width: 48; Height: 48; saveSurf: false),// sprFAid |
|
321 |
(FileName: 'dynamite'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
322 |
Width: 32; Height: 32; saveSurf: false),// sprDynamite |
|
323 |
(FileName: 'Power'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
324 |
Width: 32; Height: 32; saveSurf: false),// sprPower |
|
325 |
(FileName: 'ClBomb'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
326 |
Width: 16; Height: 16; saveSurf: false),// sprClusterBomb |
|
327 |
(FileName: 'ClParticle'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
328 |
Width: 16; Height: 16; saveSurf: false),// sprClusterParticle |
|
329 |
(FileName: 'Flame'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
330 |
Width: 16; Height: 16; saveSurf: false),// sprFlame |
|
331 |
(FileName: 'horizont'; Path: ptCurrTheme;AltPath: ptNone; Texture: nil; Surface: nil; |
|
332 |
Width: 0; Height: 0; saveSurf: false),// sprHorizont |
|
333 |
(FileName: 'Sky'; Path: ptCurrTheme;AltPath: ptNone; Texture: nil; Surface: nil; |
|
334 |
Width: 0; Height: 0; saveSurf: false),// sprSky |
|
335 |
(FileName: 'BrdrLines'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
|
336 |
Width: 202; Height: 1; saveSurf: false),// sprAMBorders |
|
337 |
(FileName: 'Slot'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
|
338 |
Width: 202; Height: 33; saveSurf: false),// sprAMSlot |
|
339 |
(FileName: 'AmmoName'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
|
340 |
Width: 202; Height: 33; saveSurf: false),// sprAMSlotName |
|
341 |
(FileName: 'Ammos'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
|
342 |
Width: 32; Height: 32; saveSurf: false),// sprAMAmmos |
|
343 |
(FileName: 'SlotKeys'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
|
344 |
Width: 32; Height: 32; saveSurf: false),// sprAMSlotKeys |
|
345 |
(FileName: 'Selection'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
|
346 |
Width: 32; Height: 32; saveSurf: false),// sprAMSelection |
|
347 |
(FileName: 'Finger'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
348 |
Width: 32; Height: 48; saveSurf: false),// sprFinger |
|
349 |
(FileName: 'AirBomb'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
350 |
Width: 16; Height: 16; saveSurf: false),// sprAirBomb |
|
351 |
(FileName: 'Airplane'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
352 |
Width: 125; Height: 42; saveSurf: false),// sprAirplane |
|
353 |
(FileName: 'amAirplane'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
354 |
Width: 64; Height: 32; saveSurf: false),// sprAmAirplane |
|
355 |
(FileName: 'amGirder'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
356 |
Width: 160; Height:160; saveSurf: true),// sprAmGirder |
|
357 |
(FileName: 'hhMask'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
358 |
Width: 32; Height: 32; saveSurf: true),// sprHHTelepMask |
|
359 |
(FileName: 'Switch'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
360 |
Width: 32; Height: 32; saveSurf: false),// sprSwitch |
|
361 |
(FileName: 'Parachute'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
362 |
Width: 48; Height: 48; saveSurf: false),// sprParachute |
|
363 |
(FileName: 'Target'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
364 |
Width: 32; Height: 32; saveSurf: false),// sprTarget |
|
365 |
(FileName: 'RopeNode'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
366 |
Width: 6; Height: 6; saveSurf: false),// sprRopeNode |
|
367 |
(FileName: 'thinking'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
368 |
Width: 32; Height: 32; saveSurf: false),// sprQuestion |
|
369 |
(FileName: 'PowerBar'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
370 |
Width: 256; Height: 32; saveSurf: false),// sprPowerBar |
|
371 |
(FileName: 'WindBar'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
372 |
Width: 151; Height: 17; saveSurf: false),// sprWindBar |
|
373 |
(FileName: 'WindL'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
374 |
Width: 80; Height: 13; saveSurf: false),// sprWindL |
|
375 |
(FileName: 'WindR'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
376 |
Width: 80; Height: 13; saveSurf: false),// sprWindR |
|
377 |
(FileName: 'Flake'; Path:ptCurrTheme; AltPath: ptNone; Texture: nil; Surface: nil; |
|
378 |
Width: 64; Height: 64; saveSurf: false),// sprFlake |
|
379 |
(FileName: 'amRope'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
380 |
Width: 32; Height: 32; saveSurf: false),// sprHandRope |
|
381 |
(FileName: 'amBazooka'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
382 |
Width: 32; Height: 32; saveSurf: false),// sprHandBazooka |
|
383 |
(FileName: 'amShotgun'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
384 |
Width: 64; Height: 64; saveSurf: false),// sprHandShotgun |
|
385 |
(FileName: 'amDEagle'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
386 |
Width: 64; Height: 64; saveSurf: false),// sprHandDEagle |
|
387 |
(FileName:'amAirAttack'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
388 |
Width: 32; Height: 32; saveSurf: false),// sprHandAirAttack |
|
389 |
(FileName: 'amBaseball'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
390 |
Width: 32; Height: 32; saveSurf: false),// sprHandBaseball |
|
391 |
(FileName: 'Hammer'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
392 |
Width: 32; Height: 64; saveSurf: false),// sprPHammer |
|
393 |
(FileName: 'amBTorch_i'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
394 |
Width: 32; Height: 32; saveSurf: false),// sprHandBlowToch |
|
395 |
(FileName: 'amBTorch_w'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
396 |
Width: 32; Height: 32; saveSurf: false),// sprBlowToch |
|
397 |
(FileName: 'Teleport'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
398 |
Width: 64; Height: 32; saveSurf: false),// sprTeleport |
|
399 |
(FileName: 'HHDeath'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
400 |
Width: 32; Height: 64; saveSurf: false),// sprHHDeath |
|
401 |
(FileName:'amShotgun_w'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
402 |
Width: 64; Height: 64; saveSurf: false),// sprShotgun |
|
403 |
(FileName: 'amDEagle_w'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
404 |
Width: 64; Height: 64; saveSurf: false),// sprDEagle |
|
405 |
(FileName: 'Idle'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
406 |
Width: 32; Height: 32; saveSurf: false),// sprHHIdle |
|
407 |
(FileName: 'Mortar'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
408 |
Width: 16; Height: 16; saveSurf: false),// sprMortar |
|
409 |
(FileName: 'TurnsLeft'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
|
410 |
Width: 16; Height: 16; saveSurf: false),// sprTurnsLeft |
|
411 |
(FileName: 'amKamikaze'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
412 |
Width: 256; Height: 32; saveSurf: false),// sprKamikaze |
|
413 |
(FileName: 'amWhip'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
414 |
Width: 128; Height: 32; saveSurf: false),// sprWhip |
|
415 |
(FileName: 'Kowtow'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
416 |
Width: 32; Height: 32; saveSurf: false),// sprKowtow |
|
417 |
(FileName: 'Sad'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
418 |
Width: 32; Height: 32; saveSurf: false),// sprSad |
|
419 |
(FileName: 'Wave'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
420 |
Width: 64; Height: 32; saveSurf: false),// sprWave |
|
421 |
(FileName: 'Hurrah'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
422 |
Width: 32; Height: 32; saveSurf: false),// sprHurrah |
|
423 |
(FileName:'ILoveLemonade';Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
424 |
Width: 128; Height: 32; saveSurf: false),// sprLemonade |
|
425 |
(FileName: 'ExplPart'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
426 |
Width: 32; Height: 32; saveSurf: false),// sprExplPart |
|
427 |
(FileName: 'ExplPart2'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
428 |
Width: 32; Height: 32; saveSurf: false),// sprExplPart2 |
|
429 |
(FileName: 'Cake_walk'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
430 |
Width: 64; Height: 64; saveSurf: false),// sprCakeWalk |
|
431 |
(FileName: 'Cake_down'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
432 |
Width: 64; Height: 64; saveSurf: false),// sprCakeDown |
|
433 |
(FileName: 'Ammos_bw'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
|
1262 | 434 |
Width: 32; Height: 32; saveSurf: false),// sprAMAmmosBW |
435 |
(FileName: 'Watermelon'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
1263 | 436 |
Width: 32; Height: 32; saveSurf: false),// sprWatermelon |
437 |
(FileName: 'EvilTrace'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
438 |
Width: 32; Height: 32; saveSurf: false),// sprEvilTrace |
|
439 |
(FileName:'HellishBomb'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
1284 | 440 |
Width: 16; Height: 16; saveSurf: false),// sprHellishBomb |
441 |
(FileName: 'Seduction'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
1286 | 442 |
Width: 32; Height: 32; saveSurf: false),// sprSeduction |
443 |
(FileName: 'HHDress'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
444 |
Width: 64; Height: 64; saveSurf: false),// sprDress |
|
445 |
(FileName: 'Censored'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
446 |
Width: 64; Height: 16; saveSurf: false) // sprCensored |
|
1259 | 447 |
); |
688 | 448 |
|
1034 | 449 |
Wavez: array [TWave] of record |
450 |
Sprite: TSprite; |
|
451 |
FramesCount: Longword; |
|
1037 | 452 |
cmd: String[20]; |
1034 | 453 |
end = ( |
1037 | 454 |
(Sprite: sprKowtow; FramesCount: 12; cmd: '/rollup'), |
455 |
(Sprite: sprSad; FramesCount: 14; cmd: '/sad'), |
|
456 |
(Sprite: sprWave; FramesCount: 16; cmd: '/wave'), |
|
457 |
(Sprite: sprHurrah; FramesCount: 14; cmd: '/hurrah'), |
|
458 |
(Sprite: sprLemonade; FramesCount: 24; cmd: '/ilovelotsoflemonade') |
|
1034 | 459 |
); |
460 |
||
1259 | 461 |
Soundz: array[TSound] of record |
462 |
FileName: String[19]; |
|
463 |
Path : TPathType; |
|
464 |
id : PMixChunk; |
|
465 |
lastChan: LongInt; |
|
466 |
end = ( |
|
467 |
(FileName: 'grenadeimpact.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndGrenadeImpact |
|
468 |
(FileName: 'explosion.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndExplosion |
|
469 |
(FileName: 'throwpowerup.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndThrowPowerUp |
|
470 |
(FileName: 'throwrelease.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndThrowRelease |
|
471 |
(FileName: 'splash.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndSplash |
|
472 |
(FileName: 'shotgunreload.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndShotgunReload |
|
473 |
(FileName: 'shotgunfire.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndShotgunFire |
|
474 |
(FileName: 'graveimpact.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndGraveImpact |
|
475 |
(FileName: 'minetick.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndMineTicks |
|
476 |
(FileName: 'pickhammer.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndPickhammer |
|
477 |
(FileName: 'gun.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndGun |
|
478 |
(FileName: 'ufo.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndUFO |
|
479 |
(FileName: 'Jump1.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndJump1 |
|
480 |
(FileName: 'Jump2.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndJump2 |
|
481 |
(FileName: 'Jump3.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndJump3 |
|
482 |
(FileName: 'Yessir.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndYesSir |
|
483 |
(FileName: 'Laugh.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndLaugh |
|
484 |
(FileName: 'Illgetyou.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndIllGetYou |
|
485 |
(FileName: 'Incoming.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndIncoming |
|
486 |
(FileName: 'Missed.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndMissed |
|
487 |
(FileName: 'Stupid.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndStupid |
|
488 |
(FileName: 'Firstblood.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndFirstBlood |
|
489 |
(FileName: 'Boring.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndBoring |
|
490 |
(FileName: 'Byebye.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndByeBye |
|
491 |
(FileName: 'Sameteam.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndSameTeam |
|
492 |
(FileName: 'Nutter.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndNutter |
|
493 |
(FileName:'Reinforcements.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndReinforce |
|
494 |
(FileName: 'Traitor.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndTraitor |
|
495 |
(FileName:'Youllregretthat.ogg';Path: ptVoices; id: nil; lastChan: 0),// sndRegret |
|
496 |
(FileName: 'Enemydown.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndEnemyDown |
|
497 |
(FileName: 'Coward.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndCoward |
|
498 |
(FileName: 'Hurry.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndHurry |
|
499 |
(FileName: 'Watchit.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndWatchIt |
|
500 |
(FileName: 'Kamikaze.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndKamikaze |
|
501 |
(FileName: 'cake2.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndCake |
|
502 |
(FileName: 'Ow1.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndOw1 |
|
1279 | 503 |
(FileName: 'Ow4.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndOw4 |
504 |
(FileName: 'Firepunch1.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndFirepunch1 |
|
505 |
(FileName: 'Firepunch2.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndFirepunch2 |
|
506 |
(FileName: 'Firepunch3.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndFirepunch3 |
|
507 |
(FileName: 'Firepunch4.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndFirepunch4 |
|
508 |
(FileName: 'Firepunch5.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndFirepunch5 |
|
509 |
(FileName: 'Firepunch6.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndFirepunch6 |
|
510 |
(FileName: 'Melon.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndMelon |
|
1367 | 511 |
(FileName: 'Hellish.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndHellish |
512 |
(FileName: 'Yoohoo.ogg'; Path: ptSounds; id: nil; lastChan: 0) // sndYoohoo |
|
1259 | 513 |
); |
4 | 514 |
|
1259 | 515 |
Ammoz: array [TAmmoType] of record |
516 |
NameId: TAmmoStrId; |
|
517 |
NameTex: PTexture; |
|
518 |
Probability, NumberInCase: Longword; |
|
519 |
Ammo: TAmmo; |
|
520 |
Slot: 0..cMaxSlotIndex; |
|
521 |
TimeAfterTurn: Longword; |
|
522 |
minAngle, maxAngle: Longword; |
|
523 |
isDamaging: boolean; |
|
524 |
SkipTurns: Longword; |
|
525 |
PosCount: Longword; |
|
526 |
PosSprite: TSprite; |
|
527 |
end = ( |
|
528 |
(NameId: sidGrenade; |
|
529 |
NameTex: nil; |
|
530 |
Probability: 0; |
|
531 |
NumberInCase: 1; |
|
532 |
Ammo: (Propz: ammoprop_Timerable or |
|
533 |
ammoprop_Power or |
|
534 |
ammoprop_AltUse; |
|
535 |
Count: AMMO_INFINITE; |
|
536 |
NumPerTurn: 0; |
|
537 |
Timer: 3000; |
|
538 |
Pos: 0; |
|
539 |
AmmoType: amGrenade); |
|
540 |
Slot: 1; |
|
541 |
TimeAfterTurn: 3000; |
|
542 |
minAngle: 0; |
|
543 |
maxAngle: 0; |
|
544 |
isDamaging: true; |
|
545 |
SkipTurns: 0; |
|
546 |
PosCount: 1; |
|
547 |
PosSprite: sprWater), |
|
548 |
(NameId: sidClusterBomb; |
|
549 |
NameTex: nil; |
|
550 |
Probability: 100; |
|
551 |
NumberInCase: 3; |
|
552 |
Ammo: (Propz: ammoprop_Timerable or |
|
553 |
ammoprop_Power or |
|
554 |
ammoprop_AltUse; |
|
555 |
Count: 5; |
|
556 |
NumPerTurn: 0; |
|
557 |
Timer: 3000; |
|
558 |
Pos: 0; |
|
559 |
AmmoType: amClusterBomb); |
|
560 |
Slot: 1; |
|
561 |
TimeAfterTurn: 3000; |
|
562 |
minAngle: 0; |
|
563 |
maxAngle: 0; |
|
564 |
isDamaging: true; |
|
565 |
SkipTurns: 0; |
|
566 |
PosCount: 1; |
|
567 |
PosSprite: sprWater), |
|
568 |
(NameId: sidBazooka; |
|
569 |
NameTex: nil; |
|
570 |
Probability: 0; |
|
571 |
NumberInCase: 1; |
|
572 |
Ammo: (Propz: ammoprop_Power or |
|
573 |
ammoprop_AltUse; |
|
574 |
Count: AMMO_INFINITE; |
|
575 |
NumPerTurn: 0; |
|
576 |
Timer: 0; |
|
577 |
Pos: 0; |
|
578 |
AmmoType: amBazooka); |
|
579 |
Slot: 0; |
|
580 |
TimeAfterTurn: 3000; |
|
581 |
minAngle: 0; |
|
582 |
maxAngle: 0; |
|
583 |
isDamaging: true; |
|
584 |
SkipTurns: 0; |
|
585 |
PosCount: 1; |
|
586 |
PosSprite: sprWater), |
|
587 |
(NameId: sidUFO; |
|
588 |
NameTex: nil; |
|
589 |
Probability: 100; |
|
590 |
NumberInCase: 1; |
|
591 |
Ammo: (Propz: ammoprop_Power or |
|
592 |
ammoprop_NeedTarget or |
|
593 |
ammoprop_DontHold; |
|
594 |
Count: 2; |
|
595 |
NumPerTurn: 0; |
|
596 |
Timer: 0; |
|
597 |
Pos: 0; |
|
598 |
AmmoType: amUFO); |
|
599 |
Slot: 0; |
|
600 |
TimeAfterTurn: 3000; |
|
601 |
minAngle: 0; |
|
602 |
maxAngle: 0; |
|
603 |
isDamaging: true; |
|
604 |
SkipTurns: 0; |
|
605 |
PosCount: 1; |
|
606 |
PosSprite: sprWater), |
|
607 |
(NameId: sidShotgun; |
|
608 |
NameTex: nil; |
|
609 |
Probability: 0; |
|
610 |
NumberInCase: 1; |
|
611 |
Ammo: (Propz: ammoprop_ForwMsgs; |
|
612 |
Count: AMMO_INFINITE; |
|
613 |
NumPerTurn: 1; |
|
614 |
Timer: 0; |
|
615 |
Pos: 0; |
|
616 |
AmmoType: amShotgun); |
|
617 |
Slot: 2; |
|
618 |
TimeAfterTurn: 3000; |
|
619 |
minAngle: 0; |
|
620 |
maxAngle: 0; |
|
621 |
isDamaging: true; |
|
622 |
SkipTurns: 0; |
|
623 |
PosCount: 1; |
|
624 |
PosSprite: sprWater), |
|
625 |
(NameId: sidPickHammer; |
|
626 |
NameTex: nil; |
|
627 |
Probability: 0; |
|
628 |
NumberInCase: 1; |
|
629 |
Ammo: (Propz: ammoprop_ForwMsgs or |
|
630 |
ammoprop_AttackInMove or |
|
631 |
ammoprop_NoCrosshair or |
|
632 |
ammoprop_DontHold; |
|
633 |
Count: 2; |
|
634 |
NumPerTurn: 0; |
|
635 |
Timer: 0; |
|
636 |
Pos: 0; |
|
637 |
AmmoType: amPickHammer); |
|
638 |
Slot: 6; |
|
639 |
TimeAfterTurn: 0; |
|
640 |
minAngle: 0; |
|
641 |
maxAngle: 0; |
|
642 |
isDamaging: false; |
|
643 |
SkipTurns: 0; |
|
644 |
PosCount: 1; |
|
645 |
PosSprite: sprWater), |
|
646 |
(NameId: sidSkip; |
|
647 |
NameTex: nil; |
|
648 |
Probability: 0; |
|
649 |
NumberInCase: 1; |
|
650 |
Ammo: (Propz: ammoprop_DontHold; |
|
651 |
Count: AMMO_INFINITE; |
|
652 |
NumPerTurn: 0; |
|
653 |
Timer: 0; |
|
654 |
Pos: 0; |
|
655 |
AmmoType: amSkip); |
|
656 |
Slot: 8; |
|
657 |
TimeAfterTurn: 0; |
|
658 |
minAngle: 0; |
|
659 |
maxAngle: 0; |
|
660 |
isDamaging: false; |
|
661 |
SkipTurns: 0; |
|
662 |
PosCount: 1; |
|
663 |
PosSprite: sprWater), |
|
664 |
(NameId: sidRope; |
|
665 |
NameTex: nil; |
|
666 |
Probability: 100; |
|
667 |
NumberInCase: 3; |
|
668 |
Ammo: (Propz: ammoprop_ForwMsgs or |
|
669 |
ammoprop_AttackInMove or |
|
670 |
ammoprop_DontHold or |
|
671 |
ammoprop_AltAttack; |
|
672 |
Count: 5; |
|
673 |
NumPerTurn: 0; |
|
674 |
Timer: 0; |
|
675 |
Pos: 0; |
|
676 |
AmmoType: amRope); |
|
677 |
Slot: 7; |
|
678 |
TimeAfterTurn: 0; |
|
679 |
minAngle: 0; |
|
680 |
maxAngle: cMaxAngle div 2; |
|
681 |
isDamaging: false; |
|
682 |
SkipTurns: 0; |
|
683 |
PosCount: 1; |
|
684 |
PosSprite: sprWater), |
|
685 |
(NameId: sidMine; |
|
686 |
NameTex: nil; |
|
687 |
Probability: 100; |
|
688 |
NumberInCase: 1; |
|
689 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
690 |
ammoprop_AttackInMove or |
|
691 |
ammoprop_DontHold or |
|
692 |
ammoprop_AltUse; |
|
693 |
Count: 2; |
|
694 |
NumPerTurn: 0; |
|
695 |
Timer: 0; |
|
696 |
Pos: 0; |
|
697 |
AmmoType: amMine); |
|
698 |
Slot: 4; |
|
699 |
TimeAfterTurn: 5000; |
|
700 |
minAngle: 0; |
|
701 |
maxAngle: 0; |
|
702 |
isDamaging: true; |
|
703 |
SkipTurns: 0; |
|
704 |
PosCount: 1; |
|
705 |
PosSprite: sprWater), |
|
706 |
(NameId: sidDEagle; |
|
707 |
NameTex: nil; |
|
1430 | 708 |
Probability: 20; |
1259 | 709 |
NumberInCase: 2; |
710 |
Ammo: (Propz: 0; |
|
711 |
Count: 3; |
|
712 |
NumPerTurn: 3; |
|
713 |
Timer: 0; |
|
714 |
Pos: 0; |
|
715 |
AmmoType: amDEagle); |
|
716 |
Slot: 2; |
|
717 |
TimeAfterTurn: 3000; |
|
718 |
minAngle: 0; |
|
719 |
maxAngle: 0; |
|
720 |
isDamaging: true; |
|
721 |
SkipTurns: 0; |
|
722 |
PosCount: 1; |
|
723 |
PosSprite: sprWater), |
|
724 |
(NameId: sidDynamite; |
|
725 |
NameTex: nil; |
|
726 |
Probability: 100; |
|
727 |
NumberInCase: 1; |
|
728 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
729 |
ammoprop_AttackInMove or |
|
730 |
ammoprop_DontHold or |
|
731 |
ammoprop_AltUse; |
|
732 |
Count: 1; |
|
733 |
NumPerTurn: 0; |
|
734 |
Timer: 0; |
|
735 |
Pos: 0; |
|
736 |
AmmoType: amDynamite); |
|
737 |
Slot: 4; |
|
738 |
TimeAfterTurn: 5000; |
|
739 |
minAngle: 0; |
|
740 |
maxAngle: 0; |
|
741 |
isDamaging: true; |
|
742 |
SkipTurns: 0; |
|
743 |
PosCount: 1; |
|
744 |
PosSprite: sprWater), |
|
745 |
(NameId: sidFirePunch; |
|
746 |
NameTex: nil; |
|
747 |
Probability: 0; |
|
748 |
NumberInCase: 1; |
|
749 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
750 |
ammoprop_ForwMsgs or |
|
751 |
ammoprop_AttackInMove; |
|
752 |
Count: AMMO_INFINITE; |
|
753 |
NumPerTurn: 0; |
|
754 |
Timer: 0; |
|
755 |
Pos: 0; |
|
756 |
AmmoType: amFirePunch); |
|
757 |
Slot: 3; |
|
758 |
TimeAfterTurn: 3000; |
|
759 |
MinAngle: 0; |
|
760 |
maxAngle: 0; |
|
761 |
isDamaging: true; |
|
762 |
SkipTurns: 0; |
|
763 |
PosCount: 1; |
|
764 |
PosSprite: sprWater), |
|
765 |
(NameId: sidWhip; |
|
766 |
NameTex: nil; |
|
767 |
Probability: 0; |
|
768 |
NumberInCase: 1; |
|
769 |
Ammo: (Propz: ammoprop_NoCrosshair; |
|
770 |
Count: AMMO_INFINITE; |
|
771 |
NumPerTurn: 0; |
|
772 |
Timer: 0; |
|
773 |
Pos: 0; |
|
774 |
AmmoType: amWhip); |
|
775 |
Slot: 3; |
|
776 |
TimeAfterTurn: 3000; |
|
777 |
MinAngle: 0; |
|
778 |
maxAngle: 0; |
|
779 |
isDamaging: true; |
|
780 |
SkipTurns: 0; |
|
781 |
PosCount: 1; |
|
782 |
PosSprite: sprWater), |
|
783 |
(NameId: sidBaseballBat; |
|
784 |
NameTex: nil; |
|
785 |
Probability: 100; |
|
786 |
NumberInCase: 1; |
|
787 |
Ammo: (Propz: ammoprop_DontHold; |
|
788 |
Count: 1; |
|
789 |
NumPerTurn: 0; |
|
790 |
Timer: 0; |
|
791 |
Pos: 0; |
|
792 |
AmmoType: amBaseballBat); |
|
793 |
Slot: 3; |
|
794 |
TimeAfterTurn: 5000; |
|
795 |
minAngle: 0; |
|
796 |
maxAngle: cMaxAngle div 2; |
|
797 |
isDamaging: true; |
|
798 |
SkipTurns: 2; |
|
799 |
PosCount: 1; |
|
800 |
PosSprite: sprWater), |
|
801 |
(NameId: sidParachute; |
|
802 |
NameTex: nil; |
|
803 |
Probability: 100; |
|
804 |
NumberInCase: 1; |
|
805 |
Ammo: (Propz: ammoprop_ForwMsgs or |
|
806 |
ammoprop_AttackInMove or |
|
807 |
ammoprop_NoCrosshair or |
|
808 |
ammoprop_DontHold or |
|
809 |
ammoprop_AltAttack; |
|
810 |
Count: 2; |
|
811 |
NumPerTurn: 0; |
|
812 |
Timer: 0; |
|
813 |
Pos: 0; |
|
814 |
AmmoType: amParachute); |
|
815 |
Slot: 7; |
|
816 |
TimeAfterTurn: 0; |
|
817 |
minAngle: 0; |
|
818 |
maxAngle: 0; |
|
819 |
isDamaging: false; |
|
820 |
SkipTurns: 0; |
|
821 |
PosCount: 1; |
|
822 |
PosSprite: sprWater), |
|
823 |
(NameId: sidAirAttack; |
|
824 |
NameTex: nil; |
|
825 |
Probability: 100; |
|
826 |
NumberInCase: 1; |
|
827 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
828 |
ammoprop_NeedTarget or |
|
829 |
ammoprop_AttackingPut or |
|
830 |
ammoprop_DontHold; |
|
831 |
Count: 1; |
|
832 |
NumPerTurn: 0; |
|
833 |
Timer: 0; |
|
834 |
Pos: 0; |
|
835 |
AmmoType: amAirAttack); |
|
836 |
Slot: 5; |
|
837 |
TimeAfterTurn: 0; |
|
838 |
minAngle: 0; |
|
839 |
maxAngle: 0; |
|
840 |
isDamaging: true; |
|
841 |
SkipTurns: 5; |
|
842 |
PosCount: 2; |
|
843 |
PosSprite: sprAmAirplane), |
|
844 |
(NameId: sidMineStrike; |
|
845 |
NameTex: nil; |
|
1430 | 846 |
Probability: 200; |
1259 | 847 |
NumberInCase: 1; |
848 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
849 |
ammoprop_NeedTarget or |
|
850 |
ammoprop_AttackingPut or |
|
851 |
ammoprop_DontHold; |
|
852 |
Count: 1; |
|
853 |
NumPerTurn: 0; |
|
854 |
Timer: 0; |
|
855 |
Pos: 0; |
|
856 |
AmmoType: amMineStrike); |
|
857 |
Slot: 5; |
|
858 |
TimeAfterTurn: 0; |
|
859 |
minAngle: 0; |
|
860 |
maxAngle: 0; |
|
861 |
isDamaging: true; |
|
862 |
SkipTurns: 5; |
|
863 |
PosCount: 2; |
|
864 |
PosSprite: sprAmAirplane), |
|
865 |
(NameId: sidBlowTorch; |
|
866 |
NameTex: nil; |
|
867 |
Probability: 100; |
|
868 |
NumberInCase: 2; |
|
869 |
Ammo: (Propz: ammoprop_ForwMsgs; |
|
870 |
Count: 1; |
|
871 |
NumPerTurn: 0; |
|
872 |
Timer: 0; |
|
873 |
Pos: 0; |
|
874 |
AmmoType: amBlowTorch); |
|
875 |
Slot: 6; |
|
876 |
TimeAfterTurn: 3000; |
|
877 |
minAngle: 768; |
|
878 |
maxAngle: 1280; |
|
879 |
isDamaging: false; |
|
880 |
SkipTurns: 0; |
|
881 |
PosCount: 1; |
|
882 |
PosSprite: sprWater), |
|
883 |
(NameId: sidGirder; |
|
884 |
NameTex: nil; |
|
1430 | 885 |
Probability: 150; |
1259 | 886 |
NumberInCase: 3; |
887 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
888 |
ammoprop_NeedTarget or |
|
889 |
ammoprop_AttackingPut or |
|
890 |
ammoprop_DontHold; |
|
891 |
Count: 1; |
|
892 |
NumPerTurn: 0; |
|
893 |
Timer: 0; |
|
894 |
Pos: 0; |
|
895 |
AmmoType: amGirder); |
|
896 |
Slot: 6; |
|
897 |
TimeAfterTurn: 3000; |
|
898 |
minAngle: 0; |
|
899 |
maxAngle: 0; |
|
900 |
isDamaging: false; |
|
901 |
SkipTurns: 0; |
|
902 |
PosCount: 8; |
|
903 |
PosSprite: sprAmGirder), |
|
904 |
(NameId: sidTeleport; |
|
905 |
NameTex: nil; |
|
1430 | 906 |
Probability: 200; |
1259 | 907 |
NumberInCase: 1; |
908 |
Ammo: (Propz: ammoprop_ForwMsgs or |
|
909 |
ammoprop_NoCrosshair or |
|
910 |
ammoprop_NeedTarget or |
|
911 |
ammoprop_AttackingPut or |
|
912 |
ammoprop_DontHold; |
|
913 |
Count: 2; |
|
914 |
NumPerTurn: 0; |
|
915 |
Timer: 0; |
|
916 |
Pos: 0; |
|
917 |
AmmoType: amTeleport); |
|
918 |
Slot: 7; |
|
919 |
TimeAfterTurn: 0; |
|
920 |
minAngle: 0; |
|
921 |
maxAngle: 0; |
|
922 |
isDamaging: false; |
|
923 |
SkipTurns: 0; |
|
924 |
PosCount: 1; |
|
925 |
PosSprite: sprWater), |
|
926 |
(NameId: sidSwitch; |
|
927 |
NameTex: nil; |
|
928 |
Probability: 100; |
|
929 |
NumberInCase: 1; |
|
930 |
Ammo: (Propz: ammoprop_ForwMsgs or |
|
931 |
ammoprop_NoCrosshair or |
|
932 |
ammoprop_DontHold; |
|
933 |
Count: 3; |
|
934 |
NumPerTurn: 0; |
|
935 |
Timer: 0; |
|
936 |
Pos: 0; |
|
937 |
AmmoType: amSwitch); |
|
938 |
Slot: 8; |
|
939 |
TimeAfterTurn: 0; |
|
940 |
minAngle: 0; |
|
941 |
maxAngle: 0; |
|
942 |
isDamaging: false; |
|
943 |
SkipTurns: 0; |
|
944 |
PosCount: 1; |
|
945 |
PosSprite: sprWater), |
|
946 |
(NameId: sidMortar; |
|
947 |
NameTex: nil; |
|
948 |
Probability: 100; |
|
1430 | 949 |
NumberInCase: 4; |
1259 | 950 |
Ammo: (Propz: 0; |
951 |
Count: 4; |
|
952 |
NumPerTurn: 0; |
|
953 |
Timer: 0; |
|
954 |
Pos: 0; |
|
955 |
AmmoType: amMortar); |
|
956 |
Slot: 1; |
|
957 |
TimeAfterTurn: 3000; |
|
958 |
minAngle: 0; |
|
959 |
maxAngle: 0; |
|
960 |
isDamaging: true; |
|
961 |
SkipTurns: 0; |
|
962 |
PosCount: 1; |
|
963 |
PosSprite: sprWater), |
|
964 |
(NameId: sidKamikaze; |
|
965 |
NameTex: nil; |
|
966 |
Probability: 100; |
|
967 |
NumberInCase: 1; |
|
968 |
Ammo: (Propz: ammoprop_ForwMsgs or |
|
969 |
ammoprop_DontHold; |
|
970 |
Count: 1; |
|
971 |
NumPerTurn: 0; |
|
972 |
Timer: 0; |
|
973 |
Pos: 0; |
|
974 |
AmmoType: amKamikaze); |
|
975 |
Slot: 3; |
|
976 |
TimeAfterTurn: 0; |
|
977 |
minAngle: 0; |
|
978 |
maxAngle: 0; |
|
979 |
isDamaging: true; |
|
980 |
SkipTurns: 0; |
|
981 |
PosCount: 1; |
|
982 |
PosSprite: sprWater), |
|
983 |
(NameId: sidCake; |
|
984 |
NameTex: nil; |
|
985 |
Probability: 100; |
|
986 |
NumberInCase: 1; |
|
987 |
Ammo: (Propz: ammoprop_ForwMsgs or |
|
988 |
ammoprop_NoCrosshair or |
|
989 |
ammoprop_DontHold; |
|
990 |
Count: 1; |
|
991 |
NumPerTurn: 0; |
|
992 |
Timer: 0; |
|
993 |
Pos: 0; |
|
994 |
AmmoType: amCake); |
|
995 |
Slot: 4; |
|
996 |
TimeAfterTurn: 0; |
|
997 |
minAngle: 0; |
|
998 |
maxAngle: 0; |
|
999 |
isDamaging: true; |
|
1445 | 1000 |
SkipTurns: 4; |
1259 | 1001 |
PosCount: 1; |
1002 |
PosSprite: sprWater), |
|
1003 |
(NameId: sidSeduction; |
|
1004 |
NameTex: nil; |
|
1005 |
Probability: 100; |
|
1006 |
NumberInCase: 1; |
|
1284 | 1007 |
Ammo: (Propz: ammoprop_ForwMsgs or ammoprop_DontHold; |
1259 | 1008 |
Count: 1; |
1009 |
NumPerTurn: 0; |
|
1010 |
Timer: 0; |
|
1011 |
Pos: 0; |
|
1012 |
AmmoType: amSeduction); |
|
1013 |
Slot: 2; |
|
1014 |
TimeAfterTurn: 0; |
|
1015 |
minAngle: 0; |
|
1016 |
maxAngle: 0; |
|
1017 |
isDamaging: true; |
|
1018 |
SkipTurns: 0; |
|
1019 |
PosCount: 1; |
|
1261 | 1020 |
PosSprite: sprWater), |
1021 |
(NameId: sidWatermelon; |
|
1022 |
NameTex: nil; |
|
1430 | 1023 |
Probability: 400; |
1261 | 1024 |
NumberInCase: 1; |
1025 |
Ammo: (Propz: ammoprop_Timerable or |
|
1026 |
ammoprop_Power or |
|
1027 |
ammoprop_AltUse; |
|
1430 | 1028 |
Count: 0; |
1261 | 1029 |
NumPerTurn: 0; |
1030 |
Timer: 3000; |
|
1031 |
Pos: 0; |
|
1032 |
AmmoType: amWatermelon); |
|
1033 |
Slot: 1; |
|
1034 |
TimeAfterTurn: 3000; |
|
1035 |
minAngle: 0; |
|
1036 |
maxAngle: 0; |
|
1037 |
isDamaging: true; |
|
1038 |
SkipTurns: 0; |
|
1039 |
PosCount: 1; |
|
1263 | 1040 |
PosSprite: sprWater), |
1041 |
(NameId: sidHellishBomb; |
|
1042 |
NameTex: nil; |
|
1430 | 1043 |
Probability: 400; |
1263 | 1044 |
NumberInCase: 1; |
1045 |
Ammo: (Propz: ammoprop_Power or |
|
1046 |
ammoprop_AltUse; |
|
1430 | 1047 |
Count: 0; |
1263 | 1048 |
NumPerTurn: 0; |
1049 |
Timer: 5000; |
|
1050 |
Pos: 0; |
|
1051 |
AmmoType: amHellishBomb); |
|
1052 |
Slot: 4; |
|
1053 |
TimeAfterTurn: 3000; |
|
1054 |
minAngle: 0; |
|
1055 |
maxAngle: 0; |
|
1056 |
isDamaging: true; |
|
1057 |
SkipTurns: 0; |
|
1058 |
PosCount: 1; |
|
1259 | 1059 |
PosSprite: sprWater) |
1060 |
); |
|
37 | 1061 |
|
844 | 1062 |
var CountTexz: array[1..9] of PTexture; |
1063 |
||
4 | 1064 |
implementation |
1065 |
||
1066 |
end. |