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