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