author | unc0rr |
Wed, 15 Oct 2008 15:02:39 +0000 | |
changeset 1356 | 77ab8735401d |
parent 1298 | 18fdc25fe65d |
child 1367 | e1aaa1a4901f |
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, |
|
77 |
sndMelon, sndHellish); |
|
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 |
|
510 |
(FileName: 'Hellish.ogg'; Path: ptSounds; id: nil; lastChan: 0) // sndHellish |
|
1259 | 511 |
); |
4 | 512 |
|
1259 | 513 |
Ammoz: array [TAmmoType] of record |
514 |
NameId: TAmmoStrId; |
|
515 |
NameTex: PTexture; |
|
516 |
Probability, NumberInCase: Longword; |
|
517 |
Ammo: TAmmo; |
|
518 |
Slot: 0..cMaxSlotIndex; |
|
519 |
TimeAfterTurn: Longword; |
|
520 |
minAngle, maxAngle: Longword; |
|
521 |
isDamaging: boolean; |
|
522 |
SkipTurns: Longword; |
|
523 |
PosCount: Longword; |
|
524 |
PosSprite: TSprite; |
|
525 |
end = ( |
|
526 |
(NameId: sidGrenade; |
|
527 |
NameTex: nil; |
|
528 |
Probability: 0; |
|
529 |
NumberInCase: 1; |
|
530 |
Ammo: (Propz: ammoprop_Timerable or |
|
531 |
ammoprop_Power or |
|
532 |
ammoprop_AltUse; |
|
533 |
Count: AMMO_INFINITE; |
|
534 |
NumPerTurn: 0; |
|
535 |
Timer: 3000; |
|
536 |
Pos: 0; |
|
537 |
AmmoType: amGrenade); |
|
538 |
Slot: 1; |
|
539 |
TimeAfterTurn: 3000; |
|
540 |
minAngle: 0; |
|
541 |
maxAngle: 0; |
|
542 |
isDamaging: true; |
|
543 |
SkipTurns: 0; |
|
544 |
PosCount: 1; |
|
545 |
PosSprite: sprWater), |
|
546 |
(NameId: sidClusterBomb; |
|
547 |
NameTex: nil; |
|
548 |
Probability: 100; |
|
549 |
NumberInCase: 3; |
|
550 |
Ammo: (Propz: ammoprop_Timerable or |
|
551 |
ammoprop_Power or |
|
552 |
ammoprop_AltUse; |
|
553 |
Count: 5; |
|
554 |
NumPerTurn: 0; |
|
555 |
Timer: 3000; |
|
556 |
Pos: 0; |
|
557 |
AmmoType: amClusterBomb); |
|
558 |
Slot: 1; |
|
559 |
TimeAfterTurn: 3000; |
|
560 |
minAngle: 0; |
|
561 |
maxAngle: 0; |
|
562 |
isDamaging: true; |
|
563 |
SkipTurns: 0; |
|
564 |
PosCount: 1; |
|
565 |
PosSprite: sprWater), |
|
566 |
(NameId: sidBazooka; |
|
567 |
NameTex: nil; |
|
568 |
Probability: 0; |
|
569 |
NumberInCase: 1; |
|
570 |
Ammo: (Propz: ammoprop_Power or |
|
571 |
ammoprop_AltUse; |
|
572 |
Count: AMMO_INFINITE; |
|
573 |
NumPerTurn: 0; |
|
574 |
Timer: 0; |
|
575 |
Pos: 0; |
|
576 |
AmmoType: amBazooka); |
|
577 |
Slot: 0; |
|
578 |
TimeAfterTurn: 3000; |
|
579 |
minAngle: 0; |
|
580 |
maxAngle: 0; |
|
581 |
isDamaging: true; |
|
582 |
SkipTurns: 0; |
|
583 |
PosCount: 1; |
|
584 |
PosSprite: sprWater), |
|
585 |
(NameId: sidUFO; |
|
586 |
NameTex: nil; |
|
587 |
Probability: 100; |
|
588 |
NumberInCase: 1; |
|
589 |
Ammo: (Propz: ammoprop_Power or |
|
590 |
ammoprop_NeedTarget or |
|
591 |
ammoprop_DontHold; |
|
592 |
Count: 2; |
|
593 |
NumPerTurn: 0; |
|
594 |
Timer: 0; |
|
595 |
Pos: 0; |
|
596 |
AmmoType: amUFO); |
|
597 |
Slot: 0; |
|
598 |
TimeAfterTurn: 3000; |
|
599 |
minAngle: 0; |
|
600 |
maxAngle: 0; |
|
601 |
isDamaging: true; |
|
602 |
SkipTurns: 0; |
|
603 |
PosCount: 1; |
|
604 |
PosSprite: sprWater), |
|
605 |
(NameId: sidShotgun; |
|
606 |
NameTex: nil; |
|
607 |
Probability: 0; |
|
608 |
NumberInCase: 1; |
|
609 |
Ammo: (Propz: ammoprop_ForwMsgs; |
|
610 |
Count: AMMO_INFINITE; |
|
611 |
NumPerTurn: 1; |
|
612 |
Timer: 0; |
|
613 |
Pos: 0; |
|
614 |
AmmoType: amShotgun); |
|
615 |
Slot: 2; |
|
616 |
TimeAfterTurn: 3000; |
|
617 |
minAngle: 0; |
|
618 |
maxAngle: 0; |
|
619 |
isDamaging: true; |
|
620 |
SkipTurns: 0; |
|
621 |
PosCount: 1; |
|
622 |
PosSprite: sprWater), |
|
623 |
(NameId: sidPickHammer; |
|
624 |
NameTex: nil; |
|
625 |
Probability: 0; |
|
626 |
NumberInCase: 1; |
|
627 |
Ammo: (Propz: ammoprop_ForwMsgs or |
|
628 |
ammoprop_AttackInMove or |
|
629 |
ammoprop_NoCrosshair or |
|
630 |
ammoprop_DontHold; |
|
631 |
Count: 2; |
|
632 |
NumPerTurn: 0; |
|
633 |
Timer: 0; |
|
634 |
Pos: 0; |
|
635 |
AmmoType: amPickHammer); |
|
636 |
Slot: 6; |
|
637 |
TimeAfterTurn: 0; |
|
638 |
minAngle: 0; |
|
639 |
maxAngle: 0; |
|
640 |
isDamaging: false; |
|
641 |
SkipTurns: 0; |
|
642 |
PosCount: 1; |
|
643 |
PosSprite: sprWater), |
|
644 |
(NameId: sidSkip; |
|
645 |
NameTex: nil; |
|
646 |
Probability: 0; |
|
647 |
NumberInCase: 1; |
|
648 |
Ammo: (Propz: ammoprop_DontHold; |
|
649 |
Count: AMMO_INFINITE; |
|
650 |
NumPerTurn: 0; |
|
651 |
Timer: 0; |
|
652 |
Pos: 0; |
|
653 |
AmmoType: amSkip); |
|
654 |
Slot: 8; |
|
655 |
TimeAfterTurn: 0; |
|
656 |
minAngle: 0; |
|
657 |
maxAngle: 0; |
|
658 |
isDamaging: false; |
|
659 |
SkipTurns: 0; |
|
660 |
PosCount: 1; |
|
661 |
PosSprite: sprWater), |
|
662 |
(NameId: sidRope; |
|
663 |
NameTex: nil; |
|
664 |
Probability: 100; |
|
665 |
NumberInCase: 3; |
|
666 |
Ammo: (Propz: ammoprop_ForwMsgs or |
|
667 |
ammoprop_AttackInMove or |
|
668 |
ammoprop_DontHold or |
|
669 |
ammoprop_AltAttack; |
|
670 |
Count: 5; |
|
671 |
NumPerTurn: 0; |
|
672 |
Timer: 0; |
|
673 |
Pos: 0; |
|
674 |
AmmoType: amRope); |
|
675 |
Slot: 7; |
|
676 |
TimeAfterTurn: 0; |
|
677 |
minAngle: 0; |
|
678 |
maxAngle: cMaxAngle div 2; |
|
679 |
isDamaging: false; |
|
680 |
SkipTurns: 0; |
|
681 |
PosCount: 1; |
|
682 |
PosSprite: sprWater), |
|
683 |
(NameId: sidMine; |
|
684 |
NameTex: nil; |
|
685 |
Probability: 100; |
|
686 |
NumberInCase: 1; |
|
687 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
688 |
ammoprop_AttackInMove or |
|
689 |
ammoprop_DontHold or |
|
690 |
ammoprop_AltUse; |
|
691 |
Count: 2; |
|
692 |
NumPerTurn: 0; |
|
693 |
Timer: 0; |
|
694 |
Pos: 0; |
|
695 |
AmmoType: amMine); |
|
696 |
Slot: 4; |
|
697 |
TimeAfterTurn: 5000; |
|
698 |
minAngle: 0; |
|
699 |
maxAngle: 0; |
|
700 |
isDamaging: true; |
|
701 |
SkipTurns: 0; |
|
702 |
PosCount: 1; |
|
703 |
PosSprite: sprWater), |
|
704 |
(NameId: sidDEagle; |
|
705 |
NameTex: nil; |
|
706 |
Probability: 100; |
|
707 |
NumberInCase: 2; |
|
708 |
Ammo: (Propz: 0; |
|
709 |
Count: 3; |
|
710 |
NumPerTurn: 3; |
|
711 |
Timer: 0; |
|
712 |
Pos: 0; |
|
713 |
AmmoType: amDEagle); |
|
714 |
Slot: 2; |
|
715 |
TimeAfterTurn: 3000; |
|
716 |
minAngle: 0; |
|
717 |
maxAngle: 0; |
|
718 |
isDamaging: true; |
|
719 |
SkipTurns: 0; |
|
720 |
PosCount: 1; |
|
721 |
PosSprite: sprWater), |
|
722 |
(NameId: sidDynamite; |
|
723 |
NameTex: nil; |
|
724 |
Probability: 100; |
|
725 |
NumberInCase: 1; |
|
726 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
727 |
ammoprop_AttackInMove or |
|
728 |
ammoprop_DontHold or |
|
729 |
ammoprop_AltUse; |
|
730 |
Count: 1; |
|
731 |
NumPerTurn: 0; |
|
732 |
Timer: 0; |
|
733 |
Pos: 0; |
|
734 |
AmmoType: amDynamite); |
|
735 |
Slot: 4; |
|
736 |
TimeAfterTurn: 5000; |
|
737 |
minAngle: 0; |
|
738 |
maxAngle: 0; |
|
739 |
isDamaging: true; |
|
740 |
SkipTurns: 0; |
|
741 |
PosCount: 1; |
|
742 |
PosSprite: sprWater), |
|
743 |
(NameId: sidFirePunch; |
|
744 |
NameTex: nil; |
|
745 |
Probability: 0; |
|
746 |
NumberInCase: 1; |
|
747 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
748 |
ammoprop_ForwMsgs or |
|
749 |
ammoprop_AttackInMove; |
|
750 |
Count: AMMO_INFINITE; |
|
751 |
NumPerTurn: 0; |
|
752 |
Timer: 0; |
|
753 |
Pos: 0; |
|
754 |
AmmoType: amFirePunch); |
|
755 |
Slot: 3; |
|
756 |
TimeAfterTurn: 3000; |
|
757 |
MinAngle: 0; |
|
758 |
maxAngle: 0; |
|
759 |
isDamaging: true; |
|
760 |
SkipTurns: 0; |
|
761 |
PosCount: 1; |
|
762 |
PosSprite: sprWater), |
|
763 |
(NameId: sidWhip; |
|
764 |
NameTex: nil; |
|
765 |
Probability: 0; |
|
766 |
NumberInCase: 1; |
|
767 |
Ammo: (Propz: ammoprop_NoCrosshair; |
|
768 |
Count: AMMO_INFINITE; |
|
769 |
NumPerTurn: 0; |
|
770 |
Timer: 0; |
|
771 |
Pos: 0; |
|
772 |
AmmoType: amWhip); |
|
773 |
Slot: 3; |
|
774 |
TimeAfterTurn: 3000; |
|
775 |
MinAngle: 0; |
|
776 |
maxAngle: 0; |
|
777 |
isDamaging: true; |
|
778 |
SkipTurns: 0; |
|
779 |
PosCount: 1; |
|
780 |
PosSprite: sprWater), |
|
781 |
(NameId: sidBaseballBat; |
|
782 |
NameTex: nil; |
|
783 |
Probability: 100; |
|
784 |
NumberInCase: 1; |
|
785 |
Ammo: (Propz: ammoprop_DontHold; |
|
786 |
Count: 1; |
|
787 |
NumPerTurn: 0; |
|
788 |
Timer: 0; |
|
789 |
Pos: 0; |
|
790 |
AmmoType: amBaseballBat); |
|
791 |
Slot: 3; |
|
792 |
TimeAfterTurn: 5000; |
|
793 |
minAngle: 0; |
|
794 |
maxAngle: cMaxAngle div 2; |
|
795 |
isDamaging: true; |
|
796 |
SkipTurns: 2; |
|
797 |
PosCount: 1; |
|
798 |
PosSprite: sprWater), |
|
799 |
(NameId: sidParachute; |
|
800 |
NameTex: nil; |
|
801 |
Probability: 100; |
|
802 |
NumberInCase: 1; |
|
803 |
Ammo: (Propz: ammoprop_ForwMsgs or |
|
804 |
ammoprop_AttackInMove or |
|
805 |
ammoprop_NoCrosshair or |
|
806 |
ammoprop_DontHold or |
|
807 |
ammoprop_AltAttack; |
|
808 |
Count: 2; |
|
809 |
NumPerTurn: 0; |
|
810 |
Timer: 0; |
|
811 |
Pos: 0; |
|
812 |
AmmoType: amParachute); |
|
813 |
Slot: 7; |
|
814 |
TimeAfterTurn: 0; |
|
815 |
minAngle: 0; |
|
816 |
maxAngle: 0; |
|
817 |
isDamaging: false; |
|
818 |
SkipTurns: 0; |
|
819 |
PosCount: 1; |
|
820 |
PosSprite: sprWater), |
|
821 |
(NameId: sidAirAttack; |
|
822 |
NameTex: nil; |
|
823 |
Probability: 100; |
|
824 |
NumberInCase: 1; |
|
825 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
826 |
ammoprop_NeedTarget or |
|
827 |
ammoprop_AttackingPut or |
|
828 |
ammoprop_DontHold; |
|
829 |
Count: 1; |
|
830 |
NumPerTurn: 0; |
|
831 |
Timer: 0; |
|
832 |
Pos: 0; |
|
833 |
AmmoType: amAirAttack); |
|
834 |
Slot: 5; |
|
835 |
TimeAfterTurn: 0; |
|
836 |
minAngle: 0; |
|
837 |
maxAngle: 0; |
|
838 |
isDamaging: true; |
|
839 |
SkipTurns: 5; |
|
840 |
PosCount: 2; |
|
841 |
PosSprite: sprAmAirplane), |
|
842 |
(NameId: sidMineStrike; |
|
843 |
NameTex: nil; |
|
1261 | 844 |
Probability: 300; |
1259 | 845 |
NumberInCase: 1; |
846 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
847 |
ammoprop_NeedTarget or |
|
848 |
ammoprop_AttackingPut or |
|
849 |
ammoprop_DontHold; |
|
850 |
Count: 1; |
|
851 |
NumPerTurn: 0; |
|
852 |
Timer: 0; |
|
853 |
Pos: 0; |
|
854 |
AmmoType: amMineStrike); |
|
855 |
Slot: 5; |
|
856 |
TimeAfterTurn: 0; |
|
857 |
minAngle: 0; |
|
858 |
maxAngle: 0; |
|
859 |
isDamaging: true; |
|
860 |
SkipTurns: 5; |
|
861 |
PosCount: 2; |
|
862 |
PosSprite: sprAmAirplane), |
|
863 |
(NameId: sidBlowTorch; |
|
864 |
NameTex: nil; |
|
865 |
Probability: 100; |
|
866 |
NumberInCase: 2; |
|
867 |
Ammo: (Propz: ammoprop_ForwMsgs; |
|
868 |
Count: 1; |
|
869 |
NumPerTurn: 0; |
|
870 |
Timer: 0; |
|
871 |
Pos: 0; |
|
872 |
AmmoType: amBlowTorch); |
|
873 |
Slot: 6; |
|
874 |
TimeAfterTurn: 3000; |
|
875 |
minAngle: 768; |
|
876 |
maxAngle: 1280; |
|
877 |
isDamaging: false; |
|
878 |
SkipTurns: 0; |
|
879 |
PosCount: 1; |
|
880 |
PosSprite: sprWater), |
|
881 |
(NameId: sidGirder; |
|
882 |
NameTex: nil; |
|
1261 | 883 |
Probability: 300; |
1259 | 884 |
NumberInCase: 3; |
885 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
886 |
ammoprop_NeedTarget or |
|
887 |
ammoprop_AttackingPut or |
|
888 |
ammoprop_DontHold; |
|
889 |
Count: 1; |
|
890 |
NumPerTurn: 0; |
|
891 |
Timer: 0; |
|
892 |
Pos: 0; |
|
893 |
AmmoType: amGirder); |
|
894 |
Slot: 6; |
|
895 |
TimeAfterTurn: 3000; |
|
896 |
minAngle: 0; |
|
897 |
maxAngle: 0; |
|
898 |
isDamaging: false; |
|
899 |
SkipTurns: 0; |
|
900 |
PosCount: 8; |
|
901 |
PosSprite: sprAmGirder), |
|
902 |
(NameId: sidTeleport; |
|
903 |
NameTex: nil; |
|
1261 | 904 |
Probability: 300; |
1259 | 905 |
NumberInCase: 1; |
906 |
Ammo: (Propz: ammoprop_ForwMsgs or |
|
907 |
ammoprop_NoCrosshair or |
|
908 |
ammoprop_NeedTarget or |
|
909 |
ammoprop_AttackingPut or |
|
910 |
ammoprop_DontHold; |
|
911 |
Count: 2; |
|
912 |
NumPerTurn: 0; |
|
913 |
Timer: 0; |
|
914 |
Pos: 0; |
|
915 |
AmmoType: amTeleport); |
|
916 |
Slot: 7; |
|
917 |
TimeAfterTurn: 0; |
|
918 |
minAngle: 0; |
|
919 |
maxAngle: 0; |
|
920 |
isDamaging: false; |
|
921 |
SkipTurns: 0; |
|
922 |
PosCount: 1; |
|
923 |
PosSprite: sprWater), |
|
924 |
(NameId: sidSwitch; |
|
925 |
NameTex: nil; |
|
926 |
Probability: 100; |
|
927 |
NumberInCase: 1; |
|
928 |
Ammo: (Propz: ammoprop_ForwMsgs or |
|
929 |
ammoprop_NoCrosshair or |
|
930 |
ammoprop_DontHold; |
|
931 |
Count: 3; |
|
932 |
NumPerTurn: 0; |
|
933 |
Timer: 0; |
|
934 |
Pos: 0; |
|
935 |
AmmoType: amSwitch); |
|
936 |
Slot: 8; |
|
937 |
TimeAfterTurn: 0; |
|
938 |
minAngle: 0; |
|
939 |
maxAngle: 0; |
|
940 |
isDamaging: false; |
|
941 |
SkipTurns: 0; |
|
942 |
PosCount: 1; |
|
943 |
PosSprite: sprWater), |
|
944 |
(NameId: sidMortar; |
|
945 |
NameTex: nil; |
|
946 |
Probability: 100; |
|
947 |
NumberInCase: 5; |
|
948 |
Ammo: (Propz: 0; |
|
949 |
Count: 4; |
|
950 |
NumPerTurn: 0; |
|
951 |
Timer: 0; |
|
952 |
Pos: 0; |
|
953 |
AmmoType: amMortar); |
|
954 |
Slot: 1; |
|
955 |
TimeAfterTurn: 3000; |
|
956 |
minAngle: 0; |
|
957 |
maxAngle: 0; |
|
958 |
isDamaging: true; |
|
959 |
SkipTurns: 0; |
|
960 |
PosCount: 1; |
|
961 |
PosSprite: sprWater), |
|
962 |
(NameId: sidKamikaze; |
|
963 |
NameTex: nil; |
|
964 |
Probability: 100; |
|
965 |
NumberInCase: 1; |
|
966 |
Ammo: (Propz: ammoprop_ForwMsgs or |
|
967 |
ammoprop_DontHold; |
|
968 |
Count: 1; |
|
969 |
NumPerTurn: 0; |
|
970 |
Timer: 0; |
|
971 |
Pos: 0; |
|
972 |
AmmoType: amKamikaze); |
|
973 |
Slot: 3; |
|
974 |
TimeAfterTurn: 0; |
|
975 |
minAngle: 0; |
|
976 |
maxAngle: 0; |
|
977 |
isDamaging: true; |
|
978 |
SkipTurns: 0; |
|
979 |
PosCount: 1; |
|
980 |
PosSprite: sprWater), |
|
981 |
(NameId: sidCake; |
|
982 |
NameTex: nil; |
|
983 |
Probability: 100; |
|
984 |
NumberInCase: 1; |
|
985 |
Ammo: (Propz: ammoprop_ForwMsgs or |
|
986 |
ammoprop_NoCrosshair or |
|
987 |
ammoprop_DontHold; |
|
988 |
Count: 1; |
|
989 |
NumPerTurn: 0; |
|
990 |
Timer: 0; |
|
991 |
Pos: 0; |
|
992 |
AmmoType: amCake); |
|
993 |
Slot: 4; |
|
994 |
TimeAfterTurn: 0; |
|
995 |
minAngle: 0; |
|
996 |
maxAngle: 0; |
|
997 |
isDamaging: true; |
|
998 |
SkipTurns: 0; |
|
999 |
PosCount: 1; |
|
1000 |
PosSprite: sprWater), |
|
1001 |
(NameId: sidSeduction; |
|
1002 |
NameTex: nil; |
|
1003 |
Probability: 100; |
|
1004 |
NumberInCase: 1; |
|
1284 | 1005 |
Ammo: (Propz: ammoprop_ForwMsgs or ammoprop_DontHold; |
1259 | 1006 |
Count: 1; |
1007 |
NumPerTurn: 0; |
|
1008 |
Timer: 0; |
|
1009 |
Pos: 0; |
|
1010 |
AmmoType: amSeduction); |
|
1011 |
Slot: 2; |
|
1012 |
TimeAfterTurn: 0; |
|
1013 |
minAngle: 0; |
|
1014 |
maxAngle: 0; |
|
1015 |
isDamaging: true; |
|
1016 |
SkipTurns: 0; |
|
1017 |
PosCount: 1; |
|
1261 | 1018 |
PosSprite: sprWater), |
1019 |
(NameId: sidWatermelon; |
|
1020 |
NameTex: nil; |
|
1021 |
Probability: 200; |
|
1022 |
NumberInCase: 1; |
|
1023 |
Ammo: (Propz: ammoprop_Timerable or |
|
1024 |
ammoprop_Power or |
|
1025 |
ammoprop_AltUse; |
|
1026 |
Count: 1; |
|
1027 |
NumPerTurn: 0; |
|
1028 |
Timer: 3000; |
|
1029 |
Pos: 0; |
|
1030 |
AmmoType: amWatermelon); |
|
1031 |
Slot: 1; |
|
1032 |
TimeAfterTurn: 3000; |
|
1033 |
minAngle: 0; |
|
1034 |
maxAngle: 0; |
|
1035 |
isDamaging: true; |
|
1036 |
SkipTurns: 0; |
|
1037 |
PosCount: 1; |
|
1263 | 1038 |
PosSprite: sprWater), |
1039 |
(NameId: sidHellishBomb; |
|
1040 |
NameTex: nil; |
|
1041 |
Probability: 200; |
|
1042 |
NumberInCase: 1; |
|
1043 |
Ammo: (Propz: ammoprop_Power or |
|
1044 |
ammoprop_AltUse; |
|
1045 |
Count: 1; |
|
1046 |
NumPerTurn: 0; |
|
1047 |
Timer: 5000; |
|
1048 |
Pos: 0; |
|
1049 |
AmmoType: amHellishBomb); |
|
1050 |
Slot: 4; |
|
1051 |
TimeAfterTurn: 3000; |
|
1052 |
minAngle: 0; |
|
1053 |
maxAngle: 0; |
|
1054 |
isDamaging: true; |
|
1055 |
SkipTurns: 0; |
|
1056 |
PosCount: 1; |
|
1259 | 1057 |
PosSprite: sprWater) |
1058 |
); |
|
37 | 1059 |
|
844 | 1060 |
var CountTexz: array[1..9] of PTexture; |
1061 |
||
4 | 1062 |
implementation |
1063 |
||
1064 |
end. |