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