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