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