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