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