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