author | nemo |
Mon, 13 Dec 2010 18:13:42 -0500 | |
changeset 4521 | 96066d42c3f9 |
parent 4482 | 34393349f96e |
child 4522 | 0f590eefd531 |
permissions | -rw-r--r-- |
4359 | 1 |
{$INCLUDE options.inc} |
2 |
||
3 |
unit uVariables; |
|
4 |
interface |
|
5 |
||
4365 | 6 |
uses SDLh, uTypes, uFloat, GLunit, uConsts, Math, uMobile; |
4359 | 7 |
|
8 |
var |
|
9 |
/////// init flags /////// |
|
10 |
cScreenWidth : LongInt = 1024; |
|
11 |
cScreenHeight : LongInt = 768; |
|
12 |
cBits : LongInt = 32; |
|
13 |
//ipcPort is in uIO |
|
14 |
cFullScreen : boolean = false; |
|
15 |
isSoundEnabled : boolean = true; |
|
16 |
isMusicEnabled : boolean = false; |
|
17 |
cLocaleFName : shortstring = 'en.txt'; |
|
18 |
cInitVolume : LongInt = 100; |
|
19 |
cTimerInterval : LongInt = 8; |
|
20 |
PathPrefix : shortstring = './'; |
|
21 |
cShowFPS : boolean = false; |
|
22 |
cAltDamage : boolean = true; |
|
23 |
cReducedQuality : LongWord = rqNone; |
|
24 |
//userNick is in uChat |
|
25 |
recordFileName : shortstring = ''; |
|
26 |
cReadyDelay : Longword = 0; |
|
27 |
cLogfileBase : shortstring = 'debug'; |
|
28 |
////////////////////////// |
|
4437
05192cdbce9b
un-break build (wrong merge in uConsole) and update project file with the new sources
koda
parents:
4396
diff
changeset
|
29 |
|
05192cdbce9b
un-break build (wrong merge in uConsole) and update project file with the new sources
koda
parents:
4396
diff
changeset
|
30 |
alsoShutdownFrontend: boolean = false; |
05192cdbce9b
un-break build (wrong merge in uConsole) and update project file with the new sources
koda
parents:
4396
diff
changeset
|
31 |
|
4359 | 32 |
isCursorVisible : boolean; |
33 |
isTerminated : boolean; |
|
34 |
isInLag : boolean; |
|
35 |
isPaused : boolean; |
|
36 |
||
37 |
isSEBackup : boolean; |
|
38 |
isInMultiShoot : boolean; |
|
39 |
isSpeed : boolean; |
|
40 |
isFirstFrame : boolean; |
|
41 |
||
42 |
fastUntilLag : boolean; |
|
43 |
||
44 |
GameState : TGameState; |
|
45 |
GameType : TGameType; |
|
46 |
GameFlags : Longword; |
|
47 |
TrainingFlags : Longword; |
|
48 |
TurnTimeLeft : Longword; |
|
49 |
ReadyTimeLeft : Longword; |
|
50 |
cSuddenDTurns : LongInt; |
|
51 |
cDamagePercent : LongInt; |
|
52 |
cMineDudPercent : LongWord; |
|
53 |
cTemplateFilter : LongInt; |
|
54 |
cMapGen : LongInt; |
|
55 |
cMazeSize : LongInt; |
|
4396
3cfd2e15464a
After repeated requests, variable length rope. Intended for the infinite rope folks, but values less than 100 make rope more interesting IMO.
nemo
parents:
4390
diff
changeset
|
56 |
cRopePercent : LongWord; |
4359 | 57 |
|
58 |
cHedgehogTurnTime: Longword; |
|
59 |
cMinesTime : LongInt; |
|
60 |
cMaxAIThinkTime : Longword; |
|
61 |
||
62 |
cHealthCaseProb : LongInt; |
|
63 |
cHealthCaseAmount: LongInt; |
|
64 |
cWaterRise : LongInt; |
|
65 |
cHealthDecrease : LongInt; |
|
66 |
||
67 |
cCloudsNumber : LongInt; |
|
68 |
||
69 |
cTagsMask : byte; |
|
70 |
zoom : GLfloat; |
|
71 |
ZoomValue : GLfloat; |
|
72 |
||
73 |
cWaterLine : LongInt; |
|
74 |
cGearScrEdgesDist: LongInt; |
|
75 |
||
76 |
GameTicks : LongWord; |
|
77 |
TrainingTimeInc : Longword; |
|
78 |
TrainingTimeInD : Longword; |
|
79 |
TrainingTimeInM : Longword; |
|
80 |
TrainingTimeMax : Longword; |
|
81 |
||
82 |
TimeTrialStartTime: Longword; |
|
83 |
TimeTrialStopTime : Longword; |
|
84 |
||
85 |
// originally from uConsts |
|
86 |
Pathz: array[TPathType] of shortstring; |
|
87 |
CountTexz: array[1..Pred(AMMO_INFINITE)] of PTexture; |
|
88 |
LAND_WIDTH : LongInt; |
|
89 |
LAND_HEIGHT : LongInt; |
|
90 |
LAND_WIDTH_MASK : LongWord; |
|
91 |
LAND_HEIGHT_MASK : LongWord; |
|
92 |
cMaxCaptions : LongInt; |
|
93 |
||
94 |
cLeftScreenBorder : LongInt; |
|
95 |
cRightScreenBorder : LongInt; |
|
96 |
cScreenSpace : LongInt; |
|
97 |
||
98 |
cCaseFactor : Longword; |
|
99 |
cLandMines : Longword; |
|
100 |
cExplosives : Longword; |
|
101 |
||
102 |
cSeed : shortstring; |
|
103 |
cVolumeDelta : LongInt; |
|
104 |
cHasFocus : boolean; |
|
105 |
cInactDelay : Longword; |
|
106 |
||
107 |
bBetweenTurns : boolean; |
|
108 |
bWaterRising : boolean; |
|
109 |
||
110 |
ShowCrosshair : boolean; |
|
111 |
CursorMovementX : LongInt; |
|
112 |
CursorMovementY : LongInt; |
|
113 |
cDrownSpeed : hwFloat; |
|
4379
6cd6b77df8b8
No need for Extended data type just to draw some visual gears. It's a shame we have Math unit dependency
unC0Rr
parents:
4375
diff
changeset
|
114 |
cDrownSpeedf : real; |
4359 | 115 |
cMaxWindSpeed : hwFloat; |
116 |
cWindSpeed : hwFloat; |
|
4379
6cd6b77df8b8
No need for Extended data type just to draw some visual gears. It's a shame we have Math unit dependency
unC0Rr
parents:
4375
diff
changeset
|
117 |
cWindSpeedf : real; |
4359 | 118 |
cGravity : hwFloat; |
4379
6cd6b77df8b8
No need for Extended data type just to draw some visual gears. It's a shame we have Math unit dependency
unC0Rr
parents:
4375
diff
changeset
|
119 |
cGravityf : real; |
4359 | 120 |
cDamageModifier : hwFloat; |
121 |
cLaserSighting : boolean; |
|
122 |
cVampiric : boolean; |
|
123 |
cArtillery : boolean; |
|
124 |
WeaponTooltipTex : PTexture; |
|
125 |
||
126 |
flagMakeCapture : boolean; |
|
127 |
||
128 |
InitStepsFlags : Longword; |
|
129 |
RealTicks : Longword; |
|
130 |
AttackBar : LongInt; |
|
131 |
||
132 |
WaterColorArray : array[0..3] of HwColor4f; |
|
133 |
||
134 |
CursorPoint : TPoint; |
|
135 |
TargetPoint : TPoint; |
|
136 |
||
137 |
ScreenFade : TScreenFade; |
|
138 |
ScreenFadeValue : LongInt; |
|
139 |
ScreenFadeSpeed : LongInt; |
|
140 |
||
141 |
{$IFDEF SDL13} |
|
142 |
SDLwindow : PSDL_Window; |
|
143 |
{$ENDIF} |
|
144 |
||
4367 | 145 |
WorldDx: LongInt; |
146 |
WorldDy: LongInt; |
|
4361 | 147 |
|
148 |
const |
|
149 |
cHHFileName = 'Hedgehog'; |
|
150 |
cCHFileName = 'Crosshair'; |
|
151 |
cThemeCFGFilename = 'theme.cfg'; |
|
152 |
||
153 |
FontBorder = 2; |
|
154 |
cPathz: array[TPathType] of shortstring = ( |
|
155 |
'', // ptNone |
|
156 |
'', // ptData |
|
157 |
'Graphics', // ptGraphics |
|
158 |
'Themes', // ptThemes |
|
159 |
'Themes/avematan', // ptCurrTheme |
|
160 |
'Teams', // ptTeams |
|
161 |
'Maps', // ptMaps |
|
162 |
'', // ptMapCurrent |
|
163 |
'Demos', // ptDemos |
|
164 |
'Sounds', // ptSounds |
|
165 |
'Graphics/Graves', // ptGraves |
|
166 |
'Fonts', // ptFonts |
|
167 |
'Forts', // ptForts |
|
168 |
'Locale', // ptLocale |
|
169 |
'Graphics/AmmoMenu', // ptAmmoMenu |
|
170 |
'Graphics/Hedgehog', // ptHedgehog |
|
171 |
'Sounds/voices', // ptVoices |
|
172 |
'Graphics/Hats', // ptHats |
|
173 |
'Graphics/Flags', // ptFlags |
|
174 |
'Missions/Maps' // ptMissionMaps |
|
175 |
); |
|
176 |
||
177 |
cTagsMasks : array[0..15] of byte = (7, 0, 0, 0, 15, 6, 4, 5, 0, 0, 0, 0, 0, 14, 12, 13); |
|
178 |
cTagsMasksNoHealth: array[0..15] of byte = (3, 2, 11, 1, 0, 0, 0, 0, 0, 10, 0, 9, 0, 0, 0, 0); |
|
179 |
||
180 |
Fontz: array[THWFont] of THHFont = ( |
|
181 |
(Handle: nil; |
|
182 |
Height: 12; |
|
183 |
style: TTF_STYLE_NORMAL; |
|
184 |
Name: 'DejaVuSans-Bold.ttf'), |
|
185 |
(Handle: nil; |
|
186 |
Height: 24; |
|
187 |
style: TTF_STYLE_NORMAL; |
|
188 |
Name: 'DejaVuSans-Bold.ttf'), |
|
189 |
(Handle: nil; |
|
190 |
Height: 10; |
|
191 |
style: TTF_STYLE_NORMAL; |
|
192 |
Name: 'DejaVuSans-Bold.ttf') |
|
193 |
{$IFNDEF IPHONEOS}, // remove chinese fonts for now |
|
194 |
(Handle: nil; |
|
195 |
Height: 12; |
|
196 |
style: TTF_STYLE_NORMAL; |
|
197 |
Name: 'wqy-zenhei.ttc'), |
|
198 |
(Handle: nil; |
|
199 |
Height: 24; |
|
200 |
style: TTF_STYLE_NORMAL; |
|
201 |
Name: 'wqy-zenhei.ttc'), |
|
202 |
(Handle: nil; |
|
203 |
Height: 10; |
|
204 |
style: TTF_STYLE_NORMAL; |
|
205 |
Name: 'wqy-zenhei.ttc') |
|
206 |
{$ENDIF} |
|
207 |
); |
|
208 |
||
209 |
SpritesData: array[TSprite] of record |
|
210 |
FileName: String[16]; |
|
211 |
Path, AltPath: TPathType; |
|
212 |
Texture: PTexture; |
|
213 |
Surface: PSDL_Surface; |
|
214 |
Width, Height, imageWidth, imageHeight: LongInt; |
|
215 |
saveSurf: boolean; |
|
216 |
priority: GLfloat; |
|
217 |
getDimensions, getImageDimensions: boolean; |
|
218 |
end = ( |
|
219 |
(FileName: 'BlueWater'; Path: ptCurrTheme;AltPath: ptGraphics; Texture: nil; Surface: nil; |
|
220 |
Width: 0; Height: 0; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: true; getImageDimensions: true),// sprWater |
|
221 |
(FileName: 'Clouds'; Path: ptCurrTheme;AltPath: ptGraphics; Texture: nil; Surface: nil; |
|
222 |
Width: 256; Height:128; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprCloud |
|
223 |
(FileName: 'Bomb'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
224 |
Width: 8; Height: 8; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprBomb |
|
225 |
(FileName: 'BigDigits'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
226 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprBigDigit |
|
227 |
(FileName: 'Frame'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
228 |
Width: 4; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprFrame |
|
229 |
(FileName: 'Lag'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
230 |
Width: 65; Height: 65; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprLag |
|
231 |
(FileName: 'Arrow'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
232 |
Width: 16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprCursor |
|
233 |
(FileName:'BazookaShell'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
234 |
Width: 16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprBazookaShell |
|
235 |
(FileName: 'Targetp'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
236 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprTargetP |
|
237 |
(FileName: 'Bee'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
238 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprBee |
|
239 |
(FileName: 'SmokeTrace'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
240 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprSmokeTrace |
|
241 |
(FileName: 'RopeHook'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
242 |
Width: 16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprRopeHook |
|
243 |
(FileName: 'Expl50'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
244 |
Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprExplosion50 |
|
245 |
(FileName: 'MineOff'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
246 |
Width: 8; Height: 8; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprMineOff |
|
247 |
(FileName: 'MineOn'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
248 |
Width: 8; Height: 8; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprMineOn |
|
249 |
(FileName: 'MineDead'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
250 |
Width: 8; Height: 8; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprMineDead |
|
251 |
(FileName: 'Case'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
252 |
Width: 48; Height: 48; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprCase |
|
253 |
(FileName: 'FirstAid'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
254 |
Width: 48; Height: 48; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprFAid |
|
255 |
(FileName: 'dynamite'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
256 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprDynamite |
|
257 |
(FileName: 'Power'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
258 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprPower |
|
259 |
(FileName: 'ClBomb'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
260 |
Width: 16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprClusterBomb |
|
261 |
(FileName: 'ClParticle'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
262 |
Width: 16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprClusterParticle |
|
263 |
(FileName: 'Flame'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
264 |
Width: 16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprFlame |
|
265 |
(FileName: 'horizont'; Path: ptCurrTheme;AltPath: ptNone; Texture: nil; Surface: nil; |
|
266 |
Width: 0; Height: 0; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: true; getImageDimensions: true),// sprHorizont |
|
267 |
(FileName: 'horizontL'; Path: ptCurrTheme;AltPath: ptNone; Texture: nil; Surface: nil; |
|
268 |
Width: 0; Height: 0; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: true; getImageDimensions: true),// sprHorizont |
|
269 |
(FileName: 'horizontR'; Path: ptCurrTheme;AltPath: ptNone; Texture: nil; Surface: nil; |
|
270 |
Width: 0; Height: 0; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: true; getImageDimensions: true),// sprHorizont |
|
271 |
(FileName: 'Sky'; Path: ptCurrTheme;AltPath: ptNone; Texture: nil; Surface: nil; |
|
272 |
Width: 0; Height: 0; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: true; getImageDimensions: true),// sprSky |
|
273 |
(FileName: 'SkyL'; Path: ptCurrTheme;AltPath: ptNone; Texture: nil; Surface: nil; |
|
274 |
Width: 0; Height: 0; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: true; getImageDimensions: true),// sprSky |
|
275 |
(FileName: 'SkyR'; Path: ptCurrTheme;AltPath: ptNone; Texture: nil; Surface: nil; |
|
276 |
Width: 0; Height: 0; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: true; getImageDimensions: true),// sprSky |
|
277 |
(FileName: 'BorderHorizontal'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
|
278 |
Width: 33; Height: 2; imageWidth: 0; imageHeight: 0; saveSurf: true; priority: tpLow; getDimensions: false; getImageDimensions: true),// sprAMBorderHorizontal |
|
279 |
(FileName: 'BorderVertical'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
|
280 |
Width: 2; Height: 33; imageWidth: 0; imageHeight: 0; saveSurf: true; priority: tpLow; getDimensions: false; getImageDimensions: true),// sprAMBorderVertical |
|
281 |
(FileName: 'Slot'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
|
282 |
Width: 33; Height: 33; imageWidth: 0; imageHeight: 0; saveSurf: true; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprAMSlot |
|
283 |
(FileName: 'Ammos'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
|
284 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: true; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprAMAmmos |
|
285 |
(FileName: 'SlotKeys'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
|
286 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprAMSlotKeys |
|
287 |
(FileName: 'Corners'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
|
288 |
Width: 2; Height: 2; imageWidth: 0; imageHeight: 0; saveSurf: true; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprAMCorners |
|
289 |
(FileName: 'Finger'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
290 |
Width: 32; Height: 48; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprFinger |
|
291 |
(FileName: 'AirBomb'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
292 |
Width: 16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprAirBomb |
|
293 |
(FileName: 'Airplane'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
294 |
Width: 254; Height: 101; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprAirplane |
|
295 |
(FileName: 'amAirplane'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
296 |
Width: 64; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprAmAirplane |
|
297 |
(FileName: 'amGirder'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
298 |
Width: 160; Height:160; imageWidth: 0; imageHeight: 0; saveSurf: true; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprAmGirder |
|
299 |
(FileName: 'hhMask'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
300 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: true; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHHTelepMask |
|
301 |
(FileName: 'Switch'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
302 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprSwitch |
|
303 |
(FileName: 'Parachute'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
304 |
Width: 48; Height: 48; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprParachute |
|
305 |
(FileName: 'Target'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
306 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprTarget |
|
307 |
(FileName: 'RopeNode'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
308 |
Width: 6; Height: 6; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprRopeNode |
|
309 |
(FileName: 'thinking'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
310 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprQuestion |
|
311 |
(FileName: 'PowerBar'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
312 |
Width: 256; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprPowerBar |
|
313 |
(FileName: 'WindBar'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
314 |
Width: 151; Height: 17; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprWindBar |
|
315 |
(FileName: 'WindL'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
316 |
Width: 80; Height: 13; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprWindL |
|
317 |
(FileName: 'WindR'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
318 |
Width: 80; Height: 13; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprWindR |
|
319 |
(FileName: 'Flake'; Path:ptCurrTheme; AltPath: ptNone; Texture: nil; Surface: nil; |
|
320 |
Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprFlake |
|
321 |
(FileName: 'amRope'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
322 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandRope |
|
323 |
(FileName: 'amBazooka'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
324 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandBazooka |
|
325 |
(FileName: 'amShotgun'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
326 |
Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandShotgun |
|
327 |
(FileName: 'amDEagle'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
328 |
Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandDEagle |
|
329 |
(FileName:'amAirAttack'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
330 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandAirAttack |
|
331 |
(FileName: 'amBaseball'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
332 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandBaseball |
|
333 |
(FileName: 'Hammer'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
334 |
Width: 32; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprPHammer |
|
335 |
(FileName: 'amBTorch_i'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
336 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandBlowTorch |
|
337 |
(FileName: 'amBTorch_w'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
338 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprBlowTorch |
|
339 |
(FileName: 'Teleport'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
340 |
Width: 64; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprTeleport |
|
341 |
(FileName: 'HHDeath'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
342 |
Width: 32; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprHHDeath |
|
343 |
(FileName:'amShotgun_w'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
344 |
Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprShotgun |
|
345 |
(FileName: 'amDEagle_w'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
346 |
Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprDEagle |
|
347 |
(FileName: 'Idle'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
348 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprHHIdle |
|
349 |
(FileName: 'Mortar'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
350 |
Width: 16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprMortar |
|
351 |
(FileName: 'TurnsLeft'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
|
352 |
Width: 16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprTurnsLeft |
|
353 |
(FileName: 'amKamikaze'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
354 |
Width: 256; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprKamikaze |
|
355 |
(FileName: 'amWhip'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
356 |
Width: 128; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprWhip |
|
357 |
(FileName: 'Kowtow'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
358 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprKowtow |
|
359 |
(FileName: 'Sad'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
360 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprSad |
|
361 |
(FileName: 'Wave'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
362 |
Width: 64; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprWave |
|
363 |
(FileName: 'Hurrah'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
364 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprHurrah |
|
365 |
(FileName:'ILoveLemonade';Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
366 |
Width: 128; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprLemonade |
|
367 |
(FileName: 'Shrug'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
368 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprShrug |
|
369 |
(FileName: 'Juggle'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
370 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprJuggle |
|
371 |
(FileName: 'ExplPart'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
372 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprExplPart |
|
373 |
(FileName: 'ExplPart2'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
374 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprExplPart2 |
|
375 |
(FileName: 'Cake_walk'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
376 |
Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprCakeWalk |
|
377 |
(FileName: 'Cake_down'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
378 |
Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprCakeDown |
|
379 |
(FileName: 'Ammos_bw'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
|
380 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprAMAmmosBW |
|
381 |
(FileName: 'Watermelon'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
382 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprWatermelon |
|
383 |
(FileName: 'EvilTrace'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
384 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprEvilTrace |
|
385 |
(FileName:'HellishBomb'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
386 |
Width: 16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHellishBomb |
|
387 |
(FileName: 'Seduction'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
388 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprSeduction |
|
389 |
(FileName: 'HHDress'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
390 |
Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprDress |
|
391 |
(FileName: 'Censored'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
392 |
Width: 64; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprCensored |
|
393 |
(FileName: 'Drill'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
394 |
Width: 16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprDrill |
|
395 |
(FileName: 'amDrill'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
396 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandDrill |
|
397 |
(FileName: 'amBallgun'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
398 |
Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandBallgun |
|
399 |
(FileName: 'Balls'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
400 |
Width: 32; Height: 20; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprBalls |
|
401 |
(FileName: 'RCPlane'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
402 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprPlane |
|
403 |
(FileName: 'amRCPlane'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
404 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandPlane |
|
405 |
(FileName: 'Utility'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
406 |
Width: 48; Height: 48; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprUtility |
|
407 |
(FileName:'Invulnerable';Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
408 |
Width: 48; Height: 48; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprInvulnerable |
|
409 |
(FileName: 'Vampiric'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
410 |
Width: 48; Height: 48; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprVampiric |
|
411 |
(FileName: 'amGirder'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
412 |
Width: 512; Height:512; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprGirder |
|
413 |
(FileName:'SpeechCorner';Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
414 |
Width: 12; Height: 9; imageWidth: 0; imageHeight: 0; saveSurf: true; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprSpeechCorner |
|
415 |
(FileName: 'SpeechEdge'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
416 |
Width: 25; Height: 9; imageWidth: 0; imageHeight: 0; saveSurf: true; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprSpeechEdge |
|
417 |
(FileName: 'SpeechTail'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
418 |
Width: 25; Height: 26; imageWidth: 0; imageHeight: 0; saveSurf: true; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprSpeechTail |
|
419 |
(FileName:'ThoughtCorner';Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
420 |
Width: 49; Height: 37; imageWidth: 0; imageHeight: 0; saveSurf: true; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprThoughtCorner |
|
421 |
(FileName:'ThoughtEdge'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
422 |
Width: 23; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: true; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprThoughtEdge |
|
423 |
(FileName:'ThoughtTail'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
424 |
Width: 45; Height: 65; imageWidth: 0; imageHeight: 0; saveSurf: true; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprThoughtTail |
|
425 |
(FileName:'ShoutCorner'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
426 |
Width: 34; Height: 23; imageWidth: 0; imageHeight: 0; saveSurf: true; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprShoutCorner |
|
427 |
(FileName: 'ShoutEdge'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
428 |
Width: 30; Height: 20; imageWidth: 0; imageHeight: 0; saveSurf: true; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprShoutEdge |
|
429 |
(FileName: 'ShoutTail'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
430 |
Width: 30; Height: 37; imageWidth: 0; imageHeight: 0; saveSurf: true; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprShoutTail |
|
431 |
(FileName:'amSniperRifle';Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
432 |
Width: 128; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprSniperRifle |
|
433 |
(FileName: 'Bubbles'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
434 |
Width: 16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprBubbles |
|
435 |
(FileName: 'amJetpack'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
436 |
Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprJetpack |
|
437 |
(FileName: 'Health'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
438 |
Width: 16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprHealth |
|
439 |
(FileName: 'amMolotov'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
440 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),//sprHandMolotov |
|
441 |
(FileName: 'Molotov'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
442 |
Width: 16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprMolotov |
|
443 |
(FileName: 'Smoke'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
444 |
Width: 22; Height: 22; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprSmoke |
|
445 |
(FileName: 'SmokeWhite'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
446 |
Width: 22; Height: 22; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprSmokeWhite |
|
447 |
(FileName: 'Shells'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
448 |
Width: 8; Height: 8; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpLow; getDimensions: false; getImageDimensions: true),// sprShell |
|
449 |
(FileName: 'Dust'; Path: ptCurrTheme; AltPath: ptGraphics; Texture: nil; Surface: nil; |
|
450 |
Width: 22; Height: 22; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprDust |
|
451 |
(FileName: 'Explosives'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
452 |
Width: 48; Height: 48; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprExplosives |
|
453 |
(FileName: 'ExplosivesRoll'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
454 |
Width: 48; Height: 48; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprExplosivesRoll |
|
455 |
(FileName: 'amTeleport'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
456 |
Width: 64; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprAmTeleport |
|
457 |
(FileName: 'Splash'; Path: ptCurrTheme; AltPath: ptGraphics; Texture: nil; Surface: nil; |
|
458 |
Width: 80; Height: 50; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprSplash |
|
459 |
(FileName: 'Droplet'; Path: ptCurrTheme; AltPath: ptGraphics; Texture: nil; Surface: nil; |
|
460 |
Width: 16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprDroplet |
|
461 |
(FileName: 'Birdy'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
462 |
Width: 75; Height: 75; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprBirdy |
|
463 |
(FileName: 'amCake'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
464 |
Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandCake |
|
465 |
(FileName: 'amConstruction'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
466 |
Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandConstruction |
|
467 |
(FileName: 'amGrenade'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
468 |
Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandGrenade |
|
469 |
(FileName: 'amMelon'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
470 |
Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandMelon |
|
471 |
(FileName: 'amMortar'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
472 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandMortar |
|
473 |
(FileName: 'amSkip'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
474 |
Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandSkip |
|
475 |
(FileName: 'amCluster'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
476 |
Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandCluster |
|
477 |
(FileName: 'amDynamite'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
478 |
Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandDynamite |
|
479 |
(FileName: 'amHellish'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
480 |
Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandHellish |
|
481 |
(FileName: 'amMine'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
482 |
Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandMine |
|
483 |
(FileName: 'amSeduction'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
484 |
Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandSeduction |
|
485 |
(FileName: 'amVamp'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
486 |
Width: 128; Height: 128; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandVamp |
|
487 |
(FileName: 'BigExplosion'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
488 |
Width: 385; Height: 385; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprBigExplosion |
|
489 |
(FileName: 'SmokeRing'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
490 |
Width: 200; Height: 200; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprSmokeRing |
|
491 |
(FileName: 'BeeTrace'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
492 |
Width: 16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprBeeTrace |
|
493 |
(FileName: 'Egg'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
494 |
Width: 16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprEgg |
|
495 |
(FileName: 'TargetBee'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
496 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprTargetBee |
|
497 |
(FileName: 'amBee'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
498 |
Width: 128; Height: 128; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandBee |
|
499 |
(FileName: 'Feather'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
500 |
Width: 15; Height: 25; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprFeather |
|
501 |
(FileName: 'Piano'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
502 |
Width: 128; Height: 128; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprPiano |
|
503 |
(FileName: 'amSineGun'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
504 |
Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandSineGun |
|
505 |
(FileName: 'amPortalGun'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
506 |
Width: 128; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprPortalGun |
|
507 |
(FileName: 'Portal'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
508 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprPortal |
|
509 |
(FileName: 'cheese'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
510 |
Width: 16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprCheese |
|
511 |
(FileName: 'amCheese'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
512 |
Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandCheese |
|
513 |
(FileName: 'amFlamethrower'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
514 |
Width: 128; Height: 128; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandFlamethrower |
|
515 |
(FileName: 'Chunk'; Path: ptCurrTheme; AltPath: ptGraphics; Texture: nil; Surface: nil; |
|
516 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprChunk |
|
517 |
(FileName: 'Note'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
518 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprNote |
|
519 |
(FileName: 'SMineOff'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
520 |
Width: 8; Height: 8; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprSMineOff |
|
521 |
(FileName: 'SMineOn'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
522 |
Width: 8; Height: 8; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprSMineOn |
|
523 |
(FileName: 'amSMine'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
524 |
Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandSMine |
|
525 |
(FileName: 'amHammer'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
526 |
Width: 128; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true), // sprWhip |
|
527 |
(FileName: 'amResurrector'; Path: ptHedgehog; AltPath: ptNone; |
|
528 |
Texture: nil; Surface: nil; Width: 32; Height: 32; |
|
529 |
imageWidth: 0; imageHeight: 0; saveSurf: false; priority: |
|
530 |
tpMedium; getDimensions: false; getImageDimensions: true), |
|
531 |
//sprHandResurrector |
|
532 |
(FileName: 'Cross'; Path: ptGraphics; altPath: ptNone; |
|
533 |
Texture: nil; Surface: nil; Width: 108; Height: 138; |
|
534 |
imageWidth: 0; imageHeight: 0; saveSurf: false; priority: |
|
535 |
tpMedium; getDimensions: false; getImageDimensions: true), |
|
536 |
//sprCross |
|
537 |
(FileName: 'AirDrill'; Path: ptGraphics; AltPath: ptNone; |
|
538 |
Texture: nil; Surface: nil; Width: 16; Height: 16; |
|
539 |
imageWidth: 0; imageHeight: 0; saveSurf: false; priority: |
|
540 |
tpMedium; getDimensions: false; getImageDimensions: true), |
|
541 |
// sprAirDrill |
|
542 |
(FileName: 'NapalmBomb'; Path: ptGraphics; AltPath: ptNone; |
|
543 |
Texture: nil; Surface: nil; Width: 16; Height: 16; |
|
544 |
imageWidth: 0; imageHeight: 0; saveSurf: false; priority: |
|
545 |
tpMedium; getDimensions: false; getImageDimensions: true), |
|
546 |
// sprNapalmBomb |
|
547 |
(FileName: 'BulletHit'; Path: ptGraphics; AltPath: ptNone; |
|
548 |
Texture: nil; Surface: nil; Width: 32; Height: 32; |
|
549 |
imageWidth: 0; imageHeight: 0; saveSurf: false; priority: |
|
550 |
tpMedium; getDimensions: false; getImageDimensions: true) |
|
551 |
// sprNapalmBomb |
|
552 |
); |
|
553 |
||
554 |
||
555 |
Wavez: array [TWave] of record |
|
556 |
Sprite: TSprite; |
|
557 |
FramesCount: Longword; |
|
558 |
Interval: Longword; |
|
559 |
cmd: String[20]; |
|
560 |
Voice: TSound; |
|
561 |
VoiceDelay: LongWord; |
|
562 |
end = ( |
|
563 |
(Sprite: sprKowtow; FramesCount: 12; Interval: 125; cmd: '/rollup'; Voice: sndNone; VoiceDelay: 0), |
|
564 |
(Sprite: sprSad; FramesCount: 14; Interval: 125; cmd: '/sad'; Voice: sndNone; VoiceDelay: 0), |
|
565 |
(Sprite: sprWave; FramesCount: 16; Interval: 125; cmd: '/wave'; Voice: sndHello; VoiceDelay: 5), |
|
566 |
(Sprite: sprHurrah; FramesCount: 14; Interval: 125; cmd: '/hurrah'; Voice: sndNone; VoiceDelay: 0), |
|
567 |
(Sprite: sprLemonade; FramesCount: 24; Interval: 125; cmd: '/ilovelotsoflemonade'; Voice: sndNone; VoiceDelay: 0), |
|
568 |
(Sprite: sprShrug; FramesCount: 24; Interval: 125; cmd: '/shrug'; Voice: sndNone; VoiceDelay: 0), |
|
569 |
(Sprite: sprJuggle; FramesCount: 49; Interval: 38; cmd: '/juggle'; Voice: sndNone; VoiceDelay: 0) |
|
570 |
); |
|
571 |
||
572 |
Soundz: array[TSound] of record |
|
573 |
FileName: String[25]; |
|
574 |
Path : TPathType; |
|
575 |
end = ( |
|
576 |
(FileName: ''; Path: ptNone ),// sndNone |
|
577 |
(FileName: 'grenadeimpact.ogg'; Path: ptSounds),// sndGrenadeImpact |
|
578 |
(FileName: 'explosion.ogg'; Path: ptSounds),// sndExplosion |
|
579 |
(FileName: 'throwpowerup.ogg'; Path: ptSounds),// sndThrowPowerUp |
|
580 |
(FileName: 'throwrelease.ogg'; Path: ptSounds),// sndThrowRelease |
|
581 |
(FileName: 'splash.ogg'; Path: ptSounds),// sndSplash |
|
582 |
(FileName: 'shotgunreload.ogg'; Path: ptSounds),// sndShotgunReload |
|
583 |
(FileName: 'shotgunfire.ogg'; Path: ptSounds),// sndShotgunFire |
|
584 |
(FileName: 'graveimpact.ogg'; Path: ptSounds),// sndGraveImpact |
|
585 |
(FileName: 'minetick.ogg'; Path: ptSounds),// sndMineTicks |
|
586 |
(FileName: 'pickhammer.ogg'; Path: ptSounds),// sndPickhammer |
|
587 |
(FileName: 'gun.ogg'; Path: ptSounds),// sndGun |
|
588 |
(FileName: 'bee.ogg'; Path: ptSounds),// sndBee |
|
589 |
(FileName: 'Jump1.ogg'; Path: ptVoices),// sndJump1 |
|
590 |
(FileName: 'Jump2.ogg'; Path: ptVoices),// sndJump2 |
|
591 |
(FileName: 'Jump3.ogg'; Path: ptVoices),// sndJump3 |
|
592 |
(FileName: 'Yessir.ogg'; Path: ptVoices),// sndYesSir |
|
593 |
(FileName: 'Laugh.ogg'; Path: ptVoices),// sndLaugh |
|
594 |
(FileName: 'Illgetyou.ogg'; Path: ptVoices),// sndIllGetYou |
|
595 |
(FileName: 'Incoming.ogg'; Path: ptVoices),// sndIncoming |
|
596 |
(FileName: 'Missed.ogg'; Path: ptVoices),// sndMissed |
|
597 |
(FileName: 'Stupid.ogg'; Path: ptVoices),// sndStupid |
|
598 |
(FileName: 'Firstblood.ogg'; Path: ptVoices),// sndFirstBlood |
|
599 |
(FileName: 'Boring.ogg'; Path: ptVoices),// sndBoring |
|
600 |
(FileName: 'Byebye.ogg'; Path: ptVoices),// sndByeBye |
|
601 |
(FileName: 'Sameteam.ogg'; Path: ptVoices),// sndSameTeam |
|
602 |
(FileName: 'Nutter.ogg'; Path: ptVoices),// sndNutter |
|
603 |
(FileName: 'Reinforcements.ogg'; Path: ptVoices),// sndReinforce |
|
604 |
(FileName: 'Traitor.ogg'; Path: ptVoices),// sndTraitor |
|
605 |
(FileName: 'Youllregretthat.ogg'; Path: ptVoices),// sndRegret |
|
606 |
(FileName: 'Enemydown.ogg'; Path: ptVoices),// sndEnemyDown |
|
607 |
(FileName: 'Coward.ogg'; Path: ptVoices),// sndCoward |
|
608 |
(FileName: 'Hurry.ogg'; Path: ptVoices),// sndHurry |
|
609 |
(FileName: 'Watchit.ogg'; Path: ptVoices),// sndWatchIt |
|
610 |
(FileName: 'Kamikaze.ogg'; Path: ptVoices),// sndKamikaze |
|
611 |
(FileName: 'cake2.ogg'; Path: ptSounds),// sndCake |
|
612 |
(FileName: 'Ow1.ogg'; Path: ptVoices),// sndOw1 |
|
613 |
(FileName: 'Ow2.ogg'; Path: ptVoices),// sndOw2 |
|
614 |
(FileName: 'Ow3.ogg'; Path: ptVoices),// sndOw3 |
|
615 |
(FileName: 'Ow4.ogg'; Path: ptVoices),// sndOw4 |
|
616 |
(FileName: 'Firepunch1.ogg'; Path: ptVoices),// sndFirepunch1 |
|
617 |
(FileName: 'Firepunch2.ogg'; Path: ptVoices),// sndFirepunch2 |
|
618 |
(FileName: 'Firepunch3.ogg'; Path: ptVoices),// sndFirepunch3 |
|
619 |
(FileName: 'Firepunch4.ogg'; Path: ptVoices),// sndFirepunch4 |
|
620 |
(FileName: 'Firepunch5.ogg'; Path: ptVoices),// sndFirepunch5 |
|
621 |
(FileName: 'Firepunch6.ogg'; Path: ptVoices),// sndFirepunch6 |
|
622 |
(FileName: 'Melon.ogg'; Path: ptVoices),// sndMelon |
|
623 |
(FileName: 'Hellish.ogg'; Path: ptSounds),// sndHellish |
|
624 |
(FileName: 'Yoohoo.ogg'; Path: ptSounds),// sndYoohoo |
|
625 |
(FileName: 'rcplane.ogg'; Path: ptSounds),// sndRCPlane |
|
626 |
(FileName: 'whipcrack.ogg'; Path: ptSounds),// sndWhipCrack |
|
627 |
(FileName:'ride_of_the_valkyries.ogg'; Path: ptSounds),// sndRideOfTheValkyries |
|
628 |
(FileName: 'denied.ogg'; Path: ptSounds),// sndDenied |
|
629 |
(FileName: 'placed.ogg'; Path: ptSounds),// sndPlaced |
|
630 |
(FileName: 'baseballbat.ogg'; Path: ptSounds),// sndBaseballBat |
|
631 |
(FileName: 'steam.ogg'; Path: ptSounds),// sndVaporize |
|
632 |
(FileName: 'warp.ogg'; Path: ptSounds),// sndWarp |
|
633 |
(FileName: 'suddendeath.ogg'; Path: ptSounds),// sndSuddenDeath |
|
634 |
(FileName: 'mortar.ogg'; Path: ptSounds),// sndMortar |
|
635 |
(FileName: 'shutterclick.ogg'; Path: ptSounds),// sndShutter |
|
636 |
(FileName: 'homerun.ogg'; Path: ptSounds),// sndHomerun |
|
637 |
(FileName: 'molotov.ogg'; Path: ptSounds),// sndMolotov |
|
638 |
(FileName: 'Takecover.ogg'; Path: ptVoices),// sndCover |
|
639 |
(FileName: 'Uh-oh.ogg'; Path: ptVoices),// sndUhOh |
|
640 |
(FileName: 'Oops.ogg'; Path: ptVoices),// sndOops |
|
641 |
(FileName: 'Nooo.ogg'; Path: ptVoices),// sndNooo |
|
642 |
(FileName: 'Hello.ogg'; Path: ptVoices),// sndHello |
|
643 |
(FileName: 'ropeshot.ogg'; Path: ptSounds),// sndRopeShot |
|
644 |
(FileName: 'ropeattach.ogg'; Path: ptSounds),// sndRopeAttach |
|
645 |
(FileName: 'roperelease.ogg'; Path: ptSounds),// sndRopeRelease |
|
646 |
(FileName: 'switchhog.ogg'; Path: ptSounds),// sndSwitchHog |
|
647 |
(FileName: 'victory.ogg'; Path: ptVoices),// sndVictory |
|
648 |
(FileName: 'sniperreload.ogg'; Path: ptSounds),// sndSniperReload |
|
649 |
(FileName: 'steps.ogg'; Path: ptSounds),// sndSteps |
|
650 |
(FileName: 'lowgravity.ogg'; Path: ptSounds),// sndLowGravity |
|
651 |
(FileName: 'hell_growl.ogg'; Path: ptSounds),// sndHellishImpact1 |
|
652 |
(FileName: 'hell_ooff.ogg'; Path: ptSounds),// sndHellishImpact2 |
|
653 |
(FileName: 'hell_ow.ogg'; Path: ptSounds),// sndHellishImpact3 |
|
654 |
(FileName: 'hell_ugh.ogg'; Path: ptSounds),// sndHellishImpact4 |
|
655 |
(FileName: 'melonimpact.ogg'; Path: ptSounds),// sndMelonImpact |
|
656 |
(FileName: 'Droplet1.ogg'; Path: ptSounds),// sndDroplet1 |
|
657 |
(FileName: 'Droplet2.ogg'; Path: ptSounds),// sndDroplet2 |
|
658 |
(FileName: 'Droplet3.ogg'; Path: ptSounds),// sndDroplet3 |
|
659 |
(FileName: 'egg.ogg'; Path: ptSounds),// sndEggBreak |
|
660 |
(FileName: 'drillgun.ogg'; Path: ptSounds),// sndDrillRocket |
|
661 |
(FileName: 'PoisonCough.ogg'; Path: ptVoices),// sndPoisonCough |
|
662 |
(FileName: 'PoisonMoan.ogg'; Path: ptVoices),// sndPoisonMoan |
|
663 |
(FileName: 'BirdyLay.ogg'; Path: ptSounds),// sndBirdyLay |
|
664 |
(FileName: 'Whistle.ogg'; Path: ptSounds),// sndWhistle |
|
665 |
(FileName: 'beewater.ogg'; Path: ptSounds),// sndBeeWater |
|
666 |
(FileName: '1C.ogg'; Path: ptSounds),// sndPiano0 |
|
667 |
(FileName: '2D.ogg'; Path: ptSounds),// sndPiano1 |
|
668 |
(FileName: '3E.ogg'; Path: ptSounds),// sndPiano2 |
|
669 |
(FileName: '4F.ogg'; Path: ptSounds),// sndPiano3 |
|
670 |
(FileName: '5G.ogg'; Path: ptSounds),// sndPiano4 |
|
671 |
(FileName: '6A.ogg'; Path: ptSounds),// sndPiano5 |
|
672 |
(FileName: '7B.ogg'; Path: ptSounds),// sndPiano6 |
|
673 |
(FileName: '8C.ogg'; Path: ptSounds),// sndPiano7 |
|
674 |
(FileName: '9D.ogg'; Path: ptSounds),// sndPiano8 |
|
675 |
(FileName: 'skip.ogg'; Path: ptSounds),// sndSkip |
|
676 |
(FileName: 'shotgunfire.ogg'; Path: ptSounds),// sndSineGun |
|
677 |
(FileName: 'Ooff1.ogg'; Path: ptVoices),// sndOoff1 |
|
678 |
(FileName: 'Ooff2.ogg'; Path: ptVoices),// sndOoff2 |
|
679 |
(FileName: 'Ooff3.ogg'; Path: ptVoices),// sndOoff3 |
|
680 |
(FileName: 'whipcrack.ogg'; Path: ptSounds),// sndWhack |
|
681 |
(FileName: 'Comeonthen.ogg'; Path: ptVoices),// sndComeonthen |
|
682 |
(FileName: 'parachute.ogg'; Path: ptSounds),// sndParachute |
|
683 |
(FileName: 'bump.ogg'; Path: ptSounds),// sndBump |
|
684 |
(FileName: 'hogchant3.ogg'; Path: ptSounds) // sndResurrector |
|
685 |
); |
|
686 |
||
687 |
Ammoz: array [TAmmoType] of record |
|
688 |
NameId: TAmmoStrId; |
|
689 |
NameTex: PTexture; |
|
690 |
Probability, NumberInCase: Longword; |
|
691 |
Ammo: TAmmo; |
|
692 |
Slot: 0..cMaxSlotIndex; |
|
693 |
TimeAfterTurn: Longword; |
|
694 |
minAngle, maxAngle: Longword; |
|
695 |
isDamaging: boolean; |
|
696 |
SkipTurns: Longword; |
|
697 |
PosCount: Longword; |
|
698 |
PosSprite: TSprite; |
|
699 |
ejectX, ejectY: Longint; |
|
700 |
end = ( |
|
701 |
(NameId: sidNothing; |
|
702 |
NameTex: nil; |
|
703 |
Probability: 0; |
|
704 |
NumberInCase: 0; |
|
705 |
Ammo: (Propz: ammoprop_NoCrosshair or ammoprop_DontHold or ammoprop_Effect; |
|
706 |
Count: AMMO_INFINITE; |
|
707 |
NumPerTurn: 0; |
|
708 |
Timer: 0; |
|
709 |
Pos: 0; |
|
710 |
AmmoType: amNothing; |
|
711 |
AttackVoice: sndNone); |
|
712 |
Slot: 0; |
|
713 |
TimeAfterTurn: 0; |
|
714 |
minAngle: 0; |
|
715 |
maxAngle: 0; |
|
716 |
isDamaging: false; |
|
717 |
SkipTurns: 9999; |
|
718 |
PosCount: 1; |
|
719 |
PosSprite: sprWater; |
|
720 |
ejectX: 0; |
|
721 |
ejectY: 0), |
|
722 |
||
723 |
// Grenade |
|
724 |
(NameId: sidGrenade; |
|
725 |
NameTex: nil; |
|
726 |
Probability: 0; |
|
727 |
NumberInCase: 1; |
|
728 |
Ammo: (Propz: ammoprop_Timerable or ammoprop_Power or ammoprop_AltUse; |
|
729 |
Count: AMMO_INFINITE; |
|
730 |
NumPerTurn: 0; |
|
731 |
Timer: 3000; |
|
732 |
Pos: 0; |
|
733 |
AmmoType: amGrenade; |
|
734 |
AttackVoice: sndCover); |
|
735 |
Slot: 1; |
|
736 |
TimeAfterTurn: 3000; |
|
737 |
minAngle: 0; |
|
738 |
maxAngle: 0; |
|
739 |
isDamaging: true; |
|
740 |
SkipTurns: 0; |
|
741 |
PosCount: 1; |
|
742 |
PosSprite: sprWater; |
|
743 |
ejectX: 0; |
|
744 |
ejectY: 0), |
|
745 |
||
746 |
// ClusterBomb |
|
747 |
(NameId: sidClusterBomb; |
|
748 |
NameTex: nil; |
|
749 |
Probability: 100; |
|
750 |
NumberInCase: 3; |
|
751 |
Ammo: (Propz: ammoprop_Timerable or ammoprop_Power or ammoprop_AltUse; |
|
752 |
Count: 5; |
|
753 |
NumPerTurn: 0; |
|
754 |
Timer: 3000; |
|
755 |
Pos: 0; |
|
756 |
AmmoType: amClusterBomb; |
|
757 |
AttackVoice: sndCover); |
|
758 |
Slot: 1; |
|
759 |
TimeAfterTurn: 3000; |
|
760 |
minAngle: 0; |
|
761 |
maxAngle: 0; |
|
762 |
isDamaging: true; |
|
763 |
SkipTurns: 0; |
|
764 |
PosCount: 1; |
|
765 |
PosSprite: sprWater; |
|
766 |
ejectX: 0; |
|
767 |
ejectY: 0), |
|
768 |
||
769 |
// Bazooka |
|
770 |
(NameId: sidBazooka; |
|
771 |
NameTex: nil; |
|
772 |
Probability: 0; |
|
773 |
NumberInCase: 1; |
|
774 |
Ammo: (Propz: ammoprop_Power or ammoprop_AltUse; |
|
775 |
Count: AMMO_INFINITE; |
|
776 |
NumPerTurn: 0; |
|
777 |
Timer: 0; |
|
778 |
Pos: 0; |
|
779 |
AmmoType: amBazooka; |
|
780 |
AttackVoice: sndNone); |
|
781 |
Slot: 0; |
|
782 |
TimeAfterTurn: 3000; |
|
783 |
minAngle: 0; |
|
784 |
maxAngle: 0; |
|
785 |
isDamaging: true; |
|
786 |
SkipTurns: 0; |
|
787 |
PosCount: 1; |
|
788 |
PosSprite: sprWater; |
|
789 |
ejectX: 0; //20; |
|
790 |
ejectY: -6), |
|
791 |
||
792 |
// Bee |
|
793 |
(NameId: sidBee; |
|
794 |
NameTex: nil; |
|
795 |
Probability: 100; |
|
796 |
NumberInCase: 1; |
|
797 |
Ammo: (Propz: ammoprop_Power or ammoprop_NeedTarget or ammoprop_DontHold; |
|
798 |
Count: 2; |
|
799 |
NumPerTurn: 0; |
|
800 |
Timer: 0; |
|
801 |
Pos: 0; |
|
802 |
AmmoType: amBee; |
|
803 |
AttackVoice: sndNone); |
|
804 |
Slot: 0; |
|
805 |
TimeAfterTurn: 3000; |
|
806 |
minAngle: 0; |
|
807 |
maxAngle: 0; |
|
808 |
isDamaging: true; |
|
809 |
SkipTurns: 0; |
|
810 |
PosCount: 1; |
|
811 |
PosSprite: sprWater; |
|
812 |
ejectX: 0; //16; |
|
813 |
ejectY: 0), |
|
814 |
||
815 |
// Shotgun |
|
816 |
(NameId: sidShotgun; |
|
817 |
NameTex: nil; |
|
818 |
Probability: 0; |
|
819 |
NumberInCase: 1; |
|
820 |
Ammo: (Propz: ammoprop_ForwMsgs; |
|
821 |
Count: AMMO_INFINITE; |
|
822 |
NumPerTurn: 1; |
|
823 |
Timer: 0; |
|
824 |
Pos: 0; |
|
825 |
AmmoType: amShotgun; |
|
826 |
AttackVoice: sndNone); |
|
827 |
Slot: 2; |
|
828 |
TimeAfterTurn: 3000; |
|
829 |
minAngle: 0; |
|
830 |
maxAngle: 0; |
|
831 |
isDamaging: true; |
|
832 |
SkipTurns: 0; |
|
833 |
PosCount: 1; |
|
834 |
PosSprite: sprWater; |
|
835 |
ejectX: 0; //26; |
|
836 |
ejectY: -6), |
|
837 |
||
838 |
// PickHammer |
|
839 |
(NameId: sidPickHammer; |
|
840 |
NameTex: nil; |
|
841 |
Probability: 0; |
|
842 |
NumberInCase: 1; |
|
843 |
Ammo: (Propz: ammoprop_ForwMsgs or ammoprop_AttackInMove or ammoprop_NoCrosshair or ammoprop_DontHold; |
|
844 |
Count: 2; |
|
845 |
NumPerTurn: 0; |
|
846 |
Timer: 0; |
|
847 |
Pos: 0; |
|
848 |
AmmoType: amPickHammer; |
|
849 |
AttackVoice: sndNone); |
|
850 |
Slot: 6; |
|
851 |
TimeAfterTurn: 0; |
|
852 |
minAngle: 0; |
|
853 |
maxAngle: 0; |
|
854 |
isDamaging: false; |
|
855 |
SkipTurns: 0; |
|
856 |
PosCount: 1; |
|
857 |
PosSprite: sprWater; |
|
858 |
ejectX: 0; |
|
859 |
ejectY: 0), |
|
860 |
||
861 |
// Skip |
|
862 |
(NameId: sidSkip; |
|
863 |
NameTex: nil; |
|
864 |
Probability: 0; |
|
865 |
NumberInCase: 1; |
|
866 |
Ammo: (Propz: ammoprop_NoCrosshair or ammoprop_DontHold; |
|
867 |
Count: AMMO_INFINITE; |
|
868 |
NumPerTurn: 0; |
|
869 |
Timer: 0; |
|
870 |
Pos: 0; |
|
871 |
AmmoType: amSkip; |
|
872 |
AttackVoice: sndNone); |
|
873 |
Slot: 9; |
|
874 |
TimeAfterTurn: 0; |
|
875 |
minAngle: 0; |
|
876 |
maxAngle: 0; |
|
877 |
isDamaging: false; |
|
878 |
SkipTurns: 0; |
|
879 |
PosCount: 1; |
|
880 |
PosSprite: sprWater; |
|
881 |
ejectX: 0; |
|
882 |
ejectY: 0), |
|
883 |
||
884 |
// Rope |
|
885 |
(NameId: sidRope; |
|
886 |
NameTex: nil; |
|
887 |
Probability: 100; |
|
888 |
NumberInCase: 3; |
|
889 |
Ammo: (Propz: ammoprop_NoRoundEnd or |
|
890 |
ammoprop_ForwMsgs or |
|
891 |
ammoprop_AttackInMove or |
|
892 |
ammoprop_Utility or |
|
893 |
ammoprop_AltAttack; |
|
894 |
Count: 5; |
|
895 |
NumPerTurn: 0; |
|
896 |
Timer: 0; |
|
897 |
Pos: 0; |
|
898 |
AmmoType: amRope; |
|
899 |
AttackVoice: sndNone); |
|
900 |
Slot: 7; |
|
901 |
TimeAfterTurn: 0; |
|
902 |
minAngle: 0; |
|
903 |
maxAngle: cMaxAngle div 2; |
|
904 |
isDamaging: false; |
|
905 |
SkipTurns: 0; |
|
906 |
PosCount: 1; |
|
907 |
PosSprite: sprWater; |
|
908 |
ejectX: 0; |
|
909 |
ejectY: 0), |
|
910 |
||
911 |
// Mine |
|
912 |
(NameId: sidMine; |
|
913 |
NameTex: nil; |
|
914 |
Probability: 100; |
|
915 |
NumberInCase: 1; |
|
916 |
Ammo: (Propz: ammoprop_NoCrosshair or ammoprop_AttackInMove or ammoprop_DontHold or ammoprop_AltUse; |
|
917 |
Count: 2; |
|
918 |
NumPerTurn: 0; |
|
919 |
Timer: 0; |
|
920 |
Pos: 0; |
|
921 |
AmmoType: amMine; |
|
922 |
AttackVoice: sndLaugh); |
|
923 |
Slot: 4; |
|
924 |
TimeAfterTurn: 5000; |
|
925 |
minAngle: 0; |
|
926 |
maxAngle: 0; |
|
927 |
isDamaging: true; |
|
928 |
SkipTurns: 0; |
|
929 |
PosCount: 1; |
|
930 |
PosSprite: sprWater; |
|
931 |
ejectX: 0; |
|
932 |
ejectY: 0), |
|
933 |
||
934 |
// DEagle |
|
935 |
(NameId: sidDEagle; |
|
936 |
NameTex: nil; |
|
937 |
Probability: 20; |
|
938 |
NumberInCase: 2; |
|
939 |
Ammo: (Propz: 0; |
|
940 |
Count: 3; |
|
941 |
NumPerTurn: 3; |
|
942 |
Timer: 0; |
|
943 |
Pos: 0; |
|
944 |
AmmoType: amDEagle; |
|
945 |
AttackVoice: sndNone); |
|
946 |
Slot: 2; |
|
947 |
TimeAfterTurn: 3000; |
|
948 |
minAngle: 0; |
|
949 |
maxAngle: 0; |
|
950 |
isDamaging: true; |
|
951 |
SkipTurns: 0; |
|
952 |
PosCount: 1; |
|
953 |
PosSprite: sprWater; |
|
954 |
ejectX: 0; //23; |
|
955 |
ejectY: -6), |
|
956 |
||
957 |
// Dynamite |
|
958 |
(NameId: sidDynamite; |
|
959 |
NameTex: nil; |
|
960 |
Probability: 100; |
|
961 |
NumberInCase: 1; |
|
962 |
Ammo: (Propz: ammoprop_NoCrosshair or ammoprop_AttackInMove or ammoprop_DontHold or ammoprop_AltUse; |
|
963 |
Count: 1; |
|
964 |
NumPerTurn: 0; |
|
965 |
Timer: 0; |
|
966 |
Pos: 0; |
|
967 |
AmmoType: amDynamite; |
|
968 |
AttackVoice: sndLaugh); |
|
969 |
Slot: 4; |
|
970 |
TimeAfterTurn: 5000; |
|
971 |
minAngle: 0; |
|
972 |
maxAngle: 0; |
|
973 |
isDamaging: true; |
|
974 |
SkipTurns: 0; |
|
975 |
PosCount: 1; |
|
976 |
PosSprite: sprWater; |
|
977 |
ejectX: 0; |
|
978 |
ejectY: 0), |
|
979 |
||
980 |
// FirePunch |
|
981 |
(NameId: sidFirePunch; |
|
982 |
NameTex: nil; |
|
983 |
Probability: 0; |
|
984 |
NumberInCase: 1; |
|
985 |
Ammo: (Propz: ammoprop_NoCrosshair or ammoprop_ForwMsgs or ammoprop_AttackInMove; |
|
986 |
Count: AMMO_INFINITE; |
|
987 |
NumPerTurn: 0; |
|
988 |
Timer: 0; |
|
989 |
Pos: 0; |
|
990 |
AmmoType: amFirePunch; |
|
991 |
AttackVoice: sndNone); |
|
992 |
Slot: 3; |
|
993 |
TimeAfterTurn: 3000; |
|
994 |
MinAngle: 0; |
|
995 |
maxAngle: 0; |
|
996 |
isDamaging: true; |
|
997 |
SkipTurns: 0; |
|
998 |
PosCount: 1; |
|
999 |
PosSprite: sprWater; |
|
1000 |
ejectX: 0; |
|
1001 |
ejectY: 0), |
|
1002 |
||
1003 |
// Whip |
|
1004 |
(NameId: sidWhip; |
|
1005 |
NameTex: nil; |
|
1006 |
Probability: 0; |
|
1007 |
NumberInCase: 1; |
|
1008 |
Ammo: (Propz: ammoprop_NoCrosshair; |
|
1009 |
Count: AMMO_INFINITE; |
|
1010 |
NumPerTurn: 0; |
|
1011 |
Timer: 0; |
|
1012 |
Pos: 0; |
|
1013 |
AmmoType: amWhip; |
|
1014 |
AttackVoice: sndNone); |
|
1015 |
Slot: 3; |
|
1016 |
TimeAfterTurn: 3000; |
|
1017 |
MinAngle: 0; |
|
1018 |
maxAngle: 0; |
|
1019 |
isDamaging: true; |
|
1020 |
SkipTurns: 0; |
|
1021 |
PosCount: 1; |
|
1022 |
PosSprite: sprWater; |
|
1023 |
ejectX: 0; |
|
1024 |
ejectY: 0), |
|
1025 |
||
1026 |
// BaseballBat |
|
1027 |
(NameId: sidBaseballBat; |
|
1028 |
NameTex: nil; |
|
1029 |
Probability: 100; |
|
1030 |
NumberInCase: 1; |
|
1031 |
Ammo: (Propz: ammoprop_DontHold; |
|
1032 |
Count: 1; |
|
1033 |
NumPerTurn: 0; |
|
1034 |
Timer: 0; |
|
1035 |
Pos: 0; |
|
1036 |
AmmoType: amBaseballBat; |
|
1037 |
AttackVoice: sndNone); |
|
1038 |
Slot: 3; |
|
1039 |
TimeAfterTurn: 5000; |
|
1040 |
minAngle: 0; |
|
1041 |
maxAngle: cMaxAngle div 2; |
|
1042 |
isDamaging: true; |
|
1043 |
SkipTurns: 2; |
|
1044 |
PosCount: 1; |
|
1045 |
PosSprite: sprWater; |
|
1046 |
ejectX: 0; |
|
1047 |
ejectY: 0), |
|
1048 |
||
1049 |
// Parachute |
|
1050 |
(NameId: sidParachute; |
|
1051 |
NameTex: nil; |
|
1052 |
Probability: 100; |
|
1053 |
NumberInCase: 1; |
|
1054 |
Ammo: (Propz: ammoprop_NoRoundEnd or |
|
1055 |
ammoprop_ForwMsgs or |
|
1056 |
ammoprop_AttackInMove or |
|
1057 |
ammoprop_NoCrosshair or |
|
1058 |
ammoprop_DontHold or |
|
1059 |
ammoprop_Utility or |
|
1060 |
ammoprop_AltAttack; |
|
1061 |
Count: 2; |
|
1062 |
NumPerTurn: 0; |
|
1063 |
Timer: 0; |
|
1064 |
Pos: 0; |
|
1065 |
AmmoType: amParachute; |
|
1066 |
AttackVoice: sndNone); |
|
1067 |
Slot: 7; |
|
1068 |
TimeAfterTurn: 0; |
|
1069 |
minAngle: 0; |
|
1070 |
maxAngle: 0; |
|
1071 |
isDamaging: false; |
|
1072 |
SkipTurns: 0; |
|
1073 |
PosCount: 1; |
|
1074 |
PosSprite: sprWater; |
|
1075 |
ejectX: 0; |
|
1076 |
ejectY: 0), |
|
1077 |
||
1078 |
// AirAttack |
|
1079 |
(NameId: sidAirAttack; |
|
1080 |
NameTex: nil; |
|
1081 |
Probability: 100; |
|
1082 |
NumberInCase: 1; |
|
1083 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
1084 |
ammoprop_NeedTarget or |
|
1085 |
ammoprop_AttackingPut or |
|
1086 |
ammoprop_DontHold or |
|
1087 |
ammoprop_NotBorder; |
|
1088 |
Count: 1; |
|
1089 |
NumPerTurn: 0; |
|
1090 |
Timer: 0; |
|
1091 |
Pos: 0; |
|
1092 |
AmmoType: amAirAttack; |
|
1093 |
AttackVoice: sndIncoming); |
|
1094 |
Slot: 5; |
|
1095 |
TimeAfterTurn: 0; |
|
1096 |
minAngle: 0; |
|
1097 |
maxAngle: 0; |
|
1098 |
isDamaging: true; |
|
1099 |
SkipTurns: 5; |
|
1100 |
PosCount: 2; |
|
1101 |
PosSprite: sprAmAirplane; |
|
1102 |
ejectX: 0; |
|
1103 |
ejectY: 0), |
|
1104 |
||
1105 |
// MineStrike |
|
1106 |
(NameId: sidMineStrike; |
|
1107 |
NameTex: nil; |
|
1108 |
Probability: 200; |
|
1109 |
NumberInCase: 1; |
|
1110 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
1111 |
ammoprop_NeedTarget or |
|
1112 |
ammoprop_AttackingPut or |
|
1113 |
ammoprop_DontHold or |
|
1114 |
ammoprop_NotBorder; |
|
1115 |
Count: 1; |
|
1116 |
NumPerTurn: 0; |
|
1117 |
Timer: 0; |
|
1118 |
Pos: 0; |
|
1119 |
AmmoType: amMineStrike; |
|
1120 |
AttackVoice: sndIncoming); |
|
1121 |
Slot: 5; |
|
1122 |
TimeAfterTurn: 0; |
|
1123 |
minAngle: 0; |
|
1124 |
maxAngle: 0; |
|
1125 |
isDamaging: true; |
|
1126 |
SkipTurns: 5; |
|
1127 |
PosCount: 2; |
|
1128 |
PosSprite: sprAmAirplane; |
|
1129 |
ejectX: 0; |
|
1130 |
ejectY: 0), |
|
1131 |
||
1132 |
// BlowTorch |
|
1133 |
(NameId: sidBlowTorch; |
|
1134 |
NameTex: nil; |
|
1135 |
Probability: 100; |
|
1136 |
NumberInCase: 2; |
|
1137 |
Ammo: (Propz: ammoprop_ForwMsgs; |
|
1138 |
Count: 1; |
|
1139 |
NumPerTurn: 0; |
|
1140 |
Timer: 0; |
|
1141 |
Pos: 0; |
|
1142 |
AmmoType: amBlowTorch; |
|
1143 |
AttackVoice: sndNone); |
|
1144 |
Slot: 6; |
|
1145 |
TimeAfterTurn: 3000; |
|
1146 |
minAngle: 768; |
|
1147 |
maxAngle: 1280; |
|
1148 |
isDamaging: false; |
|
1149 |
SkipTurns: 0; |
|
1150 |
PosCount: 1; |
|
1151 |
PosSprite: sprWater; |
|
1152 |
ejectX: 0; |
|
1153 |
ejectY: 0), |
|
1154 |
||
1155 |
// Girder |
|
1156 |
(NameId: sidGirder; |
|
1157 |
NameTex: nil; |
|
1158 |
Probability: 150; |
|
1159 |
NumberInCase: 3; |
|
1160 |
Ammo: (Propz: ammoprop_NoRoundEnd or |
|
1161 |
ammoprop_NoCrosshair or |
|
1162 |
ammoprop_NeedTarget or |
|
1163 |
ammoprop_Utility or |
|
1164 |
ammoprop_AttackingPut; |
|
1165 |
Count: 1; |
|
1166 |
NumPerTurn: 0; |
|
1167 |
Timer: 0; |
|
1168 |
Pos: 0; |
|
1169 |
AmmoType: amGirder; |
|
1170 |
AttackVoice: sndNone); |
|
1171 |
Slot: 6; |
|
1172 |
TimeAfterTurn: 3000; |
|
1173 |
minAngle: 0; |
|
1174 |
maxAngle: 0; |
|
1175 |
isDamaging: false; |
|
1176 |
SkipTurns: 0; |
|
1177 |
PosCount: 8; |
|
1178 |
PosSprite: sprAmGirder; |
|
1179 |
ejectX: 0; |
|
1180 |
ejectY: 0), |
|
1181 |
||
1182 |
// Teleport |
|
1183 |
(NameId: sidTeleport; |
|
1184 |
NameTex: nil; |
|
1185 |
Probability: 200; |
|
1186 |
NumberInCase: 1; |
|
1187 |
Ammo: (Propz: ammoprop_ForwMsgs or |
|
1188 |
ammoprop_NoCrosshair or |
|
1189 |
ammoprop_NeedTarget or |
|
1190 |
ammoprop_AttackingPut or |
|
1191 |
ammoprop_Utility or |
|
1192 |
ammoprop_DontHold; |
|
1193 |
Count: 2; |
|
1194 |
NumPerTurn: 0; |
|
1195 |
Timer: 0; |
|
1196 |
Pos: 0; |
|
1197 |
AmmoType: amTeleport; |
|
1198 |
AttackVoice: sndNone); |
|
1199 |
Slot: 7; |
|
1200 |
TimeAfterTurn: 0; |
|
1201 |
minAngle: 0; |
|
1202 |
maxAngle: 0; |
|
1203 |
isDamaging: false; |
|
1204 |
SkipTurns: 0; |
|
1205 |
PosCount: 2; |
|
1206 |
PosSprite: sprAmTeleport; |
|
1207 |
ejectX: 0; |
|
1208 |
ejectY: 0), |
|
1209 |
||
1210 |
// Switch |
|
1211 |
(NameId: sidSwitch; |
|
1212 |
NameTex: nil; |
|
1213 |
Probability: 100; |
|
1214 |
NumberInCase: 1; |
|
1215 |
Ammo: (Propz: ammoprop_NoRoundEnd or |
|
1216 |
ammoprop_ForwMsgs or |
|
1217 |
ammoprop_NoCrosshair or |
|
1218 |
ammoprop_Utility or |
|
1219 |
ammoprop_DontHold; |
|
1220 |
Count: 3; |
|
1221 |
NumPerTurn: 0; |
|
1222 |
Timer: 0; |
|
1223 |
Pos: 0; |
|
1224 |
AmmoType: amSwitch; |
|
1225 |
AttackVoice: sndNone); |
|
1226 |
Slot: 9; |
|
1227 |
TimeAfterTurn: 0; |
|
1228 |
minAngle: 0; |
|
1229 |
maxAngle: 0; |
|
1230 |
isDamaging: false; |
|
1231 |
SkipTurns: 0; |
|
1232 |
PosCount: 1; |
|
1233 |
PosSprite: sprWater; |
|
1234 |
ejectX: 0; |
|
1235 |
ejectY: 0), |
|
1236 |
||
1237 |
// Mortar |
|
1238 |
(NameId: sidMortar; |
|
1239 |
NameTex: nil; |
|
1240 |
Probability: 100; |
|
1241 |
NumberInCase: 4; |
|
1242 |
Ammo: (Propz: 0; |
|
1243 |
Count: 4; |
|
1244 |
NumPerTurn: 0; |
|
1245 |
Timer: 0; |
|
1246 |
Pos: 0; |
|
1247 |
AmmoType: amMortar; |
|
1248 |
AttackVoice: sndNone); |
|
1249 |
Slot: 0; |
|
1250 |
TimeAfterTurn: 3000; |
|
1251 |
minAngle: 0; |
|
1252 |
maxAngle: 0; |
|
1253 |
isDamaging: true; |
|
1254 |
SkipTurns: 0; |
|
1255 |
PosCount: 1; |
|
1256 |
PosSprite: sprWater; |
|
1257 |
ejectX: 0; //20; |
|
1258 |
ejectY: -6), |
|
1259 |
||
1260 |
// Kamikaze |
|
1261 |
(NameId: sidKamikaze; |
|
1262 |
NameTex: nil; |
|
1263 |
Probability: 100; |
|
1264 |
NumberInCase: 1; |
|
1265 |
Ammo: (Propz: ammoprop_ForwMsgs or ammoprop_DontHold or ammoprop_AttackInMove; |
|
1266 |
Count: 1; |
|
1267 |
NumPerTurn: 0; |
|
1268 |
Timer: 0; |
|
1269 |
Pos: 0; |
|
1270 |
AmmoType: amKamikaze; |
|
1271 |
AttackVoice: sndNone); |
|
1272 |
Slot: 3; |
|
1273 |
TimeAfterTurn: 0; |
|
1274 |
minAngle: 0; |
|
1275 |
maxAngle: 0; |
|
1276 |
isDamaging: true; |
|
1277 |
SkipTurns: 0; |
|
1278 |
PosCount: 1; |
|
1279 |
PosSprite: sprWater; |
|
1280 |
ejectX: 0; |
|
1281 |
ejectY: 0), |
|
1282 |
||
1283 |
// Cake |
|
1284 |
(NameId: sidCake; |
|
1285 |
NameTex: nil; |
|
1286 |
Probability: 100; |
|
1287 |
NumberInCase: 1; |
|
1288 |
Ammo: (Propz: ammoprop_ForwMsgs or ammoprop_NoCrosshair or ammoprop_DontHold; |
|
1289 |
Count: 1; |
|
1290 |
NumPerTurn: 0; |
|
1291 |
Timer: 0; |
|
1292 |
Pos: 0; |
|
1293 |
AmmoType: amCake; |
|
1294 |
AttackVoice: sndLaugh); |
|
1295 |
Slot: 4; |
|
1296 |
TimeAfterTurn: 0; |
|
1297 |
minAngle: 0; |
|
1298 |
maxAngle: 0; |
|
1299 |
isDamaging: true; |
|
1300 |
SkipTurns: 4; |
|
1301 |
PosCount: 1; |
|
1302 |
PosSprite: sprWater; |
|
1303 |
ejectX: 0; |
|
1304 |
ejectY: 0), |
|
1305 |
||
1306 |
// Seduction |
|
1307 |
(NameId: sidSeduction; |
|
1308 |
NameTex: nil; |
|
1309 |
Probability: 100; |
|
1310 |
NumberInCase: 1; |
|
1311 |
Ammo: (Propz: ammoprop_ForwMsgs or ammoprop_DontHold; |
|
1312 |
Count: 1; |
|
1313 |
NumPerTurn: 0; |
|
1314 |
Timer: 0; |
|
1315 |
Pos: 0; |
|
1316 |
AmmoType: amSeduction; |
|
1317 |
AttackVoice: sndNone); |
|
1318 |
Slot: 3; |
|
1319 |
TimeAfterTurn: 0; |
|
1320 |
minAngle: 0; |
|
1321 |
maxAngle: 0; |
|
1322 |
isDamaging: false; |
|
1323 |
SkipTurns: 0; |
|
1324 |
PosCount: 1; |
|
1325 |
PosSprite: sprWater; |
|
1326 |
ejectX: 0; |
|
1327 |
ejectY: 0), |
|
1328 |
||
1329 |
// Watermelon |
|
1330 |
(NameId: sidWatermelon; |
|
1331 |
NameTex: nil; |
|
1332 |
Probability: 400; |
|
1333 |
NumberInCase: 1; |
|
1334 |
Ammo: (Propz: ammoprop_Timerable or ammoprop_Power or ammoprop_AltUse; |
|
1335 |
Count: 0; |
|
1336 |
NumPerTurn: 0; |
|
1337 |
Timer: 3000; |
|
1338 |
Pos: 0; |
|
1339 |
AmmoType: amWatermelon; |
|
1340 |
AttackVoice: sndMelon); |
|
1341 |
Slot: 1; |
|
1342 |
TimeAfterTurn: 3000; |
|
1343 |
minAngle: 0; |
|
1344 |
maxAngle: 0; |
|
1345 |
isDamaging: true; |
|
1346 |
SkipTurns: 0; |
|
1347 |
PosCount: 1; |
|
1348 |
PosSprite: sprWater; |
|
1349 |
ejectX: 0; |
|
1350 |
ejectY: 0), |
|
1351 |
||
1352 |
// HellishBomb ("Hellish Hand-Grenade") |
|
1353 |
(NameId: sidHellishBomb; |
|
1354 |
NameTex: nil; |
|
1355 |
Probability: 400; |
|
1356 |
NumberInCase: 1; |
|
1357 |
Ammo: (Propz: ammoprop_Power or ammoprop_AltUse; |
|
1358 |
Count: 0; |
|
1359 |
NumPerTurn: 0; |
|
1360 |
Timer: 5000; |
|
1361 |
Pos: 0; |
|
1362 |
AmmoType: amHellishBomb; |
|
1363 |
AttackVoice: sndNone); |
|
1364 |
Slot: 1; |
|
1365 |
TimeAfterTurn: 3000; |
|
1366 |
minAngle: 0; |
|
1367 |
maxAngle: 0; |
|
1368 |
isDamaging: true; |
|
1369 |
SkipTurns: 0; |
|
1370 |
PosCount: 1; |
|
1371 |
PosSprite: sprWater; |
|
1372 |
ejectX: 0; |
|
1373 |
ejectY: 0), |
|
1374 |
||
1375 |
// Napalm |
|
1376 |
(NameId: sidNapalm; |
|
1377 |
NameTex: nil; |
|
1378 |
Probability: 100; |
|
1379 |
NumberInCase: 1; |
|
1380 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
1381 |
ammoprop_NeedTarget or |
|
1382 |
ammoprop_AttackingPut or |
|
1383 |
ammoprop_DontHold or |
|
1384 |
ammoprop_NotBorder; |
|
1385 |
Count: 1; |
|
1386 |
NumPerTurn: 0; |
|
1387 |
Timer: 0; |
|
1388 |
Pos: 0; |
|
1389 |
AmmoType: amNapalm; |
|
1390 |
AttackVoice: sndIncoming); |
|
1391 |
Slot: 5; |
|
1392 |
TimeAfterTurn: 0; |
|
1393 |
minAngle: 0; |
|
1394 |
maxAngle: 0; |
|
1395 |
isDamaging: true; |
|
1396 |
SkipTurns: 7; |
|
1397 |
PosCount: 2; |
|
1398 |
PosSprite: sprAmAirplane; |
|
1399 |
ejectX: 0; |
|
1400 |
ejectY: 0), |
|
1401 |
||
1402 |
// Drill ("Drill Rocket") |
|
1403 |
(NameId: sidDrill; |
|
1404 |
NameTex: nil; |
|
1405 |
Probability: 300; |
|
1406 |
NumberInCase: 1; |
|
1407 |
Ammo: (Propz: ammoprop_Power or ammoprop_AltUse; |
|
1408 |
Count: AMMO_INFINITE; |
|
1409 |
NumPerTurn: 0; |
|
1410 |
Timer: 0; |
|
1411 |
Pos: 0; |
|
1412 |
AmmoType: amDrill; |
|
1413 |
AttackVoice: sndNone); |
|
1414 |
Slot: 0; |
|
1415 |
TimeAfterTurn: 3000; |
|
1416 |
minAngle: 0; |
|
1417 |
maxAngle: 0; |
|
1418 |
isDamaging: true; |
|
1419 |
SkipTurns: 0; |
|
1420 |
PosCount: 1; |
|
1421 |
PosSprite: sprDrill; |
|
1422 |
ejectX: 0; //20; |
|
1423 |
ejectY: -6), |
|
1424 |
||
1425 |
// Ballgun |
|
1426 |
(NameId: sidBallgun; |
|
1427 |
NameTex: nil; |
|
1428 |
Probability: 400; |
|
1429 |
NumberInCase: 1; |
|
1430 |
Ammo: (Propz: ammoprop_ForwMsgs or ammoprop_DontHold; |
|
1431 |
Count: AMMO_INFINITE; |
|
1432 |
NumPerTurn: 0; |
|
1433 |
Timer: 5001; |
|
1434 |
Pos: 0; |
|
1435 |
AmmoType: amBallgun; |
|
1436 |
AttackVoice: sndNone); |
|
1437 |
Slot: 4; |
|
1438 |
TimeAfterTurn: 0; |
|
1439 |
minAngle: 0; |
|
1440 |
maxAngle: 0; |
|
1441 |
isDamaging: true; |
|
1442 |
SkipTurns: 0; |
|
1443 |
PosCount: 1; |
|
1444 |
PosSprite: sprWater; |
|
1445 |
ejectX: 0; //20; |
|
1446 |
ejectY: -3), |
|
1447 |
||
1448 |
// RC-Plane |
|
1449 |
(NameId: sidRCPlane; |
|
1450 |
NameTex: nil; |
|
1451 |
Probability: 200; |
|
1452 |
NumberInCase: 1; |
|
1453 |
Ammo: (Propz: ammoprop_ForwMsgs{ or |
|
1454 |
ammoprop_DontHold or |
|
1455 |
ammoprop_AltAttack}; |
|
1456 |
Count: 1; |
|
1457 |
NumPerTurn: 0; |
|
1458 |
Timer: 0; |
|
1459 |
Pos: 0; |
|
1460 |
AmmoType: amRCPlane; |
|
1461 |
AttackVoice: sndNone); |
|
1462 |
Slot: 4; |
|
1463 |
TimeAfterTurn: 0; |
|
1464 |
minAngle: 0; |
|
1465 |
maxAngle: 0; |
|
1466 |
isDamaging: true; |
|
1467 |
SkipTurns: 4; |
|
1468 |
PosCount: 1; |
|
1469 |
PosSprite: sprWater; |
|
1470 |
ejectX: 0; |
|
1471 |
ejectY: 0), |
|
1472 |
||
1473 |
// LowGravity |
|
1474 |
(NameId: sidLowGravity; |
|
1475 |
NameTex: nil; |
|
1476 |
Probability: 20; |
|
1477 |
NumberInCase: 1; |
|
1478 |
Ammo: (Propz: ammoprop_NoRoundEnd or |
|
1479 |
ammoprop_NoCrosshair or |
|
1480 |
ammoprop_DontHold or |
|
1481 |
ammoprop_AltUse or |
|
1482 |
ammoprop_Utility or |
|
1483 |
ammoprop_Effect; |
|
1484 |
Count: 1; |
|
1485 |
NumPerTurn: 0; |
|
1486 |
Timer: 0; |
|
1487 |
Pos: 0; |
|
1488 |
AmmoType: amLowGravity; |
|
1489 |
AttackVoice: sndNone); |
|
1490 |
Slot: 9; |
|
1491 |
TimeAfterTurn: 0; |
|
1492 |
minAngle: 0; |
|
1493 |
maxAngle: 0; |
|
1494 |
isDamaging: false; |
|
1495 |
SkipTurns: 0; |
|
1496 |
PosCount: 1; |
|
1497 |
PosSprite: sprWater; |
|
1498 |
ejectX: 0; |
|
1499 |
ejectY: 0), |
|
1500 |
||
1501 |
// ExtraDamage |
|
1502 |
(NameId: sidExtraDamage; |
|
1503 |
NameTex: nil; |
|
1504 |
Probability: 15; |
|
1505 |
NumberInCase: 1; |
|
1506 |
Ammo: (Propz: ammoprop_NoRoundEnd or |
|
1507 |
ammoprop_NoCrosshair or |
|
1508 |
ammoprop_DontHold or |
|
1509 |
ammoprop_AltUse or |
|
1510 |
ammoprop_Utility or |
|
1511 |
ammoprop_Effect; |
|
1512 |
Count: 1; |
|
1513 |
NumPerTurn: 0; |
|
1514 |
Timer: 0; |
|
1515 |
Pos: 0; |
|
1516 |
AmmoType: amExtraDamage; |
|
1517 |
AttackVoice: sndNone); |
|
1518 |
Slot: 9; |
|
1519 |
TimeAfterTurn: 0; |
|
1520 |
minAngle: 0; |
|
1521 |
maxAngle: 0; |
|
1522 |
isDamaging: false; |
|
1523 |
SkipTurns: 0; |
|
1524 |
PosCount: 1; |
|
1525 |
PosSprite: sprWater; |
|
1526 |
ejectX: 0; |
|
1527 |
ejectY: 0), |
|
1528 |
||
1529 |
// Invulnerable |
|
1530 |
(NameId: sidInvulnerable; |
|
1531 |
NameTex: nil; |
|
1532 |
Probability: 20; |
|
1533 |
NumberInCase: 1; |
|
1534 |
Ammo: (Propz: ammoprop_NoRoundEnd or |
|
1535 |
ammoprop_NoCrosshair or |
|
1536 |
ammoprop_DontHold or |
|
1537 |
ammoprop_AltUse or |
|
1538 |
ammoprop_Utility or |
|
1539 |
ammoprop_Effect; |
|
1540 |
Count: 1; |
|
1541 |
NumPerTurn: 0; |
|
1542 |
Timer: 0; |
|
1543 |
Pos: 0; |
|
1544 |
AmmoType: amInvulnerable; |
|
1545 |
AttackVoice: sndNone); |
|
1546 |
Slot: 8; |
|
1547 |
TimeAfterTurn: 0; |
|
1548 |
minAngle: 0; |
|
1549 |
maxAngle: 0; |
|
1550 |
isDamaging: false; |
|
1551 |
SkipTurns: 0; |
|
1552 |
PosCount: 1; |
|
1553 |
PosSprite: sprWater; |
|
1554 |
ejectX: 0; |
|
1555 |
ejectY: 0), |
|
1556 |
||
1557 |
// ExtraTime |
|
1558 |
(NameId: sidExtraTime; |
|
1559 |
NameTex: nil; |
|
1560 |
Probability: 30; |
|
1561 |
NumberInCase: 1; |
|
1562 |
Ammo: (Propz: ammoprop_NoRoundEnd or |
|
1563 |
ammoprop_NoCrosshair or |
|
1564 |
ammoprop_DontHold or |
|
1565 |
ammoprop_AltUse or |
|
1566 |
ammoprop_Utility or |
|
1567 |
ammoprop_Effect; |
|
1568 |
Count: 1; |
|
1569 |
NumPerTurn: 0; |
|
1570 |
Timer: 0; |
|
1571 |
Pos: 0; |
|
1572 |
AmmoType: amExtraTime; |
|
1573 |
AttackVoice: sndNone); |
|
1574 |
Slot: 9; |
|
1575 |
TimeAfterTurn: 0; |
|
1576 |
minAngle: 0; |
|
1577 |
maxAngle: 0; |
|
1578 |
isDamaging: false; |
|
1579 |
SkipTurns: 0; |
|
1580 |
PosCount: 1; |
|
1581 |
PosSprite: sprWater; |
|
1582 |
ejectX: 0; |
|
1583 |
ejectY: 0), |
|
1584 |
||
1585 |
// LaserSight |
|
1586 |
(NameId: sidLaserSight; |
|
1587 |
NameTex: nil; |
|
1588 |
Probability: 15; |
|
1589 |
NumberInCase: 1; |
|
1590 |
Ammo: (Propz: ammoprop_NoRoundEnd or |
|
1591 |
ammoprop_NoCrosshair or |
|
1592 |
ammoprop_DontHold or |
|
1593 |
ammoprop_AltUse or |
|
1594 |
ammoprop_Utility or |
|
1595 |
ammoprop_Effect; |
|
1596 |
Count: 1; |
|
1597 |
NumPerTurn: 0; |
|
1598 |
Timer: 0; |
|
1599 |
Pos: 0; |
|
1600 |
AmmoType: amLaserSight; |
|
1601 |
AttackVoice: sndNone); |
|
1602 |
Slot: 8; |
|
1603 |
TimeAfterTurn: 0; |
|
1604 |
minAngle: 0; |
|
1605 |
maxAngle: 0; |
|
1606 |
isDamaging: false; |
|
1607 |
SkipTurns: 0; |
|
1608 |
PosCount: 1; |
|
1609 |
PosSprite: sprWater; |
|
1610 |
ejectX: 0; |
|
1611 |
ejectY: 0), |
|
1612 |
||
1613 |
// Vampiric |
|
1614 |
(NameId: sidVampiric; |
|
1615 |
NameTex: nil; |
|
1616 |
Probability: 15; |
|
1617 |
NumberInCase: 1; |
|
1618 |
Ammo: (Propz: ammoprop_NoRoundEnd or |
|
1619 |
ammoprop_NoCrosshair or |
|
1620 |
ammoprop_DontHold or |
|
1621 |
ammoprop_AltUse or |
|
1622 |
ammoprop_Utility or |
|
1623 |
ammoprop_Effect; |
|
1624 |
Count: 1; |
|
1625 |
NumPerTurn: 0; |
|
1626 |
Timer: 0; |
|
1627 |
Pos: 0; |
|
1628 |
AmmoType: amVampiric; |
|
1629 |
AttackVoice: sndNone); |
|
1630 |
Slot: 8; |
|
1631 |
TimeAfterTurn: 0; |
|
1632 |
minAngle: 0; |
|
1633 |
maxAngle: 0; |
|
1634 |
isDamaging: false; |
|
1635 |
SkipTurns: 0; |
|
1636 |
PosCount: 1; |
|
1637 |
PosSprite: sprWater; |
|
1638 |
ejectX: 0; |
|
1639 |
ejectY: 0), |
|
1640 |
||
1641 |
// SniperRifle |
|
1642 |
(NameId: sidSniperRifle; |
|
1643 |
NameTex: nil; |
|
1644 |
Probability: 20; |
|
1645 |
NumberInCase: 2; |
|
1646 |
Ammo: (Propz: 0; |
|
1647 |
Count: 2; |
|
1648 |
NumPerTurn: 1; |
|
1649 |
Timer: 0; |
|
1650 |
Pos: 0; |
|
1651 |
AmmoType: amSniperRifle; |
|
1652 |
AttackVoice: sndNone); |
|
1653 |
Slot: 2; |
|
1654 |
TimeAfterTurn: 3000; |
|
1655 |
minAngle: 0; |
|
1656 |
maxAngle: 0; |
|
1657 |
isDamaging: true; |
|
1658 |
SkipTurns: 0; |
|
1659 |
PosCount: 1; |
|
1660 |
PosSprite: sprWater; |
|
1661 |
ejectX: 0; //40; |
|
1662 |
ejectY: -5), |
|
1663 |
||
1664 |
// Jetpack ("Flying Saucer") |
|
1665 |
(NameId: sidJetpack; |
|
1666 |
NameTex: nil; |
|
1667 |
Probability: 20; |
|
1668 |
NumberInCase: 1; |
|
1669 |
Ammo: (Propz: ammoprop_NoRoundEnd or |
|
1670 |
ammoprop_ForwMsgs or |
|
1671 |
ammoprop_AttackInMove or |
|
1672 |
ammoprop_NoCrosshair or |
|
1673 |
ammoprop_DontHold or |
|
1674 |
ammoprop_Utility or |
|
1675 |
ammoprop_AltAttack; |
|
1676 |
Count: 1; |
|
1677 |
NumPerTurn: 0; |
|
1678 |
Timer: 0; |
|
1679 |
Pos: 0; |
|
1680 |
AmmoType: amJetpack; |
|
1681 |
AttackVoice: sndNone); |
|
1682 |
Slot: 7; |
|
1683 |
TimeAfterTurn: 3000; |
|
1684 |
minAngle: 0; |
|
1685 |
maxAngle: 0; |
|
1686 |
isDamaging: false; |
|
1687 |
SkipTurns: 0; |
|
1688 |
PosCount: 1; |
|
1689 |
PosSprite: sprWater; |
|
1690 |
ejectX: 0; |
|
1691 |
ejectY: 0), |
|
1692 |
||
1693 |
// Molotov |
|
1694 |
(NameId: sidMolotov; |
|
1695 |
NameTex: nil; |
|
1696 |
Probability: 0; |
|
1697 |
NumberInCase: 1; |
|
1698 |
Ammo: (Propz: ammoprop_Power or ammoprop_AltUse; |
|
1699 |
Count: AMMO_INFINITE; |
|
1700 |
NumPerTurn: 0; |
|
1701 |
Timer: 3000; |
|
1702 |
Pos: 0; |
|
1703 |
AmmoType: amMolotov; |
|
1704 |
AttackVoice: sndNone); |
|
1705 |
Slot: 1; |
|
1706 |
TimeAfterTurn: 3000; |
|
1707 |
minAngle: 0; |
|
1708 |
maxAngle: 0; |
|
1709 |
isDamaging: true; |
|
1710 |
SkipTurns: 0; |
|
1711 |
PosCount: 1; |
|
1712 |
PosSprite: sprWater; |
|
1713 |
ejectX: 0; |
|
1714 |
ejectY: 0), |
|
1715 |
||
1716 |
// Birdy |
|
1717 |
(NameId: sidBirdy; |
|
1718 |
NameTex: nil; |
|
1719 |
Probability: 20; |
|
1720 |
NumberInCase: 1; |
|
1721 |
Ammo: (Propz: ammoprop_ForwMsgs or |
|
1722 |
ammoprop_NoCrosshair or |
|
1723 |
ammoprop_DontHold; |
|
1724 |
Count: 1; |
|
1725 |
NumPerTurn: 0; |
|
1726 |
Timer: 0; |
|
1727 |
Pos: 0; |
|
1728 |
AmmoType: amBirdy; |
|
1729 |
AttackVoice: sndNone); |
|
1730 |
Slot: 7; |
|
1731 |
TimeAfterTurn: 3000; |
|
1732 |
minAngle: 0; |
|
1733 |
maxAngle: 0; |
|
1734 |
isDamaging: true; |
|
1735 |
SkipTurns: 0; |
|
1736 |
PosCount: 1; |
|
1737 |
PosSprite: sprWater; |
|
1738 |
ejectX: 0; |
|
1739 |
ejectY: 0), |
|
1740 |
||
1741 |
// PortalGun |
|
1742 |
(NameId: sidPortalGun; |
|
1743 |
NameTex: nil; |
|
1744 |
Probability: 20; |
|
1745 |
NumberInCase: 1; |
|
1746 |
Ammo: (Propz: ammoprop_NoRoundEnd or |
|
1747 |
ammoprop_AttackInMove or |
|
1748 |
ammoprop_DontHold or |
|
1749 |
ammoprop_Utility; |
|
1750 |
Count: 1; |
|
1751 |
NumPerTurn: 3; |
|
1752 |
Timer: 0; |
|
1753 |
Pos: 0; |
|
1754 |
AmmoType: amPortalGun; |
|
1755 |
AttackVoice: sndNone); |
|
1756 |
Slot: 6; |
|
1757 |
TimeAfterTurn: 0; |
|
1758 |
minAngle: 0; |
|
1759 |
maxAngle: 0; |
|
1760 |
isDamaging: false; |
|
1761 |
SkipTurns: 0; |
|
1762 |
PosCount: 1; |
|
1763 |
PosSprite: sprWater; |
|
1764 |
ejectX: -5; //29; |
|
1765 |
ejectY: -7), |
|
1766 |
||
1767 |
// Piano |
|
1768 |
(NameId: sidPiano; |
|
1769 |
NameTex: nil; |
|
1770 |
Probability: 100; |
|
1771 |
NumberInCase: 1; |
|
1772 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
1773 |
ammoprop_NeedTarget or |
|
1774 |
ammoprop_AttackingPut or |
|
1775 |
ammoprop_DontHold or |
|
1776 |
ammoprop_NotBorder; |
|
1777 |
Count: 1; |
|
1778 |
NumPerTurn: 0; |
|
1779 |
Timer: 0; |
|
1780 |
Pos: 0; |
|
1781 |
AmmoType: amPiano; |
|
1782 |
AttackVoice: sndIncoming); |
|
1783 |
Slot: 5; |
|
1784 |
TimeAfterTurn: 0; |
|
1785 |
minAngle: 0; |
|
1786 |
maxAngle: 0; |
|
1787 |
isDamaging: true; |
|
1788 |
SkipTurns: 7; |
|
1789 |
PosCount: 1; |
|
1790 |
PosSprite: sprWater; |
|
1791 |
ejectX: 0; |
|
1792 |
ejectY: 0), |
|
1793 |
||
1794 |
// GasBomb |
|
1795 |
(NameId: sidGasBomb; |
|
1796 |
NameTex: nil; |
|
1797 |
Probability: 0; |
|
1798 |
NumberInCase: 1; |
|
1799 |
Ammo: (Propz: ammoprop_Timerable or ammoprop_Power or ammoprop_AltUse; |
|
1800 |
Count: AMMO_INFINITE; |
|
1801 |
NumPerTurn: 0; |
|
1802 |
Timer: 3000; |
|
1803 |
Pos: 0; |
|
1804 |
AmmoType: amGasBomb; |
|
1805 |
AttackVoice: sndCover); |
|
1806 |
Slot: 1; |
|
1807 |
TimeAfterTurn: 3000; |
|
1808 |
minAngle: 0; |
|
1809 |
maxAngle: 0; |
|
1810 |
isDamaging: true; |
|
1811 |
SkipTurns: 0; |
|
1812 |
PosCount: 1; |
|
1813 |
PosSprite: sprWater; |
|
1814 |
ejectX: 0; |
|
1815 |
ejectY: 0), |
|
1816 |
||
1817 |
// SineGun |
|
1818 |
(NameId: sidSineGun; |
|
1819 |
NameTex: nil; |
|
1820 |
Probability: 20; |
|
1821 |
NumberInCase: 2; |
|
1822 |
Ammo: (Propz: ammoprop_AttackInMove; |
|
1823 |
Count: 1; |
|
1824 |
NumPerTurn: 0; |
|
1825 |
Timer: 0; |
|
1826 |
Pos: 0; |
|
1827 |
AmmoType: amSineGun; |
|
1828 |
AttackVoice: sndNone); |
|
1829 |
Slot: 2; |
|
1830 |
TimeAfterTurn: 0; |
|
1831 |
minAngle: 0; |
|
1832 |
maxAngle: 0; |
|
1833 |
isDamaging: true; |
|
1834 |
SkipTurns: 0; |
|
1835 |
PosCount: 1; |
|
1836 |
PosSprite: sprWater; |
|
1837 |
ejectX: 0; |
|
1838 |
ejectY: 0), |
|
1839 |
||
1840 |
// Flamethrower |
|
1841 |
(NameId: sidFlamethrower; |
|
1842 |
NameTex: nil; |
|
1843 |
Probability: 20; |
|
1844 |
NumberInCase: 1; |
|
1845 |
Ammo: (Propz: ammoprop_ForwMsgs or ammoprop_DontHold; |
|
1846 |
Count: 1; |
|
1847 |
NumPerTurn: 0; |
|
1848 |
Timer: 5001; |
|
1849 |
Pos: 0; |
|
1850 |
AmmoType: amFlamethrower; |
|
1851 |
AttackVoice: sndNone); |
|
1852 |
Slot: 2; |
|
1853 |
TimeAfterTurn: 0; |
|
1854 |
minAngle: 0; |
|
1855 |
maxAngle: 0; |
|
1856 |
isDamaging: true; |
|
1857 |
SkipTurns: 0; |
|
1858 |
PosCount: 1; |
|
1859 |
PosSprite: sprWater; |
|
1860 |
ejectX: 0; //20; |
|
1861 |
ejectY: -3), |
|
1862 |
||
1863 |
// Sticky Mine |
|
1864 |
(NameId: sidSMine; |
|
1865 |
NameTex: nil; |
|
1866 |
Probability: 100; |
|
1867 |
NumberInCase: 1; |
|
1868 |
Ammo: (Propz: ammoprop_Power; //FIXME: enable multishoot at altuse, until then removed ammoprop_AltUse |
|
1869 |
Count: 1; |
|
1870 |
NumPerTurn: 1; |
|
1871 |
Timer: 0; |
|
1872 |
Pos: 0; |
|
1873 |
AmmoType: amSMine; |
|
1874 |
AttackVoice: sndLaugh); |
|
1875 |
Slot: 4; |
|
1876 |
TimeAfterTurn: 5000; |
|
1877 |
minAngle: 0; |
|
1878 |
maxAngle: 0; |
|
1879 |
isDamaging: true; |
|
1880 |
SkipTurns: 0; |
|
1881 |
PosCount: 1; |
|
1882 |
PosSprite: sprWater; |
|
1883 |
ejectX: 0; |
|
1884 |
ejectY: 0), |
|
1885 |
||
1886 |
// Hammer |
|
1887 |
(NameId: sidHammer; |
|
1888 |
NameTex: nil; |
|
1889 |
Probability: 0; |
|
1890 |
NumberInCase: 1; |
|
1891 |
Ammo: (Propz: ammoprop_NoCrosshair; |
|
1892 |
Count: 1; |
|
1893 |
NumPerTurn: 0; |
|
1894 |
Timer: 0; |
|
1895 |
Pos: 0; |
|
1896 |
AmmoType: amHammer; |
|
1897 |
AttackVoice: sndNone); |
|
1898 |
Slot: 3; |
|
1899 |
TimeAfterTurn: 1000; |
|
1900 |
MinAngle: 0; |
|
1901 |
maxAngle: 0; |
|
1902 |
isDamaging: true; |
|
1903 |
SkipTurns: 0; |
|
1904 |
PosCount: 1; |
|
1905 |
PosSprite: sprWater; |
|
1906 |
ejectX: 0; |
|
1907 |
ejectY: 0), |
|
1908 |
||
1909 |
// Ressurrector |
|
1910 |
(NameId: sidResurrector; |
|
1911 |
NameTex: nil; |
|
1912 |
Probability: 0; |
|
1913 |
NumberInCase: 1; |
|
1914 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
1915 |
ammoprop_Utility or |
|
1916 |
ammoprop_NoRoundEnd; |
|
1917 |
Count: 1; |
|
1918 |
NumPerTurn: 0; |
|
1919 |
Timer: 0; |
|
1920 |
Pos: 0; |
|
1921 |
AmmoType: amResurrector; |
|
1922 |
AttackVoice: sndNone); |
|
1923 |
Slot: 8; |
|
1924 |
TimeAfterTurn: 3000; |
|
1925 |
minAngle: 0; |
|
1926 |
maxAngle: 0; |
|
1927 |
isDamaging: true; |
|
1928 |
SkipTurns: 0; |
|
1929 |
PosCount: 1; |
|
1930 |
PosSprite: sprWater; |
|
1931 |
ejectX: 0; |
|
1932 |
ejectY: 0), |
|
1933 |
||
1934 |
// DrillStrike |
|
1935 |
(NameId: sidDrillStrike; |
|
1936 |
NameTex: nil; |
|
1937 |
Probability: 200; |
|
1938 |
NumberInCase: 1; |
|
1939 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
1940 |
ammoprop_NeedTarget or |
|
1941 |
ammoprop_AttackingPut or |
|
1942 |
ammoprop_DontHold or |
|
1943 |
ammoprop_NotBorder; |
|
1944 |
Count: 1; |
|
1945 |
NumPerTurn: 0; |
|
1946 |
Timer: 0; |
|
1947 |
Pos: 0; |
|
1948 |
AmmoType: amDrillStrike; |
|
1949 |
AttackVoice: sndIncoming); |
|
1950 |
Slot: 5; |
|
1951 |
TimeAfterTurn: 0; |
|
1952 |
minAngle: 0; |
|
1953 |
maxAngle: 0; |
|
1954 |
isDamaging: true; |
|
1955 |
SkipTurns: 6; |
|
1956 |
PosCount: 2; |
|
1957 |
PosSprite: sprAmAirplane; |
|
1958 |
ejectX: 0; |
|
1959 |
ejectY: 0) |
|
1960 |
); |
|
1961 |
||
1962 |
||
1963 |
||
1964 |
conversionFormat: TSDL_PixelFormat = ( |
|
1965 |
palette: nil; |
|
1966 |
BitsPerPixel : 32; |
|
1967 |
BytesPerPixel: 4; |
|
1968 |
Rloss : 0; |
|
1969 |
Gloss : 0; |
|
1970 |
Bloss : 0; |
|
1971 |
Aloss : 0; |
|
1972 |
{$IFDEF ENDIAN_LITTLE} |
|
1973 |
Rshift: 0; |
|
1974 |
Gshift: 8; |
|
1975 |
Bshift: 16; |
|
1976 |
Ashift: 24; |
|
1977 |
{$ELSE} |
|
1978 |
Rshift: 24; |
|
1979 |
Gshift: 16; |
|
1980 |
Bshift: 8; |
|
1981 |
Ashift: 0; |
|
1982 |
{$ENDIF} |
|
1983 |
RMask : RMask; |
|
1984 |
GMask : GMask; |
|
1985 |
BMask : BMask; |
|
1986 |
AMask : AMask; |
|
1987 |
colorkey: 0; |
|
1988 |
alpha : 255 |
|
1989 |
); |
|
1990 |
||
4367 | 1991 |
|
1992 |
var |
|
1993 |
Land: TCollisionArray; |
|
1994 |
LandPixels: TLandArray; |
|
1995 |
LandDirty: TDirtyTag; |
|
1996 |
hasBorder: boolean; |
|
1997 |
hasGirders: boolean; |
|
1998 |
isMap: boolean; |
|
1999 |
playHeight, playWidth, leftX, rightX, topY, MaxHedgehogs: Longword; // idea is that a template can specify height/width. Or, a map, a height/width by the dimensions of the image. If the map has pixels near top of image, it triggers border. |
|
2000 |
LandBackSurface: PSDL_Surface; |
|
2001 |
digest: shortstring; |
|
4368 | 2002 |
CurAmmoGear: PGear; |
2003 |
GearsList: PGear; |
|
4370 | 2004 |
AllInactive: boolean; |
2005 |
PrvInactive: boolean; |
|
2006 |
KilledHHs: Longword; |
|
2007 |
SuddenDeathDmg: Boolean; |
|
2008 |
SpeechType: Longword; |
|
2009 |
SpeechText: shortstring; |
|
2010 |
TrainingTargetGear: PGear; |
|
2011 |
skipFlag: boolean; |
|
2012 |
PlacingHogs: boolean; // a convenience flag to indicate placement of hogs is still in progress |
|
2013 |
StepSoundTimer: LongInt; |
|
2014 |
StepSoundChannel: LongInt; |
|
4368 | 2015 |
|
2016 |
CurrentTeam: PTeam; |
|
2017 |
PreviousTeam: PTeam; |
|
2018 |
CurrentHedgehog: PHedgehog; |
|
2019 |
TeamsArray: array[0..Pred(cMaxTeams)] of PTeam; |
|
2020 |
TeamsCount: Longword; |
|
2021 |
ClansArray: array[0..Pred(cMaxTeams)] of PClan; |
|
2022 |
ClansCount: Longword; |
|
2023 |
LocalClan: LongInt; // last non-bot, non-extdriven clan |
|
4465
743673c67d0c
Allow hog speech when not your turn. Currently is set to 40% opacity (could be fainter) and drawn behind the hogs instead of in front. Also allows hog targetting using a number.
nemo
parents:
4437
diff
changeset
|
2024 |
LocalTeam: LongInt; // last non-bot, non-extdriven clan first team |
743673c67d0c
Allow hog speech when not your turn. Currently is set to 40% opacity (could be fainter) and drawn behind the hogs instead of in front. Also allows hog targetting using a number.
nemo
parents:
4437
diff
changeset
|
2025 |
LocalAmmo: LongInt; // last non-bot, non-extdriven clan's first team's ammo index, updated to next upcoming hog for per-hog-ammo |
4368 | 2026 |
CurMinAngle, CurMaxAngle: Longword; |
2027 |
GameOver: boolean; |
|
4367 | 2028 |
|
4369 | 2029 |
FollowGear: PGear; |
2030 |
WindBarWidth: LongInt; |
|
2031 |
bShowAmmoMenu: boolean; |
|
2032 |
bSelected: boolean; |
|
2033 |
bShowFinger: boolean; |
|
2034 |
Frames: Longword; |
|
2035 |
WaterColor, DeepWaterColor: TSDL_Color; |
|
2036 |
SkyOffset: LongInt; |
|
2037 |
HorizontOffset: LongInt; |
|
2038 |
{$IFDEF COUNTTICKS} |
|
2039 |
cntTicks: LongWord; |
|
2040 |
{$ENDIF} |
|
2041 |
cOffsetY: LongInt; |
|
2042 |
||
4371 | 2043 |
PixelFormat: PSDL_PixelFormat; |
2044 |
SDLPrimSurface: PSDL_Surface; |
|
2045 |
PauseTexture, |
|
2046 |
SyncTexture, |
|
2047 |
ConfirmTexture: PTexture; |
|
2048 |
cScaleFactor: GLfloat; |
|
2049 |
SupportNPOTT: Boolean; |
|
2050 |
Step: LongInt; |
|
2051 |
squaresize : LongInt; |
|
2052 |
numsquares : LongInt; |
|
2053 |
ProgrTex: PTexture; |
|
2054 |
MissionIcons: PSDL_Surface; |
|
2055 |
ropeIconTex: PTexture; |
|
2056 |
rotationQt: GLfloat; |
|
2057 |
||
2058 |
||
2059 |
VisualGearsList: PVisualGear; |
|
2060 |
vobFrameTicks, vobFramesCount, vobCount: Longword; |
|
2061 |
vobVelocity, vobFallSpeed: LongInt; |
|
2062 |
||
2063 |
||
2064 |
hideAmmoMenu: boolean; |
|
2065 |
wheelUp: boolean; |
|
2066 |
wheelDown: boolean; |
|
2067 |
||
2068 |
ControllerNumControllers: Integer; |
|
2069 |
ControllerEnabled: Integer; |
|
2070 |
ControllerNumAxes: array[0..5] of Integer; |
|
2071 |
//ControllerNumBalls: array[0..5] of Integer; |
|
2072 |
ControllerNumHats: array[0..5] of Integer; |
|
2073 |
ControllerNumButtons: array[0..5] of Integer; |
|
2074 |
ControllerAxes: array[0..5] of array[0..19] of Integer; |
|
2075 |
//ControllerBalls: array[0..5] of array[0..19] of array[0..1] of Integer; |
|
2076 |
ControllerHats: array[0..5] of array[0..19] of Byte; |
|
2077 |
ControllerButtons: array[0..5] of array[0..19] of Byte; |
|
2078 |
||
2079 |
DefaultBinds, CurrentBinds: TBinds; |
|
2080 |
||
2081 |
coeff: LongInt; |
|
2082 |
{$IFDEF HWLIBRARY} |
|
2083 |
leftClick: boolean; |
|
2084 |
middleClick: boolean; |
|
2085 |
rightClick: boolean; |
|
2086 |
||
2087 |
upKey: boolean; |
|
2088 |
downKey: boolean; |
|
2089 |
rightKey: boolean; |
|
2090 |
leftKey: boolean; |
|
2091 |
preciseKey: boolean; |
|
2092 |
||
2093 |
backspaceKey: boolean; |
|
2094 |
spaceKey: boolean; |
|
2095 |
enterKey: boolean; |
|
2096 |
tabKey: boolean; |
|
2097 |
||
2098 |
chatAction: boolean; |
|
2099 |
pauseAction: boolean; |
|
2100 |
{$ENDIF} |
|
2101 |
||
4390
f219628ed666
Move localization data to uVariables, some Uses cleanup
unc0rr
parents:
4379
diff
changeset
|
2102 |
var trammo: array[TAmmoStrId] of ansistring; // name of the weapon |
f219628ed666
Move localization data to uVariables, some Uses cleanup
unc0rr
parents:
4379
diff
changeset
|
2103 |
trammoc: array[TAmmoStrId] of ansistring; // caption of the weapon |
f219628ed666
Move localization data to uVariables, some Uses cleanup
unc0rr
parents:
4379
diff
changeset
|
2104 |
trammod: array[TAmmoStrId] of ansistring; // description of the weapon |
f219628ed666
Move localization data to uVariables, some Uses cleanup
unc0rr
parents:
4379
diff
changeset
|
2105 |
trmsg: array[TMsgStrId] of ansistring; // message of the event |
f219628ed666
Move localization data to uVariables, some Uses cleanup
unc0rr
parents:
4379
diff
changeset
|
2106 |
trgoal: array[TGoalStrId] of ansistring; // message of the goal |
f219628ed666
Move localization data to uVariables, some Uses cleanup
unc0rr
parents:
4379
diff
changeset
|
2107 |
|
4359 | 2108 |
procedure initModule; |
2109 |
procedure freeModule; |
|
2110 |
||
2111 |
implementation |
|
2112 |
||
2113 |
||
2114 |
procedure initModule; |
|
2115 |
begin |
|
2116 |
Pathz:= cPathz; |
|
2117 |
{* REFERENCE |
|
2118 |
4096 -> $FFFFF000 |
|
2119 |
2048 -> $FFFFF800 |
|
2120 |
1024 -> $FFFFFC00 |
|
2121 |
512 -> $FFFFFE00 *} |
|
2122 |
if (cReducedQuality and rqLowRes) <> 0 then |
|
2123 |
begin |
|
2124 |
LAND_WIDTH:= 2048; |
|
2125 |
LAND_HEIGHT:= 1024; |
|
2126 |
LAND_WIDTH_MASK:= $FFFFF800; |
|
2127 |
LAND_HEIGHT_MASK:= $FFFFFC00; |
|
2128 |
end |
|
2129 |
else |
|
2130 |
begin |
|
2131 |
LAND_WIDTH:= 4096; |
|
2132 |
LAND_HEIGHT:= 2048; |
|
2133 |
LAND_WIDTH_MASK:= $FFFFF000; |
|
2134 |
LAND_HEIGHT_MASK:= $FFFFF800 |
|
2135 |
end; |
|
2136 |
||
2137 |
cDrownSpeed.QWordValue := 257698038; // 0.06 |
|
2138 |
cDrownSpeedf := 0.06; |
|
2139 |
cMaxWindSpeed.QWordValue:= 1073742; // 0.00025 |
|
2140 |
cWindSpeed.QWordValue := 429496; // 0.0001 |
|
2141 |
cWindSpeedf := 0.0001; |
|
2142 |
cGravity := cMaxWindSpeed * 2; |
|
2143 |
cGravityf := 0.00025 * 2; |
|
2144 |
cDamageModifier := _1; |
|
2145 |
TargetPoint := cTargetPointRef; |
|
2146 |
||
2147 |
// int, longint longword and byte |
|
2148 |
CursorMovementX := 0; |
|
2149 |
CursorMovementY := 0; |
|
2150 |
GameTicks := 0; |
|
2151 |
TrainingTimeInc := 10000; |
|
2152 |
TrainingTimeInD := 500; |
|
2153 |
TrainingTimeInM := 5000; |
|
2154 |
TrainingTimeMax := 60000; |
|
2155 |
TimeTrialStartTime := 0; |
|
2156 |
TimeTrialStopTime := 0; |
|
2157 |
cWaterLine := LAND_HEIGHT; |
|
2158 |
cGearScrEdgesDist := 240; |
|
2159 |
||
2160 |
GameFlags := 0; |
|
2161 |
TrainingFlags := 0; |
|
2162 |
TurnTimeLeft := 0; |
|
2163 |
cSuddenDTurns := 15; |
|
2164 |
cDamagePercent := 100; |
|
4396
3cfd2e15464a
After repeated requests, variable length rope. Intended for the infinite rope folks, but values less than 100 make rope more interesting IMO.
nemo
parents:
4390
diff
changeset
|
2165 |
cRopePercent := 100; |
4359 | 2166 |
cMineDudPercent := 0; |
2167 |
cTemplateFilter := 0; |
|
2168 |
cMapGen := 0; // MAPGEN_REGULAR |
|
2169 |
cMazeSize := 0; |
|
2170 |
cHedgehogTurnTime := 45000; |
|
4482 | 2171 |
cMinesTime := 3000; |
4359 | 2172 |
cMaxAIThinkTime := 9000; |
2173 |
cCloudsNumber := 9; |
|
2174 |
cHealthCaseProb := 35; |
|
2175 |
cHealthCaseAmount := 25; |
|
2176 |
cWaterRise := 47; |
|
2177 |
cHealthDecrease := 5; |
|
2178 |
||
2179 |
cTagsMask := 0; |
|
2180 |
InitStepsFlags := 0; |
|
2181 |
RealTicks := 0; |
|
2182 |
AttackBar := 0; // 0 - none, 1 - just bar at the right-down corner, 2 - from weapon |
|
2183 |
cCaseFactor := 5; {0..9} |
|
2184 |
cLandMines := 4; |
|
2185 |
cExplosives := 2; |
|
2186 |
||
2187 |
GameState := Low(TGameState); |
|
2188 |
GameType := gmtLocal; |
|
2189 |
zoom := cDefaultZoomLevel; |
|
2190 |
ZoomValue := cDefaultZoomLevel; |
|
2191 |
WeaponTooltipTex:= nil; |
|
2192 |
cLaserSighting := false; |
|
2193 |
cVampiric := false; |
|
2194 |
cArtillery := false; |
|
2195 |
flagMakeCapture := false; |
|
2196 |
bBetweenTurns := false; |
|
2197 |
bWaterRising := false; |
|
2198 |
isCursorVisible := false; |
|
2199 |
isTerminated := false; |
|
2200 |
isInLag := false; |
|
2201 |
isPaused := false; |
|
2202 |
isInMultiShoot := false; |
|
2203 |
isSpeed := false; |
|
2204 |
fastUntilLag := false; |
|
2205 |
isFirstFrame := true; |
|
2206 |
isSEBackup := true; |
|
2207 |
cSeed := ''; |
|
2208 |
cVolumeDelta := 0; |
|
2209 |
cHasFocus := true; |
|
2210 |
cInactDelay := 1250; |
|
2211 |
ReadyTimeLeft := 0; |
|
2212 |
||
2213 |
ScreenFade := sfNone; |
|
2214 |
||
2215 |
{$IFDEF SDL13} |
|
2216 |
SDLwindow := nil; |
|
2217 |
{$ENDIF} |
|
2218 |
||
2219 |
// those values still aren't perfect |
|
2220 |
cLeftScreenBorder:= round(-cMinZoomLevel * cScreenWidth); |
|
2221 |
cRightScreenBorder:= round(cMinZoomLevel * cScreenWidth + LAND_WIDTH); |
|
2222 |
cScreenSpace:= cRightScreenBorder - cLeftScreenBorder; |
|
2223 |
||
2224 |
if isPhone() then |
|
2225 |
cMaxCaptions:= 3 |
|
2226 |
else |
|
2227 |
cMaxCaptions:= 4; |
|
2228 |
end; |
|
2229 |
||
2230 |
procedure freeModule; |
|
2231 |
begin |
|
2232 |
// re-init flags so they will always contain safe values |
|
2233 |
cScreenWidth := 1024; |
|
2234 |
cScreenHeight := 768; |
|
2235 |
cBits := 32; |
|
2236 |
//ipcPort is in uIO |
|
2237 |
cFullScreen := false; |
|
2238 |
isSoundEnabled := true; |
|
2239 |
isMusicEnabled := false; |
|
2240 |
cLocaleFName := 'en.txt'; |
|
2241 |
cInitVolume := 100; |
|
2242 |
cTimerInterval := 8; |
|
2243 |
PathPrefix := './'; |
|
2244 |
cShowFPS := false; |
|
2245 |
cAltDamage := true; |
|
2246 |
cReducedQuality := rqNone; |
|
2247 |
//userNick is in uChat |
|
2248 |
recordFileName := ''; |
|
2249 |
cReadyDelay := 0; |
|
2250 |
end; |
|
2251 |
||
4372 | 2252 |
end. |