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