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