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