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