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