author | unc0rr |
Mon, 12 May 2008 19:49:36 +0000 | |
changeset 929 | 9456e1e77369 |
parent 928 | b9064b48b001 |
child 930 | 3f61bd3b08fd |
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 |
|
926
d231e007452a
Timer as hedgehog message (avoid possible desync in very rare cases)
unc0rr
parents:
925
diff
changeset
|
186 |
gm_Timer = $00000800; // with param |
4 | 187 |
|
263 | 188 |
cMaxSlotIndex = 8; |
409 | 189 |
cMaxSlotAmmoIndex = 2; |
4 | 190 |
|
191 |
ammoprop_Timerable = $00000001; |
|
192 |
ammoprop_Power = $00000002; |
|
193 |
ammoprop_NeedTarget = $00000004; |
|
194 |
ammoprop_ForwMsgs = $00000008; |
|
542 | 195 |
ammoprop_AttackInMove = $00000010; |
13 | 196 |
ammoprop_NoCrosshair = $00000040; |
263 | 197 |
ammoprop_AttackingPut = $00000080; |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
198 |
ammoprop_DontHold = $00000100; |
928
b9064b48b001
Some preparation work for attacking from rope, parachute and etc.
unc0rr
parents:
926
diff
changeset
|
199 |
ammoprop_AltAttack = $00000200; |
4 | 200 |
AMMO_INFINITE = High(LongWord); |
201 |
||
42 | 202 |
EXPLAllDamageInRadius = $00000001; |
203 |
EXPLAutoSound = $00000002; |
|
204 |
EXPLNoDamage = $00000004; |
|
205 |
EXPLDoNotTouchHH = $00000008; |
|
305 | 206 |
EXPLDontDraw = $00000010; |
42 | 207 |
|
208 |
posCaseAmmo = $00000001; |
|
209 |
posCaseHealth = $00000002; |
|
4 | 210 |
|
371 | 211 |
NoPointX = Low(LongInt); |
4 | 212 |
|
74 | 213 |
cHHFileName = 'Hedgehog'; |
214 |
cCHFileName = 'Crosshair'; |
|
4 | 215 |
cThemeCFGFilename = 'theme.cfg'; |
216 |
||
217 |
Fontz: array[THWFont] of THHFont = ( |
|
351 | 218 |
(Handle: nil; |
219 |
Height: 12; |
|
202 | 220 |
style: TTF_STYLE_NORMAL; |
74 | 221 |
Name: 'DejaVuSans.ttf'), |
351 | 222 |
(Handle: nil; |
223 |
Height: 24; |
|
202 | 224 |
style: TTF_STYLE_NORMAL; |
522 | 225 |
Name: 'DejaVuSans.ttf'), |
226 |
(Handle: nil; |
|
227 |
Height: 10; |
|
228 |
style: TTF_STYLE_NORMAL; |
|
74 | 229 |
Name: 'DejaVuSans.ttf') |
4 | 230 |
); |
231 |
||
202 | 232 |
FontBorder = 2; |
233 |
||
99 | 234 |
PathPrefix: string = './'; |
235 |
Pathz: array[TPathType] of string = ( |
|
805 | 236 |
'', // ptNone |
267 | 237 |
'', // ptData |
238 |
'Graphics', // ptGraphics |
|
239 |
'Themes', // ptThemes |
|
240 |
'Themes/avematan', // ptCurrTheme |
|
241 |
'Teams', // ptTeams |
|
242 |
'Maps', // ptMaps |
|
53 | 243 |
'', // ptMapCurrent |
267 | 244 |
'Demos', // ptDemos |
245 |
'Sounds', // ptSounds |
|
246 |
'Graphics/Graves', // ptGraves |
|
247 |
'Fonts', // ptFonts |
|
248 |
'Forts', // ptForts |
|
249 |
'Locale', // ptLocale |
|
799 | 250 |
'Graphics/AmmoMenu', // ptAmmoMenu |
822 | 251 |
'Graphics/Hedgehog', // ptHedgehog |
799 | 252 |
'Sounds/voices' // ptVoices |
4 | 253 |
); |
254 |
||
255 |
SpritesData: array[TSprite] of record |
|
35 | 256 |
FileName: String[31]; |
80 | 257 |
Path, AltPath: TPathType; |
755 | 258 |
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
|
259 |
Surface: PSDL_Surface; |
371 | 260 |
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
|
261 |
saveSurf: boolean; |
35 | 262 |
end = ( |
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: 'BlueWater'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
793 | 264 |
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
|
265 |
(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
|
266 |
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
|
267 |
(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
|
268 |
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
|
269 |
(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
|
270 |
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
|
271 |
(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
|
272 |
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
|
273 |
(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
|
274 |
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
|
275 |
(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
|
276 |
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
|
277 |
(FileName: 'Grenade'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
775 | 278 |
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
|
279 |
(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
|
280 |
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
|
281 |
(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
|
282 |
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
|
283 |
(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
|
284 |
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
|
285 |
(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
|
286 |
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
|
287 |
(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
|
288 |
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
|
289 |
(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
|
290 |
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
|
291 |
(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
|
292 |
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
|
293 |
(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
|
294 |
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
|
295 |
(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
|
296 |
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
|
297 |
(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
|
298 |
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
|
299 |
(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
|
300 |
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
|
301 |
(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
|
302 |
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
|
303 |
(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
|
304 |
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
|
305 |
(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
|
306 |
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
|
307 |
(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
|
308 |
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
|
309 |
(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
|
310 |
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
|
311 |
(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
|
312 |
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
|
313 |
(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
|
314 |
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
|
315 |
(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
|
316 |
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
|
317 |
(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
|
318 |
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
|
319 |
(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
|
320 |
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
|
321 |
(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
|
322 |
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
|
323 |
(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
|
324 |
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
|
325 |
(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
|
326 |
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
|
327 |
(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
|
328 |
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
|
329 |
(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
|
330 |
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
|
331 |
(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
|
332 |
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
|
333 |
(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
|
334 |
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
|
335 |
(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
|
336 |
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
|
337 |
(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
|
338 |
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
|
339 |
(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
|
340 |
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
|
341 |
(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
|
342 |
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
|
343 |
(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
|
344 |
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
|
345 |
(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
|
346 |
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
|
347 |
(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
|
348 |
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
|
349 |
(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
|
350 |
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
|
351 |
(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
|
352 |
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
|
353 |
(FileName: 'WindR'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
805 | 354 |
Width: 80; Height: 13; saveSurf: false),// sprWindR |
355 |
(FileName: 'Flake'; Path:ptCurrTheme; AltPath: ptNone; Texture: nil; Surface: nil; |
|
822 | 356 |
Width: 64; Height: 64; saveSurf: false),// sprFlake |
357 |
(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
|
358 |
Width: 32; Height: 32; saveSurf: false),// sprHandRope |
90d651e75547
Use ammo-in-hand sprites for desert eagle, shotgun and bazooka
unc0rr
parents:
822
diff
changeset
|
359 |
(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
|
360 |
Width: 32; Height: 32; saveSurf: false),// sprHandBazooka |
90d651e75547
Use ammo-in-hand sprites for desert eagle, shotgun and bazooka
unc0rr
parents:
822
diff
changeset
|
361 |
(FileName: 'amShotgun'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
876 | 362 |
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
|
363 |
(FileName: 'amDEagle'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
876 | 364 |
Width: 64; Height: 64; saveSurf: false),// sprHandDEagle |
825 | 365 |
(FileName:'amAirAttack'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
834 | 366 |
Width: 32; Height: 32; saveSurf: false),// sprHandAirAttack |
367 |
(FileName: 'amBaseball'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
845 | 368 |
Width: 32; Height: 32; saveSurf: false),// sprHandBaseball |
369 |
(FileName: 'Hammer'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
847 | 370 |
Width: 32; Height: 64; saveSurf: false),// sprPHammer |
371 |
(FileName: 'amBTorch_i'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
372 |
Width: 32; Height: 32; saveSurf: false),// sprHandBlowToch |
|
373 |
(FileName: 'amBTorch_w'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
853 | 374 |
Width: 32; Height: 32; saveSurf: false),// sprBlowToch |
375 |
(FileName: 'Teleport'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
868 | 376 |
Width: 64; Height: 32; saveSurf: false),// sprTeleport |
377 |
(FileName: 'HHDeath'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
876 | 378 |
Width: 32; Height: 64; saveSurf: false),// sprHHDeath |
379 |
(FileName:'amShotgun_w'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
380 |
Width: 64; Height: 64; saveSurf: false),// sprShotgun |
|
381 |
(FileName: 'amDEagle_w'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
382 |
Width: 64; Height: 64; saveSurf: false) // sprDEagle |
|
35 | 383 |
); |
688 | 384 |
|
4 | 385 |
Soundz: array[TSound] of record |
799 | 386 |
FileName: String[31]; |
387 |
Path : TPathType; |
|
388 |
id : PMixChunk; |
|
389 |
lastChan: LongInt; |
|
390 |
end = ( |
|
391 |
(FileName: 'grenadeimpact.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndGrenadeImpact |
|
392 |
(FileName: 'explosion.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndExplosion |
|
393 |
(FileName: 'throwpowerup.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndThrowPowerUp |
|
394 |
(FileName: 'throwrelease.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndThrowRelease |
|
395 |
(FileName: 'splash.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndSplash |
|
396 |
(FileName: 'shotgunreload.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndShotgunReload |
|
397 |
(FileName: 'shotgunfire.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndShotgunFire |
|
398 |
(FileName: 'graveimpact.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndGraveImpact |
|
399 |
(FileName: 'minetick.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndMineTicks |
|
400 |
(FileName: 'pickhammer.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndPickhammer |
|
401 |
(FileName: 'gun.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndGun |
|
402 |
(FileName: 'ufo.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndUFO |
|
403 |
(FileName: 'Jump1.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndJump1 |
|
404 |
(FileName: 'Jump2.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndJump2 |
|
800 | 405 |
(FileName: 'Jump3.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndJump3 |
406 |
(FileName: 'Yessir.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndYesSir |
|
801 | 407 |
(FileName: 'Laugh.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndLaugh |
408 |
(FileName: 'Illgetyou.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndIllGetYou |
|
815 | 409 |
(FileName: 'Incoming.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndIncoming |
410 |
(FileName: 'Missed.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndMissed |
|
829 | 411 |
(FileName: 'Stupid.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndStupid |
863 | 412 |
(FileName: 'Firstblood.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndFirstBlood |
413 |
(FileName: 'Boring.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndBoring |
|
864 | 414 |
(FileName: 'Byebye.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndByeBye |
415 |
(FileName: 'Sameteam.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndSameTeam |
|
865 | 416 |
(FileName: 'Nutter.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndNutter |
866 | 417 |
(FileName:'Reinforcements.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndReinforce |
418 |
(FileName: 'Traitor.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndTraitor |
|
867 | 419 |
(FileName:'Youllregretthat.ogg';Path: ptVoices; id: nil; lastChan: 0),// sndRegret |
870 | 420 |
(FileName: 'Enemydown.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndEnemyDown |
421 |
(FileName: 'Coward.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndCoward |
|
873 | 422 |
(FileName: 'Hurry.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndHurry |
423 |
(FileName: 'Watchit.ogg'; Path: ptVoices; id: nil; lastChan: 0) // sndWatchIt |
|
815 | 424 |
); |
4 | 425 |
|
426 |
Ammoz: array [TAmmoType] of record |
|
80 | 427 |
NameId: TAmmoStrId; |
843 | 428 |
NameTex: PTexture; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
429 |
Probability, NumberInCase: Longword; |
4 | 430 |
Ammo: TAmmo; |
112 | 431 |
Slot: 0..cMaxSlotIndex; |
4 | 432 |
TimeAfterTurn: Longword; |
304 | 433 |
minAngle, maxAngle: Longword; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
434 |
isDamaging: boolean; |
408 | 435 |
PosCount: Longword; |
436 |
PosSprite: TSprite; |
|
4 | 437 |
end = ( |
80 | 438 |
(NameId: sidGrenade; |
843 | 439 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
440 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
441 |
NumberInCase: 1; |
263 | 442 |
Ammo: (Propz: ammoprop_Timerable or |
443 |
ammoprop_Power; |
|
4 | 444 |
Count: AMMO_INFINITE; |
445 |
NumPerTurn: 0; |
|
446 |
Timer: 3000; |
|
408 | 447 |
Pos: 0; |
4 | 448 |
AmmoType: amGrenade); |
10 | 449 |
Slot: 1; |
351 | 450 |
TimeAfterTurn: 3000; |
451 |
minAngle: 0; |
|
408 | 452 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
453 |
isDamaging: true; |
495 | 454 |
PosCount: 1; |
455 |
PosSprite: sprWater), |
|
80 | 456 |
(NameId: sidClusterBomb; |
843 | 457 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
458 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
459 |
NumberInCase: 3; |
263 | 460 |
Ammo: (Propz: ammoprop_Timerable or |
461 |
ammoprop_Power; |
|
78 | 462 |
Count: 5; |
463 |
NumPerTurn: 0; |
|
464 |
Timer: 3000; |
|
408 | 465 |
Pos: 0; |
78 | 466 |
AmmoType: amClusterBomb); |
467 |
Slot: 1; |
|
351 | 468 |
TimeAfterTurn: 3000; |
469 |
minAngle: 0; |
|
408 | 470 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
471 |
isDamaging: true; |
495 | 472 |
PosCount: 1; |
473 |
PosSprite: sprWater), |
|
80 | 474 |
(NameId: sidBazooka; |
843 | 475 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
476 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
477 |
NumberInCase: 1; |
4 | 478 |
Ammo: (Propz: ammoprop_Power; |
479 |
Count: AMMO_INFINITE; |
|
480 |
NumPerTurn: 0; |
|
481 |
Timer: 0; |
|
408 | 482 |
Pos: 0; |
4 | 483 |
AmmoType: amBazooka); |
10 | 484 |
Slot: 0; |
351 | 485 |
TimeAfterTurn: 3000; |
486 |
minAngle: 0; |
|
408 | 487 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
488 |
isDamaging: true; |
495 | 489 |
PosCount: 1; |
490 |
PosSprite: sprWater), |
|
80 | 491 |
(NameId: sidUFO; |
843 | 492 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
493 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
494 |
NumberInCase: 1; |
263 | 495 |
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
|
496 |
ammoprop_NeedTarget or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
497 |
ammoprop_DontHold; |
56 | 498 |
Count: 2; |
4 | 499 |
NumPerTurn: 0; |
500 |
Timer: 0; |
|
408 | 501 |
Pos: 0; |
4 | 502 |
AmmoType: amUFO); |
503 |
Slot: 0; |
|
351 | 504 |
TimeAfterTurn: 3000; |
505 |
minAngle: 0; |
|
408 | 506 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
507 |
isDamaging: true; |
495 | 508 |
PosCount: 1; |
509 |
PosSprite: sprWater), |
|
80 | 510 |
(NameId: sidShotgun; |
843 | 511 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
512 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
513 |
NumberInCase: 1; |
95 | 514 |
Ammo: (Propz: ammoprop_ForwMsgs; |
4 | 515 |
Count: AMMO_INFINITE; |
516 |
NumPerTurn: 1; |
|
517 |
Timer: 0; |
|
408 | 518 |
Pos: 0; |
4 | 519 |
AmmoType: amShotgun); |
520 |
Slot: 2; |
|
351 | 521 |
TimeAfterTurn: 3000; |
522 |
minAngle: 0; |
|
408 | 523 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
524 |
isDamaging: true; |
495 | 525 |
PosCount: 1; |
526 |
PosSprite: sprWater), |
|
80 | 527 |
(NameId: sidPickHammer; |
843 | 528 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
529 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
530 |
NumberInCase: 1; |
263 | 531 |
Ammo: (Propz: ammoprop_ForwMsgs or |
542 | 532 |
ammoprop_AttackInMove or |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
533 |
ammoprop_NoCrosshair or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
534 |
ammoprop_DontHold; |
4 | 535 |
Count: 2; |
536 |
NumPerTurn: 0; |
|
537 |
Timer: 0; |
|
408 | 538 |
Pos: 0; |
4 | 539 |
AmmoType: amPickHammer); |
263 | 540 |
Slot: 6; |
351 | 541 |
TimeAfterTurn: 0; |
542 |
minAngle: 0; |
|
408 | 543 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
544 |
isDamaging: false; |
495 | 545 |
PosCount: 1; |
546 |
PosSprite: sprWater), |
|
80 | 547 |
(NameId: sidSkip; |
843 | 548 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
549 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
550 |
NumberInCase: 1; |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
551 |
Ammo: (Propz: ammoprop_DontHold; |
4 | 552 |
Count: AMMO_INFINITE; |
553 |
NumPerTurn: 0; |
|
554 |
Timer: 0; |
|
408 | 555 |
Pos: 0; |
4 | 556 |
AmmoType: amSkip); |
263 | 557 |
Slot: 8; |
351 | 558 |
TimeAfterTurn: 0; |
559 |
minAngle: 0; |
|
408 | 560 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
561 |
isDamaging: false; |
495 | 562 |
PosCount: 1; |
563 |
PosSprite: sprWater), |
|
80 | 564 |
(NameId: sidRope; |
843 | 565 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
566 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
567 |
NumberInCase: 3; |
263 | 568 |
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
|
569 |
ammoprop_AttackInMove or |
928
b9064b48b001
Some preparation work for attacking from rope, parachute and etc.
unc0rr
parents:
926
diff
changeset
|
570 |
ammoprop_DontHold or |
b9064b48b001
Some preparation work for attacking from rope, parachute and etc.
unc0rr
parents:
926
diff
changeset
|
571 |
ammoprop_AltAttack; |
4 | 572 |
Count: 5; |
573 |
NumPerTurn: 0; |
|
574 |
Timer: 0; |
|
408 | 575 |
Pos: 0; |
4 | 576 |
AmmoType: amRope); |
263 | 577 |
Slot: 7; |
304 | 578 |
TimeAfterTurn: 0; |
351 | 579 |
minAngle: 0; |
823
90d651e75547
Use ammo-in-hand sprites for desert eagle, shotgun and bazooka
unc0rr
parents:
822
diff
changeset
|
580 |
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
|
581 |
isDamaging: false; |
495 | 582 |
PosCount: 1; |
583 |
PosSprite: sprWater), |
|
80 | 584 |
(NameId: sidMine; |
843 | 585 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
586 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
587 |
NumberInCase: 1; |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
588 |
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
|
589 |
ammoprop_DontHold; |
56 | 590 |
Count: 2; |
10 | 591 |
NumPerTurn: 0; |
592 |
Timer: 0; |
|
408 | 593 |
Pos: 0; |
10 | 594 |
AmmoType: amMine); |
79 | 595 |
Slot: 4; |
351 | 596 |
TimeAfterTurn: 5000; |
597 |
minAngle: 0; |
|
408 | 598 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
599 |
isDamaging: true; |
495 | 600 |
PosCount: 1; |
601 |
PosSprite: sprWater), |
|
80 | 602 |
(NameId: sidDEagle; |
843 | 603 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
604 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
605 |
NumberInCase: 2; |
37 | 606 |
Ammo: (Propz: 0; |
75 | 607 |
Count: 3; |
37 | 608 |
NumPerTurn: 3; |
609 |
Timer: 0; |
|
408 | 610 |
Pos: 0; |
37 | 611 |
AmmoType: amDEagle); |
612 |
Slot: 2; |
|
351 | 613 |
TimeAfterTurn: 3000; |
614 |
minAngle: 0; |
|
408 | 615 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
616 |
isDamaging: true; |
495 | 617 |
PosCount: 1; |
618 |
PosSprite: sprWater), |
|
408 | 619 |
(NameId: sidDynamite; |
843 | 620 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
621 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
622 |
NumberInCase: 1; |
408 | 623 |
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
|
624 |
ammoprop_AttackInMove or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
625 |
ammoprop_DontHold; |
408 | 626 |
Count: 1; |
627 |
NumPerTurn: 0; |
|
628 |
Timer: 0; |
|
629 |
Pos: 0; |
|
630 |
AmmoType: amDynamite); |
|
631 |
Slot: 4; |
|
632 |
TimeAfterTurn: 5000; |
|
351 | 633 |
minAngle: 0; |
408 | 634 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
635 |
isDamaging: true; |
495 | 636 |
PosCount: 1; |
637 |
PosSprite: sprWater), |
|
408 | 638 |
(NameId: sidFirePunch; |
843 | 639 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
640 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
641 |
NumberInCase: 1; |
408 | 642 |
Ammo: (Propz: ammoprop_NoCrosshair or |
643 |
ammoprop_ForwMsgs or |
|
542 | 644 |
ammoprop_AttackInMove; |
408 | 645 |
Count: AMMO_INFINITE; |
646 |
NumPerTurn: 0; |
|
647 |
Timer: 0; |
|
648 |
Pos: 0; |
|
649 |
AmmoType: amFirePunch); |
|
650 |
Slot: 3; |
|
651 |
TimeAfterTurn: 3000; |
|
652 |
MinAngle: 0; |
|
653 |
maxAngle: 0; |
|
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
654 |
isDamaging: true; |
495 | 655 |
PosCount: 1; |
656 |
PosSprite: sprWater), |
|
925 | 657 |
(NameId: sidWhip; |
658 |
NameTex: nil; |
|
659 |
Probability: 0; |
|
660 |
NumberInCase: 1; |
|
661 |
Ammo: (Propz: ammoprop_NoCrosshair; |
|
662 |
Count: AMMO_INFINITE; |
|
663 |
NumPerTurn: 0; |
|
664 |
Timer: 0; |
|
665 |
Pos: 0; |
|
666 |
AmmoType: amWhip); |
|
667 |
Slot: 3; |
|
668 |
TimeAfterTurn: 3000; |
|
669 |
MinAngle: 0; |
|
670 |
maxAngle: 0; |
|
671 |
isDamaging: true; |
|
672 |
PosCount: 1; |
|
673 |
PosSprite: sprWater), |
|
408 | 674 |
(NameId: sidBaseballBat; |
843 | 675 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
676 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
677 |
NumberInCase: 1; |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
678 |
Ammo: (Propz: ammoprop_DontHold; |
408 | 679 |
Count: 1; |
680 |
NumPerTurn: 0; |
|
681 |
Timer: 0; |
|
682 |
Pos: 0; |
|
683 |
AmmoType: amBaseballBat); |
|
684 |
Slot: 3; |
|
685 |
TimeAfterTurn: 5000; |
|
351 | 686 |
minAngle: 0; |
408 | 687 |
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
|
688 |
isDamaging: true; |
495 | 689 |
PosCount: 1; |
690 |
PosSprite: sprWater), |
|
211 | 691 |
(NameId: sidParachute; |
843 | 692 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
693 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
694 |
NumberInCase: 1; |
263 | 695 |
Ammo: (Propz: ammoprop_ForwMsgs or |
542 | 696 |
ammoprop_AttackInMove or |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
697 |
ammoprop_NoCrosshair or |
928
b9064b48b001
Some preparation work for attacking from rope, parachute and etc.
unc0rr
parents:
926
diff
changeset
|
698 |
ammoprop_DontHold or |
b9064b48b001
Some preparation work for attacking from rope, parachute and etc.
unc0rr
parents:
926
diff
changeset
|
699 |
ammoprop_AltAttack; |
211 | 700 |
Count: 2; |
701 |
NumPerTurn: 0; |
|
702 |
Timer: 0; |
|
408 | 703 |
Pos: 0; |
211 | 704 |
AmmoType: amParachute); |
263 | 705 |
Slot: 7; |
351 | 706 |
TimeAfterTurn: 0; |
707 |
minAngle: 0; |
|
408 | 708 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
709 |
isDamaging: false; |
495 | 710 |
PosCount: 1; |
711 |
PosSprite: sprWater), |
|
263 | 712 |
(NameId: sidAirAttack; |
843 | 713 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
714 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
715 |
NumberInCase: 1; |
263 | 716 |
Ammo: (Propz: ammoprop_NoCrosshair or |
717 |
ammoprop_NeedTarget or |
|
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
718 |
ammoprop_AttackingPut or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
719 |
ammoprop_DontHold; |
285 | 720 |
Count: 1; |
263 | 721 |
NumPerTurn: 0; |
722 |
Timer: 0; |
|
408 | 723 |
Pos: 0; |
263 | 724 |
AmmoType: amAirAttack); |
725 |
Slot: 5; |
|
351 | 726 |
TimeAfterTurn: 0; |
727 |
minAngle: 0; |
|
408 | 728 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
729 |
isDamaging: true; |
408 | 730 |
PosCount: 2; |
731 |
PosSprite: sprAmAirplane), |
|
285 | 732 |
(NameId: sidMineStrike; |
843 | 733 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
734 |
Probability: 400; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
735 |
NumberInCase: 1; |
285 | 736 |
Ammo: (Propz: ammoprop_NoCrosshair or |
737 |
ammoprop_NeedTarget or |
|
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
738 |
ammoprop_AttackingPut or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
739 |
ammoprop_DontHold; |
285 | 740 |
Count: 1; |
741 |
NumPerTurn: 0; |
|
742 |
Timer: 0; |
|
408 | 743 |
Pos: 0; |
285 | 744 |
AmmoType: amMineStrike); |
745 |
Slot: 5; |
|
351 | 746 |
TimeAfterTurn: 0; |
747 |
minAngle: 0; |
|
408 | 748 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
749 |
isDamaging: true; |
408 | 750 |
PosCount: 2; |
751 |
PosSprite: sprAmAirplane), |
|
302 | 752 |
(NameId: sidBlowTorch; |
843 | 753 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
754 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
755 |
NumberInCase: 2; |
302 | 756 |
Ammo: (Propz: ammoprop_ForwMsgs; |
757 |
Count: 1; |
|
758 |
NumPerTurn: 0; |
|
759 |
Timer: 0; |
|
408 | 760 |
Pos: 0; |
302 | 761 |
AmmoType: amBlowTorch); |
762 |
Slot: 6; |
|
304 | 763 |
TimeAfterTurn: 3000; |
305 | 764 |
minAngle: 768; |
408 | 765 |
maxAngle: 1280; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
766 |
isDamaging: false; |
495 | 767 |
PosCount: 1; |
768 |
PosSprite: sprWater), |
|
409 | 769 |
(NameId: sidGirder; |
843 | 770 |
NameTex: nil; |
409 | 771 |
Probability: 400; |
411 | 772 |
NumberInCase: 3; |
409 | 773 |
Ammo: (Propz: ammoprop_NoCrosshair or |
774 |
ammoprop_NeedTarget or |
|
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
775 |
ammoprop_AttackingPut or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
776 |
ammoprop_DontHold; |
409 | 777 |
Count: 1; |
778 |
NumPerTurn: 0; |
|
779 |
Timer: 0; |
|
780 |
Pos: 0; |
|
781 |
AmmoType: amGirder); |
|
782 |
Slot: 6; |
|
783 |
TimeAfterTurn: 3000; |
|
784 |
minAngle: 0; |
|
785 |
maxAngle: 0; |
|
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
786 |
isDamaging: false; |
423 | 787 |
PosCount: 8; |
520 | 788 |
PosSprite: sprAmGirder), |
789 |
(NameId: sidTeleport; |
|
843 | 790 |
NameTex: nil; |
520 | 791 |
Probability: 400; |
792 |
NumberInCase: 1; |
|
525 | 793 |
Ammo: (Propz: ammoprop_ForwMsgs or |
794 |
ammoprop_NoCrosshair or |
|
520 | 795 |
ammoprop_NeedTarget or |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
796 |
ammoprop_AttackingPut or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
797 |
ammoprop_DontHold; |
520 | 798 |
Count: 2; |
799 |
NumPerTurn: 0; |
|
800 |
Timer: 0; |
|
801 |
Pos: 0; |
|
802 |
AmmoType: amTeleport); |
|
803 |
Slot: 7; |
|
804 |
TimeAfterTurn: 0; |
|
805 |
minAngle: 0; |
|
806 |
maxAngle: 0; |
|
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
807 |
isDamaging: false; |
520 | 808 |
PosCount: 1; |
534 | 809 |
PosSprite: sprWater), |
810 |
(NameId: sidSwitch; |
|
843 | 811 |
NameTex: nil; |
534 | 812 |
Probability: 100; |
813 |
NumberInCase: 1; |
|
814 |
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
|
815 |
ammoprop_NoCrosshair or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
816 |
ammoprop_DontHold; |
534 | 817 |
Count: 3; |
818 |
NumPerTurn: 0; |
|
819 |
Timer: 0; |
|
820 |
Pos: 0; |
|
821 |
AmmoType: amSwitch); |
|
822 |
Slot: 8; |
|
823 |
TimeAfterTurn: 0; |
|
824 |
minAngle: 0; |
|
825 |
maxAngle: 0; |
|
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
826 |
isDamaging: false; |
534 | 827 |
PosCount: 1; |
924 | 828 |
PosSprite: sprWater), |
829 |
(NameId: sidMortar; |
|
830 |
NameTex: nil; |
|
831 |
Probability: 100; |
|
832 |
NumberInCase: 5; |
|
833 |
Ammo: (Propz: 0; |
|
834 |
Count: 5; |
|
835 |
NumPerTurn: 0; |
|
836 |
Timer: 0; |
|
837 |
Pos: 0; |
|
838 |
AmmoType: amMortar); |
|
839 |
Slot: 1; |
|
840 |
TimeAfterTurn: 3000; |
|
841 |
minAngle: 0; |
|
842 |
maxAngle: 0; |
|
843 |
isDamaging: true; |
|
844 |
PosCount: 1; |
|
928
b9064b48b001
Some preparation work for attacking from rope, parachute and etc.
unc0rr
parents:
926
diff
changeset
|
845 |
PosSprite: sprWater) |
b9064b48b001
Some preparation work for attacking from rope, parachute and etc.
unc0rr
parents:
926
diff
changeset
|
846 |
); |
37 | 847 |
|
844 | 848 |
var CountTexz: array[1..9] of PTexture; |
849 |
||
4 | 850 |
implementation |
851 |
||
852 |
end. |