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