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