author | nemo |
Sat, 23 May 2009 14:55:33 +0000 | |
changeset 2092 | 9071ad0b0f9d |
parent 2056 | ed8c83f1e4b0 |
child 2105 | 580f7610d661 |
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, |
|
2056
ed8c83f1e4b0
Two new wavez - Juggle requires a different frame rate. using 38 instead of 125
nemo
parents:
2042
diff
changeset
|
58 |
sprHurrah, sprLemonade, sprShrug, sprJuggle, 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 |
|
2042
905c554d62e6
Move Speech to visual gears. This checkin CRASHES on deletion of visual gear outside the doStep
nemo
parents:
2023
diff
changeset
|
76 |
gtHellishBomb, gtEvilTrace, gtWaterUp, gtDrill, gtBallGun, gtBall,gtRCPlane, gtSniperRifleShot); |
282 | 77 |
|
1505 | 78 |
TVisualGearType = (vgtFlake, vgtCloud, vgtExplPart, vgtExplPart2, vgtFire, |
2042
905c554d62e6
Move Speech to visual gears. This checkin CRASHES on deletion of visual gear outside the doStep
nemo
parents:
2023
diff
changeset
|
79 |
vgtSmallDamageTag, vgtTeamHealthSorter, vgtSpeechBubble); |
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 |
|
2056
ed8c83f1e4b0
Two new wavez - Juggle requires a different frame rate. using 38 instead of 125
nemo
parents:
2042
diff
changeset
|
110 |
TWave = (waveRollup, waveSad,waveWave, waveHurrah, waveLemonade, waveShrug, waveJuggle); |
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 |
|
2056
ed8c83f1e4b0
Two new wavez - Juggle requires a different frame rate. using 38 instead of 125
nemo
parents:
2042
diff
changeset
|
470 |
(FileName:'Shrug';Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
ed8c83f1e4b0
Two new wavez - Juggle requires a different frame rate. using 38 instead of 125
nemo
parents:
2042
diff
changeset
|
471 |
Width: 32; Height: 32; saveSurf: false),// sprShrug |
ed8c83f1e4b0
Two new wavez - Juggle requires a different frame rate. using 38 instead of 125
nemo
parents:
2042
diff
changeset
|
472 |
(FileName:'Juggle';Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
ed8c83f1e4b0
Two new wavez - Juggle requires a different frame rate. using 38 instead of 125
nemo
parents:
2042
diff
changeset
|
473 |
Width: 32; Height: 32; saveSurf: false),// sprJuggle |
1259 | 474 |
(FileName: 'ExplPart'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
475 |
Width: 32; Height: 32; saveSurf: false),// sprExplPart |
|
476 |
(FileName: 'ExplPart2'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
477 |
Width: 32; Height: 32; saveSurf: false),// sprExplPart2 |
|
478 |
(FileName: 'Cake_walk'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
479 |
Width: 64; Height: 64; saveSurf: false),// sprCakeWalk |
|
480 |
(FileName: 'Cake_down'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
481 |
Width: 64; Height: 64; saveSurf: false),// sprCakeDown |
|
482 |
(FileName: 'Ammos_bw'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
|
1262 | 483 |
Width: 32; Height: 32; saveSurf: false),// sprAMAmmosBW |
484 |
(FileName: 'Watermelon'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
1263 | 485 |
Width: 32; Height: 32; saveSurf: false),// sprWatermelon |
486 |
(FileName: 'EvilTrace'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
487 |
Width: 32; Height: 32; saveSurf: false),// sprEvilTrace |
|
488 |
(FileName:'HellishBomb'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
1284 | 489 |
Width: 16; Height: 16; saveSurf: false),// sprHellishBomb |
490 |
(FileName: 'Seduction'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
1286 | 491 |
Width: 32; Height: 32; saveSurf: false),// sprSeduction |
492 |
(FileName: 'HHDress'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
493 |
Width: 64; Height: 64; saveSurf: false),// sprDress |
|
494 |
(FileName: 'Censored'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
1573 | 495 |
Width: 64; Height: 16; saveSurf: false),// sprCensored |
1580 | 496 |
(FileName: 'Drill'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
1573 | 497 |
Width: 16; Height: 16; saveSurf: false),// sprDrill |
498 |
(FileName: 'amDrill'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
1601 | 499 |
Width: 32; Height: 32; saveSurf: false),// sprHandDrill |
1863 | 500 |
(FileName: 'amBallgun'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
1601 | 501 |
Width: 64; Height: 64; saveSurf: false),// sprHandBallgun |
502 |
(FileName: 'Balls'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
1689 | 503 |
Width: 32; Height: 20; saveSurf: false),// sprBalls |
1863 | 504 |
(FileName: 'RCPlane'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
1717 | 505 |
Width: 32; Height: 32; saveSurf: false),// sprPlane |
1863 | 506 |
(FileName: 'amRCPlane'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
1861 | 507 |
Width: 32; Height: 32; saveSurf: false), // sprHandPlane |
1863 | 508 |
(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
|
509 |
Width: 48; Height: 48; saveSurf: false), // sprUtility |
1908
5be17e24751a
Use GL_TRIANGLE_FAN instead of GL_TRIANGLES (more efficient)
unc0rr
parents:
1906
diff
changeset
|
510 |
(FileName:'Invulnerable';Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
1910 | 511 |
Width: 48; Height: 48; saveSurf: false), // sprInvulnerable |
2017 | 512 |
(FileName:'Vampiric';Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
513 |
Width: 48; Height: 48; saveSurf: false), // sprVampiric |
|
1910 | 514 |
(FileName: 'amGirder'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
2017 | 515 |
Width: 512; Height:512; saveSurf: false), // sprGirder |
516 |
(FileName:'SpeechCorner';Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
517 |
Width: 12; Height: 9; saveSurf: true), // sprSpeechCorner |
|
518 |
(FileName:'SpeechEdge';Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
519 |
Width: 25; Height: 9; saveSurf: true), // sprSpeechEdge |
|
520 |
(FileName:'SpeechTail';Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
521 |
Width: 25; Height: 26; saveSurf: true), // sprSpeechTail |
|
522 |
(FileName:'ThoughtCorner';Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
523 |
Width: 49; Height: 37; saveSurf: true), // sprThoughtCorner |
|
524 |
(FileName:'ThoughtEdge';Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
525 |
Width: 23; Height: 16; saveSurf: true), // sprThoughtEdge |
|
526 |
(FileName:'ThoughtTail';Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
527 |
Width: 45; Height: 65; saveSurf: true), // sprThoughtTail |
|
528 |
(FileName:'ShoutCorner';Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
529 |
Width: 34; Height: 23; saveSurf: true), // sprShoutCorner |
|
530 |
(FileName:'ShoutEdge';Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
531 |
Width: 30; Height: 20; saveSurf: true), // sprShoutEdge |
|
532 |
(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
|
533 |
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
|
534 |
(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
|
535 |
Width: 128; Height: 32; saveSurf: false) // sprSniperRifle |
1259 | 536 |
); |
688 | 537 |
|
1034 | 538 |
Wavez: array [TWave] of record |
539 |
Sprite: TSprite; |
|
540 |
FramesCount: Longword; |
|
2056
ed8c83f1e4b0
Two new wavez - Juggle requires a different frame rate. using 38 instead of 125
nemo
parents:
2042
diff
changeset
|
541 |
Interval: Longword; |
1037 | 542 |
cmd: String[20]; |
1034 | 543 |
end = ( |
2056
ed8c83f1e4b0
Two new wavez - Juggle requires a different frame rate. using 38 instead of 125
nemo
parents:
2042
diff
changeset
|
544 |
(Sprite: sprKowtow; FramesCount: 12; Interval: 125; cmd: '/rollup'), |
ed8c83f1e4b0
Two new wavez - Juggle requires a different frame rate. using 38 instead of 125
nemo
parents:
2042
diff
changeset
|
545 |
(Sprite: sprSad; FramesCount: 14; Interval: 125; cmd: '/sad'), |
ed8c83f1e4b0
Two new wavez - Juggle requires a different frame rate. using 38 instead of 125
nemo
parents:
2042
diff
changeset
|
546 |
(Sprite: sprWave; FramesCount: 16; Interval: 125; cmd: '/wave'), |
ed8c83f1e4b0
Two new wavez - Juggle requires a different frame rate. using 38 instead of 125
nemo
parents:
2042
diff
changeset
|
547 |
(Sprite: sprHurrah; FramesCount: 14; Interval: 125; cmd: '/hurrah'), |
ed8c83f1e4b0
Two new wavez - Juggle requires a different frame rate. using 38 instead of 125
nemo
parents:
2042
diff
changeset
|
548 |
(Sprite: sprLemonade; FramesCount: 24; Interval: 125; cmd: '/ilovelotsoflemonade'), |
ed8c83f1e4b0
Two new wavez - Juggle requires a different frame rate. using 38 instead of 125
nemo
parents:
2042
diff
changeset
|
549 |
(Sprite: sprShrug; FramesCount: 24; Interval: 125; cmd: '/shrug'), |
ed8c83f1e4b0
Two new wavez - Juggle requires a different frame rate. using 38 instead of 125
nemo
parents:
2042
diff
changeset
|
550 |
(Sprite: sprJuggle; FramesCount: 49; Interval: 38; cmd: '/juggle') |
1034 | 551 |
); |
552 |
||
1259 | 553 |
Soundz: array[TSound] of record |
1712 | 554 |
FileName: String[25]; |
1259 | 555 |
Path : TPathType; |
556 |
end = ( |
|
1712 | 557 |
(FileName: 'grenadeimpact.ogg'; Path: ptSounds),// sndGrenadeImpact |
558 |
(FileName: 'explosion.ogg'; Path: ptSounds),// sndExplosion |
|
559 |
(FileName: 'throwpowerup.ogg'; Path: ptSounds),// sndThrowPowerUp |
|
560 |
(FileName: 'throwrelease.ogg'; Path: ptSounds),// sndThrowRelease |
|
561 |
(FileName: 'splash.ogg'; Path: ptSounds),// sndSplash |
|
562 |
(FileName: 'shotgunreload.ogg'; Path: ptSounds),// sndShotgunReload |
|
563 |
(FileName: 'shotgunfire.ogg'; Path: ptSounds),// sndShotgunFire |
|
564 |
(FileName: 'graveimpact.ogg'; Path: ptSounds),// sndGraveImpact |
|
565 |
(FileName: 'minetick.ogg'; Path: ptSounds),// sndMineTicks |
|
566 |
(FileName: 'pickhammer.ogg'; Path: ptSounds),// sndPickhammer |
|
567 |
(FileName: 'gun.ogg'; Path: ptSounds),// sndGun |
|
568 |
(FileName: 'ufo.ogg'; Path: ptSounds),// sndUFO |
|
569 |
(FileName: 'Jump1.ogg'; Path: ptVoices),// sndJump1 |
|
570 |
(FileName: 'Jump2.ogg'; Path: ptVoices),// sndJump2 |
|
571 |
(FileName: 'Jump3.ogg'; Path: ptVoices),// sndJump3 |
|
572 |
(FileName: 'Yessir.ogg'; Path: ptVoices),// sndYesSir |
|
573 |
(FileName: 'Laugh.ogg'; Path: ptVoices),// sndLaugh |
|
574 |
(FileName: 'Illgetyou.ogg'; Path: ptVoices),// sndIllGetYou |
|
575 |
(FileName: 'Incoming.ogg'; Path: ptVoices),// sndIncoming |
|
576 |
(FileName: 'Missed.ogg'; Path: ptVoices),// sndMissed |
|
577 |
(FileName: 'Stupid.ogg'; Path: ptVoices),// sndStupid |
|
578 |
(FileName: 'Firstblood.ogg'; Path: ptVoices),// sndFirstBlood |
|
579 |
(FileName: 'Boring.ogg'; Path: ptVoices),// sndBoring |
|
580 |
(FileName: 'Byebye.ogg'; Path: ptVoices),// sndByeBye |
|
581 |
(FileName: 'Sameteam.ogg'; Path: ptVoices),// sndSameTeam |
|
582 |
(FileName: 'Nutter.ogg'; Path: ptVoices),// sndNutter |
|
583 |
(FileName: 'Reinforcements.ogg'; Path: ptVoices),// sndReinforce |
|
584 |
(FileName: 'Traitor.ogg'; Path: ptVoices),// sndTraitor |
|
585 |
(FileName: 'Youllregretthat.ogg';Path: ptVoices),// sndRegret |
|
586 |
(FileName: 'Enemydown.ogg'; Path: ptVoices),// sndEnemyDown |
|
587 |
(FileName: 'Coward.ogg'; Path: ptVoices),// sndCoward |
|
588 |
(FileName: 'Hurry.ogg'; Path: ptVoices),// sndHurry |
|
589 |
(FileName: 'Watchit.ogg'; Path: ptVoices),// sndWatchIt |
|
590 |
(FileName: 'Kamikaze.ogg'; Path: ptVoices),// sndKamikaze |
|
591 |
(FileName: 'cake2.ogg'; Path: ptSounds),// sndCake |
|
592 |
(FileName: 'Ow1.ogg'; Path: ptVoices),// sndOw1 |
|
593 |
(FileName: 'Ow4.ogg'; Path: ptVoices),// sndOw4 |
|
594 |
(FileName: 'Firepunch1.ogg'; Path: ptVoices),// sndFirepunch1 |
|
595 |
(FileName: 'Firepunch2.ogg'; Path: ptVoices),// sndFirepunch2 |
|
596 |
(FileName: 'Firepunch3.ogg'; Path: ptVoices),// sndFirepunch3 |
|
597 |
(FileName: 'Firepunch4.ogg'; Path: ptVoices),// sndFirepunch4 |
|
598 |
(FileName: 'Firepunch5.ogg'; Path: ptVoices),// sndFirepunch5 |
|
599 |
(FileName: 'Firepunch6.ogg'; Path: ptVoices),// sndFirepunch6 |
|
600 |
(FileName: 'Melon.ogg'; Path: ptSounds),// sndMelon |
|
601 |
(FileName: 'Hellish.ogg'; Path: ptSounds),// sndHellish |
|
602 |
(FileName: 'Yoohoo.ogg'; Path: ptSounds),// sndYoohoo |
|
603 |
(FileName: 'rcplane.ogg'; Path: ptSounds),// sndRCPlane |
|
604 |
(FileName: 'whipcrack.ogg'; Path: ptSounds),// sndWhipCrack |
|
1914 | 605 |
(FileName:'ride_of_the_valkyries.ogg'; Path: ptSounds),// sndRideOfTheValkyries |
606 |
(FileName: 'denied.ogg'; Path: ptSounds),// sndDenied |
|
607 |
(FileName: 'placed.ogg'; Path: ptSounds) // sndPlaced |
|
1259 | 608 |
); |
4 | 609 |
|
1259 | 610 |
Ammoz: array [TAmmoType] of record |
611 |
NameId: TAmmoStrId; |
|
612 |
NameTex: PTexture; |
|
613 |
Probability, NumberInCase: Longword; |
|
614 |
Ammo: TAmmo; |
|
615 |
Slot: 0..cMaxSlotIndex; |
|
616 |
TimeAfterTurn: Longword; |
|
617 |
minAngle, maxAngle: Longword; |
|
618 |
isDamaging: boolean; |
|
619 |
SkipTurns: Longword; |
|
620 |
PosCount: Longword; |
|
621 |
PosSprite: TSprite; |
|
622 |
end = ( |
|
623 |
(NameId: sidGrenade; |
|
624 |
NameTex: nil; |
|
625 |
Probability: 0; |
|
626 |
NumberInCase: 1; |
|
627 |
Ammo: (Propz: ammoprop_Timerable or |
|
628 |
ammoprop_Power or |
|
629 |
ammoprop_AltUse; |
|
630 |
Count: AMMO_INFINITE; |
|
631 |
NumPerTurn: 0; |
|
632 |
Timer: 3000; |
|
633 |
Pos: 0; |
|
634 |
AmmoType: amGrenade); |
|
635 |
Slot: 1; |
|
636 |
TimeAfterTurn: 3000; |
|
637 |
minAngle: 0; |
|
638 |
maxAngle: 0; |
|
639 |
isDamaging: true; |
|
640 |
SkipTurns: 0; |
|
641 |
PosCount: 1; |
|
642 |
PosSprite: sprWater), |
|
643 |
(NameId: sidClusterBomb; |
|
644 |
NameTex: nil; |
|
645 |
Probability: 100; |
|
646 |
NumberInCase: 3; |
|
647 |
Ammo: (Propz: ammoprop_Timerable or |
|
648 |
ammoprop_Power or |
|
649 |
ammoprop_AltUse; |
|
650 |
Count: 5; |
|
651 |
NumPerTurn: 0; |
|
652 |
Timer: 3000; |
|
653 |
Pos: 0; |
|
654 |
AmmoType: amClusterBomb); |
|
655 |
Slot: 1; |
|
656 |
TimeAfterTurn: 3000; |
|
657 |
minAngle: 0; |
|
658 |
maxAngle: 0; |
|
659 |
isDamaging: true; |
|
660 |
SkipTurns: 0; |
|
661 |
PosCount: 1; |
|
662 |
PosSprite: sprWater), |
|
663 |
(NameId: sidBazooka; |
|
664 |
NameTex: nil; |
|
665 |
Probability: 0; |
|
666 |
NumberInCase: 1; |
|
667 |
Ammo: (Propz: ammoprop_Power or |
|
668 |
ammoprop_AltUse; |
|
669 |
Count: AMMO_INFINITE; |
|
670 |
NumPerTurn: 0; |
|
671 |
Timer: 0; |
|
672 |
Pos: 0; |
|
673 |
AmmoType: amBazooka); |
|
674 |
Slot: 0; |
|
675 |
TimeAfterTurn: 3000; |
|
676 |
minAngle: 0; |
|
677 |
maxAngle: 0; |
|
678 |
isDamaging: true; |
|
679 |
SkipTurns: 0; |
|
680 |
PosCount: 1; |
|
681 |
PosSprite: sprWater), |
|
682 |
(NameId: sidUFO; |
|
683 |
NameTex: nil; |
|
684 |
Probability: 100; |
|
685 |
NumberInCase: 1; |
|
686 |
Ammo: (Propz: ammoprop_Power or |
|
687 |
ammoprop_NeedTarget or |
|
688 |
ammoprop_DontHold; |
|
689 |
Count: 2; |
|
690 |
NumPerTurn: 0; |
|
691 |
Timer: 0; |
|
692 |
Pos: 0; |
|
693 |
AmmoType: amUFO); |
|
694 |
Slot: 0; |
|
695 |
TimeAfterTurn: 3000; |
|
696 |
minAngle: 0; |
|
697 |
maxAngle: 0; |
|
698 |
isDamaging: true; |
|
699 |
SkipTurns: 0; |
|
700 |
PosCount: 1; |
|
701 |
PosSprite: sprWater), |
|
702 |
(NameId: sidShotgun; |
|
703 |
NameTex: nil; |
|
704 |
Probability: 0; |
|
705 |
NumberInCase: 1; |
|
706 |
Ammo: (Propz: ammoprop_ForwMsgs; |
|
707 |
Count: AMMO_INFINITE; |
|
708 |
NumPerTurn: 1; |
|
709 |
Timer: 0; |
|
710 |
Pos: 0; |
|
711 |
AmmoType: amShotgun); |
|
712 |
Slot: 2; |
|
713 |
TimeAfterTurn: 3000; |
|
714 |
minAngle: 0; |
|
715 |
maxAngle: 0; |
|
716 |
isDamaging: true; |
|
717 |
SkipTurns: 0; |
|
718 |
PosCount: 1; |
|
719 |
PosSprite: sprWater), |
|
720 |
(NameId: sidPickHammer; |
|
721 |
NameTex: nil; |
|
722 |
Probability: 0; |
|
723 |
NumberInCase: 1; |
|
724 |
Ammo: (Propz: ammoprop_ForwMsgs or |
|
725 |
ammoprop_AttackInMove or |
|
726 |
ammoprop_NoCrosshair or |
|
727 |
ammoprop_DontHold; |
|
728 |
Count: 2; |
|
729 |
NumPerTurn: 0; |
|
730 |
Timer: 0; |
|
731 |
Pos: 0; |
|
732 |
AmmoType: amPickHammer); |
|
733 |
Slot: 6; |
|
734 |
TimeAfterTurn: 0; |
|
735 |
minAngle: 0; |
|
736 |
maxAngle: 0; |
|
737 |
isDamaging: false; |
|
738 |
SkipTurns: 0; |
|
739 |
PosCount: 1; |
|
740 |
PosSprite: sprWater), |
|
741 |
(NameId: sidSkip; |
|
742 |
NameTex: nil; |
|
743 |
Probability: 0; |
|
744 |
NumberInCase: 1; |
|
745 |
Ammo: (Propz: ammoprop_DontHold; |
|
746 |
Count: AMMO_INFINITE; |
|
747 |
NumPerTurn: 0; |
|
748 |
Timer: 0; |
|
749 |
Pos: 0; |
|
750 |
AmmoType: amSkip); |
|
751 |
Slot: 8; |
|
752 |
TimeAfterTurn: 0; |
|
753 |
minAngle: 0; |
|
754 |
maxAngle: 0; |
|
755 |
isDamaging: false; |
|
756 |
SkipTurns: 0; |
|
757 |
PosCount: 1; |
|
758 |
PosSprite: sprWater), |
|
759 |
(NameId: sidRope; |
|
760 |
NameTex: nil; |
|
761 |
Probability: 100; |
|
762 |
NumberInCase: 3; |
|
763 |
Ammo: (Propz: ammoprop_ForwMsgs or |
|
764 |
ammoprop_AttackInMove or |
|
765 |
ammoprop_DontHold or |
|
766 |
ammoprop_AltAttack; |
|
767 |
Count: 5; |
|
768 |
NumPerTurn: 0; |
|
769 |
Timer: 0; |
|
770 |
Pos: 0; |
|
771 |
AmmoType: amRope); |
|
772 |
Slot: 7; |
|
773 |
TimeAfterTurn: 0; |
|
774 |
minAngle: 0; |
|
775 |
maxAngle: cMaxAngle div 2; |
|
776 |
isDamaging: false; |
|
777 |
SkipTurns: 0; |
|
778 |
PosCount: 1; |
|
779 |
PosSprite: sprWater), |
|
780 |
(NameId: sidMine; |
|
781 |
NameTex: nil; |
|
782 |
Probability: 100; |
|
783 |
NumberInCase: 1; |
|
784 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
785 |
ammoprop_AttackInMove or |
|
786 |
ammoprop_DontHold or |
|
787 |
ammoprop_AltUse; |
|
788 |
Count: 2; |
|
789 |
NumPerTurn: 0; |
|
790 |
Timer: 0; |
|
791 |
Pos: 0; |
|
792 |
AmmoType: amMine); |
|
793 |
Slot: 4; |
|
794 |
TimeAfterTurn: 5000; |
|
795 |
minAngle: 0; |
|
796 |
maxAngle: 0; |
|
797 |
isDamaging: true; |
|
798 |
SkipTurns: 0; |
|
799 |
PosCount: 1; |
|
800 |
PosSprite: sprWater), |
|
801 |
(NameId: sidDEagle; |
|
802 |
NameTex: nil; |
|
1430 | 803 |
Probability: 20; |
1259 | 804 |
NumberInCase: 2; |
805 |
Ammo: (Propz: 0; |
|
806 |
Count: 3; |
|
807 |
NumPerTurn: 3; |
|
808 |
Timer: 0; |
|
809 |
Pos: 0; |
|
810 |
AmmoType: amDEagle); |
|
811 |
Slot: 2; |
|
812 |
TimeAfterTurn: 3000; |
|
813 |
minAngle: 0; |
|
814 |
maxAngle: 0; |
|
815 |
isDamaging: true; |
|
816 |
SkipTurns: 0; |
|
817 |
PosCount: 1; |
|
818 |
PosSprite: sprWater), |
|
819 |
(NameId: sidDynamite; |
|
820 |
NameTex: nil; |
|
821 |
Probability: 100; |
|
822 |
NumberInCase: 1; |
|
823 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
824 |
ammoprop_AttackInMove or |
|
825 |
ammoprop_DontHold or |
|
826 |
ammoprop_AltUse; |
|
827 |
Count: 1; |
|
828 |
NumPerTurn: 0; |
|
829 |
Timer: 0; |
|
830 |
Pos: 0; |
|
831 |
AmmoType: amDynamite); |
|
832 |
Slot: 4; |
|
833 |
TimeAfterTurn: 5000; |
|
834 |
minAngle: 0; |
|
835 |
maxAngle: 0; |
|
836 |
isDamaging: true; |
|
837 |
SkipTurns: 0; |
|
838 |
PosCount: 1; |
|
839 |
PosSprite: sprWater), |
|
840 |
(NameId: sidFirePunch; |
|
841 |
NameTex: nil; |
|
842 |
Probability: 0; |
|
843 |
NumberInCase: 1; |
|
844 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
845 |
ammoprop_ForwMsgs or |
|
846 |
ammoprop_AttackInMove; |
|
847 |
Count: AMMO_INFINITE; |
|
848 |
NumPerTurn: 0; |
|
849 |
Timer: 0; |
|
850 |
Pos: 0; |
|
851 |
AmmoType: amFirePunch); |
|
852 |
Slot: 3; |
|
853 |
TimeAfterTurn: 3000; |
|
854 |
MinAngle: 0; |
|
855 |
maxAngle: 0; |
|
856 |
isDamaging: true; |
|
857 |
SkipTurns: 0; |
|
858 |
PosCount: 1; |
|
859 |
PosSprite: sprWater), |
|
860 |
(NameId: sidWhip; |
|
861 |
NameTex: nil; |
|
862 |
Probability: 0; |
|
863 |
NumberInCase: 1; |
|
864 |
Ammo: (Propz: ammoprop_NoCrosshair; |
|
865 |
Count: AMMO_INFINITE; |
|
866 |
NumPerTurn: 0; |
|
867 |
Timer: 0; |
|
868 |
Pos: 0; |
|
869 |
AmmoType: amWhip); |
|
870 |
Slot: 3; |
|
871 |
TimeAfterTurn: 3000; |
|
872 |
MinAngle: 0; |
|
873 |
maxAngle: 0; |
|
874 |
isDamaging: true; |
|
875 |
SkipTurns: 0; |
|
876 |
PosCount: 1; |
|
877 |
PosSprite: sprWater), |
|
878 |
(NameId: sidBaseballBat; |
|
879 |
NameTex: nil; |
|
880 |
Probability: 100; |
|
881 |
NumberInCase: 1; |
|
882 |
Ammo: (Propz: ammoprop_DontHold; |
|
883 |
Count: 1; |
|
884 |
NumPerTurn: 0; |
|
885 |
Timer: 0; |
|
886 |
Pos: 0; |
|
887 |
AmmoType: amBaseballBat); |
|
888 |
Slot: 3; |
|
889 |
TimeAfterTurn: 5000; |
|
890 |
minAngle: 0; |
|
891 |
maxAngle: cMaxAngle div 2; |
|
892 |
isDamaging: true; |
|
893 |
SkipTurns: 2; |
|
894 |
PosCount: 1; |
|
895 |
PosSprite: sprWater), |
|
896 |
(NameId: sidParachute; |
|
897 |
NameTex: nil; |
|
898 |
Probability: 100; |
|
899 |
NumberInCase: 1; |
|
900 |
Ammo: (Propz: ammoprop_ForwMsgs or |
|
901 |
ammoprop_AttackInMove or |
|
902 |
ammoprop_NoCrosshair or |
|
903 |
ammoprop_DontHold or |
|
904 |
ammoprop_AltAttack; |
|
905 |
Count: 2; |
|
906 |
NumPerTurn: 0; |
|
907 |
Timer: 0; |
|
908 |
Pos: 0; |
|
909 |
AmmoType: amParachute); |
|
910 |
Slot: 7; |
|
911 |
TimeAfterTurn: 0; |
|
912 |
minAngle: 0; |
|
913 |
maxAngle: 0; |
|
914 |
isDamaging: false; |
|
915 |
SkipTurns: 0; |
|
916 |
PosCount: 1; |
|
917 |
PosSprite: sprWater), |
|
918 |
(NameId: sidAirAttack; |
|
919 |
NameTex: nil; |
|
920 |
Probability: 100; |
|
921 |
NumberInCase: 1; |
|
922 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
923 |
ammoprop_NeedTarget or |
|
924 |
ammoprop_AttackingPut or |
|
1784 | 925 |
ammoprop_DontHold or |
926 |
ammoprop_NotBorder; |
|
1259 | 927 |
Count: 1; |
928 |
NumPerTurn: 0; |
|
929 |
Timer: 0; |
|
930 |
Pos: 0; |
|
931 |
AmmoType: amAirAttack); |
|
932 |
Slot: 5; |
|
933 |
TimeAfterTurn: 0; |
|
934 |
minAngle: 0; |
|
935 |
maxAngle: 0; |
|
936 |
isDamaging: true; |
|
937 |
SkipTurns: 5; |
|
938 |
PosCount: 2; |
|
939 |
PosSprite: sprAmAirplane), |
|
940 |
(NameId: sidMineStrike; |
|
941 |
NameTex: nil; |
|
1430 | 942 |
Probability: 200; |
1259 | 943 |
NumberInCase: 1; |
944 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
945 |
ammoprop_NeedTarget or |
|
946 |
ammoprop_AttackingPut or |
|
1784 | 947 |
ammoprop_DontHold or |
948 |
ammoprop_NotBorder; |
|
1259 | 949 |
Count: 1; |
950 |
NumPerTurn: 0; |
|
951 |
Timer: 0; |
|
952 |
Pos: 0; |
|
953 |
AmmoType: amMineStrike); |
|
954 |
Slot: 5; |
|
955 |
TimeAfterTurn: 0; |
|
956 |
minAngle: 0; |
|
957 |
maxAngle: 0; |
|
958 |
isDamaging: true; |
|
959 |
SkipTurns: 5; |
|
960 |
PosCount: 2; |
|
961 |
PosSprite: sprAmAirplane), |
|
962 |
(NameId: sidBlowTorch; |
|
963 |
NameTex: nil; |
|
964 |
Probability: 100; |
|
965 |
NumberInCase: 2; |
|
966 |
Ammo: (Propz: ammoprop_ForwMsgs; |
|
967 |
Count: 1; |
|
968 |
NumPerTurn: 0; |
|
969 |
Timer: 0; |
|
970 |
Pos: 0; |
|
971 |
AmmoType: amBlowTorch); |
|
972 |
Slot: 6; |
|
973 |
TimeAfterTurn: 3000; |
|
974 |
minAngle: 768; |
|
975 |
maxAngle: 1280; |
|
976 |
isDamaging: false; |
|
977 |
SkipTurns: 0; |
|
978 |
PosCount: 1; |
|
979 |
PosSprite: sprWater), |
|
980 |
(NameId: sidGirder; |
|
981 |
NameTex: nil; |
|
1430 | 982 |
Probability: 150; |
1259 | 983 |
NumberInCase: 3; |
984 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
985 |
ammoprop_NeedTarget or |
|
1909 | 986 |
ammoprop_AttackingPut; |
1259 | 987 |
Count: 1; |
988 |
NumPerTurn: 0; |
|
989 |
Timer: 0; |
|
990 |
Pos: 0; |
|
991 |
AmmoType: amGirder); |
|
992 |
Slot: 6; |
|
993 |
TimeAfterTurn: 3000; |
|
994 |
minAngle: 0; |
|
995 |
maxAngle: 0; |
|
996 |
isDamaging: false; |
|
997 |
SkipTurns: 0; |
|
998 |
PosCount: 8; |
|
999 |
PosSprite: sprAmGirder), |
|
1000 |
(NameId: sidTeleport; |
|
1001 |
NameTex: nil; |
|
1430 | 1002 |
Probability: 200; |
1259 | 1003 |
NumberInCase: 1; |
1004 |
Ammo: (Propz: ammoprop_ForwMsgs or |
|
1005 |
ammoprop_NoCrosshair or |
|
1006 |
ammoprop_NeedTarget or |
|
1007 |
ammoprop_AttackingPut or |
|
1008 |
ammoprop_DontHold; |
|
1009 |
Count: 2; |
|
1010 |
NumPerTurn: 0; |
|
1011 |
Timer: 0; |
|
1012 |
Pos: 0; |
|
1013 |
AmmoType: amTeleport); |
|
1014 |
Slot: 7; |
|
1015 |
TimeAfterTurn: 0; |
|
1016 |
minAngle: 0; |
|
1017 |
maxAngle: 0; |
|
1018 |
isDamaging: false; |
|
1019 |
SkipTurns: 0; |
|
1020 |
PosCount: 1; |
|
1021 |
PosSprite: sprWater), |
|
1022 |
(NameId: sidSwitch; |
|
1023 |
NameTex: nil; |
|
1024 |
Probability: 100; |
|
1025 |
NumberInCase: 1; |
|
1026 |
Ammo: (Propz: ammoprop_ForwMsgs or |
|
1027 |
ammoprop_NoCrosshair or |
|
1028 |
ammoprop_DontHold; |
|
1029 |
Count: 3; |
|
1030 |
NumPerTurn: 0; |
|
1031 |
Timer: 0; |
|
1032 |
Pos: 0; |
|
1033 |
AmmoType: amSwitch); |
|
1034 |
Slot: 8; |
|
1035 |
TimeAfterTurn: 0; |
|
1036 |
minAngle: 0; |
|
1037 |
maxAngle: 0; |
|
1038 |
isDamaging: false; |
|
1039 |
SkipTurns: 0; |
|
1040 |
PosCount: 1; |
|
1041 |
PosSprite: sprWater), |
|
1042 |
(NameId: sidMortar; |
|
1043 |
NameTex: nil; |
|
1044 |
Probability: 100; |
|
1430 | 1045 |
NumberInCase: 4; |
1259 | 1046 |
Ammo: (Propz: 0; |
1047 |
Count: 4; |
|
1048 |
NumPerTurn: 0; |
|
1049 |
Timer: 0; |
|
1050 |
Pos: 0; |
|
1051 |
AmmoType: amMortar); |
|
1052 |
Slot: 1; |
|
1053 |
TimeAfterTurn: 3000; |
|
1054 |
minAngle: 0; |
|
1055 |
maxAngle: 0; |
|
1056 |
isDamaging: true; |
|
1057 |
SkipTurns: 0; |
|
1058 |
PosCount: 1; |
|
1059 |
PosSprite: sprWater), |
|
1060 |
(NameId: sidKamikaze; |
|
1061 |
NameTex: nil; |
|
1062 |
Probability: 100; |
|
1063 |
NumberInCase: 1; |
|
1064 |
Ammo: (Propz: ammoprop_ForwMsgs or |
|
1065 |
ammoprop_DontHold; |
|
1066 |
Count: 1; |
|
1067 |
NumPerTurn: 0; |
|
1068 |
Timer: 0; |
|
1069 |
Pos: 0; |
|
1070 |
AmmoType: amKamikaze); |
|
1071 |
Slot: 3; |
|
1072 |
TimeAfterTurn: 0; |
|
1073 |
minAngle: 0; |
|
1074 |
maxAngle: 0; |
|
1075 |
isDamaging: true; |
|
1076 |
SkipTurns: 0; |
|
1077 |
PosCount: 1; |
|
1078 |
PosSprite: sprWater), |
|
1079 |
(NameId: sidCake; |
|
1080 |
NameTex: nil; |
|
1081 |
Probability: 100; |
|
1082 |
NumberInCase: 1; |
|
1083 |
Ammo: (Propz: ammoprop_ForwMsgs or |
|
1084 |
ammoprop_NoCrosshair or |
|
1085 |
ammoprop_DontHold; |
|
1086 |
Count: 1; |
|
1087 |
NumPerTurn: 0; |
|
1088 |
Timer: 0; |
|
1089 |
Pos: 0; |
|
1090 |
AmmoType: amCake); |
|
1091 |
Slot: 4; |
|
1092 |
TimeAfterTurn: 0; |
|
1093 |
minAngle: 0; |
|
1094 |
maxAngle: 0; |
|
1095 |
isDamaging: true; |
|
1445 | 1096 |
SkipTurns: 4; |
1259 | 1097 |
PosCount: 1; |
1098 |
PosSprite: sprWater), |
|
1099 |
(NameId: sidSeduction; |
|
1100 |
NameTex: nil; |
|
1101 |
Probability: 100; |
|
1102 |
NumberInCase: 1; |
|
1284 | 1103 |
Ammo: (Propz: ammoprop_ForwMsgs or ammoprop_DontHold; |
1259 | 1104 |
Count: 1; |
1105 |
NumPerTurn: 0; |
|
1106 |
Timer: 0; |
|
1107 |
Pos: 0; |
|
1108 |
AmmoType: amSeduction); |
|
1109 |
Slot: 2; |
|
1110 |
TimeAfterTurn: 0; |
|
1111 |
minAngle: 0; |
|
1112 |
maxAngle: 0; |
|
1508 | 1113 |
isDamaging: false; |
1259 | 1114 |
SkipTurns: 0; |
1115 |
PosCount: 1; |
|
1261 | 1116 |
PosSprite: sprWater), |
1117 |
(NameId: sidWatermelon; |
|
1118 |
NameTex: nil; |
|
1430 | 1119 |
Probability: 400; |
1261 | 1120 |
NumberInCase: 1; |
1121 |
Ammo: (Propz: ammoprop_Timerable or |
|
1122 |
ammoprop_Power or |
|
1123 |
ammoprop_AltUse; |
|
1430 | 1124 |
Count: 0; |
1261 | 1125 |
NumPerTurn: 0; |
1126 |
Timer: 3000; |
|
1127 |
Pos: 0; |
|
1128 |
AmmoType: amWatermelon); |
|
1129 |
Slot: 1; |
|
1130 |
TimeAfterTurn: 3000; |
|
1131 |
minAngle: 0; |
|
1132 |
maxAngle: 0; |
|
1133 |
isDamaging: true; |
|
1134 |
SkipTurns: 0; |
|
1135 |
PosCount: 1; |
|
1263 | 1136 |
PosSprite: sprWater), |
1137 |
(NameId: sidHellishBomb; |
|
1138 |
NameTex: nil; |
|
1430 | 1139 |
Probability: 400; |
1263 | 1140 |
NumberInCase: 1; |
1141 |
Ammo: (Propz: ammoprop_Power or |
|
1142 |
ammoprop_AltUse; |
|
1430 | 1143 |
Count: 0; |
1263 | 1144 |
NumPerTurn: 0; |
1145 |
Timer: 5000; |
|
1146 |
Pos: 0; |
|
1147 |
AmmoType: amHellishBomb); |
|
1148 |
Slot: 4; |
|
1149 |
TimeAfterTurn: 3000; |
|
1150 |
minAngle: 0; |
|
1151 |
maxAngle: 0; |
|
1152 |
isDamaging: true; |
|
1153 |
SkipTurns: 0; |
|
1154 |
PosCount: 1; |
|
1507 | 1155 |
PosSprite: sprWater), |
1608 | 1156 |
(NameId: sidNapalm; |
1507 | 1157 |
NameTex: nil; |
1158 |
Probability: 100; |
|
1159 |
NumberInCase: 1; |
|
1160 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
1161 |
ammoprop_NeedTarget or |
|
1162 |
ammoprop_AttackingPut or |
|
1784 | 1163 |
ammoprop_DontHold or |
1164 |
ammoprop_NotBorder; |
|
1507 | 1165 |
Count: 1; |
1166 |
NumPerTurn: 0; |
|
1167 |
Timer: 0; |
|
1168 |
Pos: 0; |
|
1169 |
AmmoType: amNapalm); |
|
1170 |
Slot: 5; |
|
1171 |
TimeAfterTurn: 0; |
|
1172 |
minAngle: 0; |
|
1173 |
maxAngle: 0; |
|
1174 |
isDamaging: true; |
|
1608 | 1175 |
SkipTurns: 7; |
1507 | 1176 |
PosCount: 2; |
1573 | 1177 |
PosSprite: sprAmAirplane), |
1178 |
(NameId: sidDrill; |
|
1179 |
NameTex: nil; |
|
1586 | 1180 |
Probability: 300; |
1573 | 1181 |
NumberInCase: 1; |
1182 |
Ammo: (Propz: ammoprop_Power or |
|
1183 |
ammoprop_AltUse; |
|
1184 |
Count: AMMO_INFINITE; |
|
1185 |
NumPerTurn: 0; |
|
1186 |
Timer: 0; |
|
1187 |
Pos: 0; |
|
1188 |
AmmoType: amDrill); |
|
1189 |
Slot: 0; |
|
1190 |
TimeAfterTurn: 3000; |
|
1191 |
minAngle: 0; |
|
1192 |
maxAngle: 0; |
|
1193 |
isDamaging: true; |
|
1194 |
SkipTurns: 0; |
|
1195 |
PosCount: 1; |
|
1601 | 1196 |
PosSprite: sprDrill), |
1197 |
(NameId: sidBallgun; |
|
1198 |
NameTex: nil; |
|
1199 |
Probability: 400; |
|
1200 |
NumberInCase: 1; |
|
1643 | 1201 |
Ammo: (Propz: ammoprop_ForwMsgs or |
1202 |
ammoprop_DontHold; |
|
1601 | 1203 |
Count: AMMO_INFINITE; |
1204 |
NumPerTurn: 0; |
|
1205 |
Timer: 5001; |
|
1206 |
Pos: 0; |
|
1207 |
AmmoType: amBallgun); |
|
1208 |
Slot: 2; |
|
1209 |
TimeAfterTurn: 0; |
|
1210 |
minAngle: 0; |
|
1211 |
maxAngle: 0; |
|
1212 |
isDamaging: true; |
|
1213 |
SkipTurns: 0; |
|
1214 |
PosCount: 1; |
|
1689 | 1215 |
PosSprite: sprWater), |
1216 |
(NameId: sidRCPlane; |
|
1217 |
NameTex: nil; |
|
1721 | 1218 |
Probability: 200; |
1740 | 1219 |
NumberInCase: 1; |
1689 | 1220 |
Ammo: (Propz: ammoprop_ForwMsgs{ or |
1221 |
ammoprop_DontHold or |
|
1222 |
ammoprop_AltAttack}; |
|
1223 |
Count: 1; |
|
1224 |
NumPerTurn: 0; |
|
1225 |
Timer: 0; |
|
1226 |
Pos: 0; |
|
1227 |
AmmoType: amRCPlane); |
|
1228 |
Slot: 6; |
|
1229 |
TimeAfterTurn: 0; |
|
1230 |
minAngle: 0; |
|
1231 |
maxAngle: 0; |
|
1232 |
isDamaging: true; |
|
1721 | 1233 |
SkipTurns: 4; |
1689 | 1234 |
PosCount: 1; |
1849 | 1235 |
PosSprite: sprWater), |
1236 |
(NameId: sidLowGravity; |
|
1237 |
NameTex: nil; |
|
1861 | 1238 |
Probability: 20; |
1849 | 1239 |
NumberInCase: 1; |
1240 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
1241 |
ammoprop_DontHold or |
|
1892 | 1242 |
ammoprop_AltUse or |
1849 | 1243 |
ammoprop_Utility; |
1244 |
Count: 1; |
|
1245 |
NumPerTurn: 0; |
|
1246 |
Timer: 0; |
|
1247 |
Pos: 0; |
|
1248 |
AmmoType: amLowGravity); |
|
1249 |
Slot: 8; |
|
1250 |
TimeAfterTurn: 0; |
|
1251 |
minAngle: 0; |
|
1252 |
maxAngle: 0; |
|
1253 |
isDamaging: false; |
|
1254 |
SkipTurns: 0; |
|
1255 |
PosCount: 1; |
|
1256 |
PosSprite: sprWater), |
|
1257 |
(NameId: sidExtraDamage; |
|
1258 |
NameTex: nil; |
|
1861 | 1259 |
Probability: 15; |
1849 | 1260 |
NumberInCase: 1; |
1261 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
1262 |
ammoprop_DontHold or |
|
1892 | 1263 |
ammoprop_AltUse or |
1849 | 1264 |
ammoprop_Utility; |
1265 |
Count: 1; |
|
1266 |
NumPerTurn: 0; |
|
1267 |
Timer: 0; |
|
1268 |
Pos: 0; |
|
1269 |
AmmoType: amExtraDamage); |
|
1270 |
Slot: 8; |
|
1271 |
TimeAfterTurn: 0; |
|
1272 |
minAngle: 0; |
|
1273 |
maxAngle: 0; |
|
1274 |
isDamaging: false; |
|
1275 |
SkipTurns: 0; |
|
1276 |
PosCount: 1; |
|
1277 |
PosSprite: sprWater), |
|
1278 |
(NameId: sidInvulnerable; |
|
1279 |
NameTex: nil; |
|
1861 | 1280 |
Probability: 20; |
1849 | 1281 |
NumberInCase: 1; |
1282 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
1283 |
ammoprop_DontHold or |
|
1892 | 1284 |
ammoprop_AltUse or |
1849 | 1285 |
ammoprop_Utility; |
1286 |
Count: 1; |
|
1287 |
NumPerTurn: 0; |
|
1288 |
Timer: 0; |
|
1289 |
Pos: 0; |
|
1290 |
AmmoType: amInvulnerable); |
|
1291 |
Slot: 8; |
|
1292 |
TimeAfterTurn: 0; |
|
1293 |
minAngle: 0; |
|
1294 |
maxAngle: 0; |
|
1295 |
isDamaging: false; |
|
1296 |
SkipTurns: 0; |
|
1297 |
PosCount: 1; |
|
1298 |
PosSprite: sprWater), |
|
1299 |
(NameId: sidExtraTime; |
|
1300 |
NameTex: nil; |
|
1861 | 1301 |
Probability: 30; |
1849 | 1302 |
NumberInCase: 1; |
1303 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
1304 |
ammoprop_DontHold or |
|
1892 | 1305 |
ammoprop_AltUse or |
1849 | 1306 |
ammoprop_Utility; |
1307 |
Count: 1; |
|
1308 |
NumPerTurn: 0; |
|
1309 |
Timer: 0; |
|
1310 |
Pos: 0; |
|
1311 |
AmmoType: amExtraTime); |
|
1312 |
Slot: 7; |
|
1313 |
TimeAfterTurn: 0; |
|
1314 |
minAngle: 0; |
|
1315 |
maxAngle: 0; |
|
1316 |
isDamaging: false; |
|
1317 |
SkipTurns: 0; |
|
1318 |
PosCount: 1; |
|
1854 | 1319 |
PosSprite: sprWater), |
1320 |
(NameId: sidLaserSight; |
|
1321 |
NameTex: nil; |
|
1861 | 1322 |
Probability: 15; |
1854 | 1323 |
NumberInCase: 1; |
1324 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
1325 |
ammoprop_DontHold or |
|
1892 | 1326 |
ammoprop_AltUse or |
1854 | 1327 |
ammoprop_Utility; |
1328 |
Count: 1; |
|
1329 |
NumPerTurn: 0; |
|
1330 |
Timer: 0; |
|
1331 |
Pos: 0; |
|
1332 |
AmmoType: amLaserSight); |
|
1333 |
Slot: 7; |
|
1334 |
TimeAfterTurn: 0; |
|
1335 |
minAngle: 0; |
|
1336 |
maxAngle: 0; |
|
1337 |
isDamaging: false; |
|
1338 |
SkipTurns: 0; |
|
1339 |
PosCount: 1; |
|
2017 | 1340 |
PosSprite: sprWater), |
1341 |
(NameId: sidVampiric; |
|
1342 |
NameTex: nil; |
|
1343 |
Probability: 15; |
|
1344 |
NumberInCase: 1; |
|
1345 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
1346 |
ammoprop_DontHold or |
|
1347 |
ammoprop_AltUse or |
|
1348 |
ammoprop_Utility; |
|
1349 |
Count: 1; |
|
1350 |
NumPerTurn: 0; |
|
1351 |
Timer: 0; |
|
1352 |
Pos: 0; |
|
1353 |
AmmoType: amVampiric); |
|
1354 |
Slot: 6; |
|
1355 |
TimeAfterTurn: 0; |
|
1356 |
minAngle: 0; |
|
1357 |
maxAngle: 0; |
|
1358 |
isDamaging: false; |
|
1359 |
SkipTurns: 0; |
|
1360 |
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
|
1361 |
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
|
1362 |
(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
|
1363 |
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
|
1364 |
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
|
1365 |
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
|
1366 |
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
|
1367 |
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
|
1368 |
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
|
1369 |
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
|
1370 |
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
|
1371 |
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
|
1372 |
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
|
1373 |
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
|
1374 |
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
|
1375 |
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
|
1376 |
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
|
1377 |
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
|
1378 |
PosCount: 1; |
1601 | 1379 |
PosSprite: sprWater) |
1259 | 1380 |
); |
37 | 1381 |
|
844 | 1382 |
var CountTexz: array[1..9] of PTexture; |
1383 |
||
4 | 1384 |
implementation |
1385 |
||
1386 |
end. |