author | unc0rr |
Tue, 28 Nov 2006 17:14:39 +0000 | |
changeset 282 | b1e3387389b6 |
parent 271 | f2f9a3d5b441 |
child 283 | 28d105f378f1 |
permissions | -rw-r--r-- |
4 | 1 |
(* |
2 |
* Hedgewars, a worms-like game |
|
3 |
* Copyright (c) 2004, 2005 Andrey Korotaev <unC0Rr@gmail.com> |
|
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 |
|
80 | 21 |
uses SDLh, uLocale; |
4 | 22 |
{$INCLUDE options.inc} |
271 | 23 |
{$INCLUDE proto.inc} |
80 | 24 |
type TStuff = (sConsoleBG, sPowerBar, sQuestion, sWindBar, |
35 | 25 |
sWindL, sWindR, sRopeNode); |
282 | 26 |
|
4 | 27 |
TGameState = (gsLandGen, gsStart, gsGame, gsConsole, gsExit); |
282 | 28 |
|
155
401f4ea24715
Engine can generate land preview and send it via IPC
unc0rr
parents:
112
diff
changeset
|
29 |
TGameType = (gmtLocal, gmtDemo, gmtNet, gmtSave, gmtLandPreview); |
282 | 30 |
|
80 | 31 |
TPathType = (ptNone, ptData, ptGraphics, ptThemes, ptCurrTheme, ptTeams, ptMaps, |
32 |
ptMapCurrent, ptDemos, ptSounds, ptGraves, ptFonts, ptForts, |
|
161 | 33 |
ptLocale, ptAmmoMenu); |
282 | 34 |
|
4 | 35 |
TSprite = (sprWater, sprCloud, sprBomb, sprBigDigit, sprFrame, |
36 |
sprLag, sprArrow, sprGrenade, sprTargetP, sprUFO, |
|
10 | 37 |
sprSmokeTrace, sprRopeHook, sprExplosion50, sprMineOff, |
78 | 38 |
sprMineOn, sprCase, sprFAid, sprDynamite, sprPower, |
80 | 39 |
sprClusterBomb, sprClusterParticle, sprFlame, sprHorizont, |
161 | 40 |
sprSky, sprAMBorders, sprAMSlot, sprAMSlotName, sprAMAmmos, |
263 | 41 |
sprAMSlotKeys, sprAMSelection, sprFinger, sprAirBomb); |
282 | 42 |
|
4 | 43 |
TGearType = (gtCloud, gtAmmo_Bomb, gtHedgehog, gtAmmo_Grenade, gtHealthTag, |
83 | 44 |
gtGrave, gtUFO, gtShotgunShot, gtPickHammer, gtRope, |
49 | 45 |
gtSmokeTrace, gtExplosion, gtMine, gtCase, gtDEagleShot, gtDynamite, |
82 | 46 |
gtTeamHealthSorter, gtClusterBomb, gtCluster, gtShover, gtFlame, |
211 | 47 |
gtFirePunch, gtATStartGame, gtATSmoothWindCh, gtATFinishGame, |
263 | 48 |
gtParachute, gtAirAttack, gtAirBomb); |
282 | 49 |
|
16 | 50 |
TGearsType = set of TGearType; |
282 | 51 |
|
52 |
TSound = (sndGrenadeImpact, sndExplosion, sndThrowPowerUp, sndThrowRelease, |
|
53 |
sndSplash, sndShotgunReload, sndShotgunFire, sndGraveImpact, |
|
54 |
sndMineTick, sndPickhammer); |
|
55 |
||
82 | 56 |
TAmmoType = (amGrenade, amClusterBomb, amBazooka, amUFO, amShotgun, amPickHammer, |
57 |
amSkip, amRope, amMine, amDEagle, amDynamite, amFirePunch, |
|
263 | 58 |
amBaseballBat, amParachute, amAirAttack); |
282 | 59 |
|
4 | 60 |
THWFont = (fnt16, fntBig); |
282 | 61 |
|
174 | 62 |
TCapGroup = (capgrpGameState, capgrpAmmoinfo, capgrpNetSay, capgrpVolume); |
282 | 63 |
|
4 | 64 |
THHFont = record |
65 |
Handle: PTTF_Font; |
|
66 |
Height: integer; |
|
202 | 67 |
style: integer; |
4 | 68 |
Name: string[15]; |
69 |
end; |
|
282 | 70 |
|
4 | 71 |
TAmmo = record |
72 |
Propz: LongWord; |
|
73 |
Count: LongWord; |
|
74 |
NumPerTurn: LongWord; |
|
75 |
Timer: LongWord; |
|
76 |
AmmoType: TAmmoType; |
|
77 |
end; |
|
78 |
||
79 |
||
105 | 80 |
const |
43 | 81 |
errmsgCreateSurface = 'Error creating SDL surface'; |
4 | 82 |
errmsgTransparentSet = 'Error setting transparent color'; |
83 |
errmsgUnknownCommand = 'Unknown command'; |
|
84 |
errmsgUnknownVariable = 'Unknown variable'; |
|
85 |
errmsgIncorrectUse = 'Incorrect use'; |
|
86 |
errmsgShouldntRun = 'This program shouldn''t be run manually'; |
|
87 |
||
88 |
msgLoading = 'Loading '; |
|
89 |
msgOK = 'ok'; |
|
90 |
msgFailed = 'failed'; |
|
91 |
msgGettingConfig = 'Getting game config...'; |
|
92 |
||
93 |
const |
|
74 | 94 |
MAXNAMELEN = 32; |
95 |
||
64 | 96 |
COLOR_LAND = $00FFFFFF; |
97 |
||
55
e09f7c952a40
Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents:
53
diff
changeset
|
98 |
cifRandomize = $00000001; |
e09f7c952a40
Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents:
53
diff
changeset
|
99 |
cifTheme = $00000002; |
e09f7c952a40
Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents:
53
diff
changeset
|
100 |
cifMap = $00000002; // either theme or map (or map+theme) |
e09f7c952a40
Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents:
53
diff
changeset
|
101 |
cifAllInited = cifRandomize or |
e09f7c952a40
Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents:
53
diff
changeset
|
102 |
cifTheme or |
e09f7c952a40
Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents:
53
diff
changeset
|
103 |
cifMap; |
e09f7c952a40
Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents:
53
diff
changeset
|
104 |
|
188 | 105 |
cTransparentColor: Longword = $000000; |
4 | 106 |
|
109 | 107 |
cMaxHHIndex = 7; |
22 | 108 |
cMaxHHs = 20; |
53 | 109 |
cMaxSpawnPoints = 1024; |
4 | 110 |
cHHSurfaceWidth = 512; |
70 | 111 |
// cHHSurfaceHeigth = 256; |
4 | 112 |
|
22 | 113 |
cMaxEdgePoints = 16384; |
114 |
||
53 | 115 |
cHHRadius = 9; |
70 | 116 |
cHHStepTicks = 38; |
4 | 117 |
|
109 | 118 |
cKeyMaxIndex = 1023; |
4 | 119 |
|
97
e7c1df9cce2c
- make the game be run from ${PREFIX}/bin with data in ${PREFIX}/share/hedgewars/Data
unc0rr
parents:
95
diff
changeset
|
120 |
cMaxCaptions = 4; |
e7c1df9cce2c
- make the game be run from ${PREFIX}/bin with data in ${PREFIX}/share/hedgewars/Data
unc0rr
parents:
95
diff
changeset
|
121 |
|
4 | 122 |
cInactDelay = 1500; |
123 |
||
124 |
gfForts = $00000001; |
|
125 |
||
126 |
gstDrowning = $00000001; |
|
127 |
gstHHDriven = $00000002; |
|
128 |
gstMoving = $00000004; |
|
129 |
gstAttacked = $00000008; |
|
130 |
gstAttacking = $00000010; |
|
131 |
gstCollision = $00000020; |
|
132 |
gstHHChooseTarget = $00000040; |
|
133 |
gstFalling = $00000080; |
|
134 |
gstHHJumping = $00000100; |
|
135 |
gsttmpFlag = $00000200; |
|
136 |
gstHHThinking = $00000800; |
|
79 | 137 |
gstNoDamage = $00001000; |
4 | 138 |
|
139 |
gm_Left = $00000001; |
|
140 |
gm_Right = $00000002; |
|
141 |
gm_Up = $00000004; |
|
142 |
gm_Down = $00000008; |
|
143 |
gm_Switch = $00000010; |
|
144 |
gm_Attack = $00000020; |
|
145 |
gm_LJump = $00000040; |
|
146 |
gm_HJump = $00000080; |
|
147 |
gm_Destroy= $00000100; |
|
148 |
||
263 | 149 |
cMaxSlotIndex = 8; |
10 | 150 |
cMaxSlotAmmoIndex = 1; |
4 | 151 |
|
152 |
ammoprop_Timerable = $00000001; |
|
153 |
ammoprop_Power = $00000002; |
|
154 |
ammoprop_NeedTarget = $00000004; |
|
155 |
ammoprop_ForwMsgs = $00000008; |
|
156 |
ammoprop_AttackInFall = $00000010; |
|
157 |
ammoprop_AttackInJump = $00000020; |
|
13 | 158 |
ammoprop_NoCrosshair = $00000040; |
263 | 159 |
ammoprop_AttackingPut = $00000080; |
4 | 160 |
AMMO_INFINITE = High(LongWord); |
161 |
||
42 | 162 |
EXPLAllDamageInRadius = $00000001; |
163 |
EXPLAutoSound = $00000002; |
|
164 |
EXPLNoDamage = $00000004; |
|
165 |
EXPLDoNotTouchHH = $00000008; |
|
166 |
||
167 |
posCaseAmmo = $00000001; |
|
168 |
posCaseHealth = $00000002; |
|
4 | 169 |
|
79 | 170 |
NoPointX = Low(Integer); |
4 | 171 |
|
74 | 172 |
cHHFileName = 'Hedgehog'; |
173 |
cCHFileName = 'Crosshair'; |
|
4 | 174 |
cThemeCFGFilename = 'theme.cfg'; |
175 |
||
176 |
Fontz: array[THWFont] of THHFont = ( |
|
177 |
(Height: 12; |
|
202 | 178 |
style: TTF_STYLE_NORMAL; |
74 | 179 |
Name: 'DejaVuSans.ttf'), |
4 | 180 |
(Height: 24; |
202 | 181 |
style: TTF_STYLE_NORMAL; |
74 | 182 |
Name: 'DejaVuSans.ttf') |
4 | 183 |
); |
184 |
||
202 | 185 |
FontBorder = 2; |
186 |
||
99 | 187 |
PathPrefix: string = './'; |
188 |
Pathz: array[TPathType] of string = ( |
|
80 | 189 |
'', // ptNone |
267 | 190 |
'', // ptData |
191 |
'Graphics', // ptGraphics |
|
192 |
'Themes', // ptThemes |
|
193 |
'Themes/avematan', // ptCurrTheme |
|
194 |
'Teams', // ptTeams |
|
195 |
'Maps', // ptMaps |
|
53 | 196 |
'', // ptMapCurrent |
267 | 197 |
'Demos', // ptDemos |
198 |
'Sounds', // ptSounds |
|
199 |
'Graphics/Graves', // ptGraves |
|
200 |
'Fonts', // ptFonts |
|
201 |
'Forts', // ptForts |
|
202 |
'Locale', // ptLocale |
|
203 |
'Graphics/AmmoMenu' // ptAmmoMenu |
|
4 | 204 |
); |
205 |
||
206 |
StuffLoadData: array[TStuff] of record |
|
207 |
FileName: String[31]; |
|
208 |
Path : TPathType; |
|
209 |
end = ( |
|
74 | 210 |
(FileName: 'Console'; Path: ptGraphics ), // sConsoleBG |
211 |
(FileName: 'PowerBar'; Path: ptGraphics ), // sPowerBar |
|
212 |
(FileName: 'thinking'; Path: ptGraphics ), // sQuestion |
|
213 |
(FileName: 'WindBar'; Path: ptGraphics ), // sWindBar |
|
214 |
(FileName: 'WindL'; Path: ptGraphics ), // sWindL |
|
215 |
(FileName: 'WindR'; Path: ptGraphics ), // sWindR |
|
216 |
(FileName: 'RopeNode'; Path: ptGraphics ) // sRopeNode |
|
4 | 217 |
); |
218 |
StuffPoz: array[TStuff] of TSDL_Rect = ( |
|
219 |
(x: 256; y: 256; w: 256; h: 256), // sConsoleBG |
|
220 |
(x: 256; y: 768; w: 256; h: 32), // sPowerBar |
|
5 | 221 |
(x: 256; y: 512; w: 32; h: 32), // sQuestion |
222 |
(x: 256; y: 800; w: 151; h: 17), // sWindBar |
|
223 |
(x: 256; y: 817; w: 80; h: 13), // sWindL |
|
35 | 224 |
(x: 336; y: 817; w: 80; h: 13), // sWindR |
225 |
(x: 256; y: 544; w: 6; h: 6) // sRopeNode |
|
4 | 226 |
); |
227 |
SpritesData: array[TSprite] of record |
|
35 | 228 |
FileName: String[31]; |
80 | 229 |
Path, AltPath: TPathType; |
35 | 230 |
Surface : PSDL_Surface; |
231 |
Width, Height: integer; |
|
232 |
hasAlpha: boolean; |
|
233 |
end = ( |
|
74 | 234 |
(FileName: 'BlueWater'; Path: ptGraphics; Width: 256; Height: 48; hasAlpha: false),// sprWater |
80 | 235 |
(FileName: 'Clouds'; Path: ptCurrTheme; |
236 |
AltPath: ptGraphics; Width: 256; Height:128; hasAlpha: false),// sprCloud |
|
74 | 237 |
(FileName: 'Bomb'; Path: ptGraphics; Width: 16; Height: 16; hasAlpha: false),// sprBomb |
238 |
(FileName: 'BigDigits'; Path: ptGraphics; Width: 32; Height: 32; hasAlpha: true),// sprBigDigit |
|
239 |
(FileName: 'Frame'; Path: ptGraphics; Width: 4; Height: 32; hasAlpha: true),// sprFrame |
|
240 |
(FileName: 'Lag'; Path: ptGraphics; Width: 64; Height: 64; hasAlpha: false),// sprLag |
|
241 |
(FileName: 'Arrow'; Path: ptGraphics; Width: 16; Height: 16; hasAlpha: false),// sprCursor |
|
242 |
(FileName: 'Grenade'; Path: ptGraphics; Width: 32; Height: 32; hasAlpha: false),// sprGrenade |
|
243 |
(FileName: 'Targetp'; Path: ptGraphics; Width: 32; Height: 32; hasAlpha: false),// sprTargetP |
|
244 |
(FileName: 'UFO'; Path: ptGraphics; Width: 32; Height: 32; hasAlpha: false),// sprUFO |
|
245 |
(FileName:'SmokeTrace'; Path: ptGraphics; Width: 32; Height: 32; hasAlpha: true),// sprSmokeTrace |
|
246 |
(FileName: 'RopeHook'; Path: ptGraphics; Width: 32; Height: 32; hasAlpha: false),// sprRopeHook |
|
247 |
(FileName: 'Expl50'; Path: ptGraphics; Width: 64; Height: 64; hasAlpha: false),// sprExplosion50 |
|
248 |
(FileName: 'MineOff'; Path: ptGraphics; Width: 16; Height: 16; hasAlpha: false),// sprMineOff |
|
249 |
(FileName: 'MineOn'; Path: ptGraphics; Width: 16; Height: 16; hasAlpha: false),// sprMineOn |
|
250 |
(FileName: 'Case'; Path: ptGraphics; Width: 32; Height: 32; hasAlpha: false),// sprCase |
|
75 | 251 |
(FileName: 'FirstAid'; Path: ptGraphics; Width: 48; Height: 48; hasAlpha: false),// sprFAid |
74 | 252 |
(FileName: 'dynamite'; Path: ptGraphics; Width: 32; Height: 32; hasAlpha: false),// sprDynamite |
78 | 253 |
(FileName: 'Power'; Path: ptGraphics; Width: 32; Height: 32; hasAlpha: true),// sprPower |
254 |
(FileName: 'ClBomb'; Path: ptGraphics; Width: 16; Height: 16; hasAlpha: false),// sprClusterBomb |
|
79 | 255 |
(FileName:'ClParticle'; Path: ptGraphics; Width: 16; Height: 16; hasAlpha: false),// sprClusterParticle |
80 | 256 |
(FileName: 'Flame'; Path: ptGraphics; Width: 16; Height: 16; hasAlpha: false),// sprFlame |
257 |
(FileName: 'horizont'; Path: ptCurrTheme;Width: 0; Height: 0; hasAlpha: false),// sprHorizont |
|
161 | 258 |
(FileName: 'Sky'; Path: ptCurrTheme;Width: 0; Height: 0; hasAlpha: false),// sprSky |
259 |
(FileName: 'BrdrLines'; Path: ptAmmoMenu; Width: 202; Height: 1; hasAlpha: false),// sprAMBorders |
|
260 |
(FileName: 'Slot'; Path: ptAmmoMenu; Width: 202; Height: 33; hasAlpha: false),// sprAMSlot |
|
261 |
(FileName: 'AmmoName'; Path: ptAmmoMenu; Width: 202; Height: 33; hasAlpha: false),// sprAMSlotName |
|
262 |
(FileName: 'Ammos'; Path: ptAmmoMenu; Width: 32; Height: 32; hasAlpha: false),// sprAMAmmos |
|
162 | 263 |
(FileName: 'SlotKeys'; Path: ptAmmoMenu; Width: 32; Height: 32; hasAlpha: false),// sprAMSlotKeys |
176 | 264 |
(FileName: 'Selection'; Path: ptAmmoMenu; Width: 32; Height: 32; hasAlpha: false),// sprAMSelection |
263 | 265 |
(FileName: 'Finger'; Path: ptGraphics; Width: 32; Height: 48; hasAlpha: false),// sprFinger |
266 |
(FileName: 'AirBomb'; Path: ptGraphics; Width: 32; Height: 32; hasAlpha: false) // sprAirBomb |
|
35 | 267 |
); |
4 | 268 |
Soundz: array[TSound] of record |
269 |
FileName: String[31]; |
|
270 |
Path : TPathType; |
|
271 |
id : PMixChunk; |
|
282 | 272 |
lastChan: LongInt; |
4 | 273 |
end = ( |
274 |
(FileName: 'grenadeimpact.ogg'; Path: ptSounds ),// sndGrenadeImpact |
|
275 |
(FileName: 'explosion.ogg'; Path: ptSounds ),// sndExplosion |
|
276 |
(FileName: 'throwpowerup.ogg'; Path: ptSounds ),// sndThrowPowerUp |
|
277 |
(FileName: 'throwrelease.ogg'; Path: ptSounds ),// sndThrowRelease |
|
278 |
(FileName: 'splash.ogg'; Path: ptSounds ),// sndSplash |
|
279 |
(FileName: 'shotgunreload.ogg'; Path: ptSounds ),// sndShotgunReload |
|
280 |
(FileName: 'shotgunfire.ogg'; Path: ptSounds ),// sndShotgunFire |
|
13 | 281 |
(FileName: 'graveimpact.ogg'; Path: ptSounds ),// sndGraveImpact |
282 | 282 |
(FileName: 'minetick.ogg'; Path: ptSounds ),// sndMineTicks |
283 |
(FileName: 'pickhammer.ogg'; Path: ptSounds ) // sndPickhammer |
|
4 | 284 |
); |
285 |
||
286 |
Ammoz: array [TAmmoType] of record |
|
80 | 287 |
NameId: TAmmoStrId; |
4 | 288 |
Ammo: TAmmo; |
112 | 289 |
Slot: 0..cMaxSlotIndex; |
4 | 290 |
TimeAfterTurn: Longword; |
291 |
end = ( |
|
80 | 292 |
(NameId: sidGrenade; |
263 | 293 |
Ammo: (Propz: ammoprop_Timerable or |
294 |
ammoprop_Power; |
|
4 | 295 |
Count: AMMO_INFINITE; |
296 |
NumPerTurn: 0; |
|
297 |
Timer: 3000; |
|
298 |
AmmoType: amGrenade); |
|
10 | 299 |
Slot: 1; |
4 | 300 |
TimeAfterTurn: 3000), |
80 | 301 |
(NameId: sidClusterBomb; |
263 | 302 |
Ammo: (Propz: ammoprop_Timerable or |
303 |
ammoprop_Power; |
|
78 | 304 |
Count: 5; |
305 |
NumPerTurn: 0; |
|
306 |
Timer: 3000; |
|
307 |
AmmoType: amClusterBomb); |
|
308 |
Slot: 1; |
|
309 |
TimeAfterTurn: 3000), |
|
80 | 310 |
(NameId: sidBazooka; |
4 | 311 |
Ammo: (Propz: ammoprop_Power; |
312 |
Count: AMMO_INFINITE; |
|
313 |
NumPerTurn: 0; |
|
314 |
Timer: 0; |
|
315 |
AmmoType: amBazooka); |
|
10 | 316 |
Slot: 0; |
4 | 317 |
TimeAfterTurn: 3000), |
80 | 318 |
(NameId: sidUFO; |
263 | 319 |
Ammo: (Propz: ammoprop_Power or |
320 |
ammoprop_NeedTarget; |
|
56 | 321 |
Count: 2; |
4 | 322 |
NumPerTurn: 0; |
323 |
Timer: 0; |
|
324 |
AmmoType: amUFO); |
|
325 |
Slot: 0; |
|
326 |
TimeAfterTurn: 3000), |
|
80 | 327 |
(NameId: sidShotgun; |
95 | 328 |
Ammo: (Propz: ammoprop_ForwMsgs; |
4 | 329 |
Count: AMMO_INFINITE; |
330 |
NumPerTurn: 1; |
|
331 |
Timer: 0; |
|
332 |
AmmoType: amShotgun); |
|
333 |
Slot: 2; |
|
334 |
TimeAfterTurn: 3000), |
|
80 | 335 |
(NameId: sidPickHammer; |
263 | 336 |
Ammo: (Propz: ammoprop_ForwMsgs or |
337 |
ammoprop_AttackInFall or |
|
338 |
ammoprop_AttackInJump or |
|
339 |
ammoprop_NoCrosshair; |
|
4 | 340 |
Count: 2; |
341 |
NumPerTurn: 0; |
|
342 |
Timer: 0; |
|
343 |
AmmoType: amPickHammer); |
|
263 | 344 |
Slot: 6; |
4 | 345 |
TimeAfterTurn: 0), |
80 | 346 |
(NameId: sidSkip; |
4 | 347 |
Ammo: (Propz: 0; |
348 |
Count: AMMO_INFINITE; |
|
349 |
NumPerTurn: 0; |
|
350 |
Timer: 0; |
|
351 |
AmmoType: amSkip); |
|
263 | 352 |
Slot: 8; |
4 | 353 |
TimeAfterTurn: 0), |
80 | 354 |
(NameId: sidRope; |
263 | 355 |
Ammo: (Propz: ammoprop_ForwMsgs or |
356 |
ammoprop_AttackInFall or |
|
357 |
ammoprop_AttackInJump; |
|
4 | 358 |
Count: 5; |
359 |
NumPerTurn: 0; |
|
360 |
Timer: 0; |
|
361 |
AmmoType: amRope); |
|
263 | 362 |
Slot: 7; |
10 | 363 |
TimeAfterTurn: 0), |
80 | 364 |
(NameId: sidMine; |
13 | 365 |
Ammo: (Propz: ammoprop_NoCrosshair; |
56 | 366 |
Count: 2; |
10 | 367 |
NumPerTurn: 0; |
368 |
Timer: 0; |
|
369 |
AmmoType: amMine); |
|
79 | 370 |
Slot: 4; |
371 |
TimeAfterTurn: 5000), |
|
80 | 372 |
(NameId: sidDEagle; |
37 | 373 |
Ammo: (Propz: 0; |
75 | 374 |
Count: 3; |
37 | 375 |
NumPerTurn: 3; |
376 |
Timer: 0; |
|
377 |
AmmoType: amDEagle); |
|
378 |
Slot: 2; |
|
39 | 379 |
TimeAfterTurn: 3000), |
80 | 380 |
(NameId: sidDynamite; |
263 | 381 |
Ammo: (Propz: ammoprop_NoCrosshair or |
382 |
ammoprop_AttackInJump or |
|
383 |
ammoprop_AttackInFall; |
|
56 | 384 |
Count: 1; |
39 | 385 |
NumPerTurn: 0; |
386 |
Timer: 0; |
|
387 |
AmmoType: amDynamite); |
|
79 | 388 |
Slot: 4; |
389 |
TimeAfterTurn: 5000), |
|
82 | 390 |
(NameId: sidFirePunch; |
263 | 391 |
Ammo: (Propz: ammoprop_NoCrosshair or |
392 |
ammoprop_ForwMsgs or |
|
393 |
ammoprop_AttackInJump or |
|
394 |
ammoprop_AttackInFall; |
|
82 | 395 |
Count: AMMO_INFINITE; |
396 |
NumPerTurn: 0; |
|
397 |
Timer: 0; |
|
398 |
AmmoType: amFirePunch); |
|
399 |
Slot: 3; |
|
400 |
TimeAfterTurn: 3000), |
|
80 | 401 |
(NameId: sidBaseballBat; |
79 | 402 |
Ammo: (Propz: 0; |
403 |
Count: 1; |
|
404 |
NumPerTurn: 0; |
|
405 |
Timer: 0; |
|
406 |
AmmoType: amBaseballBat); |
|
39 | 407 |
Slot: 3; |
211 | 408 |
TimeAfterTurn: 5000), |
409 |
(NameId: sidParachute; |
|
263 | 410 |
Ammo: (Propz: ammoprop_ForwMsgs or |
411 |
ammoprop_AttackInJump or |
|
412 |
ammoprop_AttackInFall; |
|
211 | 413 |
Count: 2; |
414 |
NumPerTurn: 0; |
|
415 |
Timer: 0; |
|
416 |
AmmoType: amParachute); |
|
263 | 417 |
Slot: 7; |
418 |
TimeAfterTurn: 0), |
|
419 |
(NameId: sidAirAttack; |
|
420 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
421 |
ammoprop_NeedTarget or |
|
422 |
ammoprop_AttackingPut; |
|
423 |
Count: 3; |
|
424 |
NumPerTurn: 0; |
|
425 |
Timer: 0; |
|
426 |
AmmoType: amAirAttack); |
|
427 |
Slot: 5; |
|
211 | 428 |
TimeAfterTurn: 0)); |
37 | 429 |
|
4 | 430 |
implementation |
431 |
||
432 |
end. |