author | unc0rr |
Mon, 12 Jan 2009 16:47:38 +0000 | |
changeset 1651 | f590918e15e9 |
parent 1643 | 434e28245dc0 |
child 1654 | 9cfa6f23e767 |
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 |
|
755 | 21 |
uses SDLh, GL, uLocale; |
4 | 22 |
{$INCLUDE options.inc} |
271 | 23 |
{$INCLUDE proto.inc} |
689 | 24 |
type |
282 | 25 |
|
1259 | 26 |
TGameState = (gsLandGen, gsStart, gsGame, gsChat, gsConfirm, gsExit); |
282 | 27 |
|
1259 | 28 |
TGameType = (gmtLocal, gmtDemo, gmtNet, gmtSave, gmtLandPreview); |
282 | 29 |
|
1259 | 30 |
TPathType = (ptNone, ptData, ptGraphics, ptThemes, ptCurrTheme, ptTeams, ptMaps, |
31 |
ptMapCurrent, ptDemos, ptSounds, ptGraves, ptFonts, ptForts, |
|
32 |
ptLocale, ptAmmoMenu, ptHedgehog, ptVoices, ptHats); |
|
282 | 33 |
|
1259 | 34 |
TSprite = (sprWater, sprCloud, sprBomb, sprBigDigit, sprFrame, |
35 |
sprLag, sprArrow, sprGrenade, sprTargetP, sprUFO, |
|
36 |
sprSmokeTrace, sprRopeHook, sprExplosion50, sprMineOff, |
|
37 |
sprMineOn, sprCase, sprFAid, sprDynamite, sprPower, |
|
38 |
sprClusterBomb, sprClusterParticle, sprFlame, sprHorizont, |
|
39 |
sprSky, sprAMBorders, sprAMSlot, sprAMSlotName, sprAMAmmos, |
|
40 |
sprAMSlotKeys, sprAMSelection, sprFinger, sprAirBomb, |
|
41 |
sprAirplane, sprAmAirplane, sprAmGirder, sprHHTelepMask, |
|
42 |
sprSwitch, sprParachute, sprTarget, sprRopeNode, |
|
43 |
sprQuestion, sprPowerBar, sprWindBar, sprWindL, sprWindR, |
|
44 |
sprFlake, sprHandRope, sprHandBazooka, sprHandShotgun, |
|
45 |
sprHandDEagle, sprHandAirAttack, sprHandBaseball, sprPHammer, |
|
46 |
sprHandBlowTorch, sprBlowTorch, sprTeleport, sprHHDeath, |
|
47 |
sprShotgun, sprDEagle, sprHHIdle, sprMortar, sprTurnsLeft, |
|
48 |
sprKamikaze, sprWhip, sprKowtow, sprSad, sprWave, |
|
49 |
sprHurrah, sprLemonade, sprExplPart, sprExplPart2, |
|
1263 | 50 |
sprCakeWalk, sprCakeDown, sprAMAmmosBW, sprWatermelon, |
1286 | 51 |
sprEvilTrace, sprHellishBomb, sprSeduction, sprDress, |
1601 | 52 |
sprCensored, sprDrill, sprHandDrill, sprHandBallgun, sprBalls); |
282 | 53 |
|
1505 | 54 |
TGearType = (gtAmmo_Bomb, gtHedgehog, gtAmmo_Grenade, gtHealthTag, // 3 |
55 |
gtGrave, gtUFO, gtShotgunShot, gtPickHammer, gtRope, // 8 |
|
56 |
gtSmokeTrace, gtExplosion, gtMine, gtCase, gtDEagleShot, gtDynamite, // 14 |
|
57 |
gtTeamHealthSorter, gtClusterBomb, gtCluster, gtShover, gtFlame, // 19 |
|
58 |
gtFirePunch, gtATStartGame, gtATSmoothWindCh, gtATFinishGame, // 23 |
|
59 |
gtParachute, gtAirAttack, gtAirBomb, gtBlowTorch, gtGirder, // 28 |
|
60 |
gtTeleport, gtSwitcher, gtTarget, gtMortar, // 32 |
|
61 |
gtWhip, gtKamikaze, gtCake, gtSeduction, gtWatermelon, gtMelonPiece, // 38 |
|
1601 | 62 |
gtHellishBomb, gtEvilTrace, gtWaterUp, gtDrill, gtBallGun, gtBall); |
282 | 63 |
|
1505 | 64 |
TVisualGearType = (vgtFlake, vgtCloud, vgtExplPart, vgtExplPart2, vgtFire, |
65 |
vgtSmallDamageTag); |
|
802
ed5450a89b96
Start implementing 'visual gears' - gears, that don't need to be synchronized (clouds and flakes)
unc0rr
parents:
801
diff
changeset
|
66 |
|
1259 | 67 |
TGearsType = set of TGearType; |
282 | 68 |
|
1259 | 69 |
TSound = (sndGrenadeImpact, sndExplosion, sndThrowPowerUp, sndThrowRelease, |
70 |
sndSplash, sndShotgunReload, sndShotgunFire, sndGraveImpact, |
|
71 |
sndMineTick, sndPickhammer, sndGun, sndUFO, sndJump1, sndJump2, |
|
72 |
sndJump3, sndYesSir, sndLaugh, sndIllGetYou, sndIncoming, |
|
73 |
sndMissed, sndStupid, sndFirstBlood, sndBoring, sndByeBye, |
|
74 |
sndSameTeam, sndNutter, sndReinforce, sndTraitor, sndRegret, |
|
75 |
sndEnemyDown, sndCoward, sndHurry, sndWatchIt, sndKamikaze, |
|
1279 | 76 |
sndCake, sndOw1, sndOw4, sndFirePunch1, sndFirePunch2, |
77 |
sndFirePunch3, sndFirePunch4, sndFirePunch5, sndFirePunch6, |
|
1367 | 78 |
sndMelon, sndHellish, sndYoohoo); |
282 | 79 |
|
1259 | 80 |
TAmmoType = (amGrenade, amClusterBomb, amBazooka, amUFO, amShotgun, amPickHammer, |
81 |
amSkip, amRope, amMine, amDEagle, amDynamite, amFirePunch, amWhip, |
|
82 |
amBaseballBat, amParachute, amAirAttack, amMineStrike, amBlowTorch, |
|
83 |
amGirder, amTeleport, amSwitch, amMortar, amKamikaze, amCake, |
|
1601 | 84 |
amSeduction, amWatermelon, amHellishBomb, amNapalm, amDrill, amBallgun); |
282 | 85 |
|
1259 | 86 |
THWFont = (fnt16, fntBig, fntSmall); |
282 | 87 |
|
1259 | 88 |
TCapGroup = (capgrpGameState, capgrpAmmoinfo, capgrpNetSay, capgrpVolume); |
282 | 89 |
|
1625 | 90 |
TStatInfoType = (siGameResult, siMaxStepDamage, siMaxStepKills, siKilledHHs, |
91 |
siClanHealth); |
|
306 | 92 |
|
1259 | 93 |
TWave = (waveRollup, waveSad,waveWave, waveHurrah, waveLemonade); |
1034 | 94 |
|
1259 | 95 |
THHFont = record |
96 |
Handle: PTTF_Font; |
|
97 |
Height: LongInt; |
|
98 |
style: LongInt; |
|
99 |
Name: string[19]; |
|
100 |
end; |
|
282 | 101 |
|
1259 | 102 |
PAmmo = ^TAmmo; |
103 |
TAmmo = record |
|
104 |
Propz: LongWord; |
|
105 |
Count: LongWord; |
|
106 |
NumPerTurn: LongWord; |
|
107 |
Timer: LongWord; |
|
108 |
Pos: LongWord; |
|
109 |
AmmoType: TAmmoType; |
|
110 |
end; |
|
111 |
TTexture = record |
|
112 |
id: GLuint; |
|
113 |
w, h: LongInt; |
|
114 |
end; |
|
115 |
PTexture = ^TTexture; |
|
4 | 116 |
|
117 |
||
105 | 118 |
const |
1259 | 119 |
errmsgCreateSurface = 'Error creating SDL surface'; |
120 |
errmsgTransparentSet = 'Error setting transparent color'; |
|
121 |
errmsgUnknownCommand = 'Unknown command'; |
|
122 |
errmsgUnknownVariable = 'Unknown variable'; |
|
123 |
errmsgIncorrectUse = 'Incorrect use'; |
|
124 |
errmsgShouldntRun = 'This program shouldn''t be run manually'; |
|
125 |
errmsgWrongNumber = 'Wrong parameters number'; |
|
4 | 126 |
|
1259 | 127 |
msgLoading = 'Loading '; |
128 |
msgOK = 'ok'; |
|
129 |
msgFailed = 'failed'; |
|
130 |
msgGettingConfig = 'Getting game config...'; |
|
4 | 131 |
|
132 |
const |
|
1033 | 133 |
cMaxPower = 1500; |
134 |
cMaxAngle = 2048; |
|
135 |
cPowerDivisor = 1500; |
|
621 | 136 |
|
1190
73ec31d8bb6f
Enable back rendering objects that are put on top of land texture
unc0rr
parents:
1184
diff
changeset
|
137 |
MAXNAMELEN = 192; |
74 | 138 |
|
1033 | 139 |
COLOR_LAND = $00FFFFFF; |
64 | 140 |
|
1033 | 141 |
cifRandomize = $00000001; |
142 |
cifTheme = $00000002; |
|
143 |
cifMap = $00000002; // either theme or map (or map+theme) |
|
144 |
cifAllInited = cifRandomize or |
|
145 |
cifTheme or |
|
146 |
cifMap; |
|
55
e09f7c952a40
Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents:
53
diff
changeset
|
147 |
|
1033 | 148 |
cTransparentColor: Longword = $000000; |
4 | 149 |
|
1033 | 150 |
cMaxTeams = 6; |
151 |
cMaxHHIndex = 7; |
|
152 |
cMaxHHs = 30; |
|
153 |
cMaxSpawnPoints = 1024; |
|
4 | 154 |
|
1033 | 155 |
cMaxEdgePoints = 16384; |
22 | 156 |
|
1033 | 157 |
cHHRadius = 9; |
1141 | 158 |
cHHStepTicks = 29; |
509 | 159 |
|
1270 | 160 |
cUsualZ = 500; |
161 |
cSmokeZ = 499; |
|
1033 | 162 |
cHHZ = 1000; |
163 |
cCurrHHZ = Succ(cHHZ); |
|
1109 | 164 |
cOnHHZ = 2000; |
4 | 165 |
|
1033 | 166 |
cShotgunRadius = 22; |
167 |
cBlowTorchC = 6; |
|
509 | 168 |
|
1033 | 169 |
cKeyMaxIndex = 1023; |
4 | 170 |
|
1033 | 171 |
cMaxCaptions = 4; |
97
e7c1df9cce2c
- make the game be run from ${PREFIX}/bin with data in ${PREFIX}/share/hedgewars/Data
unc0rr
parents:
95
diff
changeset
|
172 |
|
1033 | 173 |
gfForts = $00000001; |
174 |
gfMultiWeapon = $00000002; |
|
175 |
gfSolidLand = $00000004; |
|
1428 | 176 |
gfDivideTeams = $00000010; |
1033 | 177 |
gfOneClanMode = $10000000; |
4 | 178 |
|
1033 | 179 |
gstDrowning = $00000001; |
180 |
gstHHDriven = $00000002; |
|
181 |
gstMoving = $00000004; |
|
182 |
gstAttacked = $00000008; |
|
183 |
gstAttacking = $00000010; |
|
184 |
gstCollision = $00000020; |
|
185 |
gstHHChooseTarget = $00000040; |
|
186 |
gstHHJumping = $00000100; |
|
187 |
gsttmpFlag = $00000200; |
|
188 |
gstHHThinking = $00000800; |
|
189 |
gstNoDamage = $00001000; |
|
190 |
gstHHHJump = $00002000; |
|
191 |
gstAnimation = $00004000; |
|
192 |
gstHHDeath = $00008000; |
|
193 |
gstWinner = $00010000; |
|
194 |
gstWait = $00020000; |
|
1528 | 195 |
gstNotKickable = $00040000; |
4 | 196 |
|
1033 | 197 |
gm_Left = $00000001; |
198 |
gm_Right = $00000002; |
|
199 |
gm_Up = $00000004; |
|
200 |
gm_Down = $00000008; |
|
201 |
gm_Switch = $00000010; |
|
202 |
gm_Attack = $00000020; |
|
203 |
gm_LJump = $00000040; |
|
204 |
gm_HJump = $00000080; |
|
205 |
gm_Destroy= $00000100; |
|
206 |
gm_Slot = $00000200; // with param |
|
207 |
gm_Weapon = $00000400; // with param |
|
208 |
gm_Timer = $00000800; // with param |
|
209 |
gm_Animate= $00001000; // with param |
|
1639 | 210 |
gm_Precise= $00002000; |
211 |
gmAllStoppable = gm_Left or gm_Right or gm_Up or gm_Down or gm_Attack or gm_Precise; |
|
4 | 212 |
|
1033 | 213 |
cMaxSlotIndex = 8; |
214 |
cMaxSlotAmmoIndex = 3; |
|
4 | 215 |
|
1033 | 216 |
ammoprop_Timerable = $00000001; |
217 |
ammoprop_Power = $00000002; |
|
218 |
ammoprop_NeedTarget = $00000004; |
|
219 |
ammoprop_ForwMsgs = $00000008; |
|
220 |
ammoprop_AttackInMove = $00000010; |
|
221 |
ammoprop_NoCrosshair = $00000040; |
|
222 |
ammoprop_AttackingPut = $00000080; |
|
223 |
ammoprop_DontHold = $00000100; |
|
224 |
ammoprop_AltAttack = $00000200; |
|
225 |
ammoprop_AltUse = $00000400; |
|
930 | 226 |
|
1033 | 227 |
AMMO_INFINITE = 9; |
4 | 228 |
|
1033 | 229 |
EXPLAllDamageInRadius = $00000001; |
230 |
EXPLAutoSound = $00000002; |
|
231 |
EXPLNoDamage = $00000004; |
|
232 |
EXPLDoNotTouchHH = $00000008; |
|
233 |
EXPLDontDraw = $00000010; |
|
42 | 234 |
|
1033 | 235 |
posCaseAmmo = $00000001; |
236 |
posCaseHealth = $00000002; |
|
4 | 237 |
|
1033 | 238 |
NoPointX = Low(LongInt); |
4 | 239 |
|
1033 | 240 |
cHHFileName = 'Hedgehog'; |
241 |
cCHFileName = 'Crosshair'; |
|
242 |
cThemeCFGFilename = 'theme.cfg'; |
|
4 | 243 |
|
1033 | 244 |
Fontz: array[THWFont] of THHFont = ( |
245 |
(Handle: nil; |
|
246 |
Height: 12; |
|
1118 | 247 |
style: TTF_STYLE_NORMAL; |
248 |
Name: 'DejaVuSans-Bold.ttf'), |
|
1033 | 249 |
(Handle: nil; |
250 |
Height: 24; |
|
1118 | 251 |
style: TTF_STYLE_NORMAL; |
252 |
Name: 'DejaVuSans-Bold.ttf'), |
|
1033 | 253 |
(Handle: nil; |
254 |
Height: 10; |
|
1118 | 255 |
style: TTF_STYLE_NORMAL; |
256 |
Name: 'DejaVuSans-Bold.ttf') |
|
1033 | 257 |
); |
4 | 258 |
|
1033 | 259 |
FontBorder = 2; |
202 | 260 |
|
1033 | 261 |
PathPrefix: string = './'; |
262 |
Pathz: array[TPathType] of String = ( |
|
263 |
'', // ptNone |
|
264 |
'', // ptData |
|
265 |
'Graphics', // ptGraphics |
|
266 |
'Themes', // ptThemes |
|
267 |
'Themes/avematan', // ptCurrTheme |
|
268 |
'Teams', // ptTeams |
|
269 |
'Maps', // ptMaps |
|
270 |
'', // ptMapCurrent |
|
271 |
'Demos', // ptDemos |
|
272 |
'Sounds', // ptSounds |
|
273 |
'Graphics/Graves', // ptGraves |
|
274 |
'Fonts', // ptFonts |
|
275 |
'Forts', // ptForts |
|
276 |
'Locale', // ptLocale |
|
277 |
'Graphics/AmmoMenu', // ptAmmoMenu |
|
278 |
'Graphics/Hedgehog', // ptHedgehog |
|
1566
6b63c75fdc68
Start work on lobby: add/remove nick from the list on join/quit
unc0rr
parents:
1528
diff
changeset
|
279 |
'Sounds/voices/Default', // ptVoices |
1033 | 280 |
'Graphics/Hats' // ptHats |
281 |
); |
|
4 | 282 |
|
1259 | 283 |
SpritesData: array[TSprite] of record |
284 |
FileName: String[14]; |
|
285 |
Path, AltPath: TPathType; |
|
286 |
Texture: PTexture; |
|
287 |
Surface: PSDL_Surface; |
|
288 |
Width, Height: LongInt; |
|
289 |
saveSurf: boolean; |
|
290 |
end = ( |
|
291 |
(FileName: 'BlueWater'; Path: ptCurrTheme;AltPath: ptGraphics; Texture: nil; Surface: nil; |
|
1439 | 292 |
Width: 125; Height: 32; saveSurf: false),// sprWater |
1259 | 293 |
(FileName: 'Clouds'; Path: ptCurrTheme;AltPath: ptGraphics; Texture: nil; Surface: nil; |
294 |
Width: 256; Height:128; saveSurf: false),// sprCloud |
|
295 |
(FileName: 'Bomb'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
296 |
Width: 8; Height: 8; saveSurf: false),// sprBomb |
|
297 |
(FileName: 'BigDigits'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
298 |
Width: 32; Height: 32; saveSurf: false),// sprBigDigit |
|
299 |
(FileName: 'Frame'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
300 |
Width: 4; Height: 32; saveSurf: false),// sprFrame |
|
301 |
(FileName: 'Lag'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
302 |
Width: 65; Height: 65; saveSurf: false),// sprLag |
|
303 |
(FileName: 'Arrow'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
304 |
Width: 16; Height: 16; saveSurf: false),// sprCursor |
|
305 |
(FileName: 'Grenade'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
306 |
Width: 16; Height: 16; saveSurf: false),// sprGrenade |
|
307 |
(FileName: 'Targetp'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
308 |
Width: 32; Height: 32; saveSurf: false),// sprTargetP |
|
309 |
(FileName: 'UFO'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
310 |
Width: 32; Height: 32; saveSurf: false),// sprUFO |
|
311 |
(FileName: 'SmokeTrace'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
312 |
Width: 32; Height: 32; saveSurf: false),// sprSmokeTrace |
|
313 |
(FileName: 'RopeHook'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
314 |
Width: 16; Height: 16; saveSurf: false),// sprRopeHook |
|
315 |
(FileName: 'Expl50'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
316 |
Width: 64; Height: 64; saveSurf: false),// sprExplosion50 |
|
317 |
(FileName: 'MineOff'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
318 |
Width: 8; Height: 8; saveSurf: false),// sprMineOff |
|
319 |
(FileName: 'MineOn'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
320 |
Width: 8; Height: 8; saveSurf: false),// sprMineOn |
|
321 |
(FileName: 'Case'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
322 |
Width: 32; Height: 32; saveSurf: false),// sprCase |
|
323 |
(FileName: 'FirstAid'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
324 |
Width: 48; Height: 48; saveSurf: false),// sprFAid |
|
325 |
(FileName: 'dynamite'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
326 |
Width: 32; Height: 32; saveSurf: false),// sprDynamite |
|
327 |
(FileName: 'Power'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
328 |
Width: 32; Height: 32; saveSurf: false),// sprPower |
|
329 |
(FileName: 'ClBomb'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
330 |
Width: 16; Height: 16; saveSurf: false),// sprClusterBomb |
|
331 |
(FileName: 'ClParticle'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
332 |
Width: 16; Height: 16; saveSurf: false),// sprClusterParticle |
|
333 |
(FileName: 'Flame'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
334 |
Width: 16; Height: 16; saveSurf: false),// sprFlame |
|
335 |
(FileName: 'horizont'; Path: ptCurrTheme;AltPath: ptNone; Texture: nil; Surface: nil; |
|
336 |
Width: 0; Height: 0; saveSurf: false),// sprHorizont |
|
337 |
(FileName: 'Sky'; Path: ptCurrTheme;AltPath: ptNone; Texture: nil; Surface: nil; |
|
338 |
Width: 0; Height: 0; saveSurf: false),// sprSky |
|
339 |
(FileName: 'BrdrLines'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
|
340 |
Width: 202; Height: 1; saveSurf: false),// sprAMBorders |
|
341 |
(FileName: 'Slot'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
|
342 |
Width: 202; Height: 33; saveSurf: false),// sprAMSlot |
|
343 |
(FileName: 'AmmoName'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
|
344 |
Width: 202; Height: 33; saveSurf: false),// sprAMSlotName |
|
345 |
(FileName: 'Ammos'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
|
346 |
Width: 32; Height: 32; saveSurf: false),// sprAMAmmos |
|
347 |
(FileName: 'SlotKeys'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
|
348 |
Width: 32; Height: 32; saveSurf: false),// sprAMSlotKeys |
|
349 |
(FileName: 'Selection'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
|
350 |
Width: 32; Height: 32; saveSurf: false),// sprAMSelection |
|
351 |
(FileName: 'Finger'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
352 |
Width: 32; Height: 48; saveSurf: false),// sprFinger |
|
353 |
(FileName: 'AirBomb'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
354 |
Width: 16; Height: 16; saveSurf: false),// sprAirBomb |
|
355 |
(FileName: 'Airplane'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
356 |
Width: 125; Height: 42; saveSurf: false),// sprAirplane |
|
357 |
(FileName: 'amAirplane'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
358 |
Width: 64; Height: 32; saveSurf: false),// sprAmAirplane |
|
359 |
(FileName: 'amGirder'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
360 |
Width: 160; Height:160; saveSurf: true),// sprAmGirder |
|
361 |
(FileName: 'hhMask'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
362 |
Width: 32; Height: 32; saveSurf: true),// sprHHTelepMask |
|
363 |
(FileName: 'Switch'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
364 |
Width: 32; Height: 32; saveSurf: false),// sprSwitch |
|
365 |
(FileName: 'Parachute'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
366 |
Width: 48; Height: 48; saveSurf: false),// sprParachute |
|
367 |
(FileName: 'Target'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
368 |
Width: 32; Height: 32; saveSurf: false),// sprTarget |
|
369 |
(FileName: 'RopeNode'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
370 |
Width: 6; Height: 6; saveSurf: false),// sprRopeNode |
|
371 |
(FileName: 'thinking'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
372 |
Width: 32; Height: 32; saveSurf: false),// sprQuestion |
|
373 |
(FileName: 'PowerBar'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
374 |
Width: 256; Height: 32; saveSurf: false),// sprPowerBar |
|
375 |
(FileName: 'WindBar'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
376 |
Width: 151; Height: 17; saveSurf: false),// sprWindBar |
|
377 |
(FileName: 'WindL'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
378 |
Width: 80; Height: 13; saveSurf: false),// sprWindL |
|
379 |
(FileName: 'WindR'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
380 |
Width: 80; Height: 13; saveSurf: false),// sprWindR |
|
381 |
(FileName: 'Flake'; Path:ptCurrTheme; AltPath: ptNone; Texture: nil; Surface: nil; |
|
382 |
Width: 64; Height: 64; saveSurf: false),// sprFlake |
|
383 |
(FileName: 'amRope'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
384 |
Width: 32; Height: 32; saveSurf: false),// sprHandRope |
|
385 |
(FileName: 'amBazooka'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
386 |
Width: 32; Height: 32; saveSurf: false),// sprHandBazooka |
|
387 |
(FileName: 'amShotgun'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
388 |
Width: 64; Height: 64; saveSurf: false),// sprHandShotgun |
|
389 |
(FileName: 'amDEagle'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
390 |
Width: 64; Height: 64; saveSurf: false),// sprHandDEagle |
|
391 |
(FileName:'amAirAttack'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
392 |
Width: 32; Height: 32; saveSurf: false),// sprHandAirAttack |
|
393 |
(FileName: 'amBaseball'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
394 |
Width: 32; Height: 32; saveSurf: false),// sprHandBaseball |
|
395 |
(FileName: 'Hammer'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
396 |
Width: 32; Height: 64; saveSurf: false),// sprPHammer |
|
397 |
(FileName: 'amBTorch_i'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
398 |
Width: 32; Height: 32; saveSurf: false),// sprHandBlowToch |
|
399 |
(FileName: 'amBTorch_w'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
400 |
Width: 32; Height: 32; saveSurf: false),// sprBlowToch |
|
401 |
(FileName: 'Teleport'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
402 |
Width: 64; Height: 32; saveSurf: false),// sprTeleport |
|
403 |
(FileName: 'HHDeath'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
404 |
Width: 32; Height: 64; saveSurf: false),// sprHHDeath |
|
405 |
(FileName:'amShotgun_w'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
406 |
Width: 64; Height: 64; saveSurf: false),// sprShotgun |
|
407 |
(FileName: 'amDEagle_w'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
408 |
Width: 64; Height: 64; saveSurf: false),// sprDEagle |
|
409 |
(FileName: 'Idle'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
410 |
Width: 32; Height: 32; saveSurf: false),// sprHHIdle |
|
411 |
(FileName: 'Mortar'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
412 |
Width: 16; Height: 16; saveSurf: false),// sprMortar |
|
413 |
(FileName: 'TurnsLeft'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
|
414 |
Width: 16; Height: 16; saveSurf: false),// sprTurnsLeft |
|
415 |
(FileName: 'amKamikaze'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
416 |
Width: 256; Height: 32; saveSurf: false),// sprKamikaze |
|
417 |
(FileName: 'amWhip'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
418 |
Width: 128; Height: 32; saveSurf: false),// sprWhip |
|
419 |
(FileName: 'Kowtow'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
420 |
Width: 32; Height: 32; saveSurf: false),// sprKowtow |
|
421 |
(FileName: 'Sad'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
422 |
Width: 32; Height: 32; saveSurf: false),// sprSad |
|
423 |
(FileName: 'Wave'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
424 |
Width: 64; Height: 32; saveSurf: false),// sprWave |
|
425 |
(FileName: 'Hurrah'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
426 |
Width: 32; Height: 32; saveSurf: false),// sprHurrah |
|
427 |
(FileName:'ILoveLemonade';Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
428 |
Width: 128; Height: 32; saveSurf: false),// sprLemonade |
|
429 |
(FileName: 'ExplPart'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
430 |
Width: 32; Height: 32; saveSurf: false),// sprExplPart |
|
431 |
(FileName: 'ExplPart2'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
432 |
Width: 32; Height: 32; saveSurf: false),// sprExplPart2 |
|
433 |
(FileName: 'Cake_walk'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
434 |
Width: 64; Height: 64; saveSurf: false),// sprCakeWalk |
|
435 |
(FileName: 'Cake_down'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
436 |
Width: 64; Height: 64; saveSurf: false),// sprCakeDown |
|
437 |
(FileName: 'Ammos_bw'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
|
1262 | 438 |
Width: 32; Height: 32; saveSurf: false),// sprAMAmmosBW |
439 |
(FileName: 'Watermelon'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
1263 | 440 |
Width: 32; Height: 32; saveSurf: false),// sprWatermelon |
441 |
(FileName: 'EvilTrace'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
442 |
Width: 32; Height: 32; saveSurf: false),// sprEvilTrace |
|
443 |
(FileName:'HellishBomb'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
1284 | 444 |
Width: 16; Height: 16; saveSurf: false),// sprHellishBomb |
445 |
(FileName: 'Seduction'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
1286 | 446 |
Width: 32; Height: 32; saveSurf: false),// sprSeduction |
447 |
(FileName: 'HHDress'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
448 |
Width: 64; Height: 64; saveSurf: false),// sprDress |
|
449 |
(FileName: 'Censored'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
1573 | 450 |
Width: 64; Height: 16; saveSurf: false),// sprCensored |
1580 | 451 |
(FileName: 'Drill'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
1573 | 452 |
Width: 16; Height: 16; saveSurf: false),// sprDrill |
453 |
(FileName: 'amDrill'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
1601 | 454 |
Width: 32; Height: 32; saveSurf: false),// sprHandDrill |
455 |
(FileName: 'amBallgun'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
456 |
Width: 64; Height: 64; saveSurf: false),// sprHandBallgun |
|
457 |
(FileName: 'Balls'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
458 |
Width: 32; Height: 20; saveSurf: false)// sprBalls |
|
1259 | 459 |
); |
688 | 460 |
|
1034 | 461 |
Wavez: array [TWave] of record |
462 |
Sprite: TSprite; |
|
463 |
FramesCount: Longword; |
|
1037 | 464 |
cmd: String[20]; |
1034 | 465 |
end = ( |
1037 | 466 |
(Sprite: sprKowtow; FramesCount: 12; cmd: '/rollup'), |
467 |
(Sprite: sprSad; FramesCount: 14; cmd: '/sad'), |
|
468 |
(Sprite: sprWave; FramesCount: 16; cmd: '/wave'), |
|
469 |
(Sprite: sprHurrah; FramesCount: 14; cmd: '/hurrah'), |
|
470 |
(Sprite: sprLemonade; FramesCount: 24; cmd: '/ilovelotsoflemonade') |
|
1034 | 471 |
); |
472 |
||
1259 | 473 |
Soundz: array[TSound] of record |
474 |
FileName: String[19]; |
|
475 |
Path : TPathType; |
|
476 |
id : PMixChunk; |
|
477 |
lastChan: LongInt; |
|
478 |
end = ( |
|
479 |
(FileName: 'grenadeimpact.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndGrenadeImpact |
|
480 |
(FileName: 'explosion.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndExplosion |
|
481 |
(FileName: 'throwpowerup.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndThrowPowerUp |
|
482 |
(FileName: 'throwrelease.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndThrowRelease |
|
483 |
(FileName: 'splash.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndSplash |
|
484 |
(FileName: 'shotgunreload.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndShotgunReload |
|
485 |
(FileName: 'shotgunfire.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndShotgunFire |
|
486 |
(FileName: 'graveimpact.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndGraveImpact |
|
487 |
(FileName: 'minetick.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndMineTicks |
|
488 |
(FileName: 'pickhammer.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndPickhammer |
|
489 |
(FileName: 'gun.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndGun |
|
490 |
(FileName: 'ufo.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndUFO |
|
491 |
(FileName: 'Jump1.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndJump1 |
|
492 |
(FileName: 'Jump2.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndJump2 |
|
493 |
(FileName: 'Jump3.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndJump3 |
|
494 |
(FileName: 'Yessir.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndYesSir |
|
495 |
(FileName: 'Laugh.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndLaugh |
|
496 |
(FileName: 'Illgetyou.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndIllGetYou |
|
497 |
(FileName: 'Incoming.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndIncoming |
|
498 |
(FileName: 'Missed.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndMissed |
|
499 |
(FileName: 'Stupid.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndStupid |
|
500 |
(FileName: 'Firstblood.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndFirstBlood |
|
501 |
(FileName: 'Boring.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndBoring |
|
502 |
(FileName: 'Byebye.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndByeBye |
|
503 |
(FileName: 'Sameteam.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndSameTeam |
|
504 |
(FileName: 'Nutter.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndNutter |
|
505 |
(FileName:'Reinforcements.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndReinforce |
|
506 |
(FileName: 'Traitor.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndTraitor |
|
507 |
(FileName:'Youllregretthat.ogg';Path: ptVoices; id: nil; lastChan: 0),// sndRegret |
|
508 |
(FileName: 'Enemydown.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndEnemyDown |
|
509 |
(FileName: 'Coward.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndCoward |
|
510 |
(FileName: 'Hurry.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndHurry |
|
511 |
(FileName: 'Watchit.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndWatchIt |
|
512 |
(FileName: 'Kamikaze.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndKamikaze |
|
513 |
(FileName: 'cake2.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndCake |
|
514 |
(FileName: 'Ow1.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndOw1 |
|
1279 | 515 |
(FileName: 'Ow4.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndOw4 |
516 |
(FileName: 'Firepunch1.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndFirepunch1 |
|
517 |
(FileName: 'Firepunch2.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndFirepunch2 |
|
518 |
(FileName: 'Firepunch3.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndFirepunch3 |
|
519 |
(FileName: 'Firepunch4.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndFirepunch4 |
|
520 |
(FileName: 'Firepunch5.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndFirepunch5 |
|
521 |
(FileName: 'Firepunch6.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndFirepunch6 |
|
522 |
(FileName: 'Melon.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndMelon |
|
1367 | 523 |
(FileName: 'Hellish.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndHellish |
524 |
(FileName: 'Yoohoo.ogg'; Path: ptSounds; id: nil; lastChan: 0) // sndYoohoo |
|
1259 | 525 |
); |
4 | 526 |
|
1259 | 527 |
Ammoz: array [TAmmoType] of record |
528 |
NameId: TAmmoStrId; |
|
529 |
NameTex: PTexture; |
|
530 |
Probability, NumberInCase: Longword; |
|
531 |
Ammo: TAmmo; |
|
532 |
Slot: 0..cMaxSlotIndex; |
|
533 |
TimeAfterTurn: Longword; |
|
534 |
minAngle, maxAngle: Longword; |
|
535 |
isDamaging: boolean; |
|
536 |
SkipTurns: Longword; |
|
537 |
PosCount: Longword; |
|
538 |
PosSprite: TSprite; |
|
539 |
end = ( |
|
540 |
(NameId: sidGrenade; |
|
541 |
NameTex: nil; |
|
542 |
Probability: 0; |
|
543 |
NumberInCase: 1; |
|
544 |
Ammo: (Propz: ammoprop_Timerable or |
|
545 |
ammoprop_Power or |
|
546 |
ammoprop_AltUse; |
|
547 |
Count: AMMO_INFINITE; |
|
548 |
NumPerTurn: 0; |
|
549 |
Timer: 3000; |
|
550 |
Pos: 0; |
|
551 |
AmmoType: amGrenade); |
|
552 |
Slot: 1; |
|
553 |
TimeAfterTurn: 3000; |
|
554 |
minAngle: 0; |
|
555 |
maxAngle: 0; |
|
556 |
isDamaging: true; |
|
557 |
SkipTurns: 0; |
|
558 |
PosCount: 1; |
|
559 |
PosSprite: sprWater), |
|
560 |
(NameId: sidClusterBomb; |
|
561 |
NameTex: nil; |
|
562 |
Probability: 100; |
|
563 |
NumberInCase: 3; |
|
564 |
Ammo: (Propz: ammoprop_Timerable or |
|
565 |
ammoprop_Power or |
|
566 |
ammoprop_AltUse; |
|
567 |
Count: 5; |
|
568 |
NumPerTurn: 0; |
|
569 |
Timer: 3000; |
|
570 |
Pos: 0; |
|
571 |
AmmoType: amClusterBomb); |
|
572 |
Slot: 1; |
|
573 |
TimeAfterTurn: 3000; |
|
574 |
minAngle: 0; |
|
575 |
maxAngle: 0; |
|
576 |
isDamaging: true; |
|
577 |
SkipTurns: 0; |
|
578 |
PosCount: 1; |
|
579 |
PosSprite: sprWater), |
|
580 |
(NameId: sidBazooka; |
|
581 |
NameTex: nil; |
|
582 |
Probability: 0; |
|
583 |
NumberInCase: 1; |
|
584 |
Ammo: (Propz: ammoprop_Power or |
|
585 |
ammoprop_AltUse; |
|
586 |
Count: AMMO_INFINITE; |
|
587 |
NumPerTurn: 0; |
|
588 |
Timer: 0; |
|
589 |
Pos: 0; |
|
590 |
AmmoType: amBazooka); |
|
591 |
Slot: 0; |
|
592 |
TimeAfterTurn: 3000; |
|
593 |
minAngle: 0; |
|
594 |
maxAngle: 0; |
|
595 |
isDamaging: true; |
|
596 |
SkipTurns: 0; |
|
597 |
PosCount: 1; |
|
598 |
PosSprite: sprWater), |
|
599 |
(NameId: sidUFO; |
|
600 |
NameTex: nil; |
|
601 |
Probability: 100; |
|
602 |
NumberInCase: 1; |
|
603 |
Ammo: (Propz: ammoprop_Power or |
|
604 |
ammoprop_NeedTarget or |
|
605 |
ammoprop_DontHold; |
|
606 |
Count: 2; |
|
607 |
NumPerTurn: 0; |
|
608 |
Timer: 0; |
|
609 |
Pos: 0; |
|
610 |
AmmoType: amUFO); |
|
611 |
Slot: 0; |
|
612 |
TimeAfterTurn: 3000; |
|
613 |
minAngle: 0; |
|
614 |
maxAngle: 0; |
|
615 |
isDamaging: true; |
|
616 |
SkipTurns: 0; |
|
617 |
PosCount: 1; |
|
618 |
PosSprite: sprWater), |
|
619 |
(NameId: sidShotgun; |
|
620 |
NameTex: nil; |
|
621 |
Probability: 0; |
|
622 |
NumberInCase: 1; |
|
623 |
Ammo: (Propz: ammoprop_ForwMsgs; |
|
624 |
Count: AMMO_INFINITE; |
|
625 |
NumPerTurn: 1; |
|
626 |
Timer: 0; |
|
627 |
Pos: 0; |
|
628 |
AmmoType: amShotgun); |
|
629 |
Slot: 2; |
|
630 |
TimeAfterTurn: 3000; |
|
631 |
minAngle: 0; |
|
632 |
maxAngle: 0; |
|
633 |
isDamaging: true; |
|
634 |
SkipTurns: 0; |
|
635 |
PosCount: 1; |
|
636 |
PosSprite: sprWater), |
|
637 |
(NameId: sidPickHammer; |
|
638 |
NameTex: nil; |
|
639 |
Probability: 0; |
|
640 |
NumberInCase: 1; |
|
641 |
Ammo: (Propz: ammoprop_ForwMsgs or |
|
642 |
ammoprop_AttackInMove or |
|
643 |
ammoprop_NoCrosshair or |
|
644 |
ammoprop_DontHold; |
|
645 |
Count: 2; |
|
646 |
NumPerTurn: 0; |
|
647 |
Timer: 0; |
|
648 |
Pos: 0; |
|
649 |
AmmoType: amPickHammer); |
|
650 |
Slot: 6; |
|
651 |
TimeAfterTurn: 0; |
|
652 |
minAngle: 0; |
|
653 |
maxAngle: 0; |
|
654 |
isDamaging: false; |
|
655 |
SkipTurns: 0; |
|
656 |
PosCount: 1; |
|
657 |
PosSprite: sprWater), |
|
658 |
(NameId: sidSkip; |
|
659 |
NameTex: nil; |
|
660 |
Probability: 0; |
|
661 |
NumberInCase: 1; |
|
662 |
Ammo: (Propz: ammoprop_DontHold; |
|
663 |
Count: AMMO_INFINITE; |
|
664 |
NumPerTurn: 0; |
|
665 |
Timer: 0; |
|
666 |
Pos: 0; |
|
667 |
AmmoType: amSkip); |
|
668 |
Slot: 8; |
|
669 |
TimeAfterTurn: 0; |
|
670 |
minAngle: 0; |
|
671 |
maxAngle: 0; |
|
672 |
isDamaging: false; |
|
673 |
SkipTurns: 0; |
|
674 |
PosCount: 1; |
|
675 |
PosSprite: sprWater), |
|
676 |
(NameId: sidRope; |
|
677 |
NameTex: nil; |
|
678 |
Probability: 100; |
|
679 |
NumberInCase: 3; |
|
680 |
Ammo: (Propz: ammoprop_ForwMsgs or |
|
681 |
ammoprop_AttackInMove or |
|
682 |
ammoprop_DontHold or |
|
683 |
ammoprop_AltAttack; |
|
684 |
Count: 5; |
|
685 |
NumPerTurn: 0; |
|
686 |
Timer: 0; |
|
687 |
Pos: 0; |
|
688 |
AmmoType: amRope); |
|
689 |
Slot: 7; |
|
690 |
TimeAfterTurn: 0; |
|
691 |
minAngle: 0; |
|
692 |
maxAngle: cMaxAngle div 2; |
|
693 |
isDamaging: false; |
|
694 |
SkipTurns: 0; |
|
695 |
PosCount: 1; |
|
696 |
PosSprite: sprWater), |
|
697 |
(NameId: sidMine; |
|
698 |
NameTex: nil; |
|
699 |
Probability: 100; |
|
700 |
NumberInCase: 1; |
|
701 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
702 |
ammoprop_AttackInMove or |
|
703 |
ammoprop_DontHold or |
|
704 |
ammoprop_AltUse; |
|
705 |
Count: 2; |
|
706 |
NumPerTurn: 0; |
|
707 |
Timer: 0; |
|
708 |
Pos: 0; |
|
709 |
AmmoType: amMine); |
|
710 |
Slot: 4; |
|
711 |
TimeAfterTurn: 5000; |
|
712 |
minAngle: 0; |
|
713 |
maxAngle: 0; |
|
714 |
isDamaging: true; |
|
715 |
SkipTurns: 0; |
|
716 |
PosCount: 1; |
|
717 |
PosSprite: sprWater), |
|
718 |
(NameId: sidDEagle; |
|
719 |
NameTex: nil; |
|
1430 | 720 |
Probability: 20; |
1259 | 721 |
NumberInCase: 2; |
722 |
Ammo: (Propz: 0; |
|
723 |
Count: 3; |
|
724 |
NumPerTurn: 3; |
|
725 |
Timer: 0; |
|
726 |
Pos: 0; |
|
727 |
AmmoType: amDEagle); |
|
728 |
Slot: 2; |
|
729 |
TimeAfterTurn: 3000; |
|
730 |
minAngle: 0; |
|
731 |
maxAngle: 0; |
|
732 |
isDamaging: true; |
|
733 |
SkipTurns: 0; |
|
734 |
PosCount: 1; |
|
735 |
PosSprite: sprWater), |
|
736 |
(NameId: sidDynamite; |
|
737 |
NameTex: nil; |
|
738 |
Probability: 100; |
|
739 |
NumberInCase: 1; |
|
740 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
741 |
ammoprop_AttackInMove or |
|
742 |
ammoprop_DontHold or |
|
743 |
ammoprop_AltUse; |
|
744 |
Count: 1; |
|
745 |
NumPerTurn: 0; |
|
746 |
Timer: 0; |
|
747 |
Pos: 0; |
|
748 |
AmmoType: amDynamite); |
|
749 |
Slot: 4; |
|
750 |
TimeAfterTurn: 5000; |
|
751 |
minAngle: 0; |
|
752 |
maxAngle: 0; |
|
753 |
isDamaging: true; |
|
754 |
SkipTurns: 0; |
|
755 |
PosCount: 1; |
|
756 |
PosSprite: sprWater), |
|
757 |
(NameId: sidFirePunch; |
|
758 |
NameTex: nil; |
|
759 |
Probability: 0; |
|
760 |
NumberInCase: 1; |
|
761 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
762 |
ammoprop_ForwMsgs or |
|
763 |
ammoprop_AttackInMove; |
|
764 |
Count: AMMO_INFINITE; |
|
765 |
NumPerTurn: 0; |
|
766 |
Timer: 0; |
|
767 |
Pos: 0; |
|
768 |
AmmoType: amFirePunch); |
|
769 |
Slot: 3; |
|
770 |
TimeAfterTurn: 3000; |
|
771 |
MinAngle: 0; |
|
772 |
maxAngle: 0; |
|
773 |
isDamaging: true; |
|
774 |
SkipTurns: 0; |
|
775 |
PosCount: 1; |
|
776 |
PosSprite: sprWater), |
|
777 |
(NameId: sidWhip; |
|
778 |
NameTex: nil; |
|
779 |
Probability: 0; |
|
780 |
NumberInCase: 1; |
|
781 |
Ammo: (Propz: ammoprop_NoCrosshair; |
|
782 |
Count: AMMO_INFINITE; |
|
783 |
NumPerTurn: 0; |
|
784 |
Timer: 0; |
|
785 |
Pos: 0; |
|
786 |
AmmoType: amWhip); |
|
787 |
Slot: 3; |
|
788 |
TimeAfterTurn: 3000; |
|
789 |
MinAngle: 0; |
|
790 |
maxAngle: 0; |
|
791 |
isDamaging: true; |
|
792 |
SkipTurns: 0; |
|
793 |
PosCount: 1; |
|
794 |
PosSprite: sprWater), |
|
795 |
(NameId: sidBaseballBat; |
|
796 |
NameTex: nil; |
|
797 |
Probability: 100; |
|
798 |
NumberInCase: 1; |
|
799 |
Ammo: (Propz: ammoprop_DontHold; |
|
800 |
Count: 1; |
|
801 |
NumPerTurn: 0; |
|
802 |
Timer: 0; |
|
803 |
Pos: 0; |
|
804 |
AmmoType: amBaseballBat); |
|
805 |
Slot: 3; |
|
806 |
TimeAfterTurn: 5000; |
|
807 |
minAngle: 0; |
|
808 |
maxAngle: cMaxAngle div 2; |
|
809 |
isDamaging: true; |
|
810 |
SkipTurns: 2; |
|
811 |
PosCount: 1; |
|
812 |
PosSprite: sprWater), |
|
813 |
(NameId: sidParachute; |
|
814 |
NameTex: nil; |
|
815 |
Probability: 100; |
|
816 |
NumberInCase: 1; |
|
817 |
Ammo: (Propz: ammoprop_ForwMsgs or |
|
818 |
ammoprop_AttackInMove or |
|
819 |
ammoprop_NoCrosshair or |
|
820 |
ammoprop_DontHold or |
|
821 |
ammoprop_AltAttack; |
|
822 |
Count: 2; |
|
823 |
NumPerTurn: 0; |
|
824 |
Timer: 0; |
|
825 |
Pos: 0; |
|
826 |
AmmoType: amParachute); |
|
827 |
Slot: 7; |
|
828 |
TimeAfterTurn: 0; |
|
829 |
minAngle: 0; |
|
830 |
maxAngle: 0; |
|
831 |
isDamaging: false; |
|
832 |
SkipTurns: 0; |
|
833 |
PosCount: 1; |
|
834 |
PosSprite: sprWater), |
|
835 |
(NameId: sidAirAttack; |
|
836 |
NameTex: nil; |
|
837 |
Probability: 100; |
|
838 |
NumberInCase: 1; |
|
839 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
840 |
ammoprop_NeedTarget or |
|
841 |
ammoprop_AttackingPut or |
|
842 |
ammoprop_DontHold; |
|
843 |
Count: 1; |
|
844 |
NumPerTurn: 0; |
|
845 |
Timer: 0; |
|
846 |
Pos: 0; |
|
847 |
AmmoType: amAirAttack); |
|
848 |
Slot: 5; |
|
849 |
TimeAfterTurn: 0; |
|
850 |
minAngle: 0; |
|
851 |
maxAngle: 0; |
|
852 |
isDamaging: true; |
|
853 |
SkipTurns: 5; |
|
854 |
PosCount: 2; |
|
855 |
PosSprite: sprAmAirplane), |
|
856 |
(NameId: sidMineStrike; |
|
857 |
NameTex: nil; |
|
1430 | 858 |
Probability: 200; |
1259 | 859 |
NumberInCase: 1; |
860 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
861 |
ammoprop_NeedTarget or |
|
862 |
ammoprop_AttackingPut or |
|
863 |
ammoprop_DontHold; |
|
864 |
Count: 1; |
|
865 |
NumPerTurn: 0; |
|
866 |
Timer: 0; |
|
867 |
Pos: 0; |
|
868 |
AmmoType: amMineStrike); |
|
869 |
Slot: 5; |
|
870 |
TimeAfterTurn: 0; |
|
871 |
minAngle: 0; |
|
872 |
maxAngle: 0; |
|
873 |
isDamaging: true; |
|
874 |
SkipTurns: 5; |
|
875 |
PosCount: 2; |
|
876 |
PosSprite: sprAmAirplane), |
|
877 |
(NameId: sidBlowTorch; |
|
878 |
NameTex: nil; |
|
879 |
Probability: 100; |
|
880 |
NumberInCase: 2; |
|
881 |
Ammo: (Propz: ammoprop_ForwMsgs; |
|
882 |
Count: 1; |
|
883 |
NumPerTurn: 0; |
|
884 |
Timer: 0; |
|
885 |
Pos: 0; |
|
886 |
AmmoType: amBlowTorch); |
|
887 |
Slot: 6; |
|
888 |
TimeAfterTurn: 3000; |
|
889 |
minAngle: 768; |
|
890 |
maxAngle: 1280; |
|
891 |
isDamaging: false; |
|
892 |
SkipTurns: 0; |
|
893 |
PosCount: 1; |
|
894 |
PosSprite: sprWater), |
|
895 |
(NameId: sidGirder; |
|
896 |
NameTex: nil; |
|
1430 | 897 |
Probability: 150; |
1259 | 898 |
NumberInCase: 3; |
899 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
900 |
ammoprop_NeedTarget or |
|
901 |
ammoprop_AttackingPut or |
|
902 |
ammoprop_DontHold; |
|
903 |
Count: 1; |
|
904 |
NumPerTurn: 0; |
|
905 |
Timer: 0; |
|
906 |
Pos: 0; |
|
907 |
AmmoType: amGirder); |
|
908 |
Slot: 6; |
|
909 |
TimeAfterTurn: 3000; |
|
910 |
minAngle: 0; |
|
911 |
maxAngle: 0; |
|
912 |
isDamaging: false; |
|
913 |
SkipTurns: 0; |
|
914 |
PosCount: 8; |
|
915 |
PosSprite: sprAmGirder), |
|
916 |
(NameId: sidTeleport; |
|
917 |
NameTex: nil; |
|
1430 | 918 |
Probability: 200; |
1259 | 919 |
NumberInCase: 1; |
920 |
Ammo: (Propz: ammoprop_ForwMsgs or |
|
921 |
ammoprop_NoCrosshair or |
|
922 |
ammoprop_NeedTarget or |
|
923 |
ammoprop_AttackingPut or |
|
924 |
ammoprop_DontHold; |
|
925 |
Count: 2; |
|
926 |
NumPerTurn: 0; |
|
927 |
Timer: 0; |
|
928 |
Pos: 0; |
|
929 |
AmmoType: amTeleport); |
|
930 |
Slot: 7; |
|
931 |
TimeAfterTurn: 0; |
|
932 |
minAngle: 0; |
|
933 |
maxAngle: 0; |
|
934 |
isDamaging: false; |
|
935 |
SkipTurns: 0; |
|
936 |
PosCount: 1; |
|
937 |
PosSprite: sprWater), |
|
938 |
(NameId: sidSwitch; |
|
939 |
NameTex: nil; |
|
940 |
Probability: 100; |
|
941 |
NumberInCase: 1; |
|
942 |
Ammo: (Propz: ammoprop_ForwMsgs or |
|
943 |
ammoprop_NoCrosshair or |
|
944 |
ammoprop_DontHold; |
|
945 |
Count: 3; |
|
946 |
NumPerTurn: 0; |
|
947 |
Timer: 0; |
|
948 |
Pos: 0; |
|
949 |
AmmoType: amSwitch); |
|
950 |
Slot: 8; |
|
951 |
TimeAfterTurn: 0; |
|
952 |
minAngle: 0; |
|
953 |
maxAngle: 0; |
|
954 |
isDamaging: false; |
|
955 |
SkipTurns: 0; |
|
956 |
PosCount: 1; |
|
957 |
PosSprite: sprWater), |
|
958 |
(NameId: sidMortar; |
|
959 |
NameTex: nil; |
|
960 |
Probability: 100; |
|
1430 | 961 |
NumberInCase: 4; |
1259 | 962 |
Ammo: (Propz: 0; |
963 |
Count: 4; |
|
964 |
NumPerTurn: 0; |
|
965 |
Timer: 0; |
|
966 |
Pos: 0; |
|
967 |
AmmoType: amMortar); |
|
968 |
Slot: 1; |
|
969 |
TimeAfterTurn: 3000; |
|
970 |
minAngle: 0; |
|
971 |
maxAngle: 0; |
|
972 |
isDamaging: true; |
|
973 |
SkipTurns: 0; |
|
974 |
PosCount: 1; |
|
975 |
PosSprite: sprWater), |
|
976 |
(NameId: sidKamikaze; |
|
977 |
NameTex: nil; |
|
978 |
Probability: 100; |
|
979 |
NumberInCase: 1; |
|
980 |
Ammo: (Propz: ammoprop_ForwMsgs or |
|
981 |
ammoprop_DontHold; |
|
982 |
Count: 1; |
|
983 |
NumPerTurn: 0; |
|
984 |
Timer: 0; |
|
985 |
Pos: 0; |
|
986 |
AmmoType: amKamikaze); |
|
987 |
Slot: 3; |
|
988 |
TimeAfterTurn: 0; |
|
989 |
minAngle: 0; |
|
990 |
maxAngle: 0; |
|
991 |
isDamaging: true; |
|
992 |
SkipTurns: 0; |
|
993 |
PosCount: 1; |
|
994 |
PosSprite: sprWater), |
|
995 |
(NameId: sidCake; |
|
996 |
NameTex: nil; |
|
997 |
Probability: 100; |
|
998 |
NumberInCase: 1; |
|
999 |
Ammo: (Propz: ammoprop_ForwMsgs or |
|
1000 |
ammoprop_NoCrosshair or |
|
1001 |
ammoprop_DontHold; |
|
1002 |
Count: 1; |
|
1003 |
NumPerTurn: 0; |
|
1004 |
Timer: 0; |
|
1005 |
Pos: 0; |
|
1006 |
AmmoType: amCake); |
|
1007 |
Slot: 4; |
|
1008 |
TimeAfterTurn: 0; |
|
1009 |
minAngle: 0; |
|
1010 |
maxAngle: 0; |
|
1011 |
isDamaging: true; |
|
1445 | 1012 |
SkipTurns: 4; |
1259 | 1013 |
PosCount: 1; |
1014 |
PosSprite: sprWater), |
|
1015 |
(NameId: sidSeduction; |
|
1016 |
NameTex: nil; |
|
1017 |
Probability: 100; |
|
1018 |
NumberInCase: 1; |
|
1284 | 1019 |
Ammo: (Propz: ammoprop_ForwMsgs or ammoprop_DontHold; |
1259 | 1020 |
Count: 1; |
1021 |
NumPerTurn: 0; |
|
1022 |
Timer: 0; |
|
1023 |
Pos: 0; |
|
1024 |
AmmoType: amSeduction); |
|
1025 |
Slot: 2; |
|
1026 |
TimeAfterTurn: 0; |
|
1027 |
minAngle: 0; |
|
1028 |
maxAngle: 0; |
|
1508 | 1029 |
isDamaging: false; |
1259 | 1030 |
SkipTurns: 0; |
1031 |
PosCount: 1; |
|
1261 | 1032 |
PosSprite: sprWater), |
1033 |
(NameId: sidWatermelon; |
|
1034 |
NameTex: nil; |
|
1430 | 1035 |
Probability: 400; |
1261 | 1036 |
NumberInCase: 1; |
1037 |
Ammo: (Propz: ammoprop_Timerable or |
|
1038 |
ammoprop_Power or |
|
1039 |
ammoprop_AltUse; |
|
1430 | 1040 |
Count: 0; |
1261 | 1041 |
NumPerTurn: 0; |
1042 |
Timer: 3000; |
|
1043 |
Pos: 0; |
|
1044 |
AmmoType: amWatermelon); |
|
1045 |
Slot: 1; |
|
1046 |
TimeAfterTurn: 3000; |
|
1047 |
minAngle: 0; |
|
1048 |
maxAngle: 0; |
|
1049 |
isDamaging: true; |
|
1050 |
SkipTurns: 0; |
|
1051 |
PosCount: 1; |
|
1263 | 1052 |
PosSprite: sprWater), |
1053 |
(NameId: sidHellishBomb; |
|
1054 |
NameTex: nil; |
|
1430 | 1055 |
Probability: 400; |
1263 | 1056 |
NumberInCase: 1; |
1057 |
Ammo: (Propz: ammoprop_Power or |
|
1058 |
ammoprop_AltUse; |
|
1430 | 1059 |
Count: 0; |
1263 | 1060 |
NumPerTurn: 0; |
1061 |
Timer: 5000; |
|
1062 |
Pos: 0; |
|
1063 |
AmmoType: amHellishBomb); |
|
1064 |
Slot: 4; |
|
1065 |
TimeAfterTurn: 3000; |
|
1066 |
minAngle: 0; |
|
1067 |
maxAngle: 0; |
|
1068 |
isDamaging: true; |
|
1069 |
SkipTurns: 0; |
|
1070 |
PosCount: 1; |
|
1507 | 1071 |
PosSprite: sprWater), |
1608 | 1072 |
(NameId: sidNapalm; |
1507 | 1073 |
NameTex: nil; |
1074 |
Probability: 100; |
|
1075 |
NumberInCase: 1; |
|
1076 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
1077 |
ammoprop_NeedTarget or |
|
1078 |
ammoprop_AttackingPut or |
|
1079 |
ammoprop_DontHold; |
|
1080 |
Count: 1; |
|
1081 |
NumPerTurn: 0; |
|
1082 |
Timer: 0; |
|
1083 |
Pos: 0; |
|
1084 |
AmmoType: amNapalm); |
|
1085 |
Slot: 5; |
|
1086 |
TimeAfterTurn: 0; |
|
1087 |
minAngle: 0; |
|
1088 |
maxAngle: 0; |
|
1089 |
isDamaging: true; |
|
1608 | 1090 |
SkipTurns: 7; |
1507 | 1091 |
PosCount: 2; |
1573 | 1092 |
PosSprite: sprAmAirplane), |
1093 |
(NameId: sidDrill; |
|
1094 |
NameTex: nil; |
|
1586 | 1095 |
Probability: 300; |
1573 | 1096 |
NumberInCase: 1; |
1097 |
Ammo: (Propz: ammoprop_Power or |
|
1098 |
ammoprop_AltUse; |
|
1099 |
Count: AMMO_INFINITE; |
|
1100 |
NumPerTurn: 0; |
|
1101 |
Timer: 0; |
|
1102 |
Pos: 0; |
|
1103 |
AmmoType: amDrill); |
|
1104 |
Slot: 0; |
|
1105 |
TimeAfterTurn: 3000; |
|
1106 |
minAngle: 0; |
|
1107 |
maxAngle: 0; |
|
1108 |
isDamaging: true; |
|
1109 |
SkipTurns: 0; |
|
1110 |
PosCount: 1; |
|
1601 | 1111 |
PosSprite: sprDrill), |
1112 |
(NameId: sidBallgun; |
|
1113 |
NameTex: nil; |
|
1114 |
Probability: 400; |
|
1115 |
NumberInCase: 1; |
|
1643 | 1116 |
Ammo: (Propz: ammoprop_ForwMsgs or |
1117 |
ammoprop_DontHold; |
|
1601 | 1118 |
Count: AMMO_INFINITE; |
1119 |
NumPerTurn: 0; |
|
1120 |
Timer: 5001; |
|
1121 |
Pos: 0; |
|
1122 |
AmmoType: amBallgun); |
|
1123 |
Slot: 2; |
|
1124 |
TimeAfterTurn: 0; |
|
1125 |
minAngle: 0; |
|
1126 |
maxAngle: 0; |
|
1127 |
isDamaging: true; |
|
1128 |
SkipTurns: 0; |
|
1129 |
PosCount: 1; |
|
1130 |
PosSprite: sprWater) |
|
1259 | 1131 |
); |
37 | 1132 |
|
844 | 1133 |
var CountTexz: array[1..9] of PTexture; |
1134 |
||
4 | 1135 |
implementation |
1136 |
||
1137 |
end. |