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