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