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