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