author | unc0rr |
Fri, 09 Jan 2009 14:47:54 +0000 | |
changeset 1625 | 37aae47943ce |
parent 1608 | 2631f5026714 |
child 1639 | 89b536a3cf3c |
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 |
|
210 |
gmAllStoppable = gm_Left or gm_Right or gm_Up or gm_Down or gm_Attack; |
|
4 | 211 |
|
1033 | 212 |
cMaxSlotIndex = 8; |
213 |
cMaxSlotAmmoIndex = 3; |
|
4 | 214 |
|
1033 | 215 |
ammoprop_Timerable = $00000001; |
216 |
ammoprop_Power = $00000002; |
|
217 |
ammoprop_NeedTarget = $00000004; |
|
218 |
ammoprop_ForwMsgs = $00000008; |
|
219 |
ammoprop_AttackInMove = $00000010; |
|
220 |
ammoprop_NoCrosshair = $00000040; |
|
221 |
ammoprop_AttackingPut = $00000080; |
|
222 |
ammoprop_DontHold = $00000100; |
|
223 |
ammoprop_AltAttack = $00000200; |
|
224 |
ammoprop_AltUse = $00000400; |
|
930 | 225 |
|
1033 | 226 |
AMMO_INFINITE = 9; |
4 | 227 |
|
1033 | 228 |
EXPLAllDamageInRadius = $00000001; |
229 |
EXPLAutoSound = $00000002; |
|
230 |
EXPLNoDamage = $00000004; |
|
231 |
EXPLDoNotTouchHH = $00000008; |
|
232 |
EXPLDontDraw = $00000010; |
|
42 | 233 |
|
1033 | 234 |
posCaseAmmo = $00000001; |
235 |
posCaseHealth = $00000002; |
|
4 | 236 |
|
1033 | 237 |
NoPointX = Low(LongInt); |
4 | 238 |
|
1033 | 239 |
cHHFileName = 'Hedgehog'; |
240 |
cCHFileName = 'Crosshair'; |
|
241 |
cThemeCFGFilename = 'theme.cfg'; |
|
4 | 242 |
|
1033 | 243 |
Fontz: array[THWFont] of THHFont = ( |
244 |
(Handle: nil; |
|
245 |
Height: 12; |
|
1118 | 246 |
style: TTF_STYLE_NORMAL; |
247 |
Name: 'DejaVuSans-Bold.ttf'), |
|
1033 | 248 |
(Handle: nil; |
249 |
Height: 24; |
|
1118 | 250 |
style: TTF_STYLE_NORMAL; |
251 |
Name: 'DejaVuSans-Bold.ttf'), |
|
1033 | 252 |
(Handle: nil; |
253 |
Height: 10; |
|
1118 | 254 |
style: TTF_STYLE_NORMAL; |
255 |
Name: 'DejaVuSans-Bold.ttf') |
|
1033 | 256 |
); |
4 | 257 |
|
1033 | 258 |
FontBorder = 2; |
202 | 259 |
|
1033 | 260 |
PathPrefix: string = './'; |
261 |
Pathz: array[TPathType] of String = ( |
|
262 |
'', // ptNone |
|
263 |
'', // ptData |
|
264 |
'Graphics', // ptGraphics |
|
265 |
'Themes', // ptThemes |
|
266 |
'Themes/avematan', // ptCurrTheme |
|
267 |
'Teams', // ptTeams |
|
268 |
'Maps', // ptMaps |
|
269 |
'', // ptMapCurrent |
|
270 |
'Demos', // ptDemos |
|
271 |
'Sounds', // ptSounds |
|
272 |
'Graphics/Graves', // ptGraves |
|
273 |
'Fonts', // ptFonts |
|
274 |
'Forts', // ptForts |
|
275 |
'Locale', // ptLocale |
|
276 |
'Graphics/AmmoMenu', // ptAmmoMenu |
|
277 |
'Graphics/Hedgehog', // ptHedgehog |
|
1566
6b63c75fdc68
Start work on lobby: add/remove nick from the list on join/quit
unc0rr
parents:
1528
diff
changeset
|
278 |
'Sounds/voices/Default', // ptVoices |
1033 | 279 |
'Graphics/Hats' // ptHats |
280 |
); |
|
4 | 281 |
|
1259 | 282 |
SpritesData: array[TSprite] of record |
283 |
FileName: String[14]; |
|
284 |
Path, AltPath: TPathType; |
|
285 |
Texture: PTexture; |
|
286 |
Surface: PSDL_Surface; |
|
287 |
Width, Height: LongInt; |
|
288 |
saveSurf: boolean; |
|
289 |
end = ( |
|
290 |
(FileName: 'BlueWater'; Path: ptCurrTheme;AltPath: ptGraphics; Texture: nil; Surface: nil; |
|
1439 | 291 |
Width: 125; Height: 32; saveSurf: false),// sprWater |
1259 | 292 |
(FileName: 'Clouds'; Path: ptCurrTheme;AltPath: ptGraphics; Texture: nil; Surface: nil; |
293 |
Width: 256; Height:128; saveSurf: false),// sprCloud |
|
294 |
(FileName: 'Bomb'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
295 |
Width: 8; Height: 8; saveSurf: false),// sprBomb |
|
296 |
(FileName: 'BigDigits'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
297 |
Width: 32; Height: 32; saveSurf: false),// sprBigDigit |
|
298 |
(FileName: 'Frame'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
299 |
Width: 4; Height: 32; saveSurf: false),// sprFrame |
|
300 |
(FileName: 'Lag'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
301 |
Width: 65; Height: 65; saveSurf: false),// sprLag |
|
302 |
(FileName: 'Arrow'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
303 |
Width: 16; Height: 16; saveSurf: false),// sprCursor |
|
304 |
(FileName: 'Grenade'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
305 |
Width: 16; Height: 16; saveSurf: false),// sprGrenade |
|
306 |
(FileName: 'Targetp'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
307 |
Width: 32; Height: 32; saveSurf: false),// sprTargetP |
|
308 |
(FileName: 'UFO'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
309 |
Width: 32; Height: 32; saveSurf: false),// sprUFO |
|
310 |
(FileName: 'SmokeTrace'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
311 |
Width: 32; Height: 32; saveSurf: false),// sprSmokeTrace |
|
312 |
(FileName: 'RopeHook'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
313 |
Width: 16; Height: 16; saveSurf: false),// sprRopeHook |
|
314 |
(FileName: 'Expl50'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
315 |
Width: 64; Height: 64; saveSurf: false),// sprExplosion50 |
|
316 |
(FileName: 'MineOff'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
317 |
Width: 8; Height: 8; saveSurf: false),// sprMineOff |
|
318 |
(FileName: 'MineOn'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
319 |
Width: 8; Height: 8; saveSurf: false),// sprMineOn |
|
320 |
(FileName: 'Case'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
321 |
Width: 32; Height: 32; saveSurf: false),// sprCase |
|
322 |
(FileName: 'FirstAid'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
323 |
Width: 48; Height: 48; saveSurf: false),// sprFAid |
|
324 |
(FileName: 'dynamite'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
325 |
Width: 32; Height: 32; saveSurf: false),// sprDynamite |
|
326 |
(FileName: 'Power'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
327 |
Width: 32; Height: 32; saveSurf: false),// sprPower |
|
328 |
(FileName: 'ClBomb'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
329 |
Width: 16; Height: 16; saveSurf: false),// sprClusterBomb |
|
330 |
(FileName: 'ClParticle'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
331 |
Width: 16; Height: 16; saveSurf: false),// sprClusterParticle |
|
332 |
(FileName: 'Flame'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
333 |
Width: 16; Height: 16; saveSurf: false),// sprFlame |
|
334 |
(FileName: 'horizont'; Path: ptCurrTheme;AltPath: ptNone; Texture: nil; Surface: nil; |
|
335 |
Width: 0; Height: 0; saveSurf: false),// sprHorizont |
|
336 |
(FileName: 'Sky'; Path: ptCurrTheme;AltPath: ptNone; Texture: nil; Surface: nil; |
|
337 |
Width: 0; Height: 0; saveSurf: false),// sprSky |
|
338 |
(FileName: 'BrdrLines'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
|
339 |
Width: 202; Height: 1; saveSurf: false),// sprAMBorders |
|
340 |
(FileName: 'Slot'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
|
341 |
Width: 202; Height: 33; saveSurf: false),// sprAMSlot |
|
342 |
(FileName: 'AmmoName'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
|
343 |
Width: 202; Height: 33; saveSurf: false),// sprAMSlotName |
|
344 |
(FileName: 'Ammos'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
|
345 |
Width: 32; Height: 32; saveSurf: false),// sprAMAmmos |
|
346 |
(FileName: 'SlotKeys'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
|
347 |
Width: 32; Height: 32; saveSurf: false),// sprAMSlotKeys |
|
348 |
(FileName: 'Selection'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
|
349 |
Width: 32; Height: 32; saveSurf: false),// sprAMSelection |
|
350 |
(FileName: 'Finger'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
351 |
Width: 32; Height: 48; saveSurf: false),// sprFinger |
|
352 |
(FileName: 'AirBomb'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
353 |
Width: 16; Height: 16; saveSurf: false),// sprAirBomb |
|
354 |
(FileName: 'Airplane'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
355 |
Width: 125; Height: 42; saveSurf: false),// sprAirplane |
|
356 |
(FileName: 'amAirplane'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
357 |
Width: 64; Height: 32; saveSurf: false),// sprAmAirplane |
|
358 |
(FileName: 'amGirder'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
359 |
Width: 160; Height:160; saveSurf: true),// sprAmGirder |
|
360 |
(FileName: 'hhMask'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
361 |
Width: 32; Height: 32; saveSurf: true),// sprHHTelepMask |
|
362 |
(FileName: 'Switch'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
363 |
Width: 32; Height: 32; saveSurf: false),// sprSwitch |
|
364 |
(FileName: 'Parachute'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
365 |
Width: 48; Height: 48; saveSurf: false),// sprParachute |
|
366 |
(FileName: 'Target'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
367 |
Width: 32; Height: 32; saveSurf: false),// sprTarget |
|
368 |
(FileName: 'RopeNode'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
369 |
Width: 6; Height: 6; saveSurf: false),// sprRopeNode |
|
370 |
(FileName: 'thinking'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
371 |
Width: 32; Height: 32; saveSurf: false),// sprQuestion |
|
372 |
(FileName: 'PowerBar'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
373 |
Width: 256; Height: 32; saveSurf: false),// sprPowerBar |
|
374 |
(FileName: 'WindBar'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
375 |
Width: 151; Height: 17; saveSurf: false),// sprWindBar |
|
376 |
(FileName: 'WindL'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
377 |
Width: 80; Height: 13; saveSurf: false),// sprWindL |
|
378 |
(FileName: 'WindR'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
379 |
Width: 80; Height: 13; saveSurf: false),// sprWindR |
|
380 |
(FileName: 'Flake'; Path:ptCurrTheme; AltPath: ptNone; Texture: nil; Surface: nil; |
|
381 |
Width: 64; Height: 64; saveSurf: false),// sprFlake |
|
382 |
(FileName: 'amRope'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
383 |
Width: 32; Height: 32; saveSurf: false),// sprHandRope |
|
384 |
(FileName: 'amBazooka'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
385 |
Width: 32; Height: 32; saveSurf: false),// sprHandBazooka |
|
386 |
(FileName: 'amShotgun'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
387 |
Width: 64; Height: 64; saveSurf: false),// sprHandShotgun |
|
388 |
(FileName: 'amDEagle'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
389 |
Width: 64; Height: 64; saveSurf: false),// sprHandDEagle |
|
390 |
(FileName:'amAirAttack'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
391 |
Width: 32; Height: 32; saveSurf: false),// sprHandAirAttack |
|
392 |
(FileName: 'amBaseball'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
393 |
Width: 32; Height: 32; saveSurf: false),// sprHandBaseball |
|
394 |
(FileName: 'Hammer'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
395 |
Width: 32; Height: 64; saveSurf: false),// sprPHammer |
|
396 |
(FileName: 'amBTorch_i'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
397 |
Width: 32; Height: 32; saveSurf: false),// sprHandBlowToch |
|
398 |
(FileName: 'amBTorch_w'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
399 |
Width: 32; Height: 32; saveSurf: false),// sprBlowToch |
|
400 |
(FileName: 'Teleport'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
401 |
Width: 64; Height: 32; saveSurf: false),// sprTeleport |
|
402 |
(FileName: 'HHDeath'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
403 |
Width: 32; Height: 64; saveSurf: false),// sprHHDeath |
|
404 |
(FileName:'amShotgun_w'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
405 |
Width: 64; Height: 64; saveSurf: false),// sprShotgun |
|
406 |
(FileName: 'amDEagle_w'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
407 |
Width: 64; Height: 64; saveSurf: false),// sprDEagle |
|
408 |
(FileName: 'Idle'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
409 |
Width: 32; Height: 32; saveSurf: false),// sprHHIdle |
|
410 |
(FileName: 'Mortar'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
411 |
Width: 16; Height: 16; saveSurf: false),// sprMortar |
|
412 |
(FileName: 'TurnsLeft'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
|
413 |
Width: 16; Height: 16; saveSurf: false),// sprTurnsLeft |
|
414 |
(FileName: 'amKamikaze'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
415 |
Width: 256; Height: 32; saveSurf: false),// sprKamikaze |
|
416 |
(FileName: 'amWhip'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
417 |
Width: 128; Height: 32; saveSurf: false),// sprWhip |
|
418 |
(FileName: 'Kowtow'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
419 |
Width: 32; Height: 32; saveSurf: false),// sprKowtow |
|
420 |
(FileName: 'Sad'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
421 |
Width: 32; Height: 32; saveSurf: false),// sprSad |
|
422 |
(FileName: 'Wave'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
423 |
Width: 64; Height: 32; saveSurf: false),// sprWave |
|
424 |
(FileName: 'Hurrah'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
425 |
Width: 32; Height: 32; saveSurf: false),// sprHurrah |
|
426 |
(FileName:'ILoveLemonade';Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
427 |
Width: 128; Height: 32; saveSurf: false),// sprLemonade |
|
428 |
(FileName: 'ExplPart'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
429 |
Width: 32; Height: 32; saveSurf: false),// sprExplPart |
|
430 |
(FileName: 'ExplPart2'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
431 |
Width: 32; Height: 32; saveSurf: false),// sprExplPart2 |
|
432 |
(FileName: 'Cake_walk'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
433 |
Width: 64; Height: 64; saveSurf: false),// sprCakeWalk |
|
434 |
(FileName: 'Cake_down'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
435 |
Width: 64; Height: 64; saveSurf: false),// sprCakeDown |
|
436 |
(FileName: 'Ammos_bw'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
|
1262 | 437 |
Width: 32; Height: 32; saveSurf: false),// sprAMAmmosBW |
438 |
(FileName: 'Watermelon'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
1263 | 439 |
Width: 32; Height: 32; saveSurf: false),// sprWatermelon |
440 |
(FileName: 'EvilTrace'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
441 |
Width: 32; Height: 32; saveSurf: false),// sprEvilTrace |
|
442 |
(FileName:'HellishBomb'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
1284 | 443 |
Width: 16; Height: 16; saveSurf: false),// sprHellishBomb |
444 |
(FileName: 'Seduction'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
1286 | 445 |
Width: 32; Height: 32; saveSurf: false),// sprSeduction |
446 |
(FileName: 'HHDress'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
447 |
Width: 64; Height: 64; saveSurf: false),// sprDress |
|
448 |
(FileName: 'Censored'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
1573 | 449 |
Width: 64; Height: 16; saveSurf: false),// sprCensored |
1580 | 450 |
(FileName: 'Drill'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
1573 | 451 |
Width: 16; Height: 16; saveSurf: false),// sprDrill |
452 |
(FileName: 'amDrill'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
1601 | 453 |
Width: 32; Height: 32; saveSurf: false),// sprHandDrill |
454 |
(FileName: 'amBallgun'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
455 |
Width: 64; Height: 64; saveSurf: false),// sprHandBallgun |
|
456 |
(FileName: 'Balls'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
457 |
Width: 32; Height: 20; saveSurf: false)// sprBalls |
|
1259 | 458 |
); |
688 | 459 |
|
1034 | 460 |
Wavez: array [TWave] of record |
461 |
Sprite: TSprite; |
|
462 |
FramesCount: Longword; |
|
1037 | 463 |
cmd: String[20]; |
1034 | 464 |
end = ( |
1037 | 465 |
(Sprite: sprKowtow; FramesCount: 12; cmd: '/rollup'), |
466 |
(Sprite: sprSad; FramesCount: 14; cmd: '/sad'), |
|
467 |
(Sprite: sprWave; FramesCount: 16; cmd: '/wave'), |
|
468 |
(Sprite: sprHurrah; FramesCount: 14; cmd: '/hurrah'), |
|
469 |
(Sprite: sprLemonade; FramesCount: 24; cmd: '/ilovelotsoflemonade') |
|
1034 | 470 |
); |
471 |
||
1259 | 472 |
Soundz: array[TSound] of record |
473 |
FileName: String[19]; |
|
474 |
Path : TPathType; |
|
475 |
id : PMixChunk; |
|
476 |
lastChan: LongInt; |
|
477 |
end = ( |
|
478 |
(FileName: 'grenadeimpact.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndGrenadeImpact |
|
479 |
(FileName: 'explosion.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndExplosion |
|
480 |
(FileName: 'throwpowerup.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndThrowPowerUp |
|
481 |
(FileName: 'throwrelease.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndThrowRelease |
|
482 |
(FileName: 'splash.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndSplash |
|
483 |
(FileName: 'shotgunreload.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndShotgunReload |
|
484 |
(FileName: 'shotgunfire.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndShotgunFire |
|
485 |
(FileName: 'graveimpact.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndGraveImpact |
|
486 |
(FileName: 'minetick.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndMineTicks |
|
487 |
(FileName: 'pickhammer.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndPickhammer |
|
488 |
(FileName: 'gun.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndGun |
|
489 |
(FileName: 'ufo.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndUFO |
|
490 |
(FileName: 'Jump1.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndJump1 |
|
491 |
(FileName: 'Jump2.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndJump2 |
|
492 |
(FileName: 'Jump3.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndJump3 |
|
493 |
(FileName: 'Yessir.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndYesSir |
|
494 |
(FileName: 'Laugh.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndLaugh |
|
495 |
(FileName: 'Illgetyou.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndIllGetYou |
|
496 |
(FileName: 'Incoming.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndIncoming |
|
497 |
(FileName: 'Missed.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndMissed |
|
498 |
(FileName: 'Stupid.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndStupid |
|
499 |
(FileName: 'Firstblood.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndFirstBlood |
|
500 |
(FileName: 'Boring.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndBoring |
|
501 |
(FileName: 'Byebye.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndByeBye |
|
502 |
(FileName: 'Sameteam.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndSameTeam |
|
503 |
(FileName: 'Nutter.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndNutter |
|
504 |
(FileName:'Reinforcements.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndReinforce |
|
505 |
(FileName: 'Traitor.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndTraitor |
|
506 |
(FileName:'Youllregretthat.ogg';Path: ptVoices; id: nil; lastChan: 0),// sndRegret |
|
507 |
(FileName: 'Enemydown.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndEnemyDown |
|
508 |
(FileName: 'Coward.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndCoward |
|
509 |
(FileName: 'Hurry.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndHurry |
|
510 |
(FileName: 'Watchit.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndWatchIt |
|
511 |
(FileName: 'Kamikaze.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndKamikaze |
|
512 |
(FileName: 'cake2.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndCake |
|
513 |
(FileName: 'Ow1.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndOw1 |
|
1279 | 514 |
(FileName: 'Ow4.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndOw4 |
515 |
(FileName: 'Firepunch1.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndFirepunch1 |
|
516 |
(FileName: 'Firepunch2.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndFirepunch2 |
|
517 |
(FileName: 'Firepunch3.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndFirepunch3 |
|
518 |
(FileName: 'Firepunch4.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndFirepunch4 |
|
519 |
(FileName: 'Firepunch5.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndFirepunch5 |
|
520 |
(FileName: 'Firepunch6.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndFirepunch6 |
|
521 |
(FileName: 'Melon.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndMelon |
|
1367 | 522 |
(FileName: 'Hellish.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndHellish |
523 |
(FileName: 'Yoohoo.ogg'; Path: ptSounds; id: nil; lastChan: 0) // sndYoohoo |
|
1259 | 524 |
); |
4 | 525 |
|
1259 | 526 |
Ammoz: array [TAmmoType] of record |
527 |
NameId: TAmmoStrId; |
|
528 |
NameTex: PTexture; |
|
529 |
Probability, NumberInCase: Longword; |
|
530 |
Ammo: TAmmo; |
|
531 |
Slot: 0..cMaxSlotIndex; |
|
532 |
TimeAfterTurn: Longword; |
|
533 |
minAngle, maxAngle: Longword; |
|
534 |
isDamaging: boolean; |
|
535 |
SkipTurns: Longword; |
|
536 |
PosCount: Longword; |
|
537 |
PosSprite: TSprite; |
|
538 |
end = ( |
|
539 |
(NameId: sidGrenade; |
|
540 |
NameTex: nil; |
|
541 |
Probability: 0; |
|
542 |
NumberInCase: 1; |
|
543 |
Ammo: (Propz: ammoprop_Timerable or |
|
544 |
ammoprop_Power or |
|
545 |
ammoprop_AltUse; |
|
546 |
Count: AMMO_INFINITE; |
|
547 |
NumPerTurn: 0; |
|
548 |
Timer: 3000; |
|
549 |
Pos: 0; |
|
550 |
AmmoType: amGrenade); |
|
551 |
Slot: 1; |
|
552 |
TimeAfterTurn: 3000; |
|
553 |
minAngle: 0; |
|
554 |
maxAngle: 0; |
|
555 |
isDamaging: true; |
|
556 |
SkipTurns: 0; |
|
557 |
PosCount: 1; |
|
558 |
PosSprite: sprWater), |
|
559 |
(NameId: sidClusterBomb; |
|
560 |
NameTex: nil; |
|
561 |
Probability: 100; |
|
562 |
NumberInCase: 3; |
|
563 |
Ammo: (Propz: ammoprop_Timerable or |
|
564 |
ammoprop_Power or |
|
565 |
ammoprop_AltUse; |
|
566 |
Count: 5; |
|
567 |
NumPerTurn: 0; |
|
568 |
Timer: 3000; |
|
569 |
Pos: 0; |
|
570 |
AmmoType: amClusterBomb); |
|
571 |
Slot: 1; |
|
572 |
TimeAfterTurn: 3000; |
|
573 |
minAngle: 0; |
|
574 |
maxAngle: 0; |
|
575 |
isDamaging: true; |
|
576 |
SkipTurns: 0; |
|
577 |
PosCount: 1; |
|
578 |
PosSprite: sprWater), |
|
579 |
(NameId: sidBazooka; |
|
580 |
NameTex: nil; |
|
581 |
Probability: 0; |
|
582 |
NumberInCase: 1; |
|
583 |
Ammo: (Propz: ammoprop_Power or |
|
584 |
ammoprop_AltUse; |
|
585 |
Count: AMMO_INFINITE; |
|
586 |
NumPerTurn: 0; |
|
587 |
Timer: 0; |
|
588 |
Pos: 0; |
|
589 |
AmmoType: amBazooka); |
|
590 |
Slot: 0; |
|
591 |
TimeAfterTurn: 3000; |
|
592 |
minAngle: 0; |
|
593 |
maxAngle: 0; |
|
594 |
isDamaging: true; |
|
595 |
SkipTurns: 0; |
|
596 |
PosCount: 1; |
|
597 |
PosSprite: sprWater), |
|
598 |
(NameId: sidUFO; |
|
599 |
NameTex: nil; |
|
600 |
Probability: 100; |
|
601 |
NumberInCase: 1; |
|
602 |
Ammo: (Propz: ammoprop_Power or |
|
603 |
ammoprop_NeedTarget or |
|
604 |
ammoprop_DontHold; |
|
605 |
Count: 2; |
|
606 |
NumPerTurn: 0; |
|
607 |
Timer: 0; |
|
608 |
Pos: 0; |
|
609 |
AmmoType: amUFO); |
|
610 |
Slot: 0; |
|
611 |
TimeAfterTurn: 3000; |
|
612 |
minAngle: 0; |
|
613 |
maxAngle: 0; |
|
614 |
isDamaging: true; |
|
615 |
SkipTurns: 0; |
|
616 |
PosCount: 1; |
|
617 |
PosSprite: sprWater), |
|
618 |
(NameId: sidShotgun; |
|
619 |
NameTex: nil; |
|
620 |
Probability: 0; |
|
621 |
NumberInCase: 1; |
|
622 |
Ammo: (Propz: ammoprop_ForwMsgs; |
|
623 |
Count: AMMO_INFINITE; |
|
624 |
NumPerTurn: 1; |
|
625 |
Timer: 0; |
|
626 |
Pos: 0; |
|
627 |
AmmoType: amShotgun); |
|
628 |
Slot: 2; |
|
629 |
TimeAfterTurn: 3000; |
|
630 |
minAngle: 0; |
|
631 |
maxAngle: 0; |
|
632 |
isDamaging: true; |
|
633 |
SkipTurns: 0; |
|
634 |
PosCount: 1; |
|
635 |
PosSprite: sprWater), |
|
636 |
(NameId: sidPickHammer; |
|
637 |
NameTex: nil; |
|
638 |
Probability: 0; |
|
639 |
NumberInCase: 1; |
|
640 |
Ammo: (Propz: ammoprop_ForwMsgs or |
|
641 |
ammoprop_AttackInMove or |
|
642 |
ammoprop_NoCrosshair or |
|
643 |
ammoprop_DontHold; |
|
644 |
Count: 2; |
|
645 |
NumPerTurn: 0; |
|
646 |
Timer: 0; |
|
647 |
Pos: 0; |
|
648 |
AmmoType: amPickHammer); |
|
649 |
Slot: 6; |
|
650 |
TimeAfterTurn: 0; |
|
651 |
minAngle: 0; |
|
652 |
maxAngle: 0; |
|
653 |
isDamaging: false; |
|
654 |
SkipTurns: 0; |
|
655 |
PosCount: 1; |
|
656 |
PosSprite: sprWater), |
|
657 |
(NameId: sidSkip; |
|
658 |
NameTex: nil; |
|
659 |
Probability: 0; |
|
660 |
NumberInCase: 1; |
|
661 |
Ammo: (Propz: ammoprop_DontHold; |
|
662 |
Count: AMMO_INFINITE; |
|
663 |
NumPerTurn: 0; |
|
664 |
Timer: 0; |
|
665 |
Pos: 0; |
|
666 |
AmmoType: amSkip); |
|
667 |
Slot: 8; |
|
668 |
TimeAfterTurn: 0; |
|
669 |
minAngle: 0; |
|
670 |
maxAngle: 0; |
|
671 |
isDamaging: false; |
|
672 |
SkipTurns: 0; |
|
673 |
PosCount: 1; |
|
674 |
PosSprite: sprWater), |
|
675 |
(NameId: sidRope; |
|
676 |
NameTex: nil; |
|
677 |
Probability: 100; |
|
678 |
NumberInCase: 3; |
|
679 |
Ammo: (Propz: ammoprop_ForwMsgs or |
|
680 |
ammoprop_AttackInMove or |
|
681 |
ammoprop_DontHold or |
|
682 |
ammoprop_AltAttack; |
|
683 |
Count: 5; |
|
684 |
NumPerTurn: 0; |
|
685 |
Timer: 0; |
|
686 |
Pos: 0; |
|
687 |
AmmoType: amRope); |
|
688 |
Slot: 7; |
|
689 |
TimeAfterTurn: 0; |
|
690 |
minAngle: 0; |
|
691 |
maxAngle: cMaxAngle div 2; |
|
692 |
isDamaging: false; |
|
693 |
SkipTurns: 0; |
|
694 |
PosCount: 1; |
|
695 |
PosSprite: sprWater), |
|
696 |
(NameId: sidMine; |
|
697 |
NameTex: nil; |
|
698 |
Probability: 100; |
|
699 |
NumberInCase: 1; |
|
700 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
701 |
ammoprop_AttackInMove or |
|
702 |
ammoprop_DontHold or |
|
703 |
ammoprop_AltUse; |
|
704 |
Count: 2; |
|
705 |
NumPerTurn: 0; |
|
706 |
Timer: 0; |
|
707 |
Pos: 0; |
|
708 |
AmmoType: amMine); |
|
709 |
Slot: 4; |
|
710 |
TimeAfterTurn: 5000; |
|
711 |
minAngle: 0; |
|
712 |
maxAngle: 0; |
|
713 |
isDamaging: true; |
|
714 |
SkipTurns: 0; |
|
715 |
PosCount: 1; |
|
716 |
PosSprite: sprWater), |
|
717 |
(NameId: sidDEagle; |
|
718 |
NameTex: nil; |
|
1430 | 719 |
Probability: 20; |
1259 | 720 |
NumberInCase: 2; |
721 |
Ammo: (Propz: 0; |
|
722 |
Count: 3; |
|
723 |
NumPerTurn: 3; |
|
724 |
Timer: 0; |
|
725 |
Pos: 0; |
|
726 |
AmmoType: amDEagle); |
|
727 |
Slot: 2; |
|
728 |
TimeAfterTurn: 3000; |
|
729 |
minAngle: 0; |
|
730 |
maxAngle: 0; |
|
731 |
isDamaging: true; |
|
732 |
SkipTurns: 0; |
|
733 |
PosCount: 1; |
|
734 |
PosSprite: sprWater), |
|
735 |
(NameId: sidDynamite; |
|
736 |
NameTex: nil; |
|
737 |
Probability: 100; |
|
738 |
NumberInCase: 1; |
|
739 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
740 |
ammoprop_AttackInMove or |
|
741 |
ammoprop_DontHold or |
|
742 |
ammoprop_AltUse; |
|
743 |
Count: 1; |
|
744 |
NumPerTurn: 0; |
|
745 |
Timer: 0; |
|
746 |
Pos: 0; |
|
747 |
AmmoType: amDynamite); |
|
748 |
Slot: 4; |
|
749 |
TimeAfterTurn: 5000; |
|
750 |
minAngle: 0; |
|
751 |
maxAngle: 0; |
|
752 |
isDamaging: true; |
|
753 |
SkipTurns: 0; |
|
754 |
PosCount: 1; |
|
755 |
PosSprite: sprWater), |
|
756 |
(NameId: sidFirePunch; |
|
757 |
NameTex: nil; |
|
758 |
Probability: 0; |
|
759 |
NumberInCase: 1; |
|
760 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
761 |
ammoprop_ForwMsgs or |
|
762 |
ammoprop_AttackInMove; |
|
763 |
Count: AMMO_INFINITE; |
|
764 |
NumPerTurn: 0; |
|
765 |
Timer: 0; |
|
766 |
Pos: 0; |
|
767 |
AmmoType: amFirePunch); |
|
768 |
Slot: 3; |
|
769 |
TimeAfterTurn: 3000; |
|
770 |
MinAngle: 0; |
|
771 |
maxAngle: 0; |
|
772 |
isDamaging: true; |
|
773 |
SkipTurns: 0; |
|
774 |
PosCount: 1; |
|
775 |
PosSprite: sprWater), |
|
776 |
(NameId: sidWhip; |
|
777 |
NameTex: nil; |
|
778 |
Probability: 0; |
|
779 |
NumberInCase: 1; |
|
780 |
Ammo: (Propz: ammoprop_NoCrosshair; |
|
781 |
Count: AMMO_INFINITE; |
|
782 |
NumPerTurn: 0; |
|
783 |
Timer: 0; |
|
784 |
Pos: 0; |
|
785 |
AmmoType: amWhip); |
|
786 |
Slot: 3; |
|
787 |
TimeAfterTurn: 3000; |
|
788 |
MinAngle: 0; |
|
789 |
maxAngle: 0; |
|
790 |
isDamaging: true; |
|
791 |
SkipTurns: 0; |
|
792 |
PosCount: 1; |
|
793 |
PosSprite: sprWater), |
|
794 |
(NameId: sidBaseballBat; |
|
795 |
NameTex: nil; |
|
796 |
Probability: 100; |
|
797 |
NumberInCase: 1; |
|
798 |
Ammo: (Propz: ammoprop_DontHold; |
|
799 |
Count: 1; |
|
800 |
NumPerTurn: 0; |
|
801 |
Timer: 0; |
|
802 |
Pos: 0; |
|
803 |
AmmoType: amBaseballBat); |
|
804 |
Slot: 3; |
|
805 |
TimeAfterTurn: 5000; |
|
806 |
minAngle: 0; |
|
807 |
maxAngle: cMaxAngle div 2; |
|
808 |
isDamaging: true; |
|
809 |
SkipTurns: 2; |
|
810 |
PosCount: 1; |
|
811 |
PosSprite: sprWater), |
|
812 |
(NameId: sidParachute; |
|
813 |
NameTex: nil; |
|
814 |
Probability: 100; |
|
815 |
NumberInCase: 1; |
|
816 |
Ammo: (Propz: ammoprop_ForwMsgs or |
|
817 |
ammoprop_AttackInMove or |
|
818 |
ammoprop_NoCrosshair or |
|
819 |
ammoprop_DontHold or |
|
820 |
ammoprop_AltAttack; |
|
821 |
Count: 2; |
|
822 |
NumPerTurn: 0; |
|
823 |
Timer: 0; |
|
824 |
Pos: 0; |
|
825 |
AmmoType: amParachute); |
|
826 |
Slot: 7; |
|
827 |
TimeAfterTurn: 0; |
|
828 |
minAngle: 0; |
|
829 |
maxAngle: 0; |
|
830 |
isDamaging: false; |
|
831 |
SkipTurns: 0; |
|
832 |
PosCount: 1; |
|
833 |
PosSprite: sprWater), |
|
834 |
(NameId: sidAirAttack; |
|
835 |
NameTex: nil; |
|
836 |
Probability: 100; |
|
837 |
NumberInCase: 1; |
|
838 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
839 |
ammoprop_NeedTarget or |
|
840 |
ammoprop_AttackingPut or |
|
841 |
ammoprop_DontHold; |
|
842 |
Count: 1; |
|
843 |
NumPerTurn: 0; |
|
844 |
Timer: 0; |
|
845 |
Pos: 0; |
|
846 |
AmmoType: amAirAttack); |
|
847 |
Slot: 5; |
|
848 |
TimeAfterTurn: 0; |
|
849 |
minAngle: 0; |
|
850 |
maxAngle: 0; |
|
851 |
isDamaging: true; |
|
852 |
SkipTurns: 5; |
|
853 |
PosCount: 2; |
|
854 |
PosSprite: sprAmAirplane), |
|
855 |
(NameId: sidMineStrike; |
|
856 |
NameTex: nil; |
|
1430 | 857 |
Probability: 200; |
1259 | 858 |
NumberInCase: 1; |
859 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
860 |
ammoprop_NeedTarget or |
|
861 |
ammoprop_AttackingPut or |
|
862 |
ammoprop_DontHold; |
|
863 |
Count: 1; |
|
864 |
NumPerTurn: 0; |
|
865 |
Timer: 0; |
|
866 |
Pos: 0; |
|
867 |
AmmoType: amMineStrike); |
|
868 |
Slot: 5; |
|
869 |
TimeAfterTurn: 0; |
|
870 |
minAngle: 0; |
|
871 |
maxAngle: 0; |
|
872 |
isDamaging: true; |
|
873 |
SkipTurns: 5; |
|
874 |
PosCount: 2; |
|
875 |
PosSprite: sprAmAirplane), |
|
876 |
(NameId: sidBlowTorch; |
|
877 |
NameTex: nil; |
|
878 |
Probability: 100; |
|
879 |
NumberInCase: 2; |
|
880 |
Ammo: (Propz: ammoprop_ForwMsgs; |
|
881 |
Count: 1; |
|
882 |
NumPerTurn: 0; |
|
883 |
Timer: 0; |
|
884 |
Pos: 0; |
|
885 |
AmmoType: amBlowTorch); |
|
886 |
Slot: 6; |
|
887 |
TimeAfterTurn: 3000; |
|
888 |
minAngle: 768; |
|
889 |
maxAngle: 1280; |
|
890 |
isDamaging: false; |
|
891 |
SkipTurns: 0; |
|
892 |
PosCount: 1; |
|
893 |
PosSprite: sprWater), |
|
894 |
(NameId: sidGirder; |
|
895 |
NameTex: nil; |
|
1430 | 896 |
Probability: 150; |
1259 | 897 |
NumberInCase: 3; |
898 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
899 |
ammoprop_NeedTarget or |
|
900 |
ammoprop_AttackingPut or |
|
901 |
ammoprop_DontHold; |
|
902 |
Count: 1; |
|
903 |
NumPerTurn: 0; |
|
904 |
Timer: 0; |
|
905 |
Pos: 0; |
|
906 |
AmmoType: amGirder); |
|
907 |
Slot: 6; |
|
908 |
TimeAfterTurn: 3000; |
|
909 |
minAngle: 0; |
|
910 |
maxAngle: 0; |
|
911 |
isDamaging: false; |
|
912 |
SkipTurns: 0; |
|
913 |
PosCount: 8; |
|
914 |
PosSprite: sprAmGirder), |
|
915 |
(NameId: sidTeleport; |
|
916 |
NameTex: nil; |
|
1430 | 917 |
Probability: 200; |
1259 | 918 |
NumberInCase: 1; |
919 |
Ammo: (Propz: ammoprop_ForwMsgs or |
|
920 |
ammoprop_NoCrosshair or |
|
921 |
ammoprop_NeedTarget or |
|
922 |
ammoprop_AttackingPut or |
|
923 |
ammoprop_DontHold; |
|
924 |
Count: 2; |
|
925 |
NumPerTurn: 0; |
|
926 |
Timer: 0; |
|
927 |
Pos: 0; |
|
928 |
AmmoType: amTeleport); |
|
929 |
Slot: 7; |
|
930 |
TimeAfterTurn: 0; |
|
931 |
minAngle: 0; |
|
932 |
maxAngle: 0; |
|
933 |
isDamaging: false; |
|
934 |
SkipTurns: 0; |
|
935 |
PosCount: 1; |
|
936 |
PosSprite: sprWater), |
|
937 |
(NameId: sidSwitch; |
|
938 |
NameTex: nil; |
|
939 |
Probability: 100; |
|
940 |
NumberInCase: 1; |
|
941 |
Ammo: (Propz: ammoprop_ForwMsgs or |
|
942 |
ammoprop_NoCrosshair or |
|
943 |
ammoprop_DontHold; |
|
944 |
Count: 3; |
|
945 |
NumPerTurn: 0; |
|
946 |
Timer: 0; |
|
947 |
Pos: 0; |
|
948 |
AmmoType: amSwitch); |
|
949 |
Slot: 8; |
|
950 |
TimeAfterTurn: 0; |
|
951 |
minAngle: 0; |
|
952 |
maxAngle: 0; |
|
953 |
isDamaging: false; |
|
954 |
SkipTurns: 0; |
|
955 |
PosCount: 1; |
|
956 |
PosSprite: sprWater), |
|
957 |
(NameId: sidMortar; |
|
958 |
NameTex: nil; |
|
959 |
Probability: 100; |
|
1430 | 960 |
NumberInCase: 4; |
1259 | 961 |
Ammo: (Propz: 0; |
962 |
Count: 4; |
|
963 |
NumPerTurn: 0; |
|
964 |
Timer: 0; |
|
965 |
Pos: 0; |
|
966 |
AmmoType: amMortar); |
|
967 |
Slot: 1; |
|
968 |
TimeAfterTurn: 3000; |
|
969 |
minAngle: 0; |
|
970 |
maxAngle: 0; |
|
971 |
isDamaging: true; |
|
972 |
SkipTurns: 0; |
|
973 |
PosCount: 1; |
|
974 |
PosSprite: sprWater), |
|
975 |
(NameId: sidKamikaze; |
|
976 |
NameTex: nil; |
|
977 |
Probability: 100; |
|
978 |
NumberInCase: 1; |
|
979 |
Ammo: (Propz: ammoprop_ForwMsgs or |
|
980 |
ammoprop_DontHold; |
|
981 |
Count: 1; |
|
982 |
NumPerTurn: 0; |
|
983 |
Timer: 0; |
|
984 |
Pos: 0; |
|
985 |
AmmoType: amKamikaze); |
|
986 |
Slot: 3; |
|
987 |
TimeAfterTurn: 0; |
|
988 |
minAngle: 0; |
|
989 |
maxAngle: 0; |
|
990 |
isDamaging: true; |
|
991 |
SkipTurns: 0; |
|
992 |
PosCount: 1; |
|
993 |
PosSprite: sprWater), |
|
994 |
(NameId: sidCake; |
|
995 |
NameTex: nil; |
|
996 |
Probability: 100; |
|
997 |
NumberInCase: 1; |
|
998 |
Ammo: (Propz: ammoprop_ForwMsgs or |
|
999 |
ammoprop_NoCrosshair or |
|
1000 |
ammoprop_DontHold; |
|
1001 |
Count: 1; |
|
1002 |
NumPerTurn: 0; |
|
1003 |
Timer: 0; |
|
1004 |
Pos: 0; |
|
1005 |
AmmoType: amCake); |
|
1006 |
Slot: 4; |
|
1007 |
TimeAfterTurn: 0; |
|
1008 |
minAngle: 0; |
|
1009 |
maxAngle: 0; |
|
1010 |
isDamaging: true; |
|
1445 | 1011 |
SkipTurns: 4; |
1259 | 1012 |
PosCount: 1; |
1013 |
PosSprite: sprWater), |
|
1014 |
(NameId: sidSeduction; |
|
1015 |
NameTex: nil; |
|
1016 |
Probability: 100; |
|
1017 |
NumberInCase: 1; |
|
1284 | 1018 |
Ammo: (Propz: ammoprop_ForwMsgs or ammoprop_DontHold; |
1259 | 1019 |
Count: 1; |
1020 |
NumPerTurn: 0; |
|
1021 |
Timer: 0; |
|
1022 |
Pos: 0; |
|
1023 |
AmmoType: amSeduction); |
|
1024 |
Slot: 2; |
|
1025 |
TimeAfterTurn: 0; |
|
1026 |
minAngle: 0; |
|
1027 |
maxAngle: 0; |
|
1508 | 1028 |
isDamaging: false; |
1259 | 1029 |
SkipTurns: 0; |
1030 |
PosCount: 1; |
|
1261 | 1031 |
PosSprite: sprWater), |
1032 |
(NameId: sidWatermelon; |
|
1033 |
NameTex: nil; |
|
1430 | 1034 |
Probability: 400; |
1261 | 1035 |
NumberInCase: 1; |
1036 |
Ammo: (Propz: ammoprop_Timerable or |
|
1037 |
ammoprop_Power or |
|
1038 |
ammoprop_AltUse; |
|
1430 | 1039 |
Count: 0; |
1261 | 1040 |
NumPerTurn: 0; |
1041 |
Timer: 3000; |
|
1042 |
Pos: 0; |
|
1043 |
AmmoType: amWatermelon); |
|
1044 |
Slot: 1; |
|
1045 |
TimeAfterTurn: 3000; |
|
1046 |
minAngle: 0; |
|
1047 |
maxAngle: 0; |
|
1048 |
isDamaging: true; |
|
1049 |
SkipTurns: 0; |
|
1050 |
PosCount: 1; |
|
1263 | 1051 |
PosSprite: sprWater), |
1052 |
(NameId: sidHellishBomb; |
|
1053 |
NameTex: nil; |
|
1430 | 1054 |
Probability: 400; |
1263 | 1055 |
NumberInCase: 1; |
1056 |
Ammo: (Propz: ammoprop_Power or |
|
1057 |
ammoprop_AltUse; |
|
1430 | 1058 |
Count: 0; |
1263 | 1059 |
NumPerTurn: 0; |
1060 |
Timer: 5000; |
|
1061 |
Pos: 0; |
|
1062 |
AmmoType: amHellishBomb); |
|
1063 |
Slot: 4; |
|
1064 |
TimeAfterTurn: 3000; |
|
1065 |
minAngle: 0; |
|
1066 |
maxAngle: 0; |
|
1067 |
isDamaging: true; |
|
1068 |
SkipTurns: 0; |
|
1069 |
PosCount: 1; |
|
1507 | 1070 |
PosSprite: sprWater), |
1608 | 1071 |
(NameId: sidNapalm; |
1507 | 1072 |
NameTex: nil; |
1073 |
Probability: 100; |
|
1074 |
NumberInCase: 1; |
|
1075 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
1076 |
ammoprop_NeedTarget or |
|
1077 |
ammoprop_AttackingPut or |
|
1078 |
ammoprop_DontHold; |
|
1079 |
Count: 1; |
|
1080 |
NumPerTurn: 0; |
|
1081 |
Timer: 0; |
|
1082 |
Pos: 0; |
|
1083 |
AmmoType: amNapalm); |
|
1084 |
Slot: 5; |
|
1085 |
TimeAfterTurn: 0; |
|
1086 |
minAngle: 0; |
|
1087 |
maxAngle: 0; |
|
1088 |
isDamaging: true; |
|
1608 | 1089 |
SkipTurns: 7; |
1507 | 1090 |
PosCount: 2; |
1573 | 1091 |
PosSprite: sprAmAirplane), |
1092 |
(NameId: sidDrill; |
|
1093 |
NameTex: nil; |
|
1586 | 1094 |
Probability: 300; |
1573 | 1095 |
NumberInCase: 1; |
1096 |
Ammo: (Propz: ammoprop_Power or |
|
1097 |
ammoprop_AltUse; |
|
1098 |
Count: AMMO_INFINITE; |
|
1099 |
NumPerTurn: 0; |
|
1100 |
Timer: 0; |
|
1101 |
Pos: 0; |
|
1102 |
AmmoType: amDrill); |
|
1103 |
Slot: 0; |
|
1104 |
TimeAfterTurn: 3000; |
|
1105 |
minAngle: 0; |
|
1106 |
maxAngle: 0; |
|
1107 |
isDamaging: true; |
|
1108 |
SkipTurns: 0; |
|
1109 |
PosCount: 1; |
|
1601 | 1110 |
PosSprite: sprDrill), |
1111 |
(NameId: sidBallgun; |
|
1112 |
NameTex: nil; |
|
1113 |
Probability: 400; |
|
1114 |
NumberInCase: 1; |
|
1115 |
Ammo: (Propz: ammoprop_ForwMsgs; |
|
1116 |
Count: AMMO_INFINITE; |
|
1117 |
NumPerTurn: 0; |
|
1118 |
Timer: 5001; |
|
1119 |
Pos: 0; |
|
1120 |
AmmoType: amBallgun); |
|
1121 |
Slot: 2; |
|
1122 |
TimeAfterTurn: 0; |
|
1123 |
minAngle: 0; |
|
1124 |
maxAngle: 0; |
|
1125 |
isDamaging: true; |
|
1126 |
SkipTurns: 0; |
|
1127 |
PosCount: 1; |
|
1128 |
PosSprite: sprWater) |
|
1259 | 1129 |
); |
37 | 1130 |
|
844 | 1131 |
var CountTexz: array[1..9] of PTexture; |
1132 |
||
4 | 1133 |
implementation |
1134 |
||
1135 |
end. |