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