author | sheepluva |
Wed, 02 Sep 2015 00:39:35 +0200 | |
changeset 11058 | b91667fd6f20 |
parent 11057 | adb5ef54da54 |
child 11071 | 3851ce4f2061 |
child 11151 | 5c40c65b619d |
permissions | -rw-r--r-- |
4976 | 1 |
(* |
2 |
* Hedgewars, a free turn based strategy game |
|
11046 | 3 |
* Copyright (c) 2004-2015 Andrey Korotaev <unC0Rr@gmail.com> |
4976 | 4 |
* |
5 |
* This program is free software; you can redistribute it and/or modify |
|
6 |
* it under the terms of the GNU General Public License as published by |
|
7 |
* the Free Software Foundation; version 2 of the License |
|
8 |
* |
|
9 |
* This program is distributed in the hope that it will be useful, |
|
10 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
11 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
12 |
* GNU General Public License for more details. |
|
13 |
* |
|
14 |
* You should have received a copy of the GNU General Public License |
|
15 |
* along with this program; if not, write to the Free Software |
|
10108
c68cf030eded
update FSF address. note: two sdl include files (by Sam Lantinga) still have the old FSF address in their copyright - but I ain't gonna touch their copyright headers
sheepluva
parents:
10015
diff
changeset
|
16 |
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
4976 | 17 |
*) |
18 |
||
6426 | 19 |
{$INCLUDE "options.inc"} |
4359 | 20 |
|
21 |
unit uVariables; |
|
22 |
interface |
|
23 |
||
8330 | 24 |
uses SDLh, uTypes, uFloat, GLunit, uConsts, Math, uUtils, uMatrix; |
4359 | 25 |
|
26 |
var |
|
27 |
/////// init flags /////// |
|
7848
775a72905708
* fix initialisation, preload values and then read args
koda
parents:
7780
diff
changeset
|
28 |
cMinScreenWidth : LongInt; |
775a72905708
* fix initialisation, preload values and then read args
koda
parents:
7780
diff
changeset
|
29 |
cMinScreenHeight : LongInt; |
8354
c25bee85d6f8
Separated fullscreen and windowed hwengine resolution parameters.
vitiv <nikita.utiu@gmail.com>
parents:
8309
diff
changeset
|
30 |
cFullscreenWidth : LongInt; |
c25bee85d6f8
Separated fullscreen and windowed hwengine resolution parameters.
vitiv <nikita.utiu@gmail.com>
parents:
8309
diff
changeset
|
31 |
cFullscreenHeight : LongInt; |
c25bee85d6f8
Separated fullscreen and windowed hwengine resolution parameters.
vitiv <nikita.utiu@gmail.com>
parents:
8309
diff
changeset
|
32 |
cWindowedWidth : LongInt; |
c25bee85d6f8
Separated fullscreen and windowed hwengine resolution parameters.
vitiv <nikita.utiu@gmail.com>
parents:
8309
diff
changeset
|
33 |
cWindowedHeight : LongInt; |
7848
775a72905708
* fix initialisation, preload values and then read args
koda
parents:
7780
diff
changeset
|
34 |
cScreenWidth : LongInt; |
775a72905708
* fix initialisation, preload values and then read args
koda
parents:
7780
diff
changeset
|
35 |
cScreenHeight : LongInt; |
775a72905708
* fix initialisation, preload values and then read args
koda
parents:
7780
diff
changeset
|
36 |
cNewScreenWidth : LongInt; |
775a72905708
* fix initialisation, preload values and then read args
koda
parents:
7780
diff
changeset
|
37 |
cNewScreenHeight : LongInt; |
775a72905708
* fix initialisation, preload values and then read args
koda
parents:
7780
diff
changeset
|
38 |
cScreenResizeDelay : LongWord; |
775a72905708
* fix initialisation, preload values and then read args
koda
parents:
7780
diff
changeset
|
39 |
ipcPort : Word; |
10526
b43d175d1577
Avoid promoting violence to hedgehogs. At least once a year.
nemo
parents:
10472
diff
changeset
|
40 |
AprilOne : boolean; |
7848
775a72905708
* fix initialisation, preload values and then read args
koda
parents:
7780
diff
changeset
|
41 |
cFullScreen : boolean; |
775a72905708
* fix initialisation, preload values and then read args
koda
parents:
7780
diff
changeset
|
42 |
cLocaleFName : shortstring; |
775a72905708
* fix initialisation, preload values and then read args
koda
parents:
7780
diff
changeset
|
43 |
cLocale : shortstring; |
775a72905708
* fix initialisation, preload values and then read args
koda
parents:
7780
diff
changeset
|
44 |
cTimerInterval : LongInt; |
10127 | 45 |
PathPrefix : ansistring; |
46 |
UserPathPrefix : ansistring; |
|
7848
775a72905708
* fix initialisation, preload values and then read args
koda
parents:
7780
diff
changeset
|
47 |
cShowFPS : boolean; |
775a72905708
* fix initialisation, preload values and then read args
koda
parents:
7780
diff
changeset
|
48 |
cFlattenFlakes : boolean; |
775a72905708
* fix initialisation, preload values and then read args
koda
parents:
7780
diff
changeset
|
49 |
cFlattenClouds : boolean; |
9768
08799c901a42
Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents:
9723
diff
changeset
|
50 |
cIce : boolean; |
08799c901a42
Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents:
9723
diff
changeset
|
51 |
cSnow : boolean; |
08799c901a42
Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents:
9723
diff
changeset
|
52 |
|
7848
775a72905708
* fix initialisation, preload values and then read args
koda
parents:
7780
diff
changeset
|
53 |
cAltDamage : boolean; |
775a72905708
* fix initialisation, preload values and then read args
koda
parents:
7780
diff
changeset
|
54 |
cReducedQuality : LongWord; |
775a72905708
* fix initialisation, preload values and then read args
koda
parents:
7780
diff
changeset
|
55 |
UserNick : shortstring; |
775a72905708
* fix initialisation, preload values and then read args
koda
parents:
7780
diff
changeset
|
56 |
recordFileName : shortstring; |
775a72905708
* fix initialisation, preload values and then read args
koda
parents:
7780
diff
changeset
|
57 |
cReadyDelay : Longword; |
775a72905708
* fix initialisation, preload values and then read args
koda
parents:
7780
diff
changeset
|
58 |
cStereoMode : TStereoMode; |
775a72905708
* fix initialisation, preload values and then read args
koda
parents:
7780
diff
changeset
|
59 |
cOnlyStats : boolean; |
7198
5debd5fe526e
1. Add IFDEFs for video recording
Stepan777 <stepik-777@mail.ru>
parents:
7180
diff
changeset
|
60 |
{$IFDEF USE_VIDEO_RECORDING} |
7848
775a72905708
* fix initialisation, preload values and then read args
koda
parents:
7780
diff
changeset
|
61 |
RecPrefix : shortstring; |
775a72905708
* fix initialisation, preload values and then read args
koda
parents:
7780
diff
changeset
|
62 |
cAVFormat : shortstring; |
775a72905708
* fix initialisation, preload values and then read args
koda
parents:
7780
diff
changeset
|
63 |
cVideoCodec : shortstring; |
7376
48b79b3ca592
rework saving of camera positions so there is no need to know framerate during prerecording.
Stepan777 <stepik-777@mail.ru>
parents:
7367
diff
changeset
|
64 |
cVideoFramerateNum : LongInt; |
48b79b3ca592
rework saving of camera positions so there is no need to know framerate during prerecording.
Stepan777 <stepik-777@mail.ru>
parents:
7367
diff
changeset
|
65 |
cVideoFramerateDen : LongInt; |
7198
5debd5fe526e
1. Add IFDEFs for video recording
Stepan777 <stepik-777@mail.ru>
parents:
7180
diff
changeset
|
66 |
cVideoQuality : LongInt; |
7848
775a72905708
* fix initialisation, preload values and then read args
koda
parents:
7780
diff
changeset
|
67 |
cAudioCodec : shortstring; |
7198
5debd5fe526e
1. Add IFDEFs for video recording
Stepan777 <stepik-777@mail.ru>
parents:
7180
diff
changeset
|
68 |
{$ENDIF} |
4359 | 69 |
////////////////////////// |
7848
775a72905708
* fix initialisation, preload values and then read args
koda
parents:
7780
diff
changeset
|
70 |
cMapName : shortstring; |
4359 | 71 |
isCursorVisible : boolean; |
72 |
isInLag : boolean; |
|
73 |
isPaused : boolean; |
|
74 |
isInMultiShoot : boolean; |
|
75 |
isSpeed : boolean; |
|
9670
1954f692e8c6
Quick and simple implementation of afk mode (toggled by /pause)
unc0rr
parents:
9656
diff
changeset
|
76 |
isAFK : boolean; |
7414
a9f18c66ce34
unc0rr, let me know what you think? Values were chosen semi-arbitrarily. But I was playing through a lot of large demos.
nemo
parents:
7403
diff
changeset
|
77 |
SpeedStart : LongWord; |
4359 | 78 |
|
79 |
fastUntilLag : boolean; |
|
7180 | 80 |
fastScrolling : boolean; |
5247 | 81 |
autoCameraOn : boolean; |
4359 | 82 |
|
7389
15c3fb4882df
Sorry about the slight delay in pickup. You can blame a few lame cheaters. This is to make their cheating a bit harder.
nemo
parents:
7345
diff
changeset
|
83 |
CheckSum : LongWord; |
7201
dc17ffdf0702
The first campaign commit with a lot of changes...
belphegorr <szabibibi@gmail.com>
parents:
7197
diff
changeset
|
84 |
CampaignVariable: shortstring; |
7027 | 85 |
GameTicks : LongWord; |
4359 | 86 |
GameState : TGameState; |
87 |
GameType : TGameType; |
|
4522
0f590eefd531
Add an input mask for setting of gear messages. Intended for intercepting user messages. This is totally untested. I don't think it should desync but seriously needs a lot of testing. Esp the doPut behaviour.
nemo
parents:
4482
diff
changeset
|
88 |
InputMask : LongWord; |
4359 | 89 |
GameFlags : Longword; |
9473
a51a69094c24
partial implementation of non-infinite world (edge wrap/warp/bounce)
nemo
parents:
9367
diff
changeset
|
90 |
WorldEdge : TWorldEdge; |
9557 | 91 |
LeftImpactTimer : LongWord; |
92 |
RightImpactTimer: LongWord; |
|
4359 | 93 |
TurnTimeLeft : Longword; |
9672
8663d299ba62
this should prevent sliding when game clock isn't running. sorry unc0rr, not going to bother encapsulating. maybe later. short on time right now/lazy
nemo
parents:
9670
diff
changeset
|
94 |
TurnClockActive : boolean; |
5016
9347d82a26cc
added game mode Tag Team, mostly untested, please test :)
Henek
parents:
5013
diff
changeset
|
95 |
TagTurnTimeLeft : Longword; |
4359 | 96 |
ReadyTimeLeft : Longword; |
97 |
cSuddenDTurns : LongInt; |
|
98 |
cDamagePercent : LongInt; |
|
99 |
cMineDudPercent : LongWord; |
|
100 |
cTemplateFilter : LongInt; |
|
10472
8d04cebedb16
Partially hook up feature size so horrorcat has something to test.
nemo
parents:
10443
diff
changeset
|
101 |
cFeatureSize : LongInt; |
10603
bda5c7caf396
switch mapgen to enum. should still try and make sure the values are backwards compatible if possible.
nemo
parents:
10532
diff
changeset
|
102 |
cMapGen : TMapGen; |
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
|
103 |
cRopePercent : LongWord; |
5026 | 104 |
cGetAwayTime : LongWord; |
4359 | 105 |
|
10237 | 106 |
cAdvancedMapGenMode: boolean; |
107 |
||
4359 | 108 |
cHedgehogTurnTime: Longword; |
109 |
cMinesTime : LongInt; |
|
110 |
cMaxAIThinkTime : Longword; |
|
111 |
||
112 |
cHealthCaseProb : LongInt; |
|
113 |
cHealthCaseAmount: LongInt; |
|
114 |
cWaterRise : LongInt; |
|
115 |
cHealthDecrease : LongInt; |
|
116 |
||
5179
8d64dcb566ea
Fix "Mixing signed expressions and longwords gives a 64bit result" warnings
unc0rr
parents:
5136
diff
changeset
|
117 |
cCloudsNumber : LongWord; |
8d64dcb566ea
Fix "Mixing signed expressions and longwords gives a 64bit result" warnings
unc0rr
parents:
5136
diff
changeset
|
118 |
cSDCloudsNumber : LongWord; |
4359 | 119 |
|
120 |
cTagsMask : byte; |
|
121 |
zoom : GLfloat; |
|
122 |
ZoomValue : GLfloat; |
|
123 |
||
8003 | 124 |
cWaterLine : LongInt; |
4359 | 125 |
cGearScrEdgesDist: LongInt; |
7848
775a72905708
* fix initialisation, preload values and then read args
koda
parents:
7780
diff
changeset
|
126 |
isAudioMuted : boolean; |
4359 | 127 |
|
6982 | 128 |
// originally typed consts |
10877 | 129 |
ExplosionBorderColorR, |
130 |
ExplosionBorderColorG, |
|
131 |
ExplosionBorderColorB, |
|
10878 | 132 |
ExplosionBorderColorNoA, |
10877 | 133 |
ExplosionBorderColor: LongWord; |
8584
ea20d9cc8515
put ice colour in uVariables, add check for land that is already ice
nemo
parents:
8578
diff
changeset
|
134 |
IceColor : LongWord; |
8596 | 135 |
IceEdgeColor : LongWord; |
6982 | 136 |
WaterOpacity: byte; |
137 |
SDWaterOpacity: byte; |
|
138 |
GrayScale: Boolean; |
|
139 |
||
6891
ab9843957664
Improve rendering of function types, ranges, and more
unc0rr
parents:
6890
diff
changeset
|
140 |
CountTexz: array[0..Pred(AMMO_INFINITE)] of PTexture; |
8003 | 141 |
LAND_WIDTH : LongInt; |
142 |
LAND_HEIGHT : LongInt; |
|
4359 | 143 |
LAND_WIDTH_MASK : LongWord; |
144 |
LAND_HEIGHT_MASK : LongWord; |
|
9656 | 145 |
|
10443
42dadeb6e8ae
Remove switching of hog's hat to chef. do it in draw instead.
nemo
parents:
10361
diff
changeset
|
146 |
ChefHatTexture : PTexture; |
9655
e154ccca4dad
Tinted crosshair (without that cool white dot in the middle)
unc0rr
parents:
9573
diff
changeset
|
147 |
CrosshairTexture : PTexture; |
9656 | 148 |
GenericHealthTexture : PTexture; |
4359 | 149 |
|
150 |
cLeftScreenBorder : LongInt; |
|
151 |
cRightScreenBorder : LongInt; |
|
5179
8d64dcb566ea
Fix "Mixing signed expressions and longwords gives a 64bit result" warnings
unc0rr
parents:
5136
diff
changeset
|
152 |
cScreenSpace : Longword; |
4359 | 153 |
|
154 |
cCaseFactor : Longword; |
|
155 |
cLandMines : Longword; |
|
10818
f642a28cab0c
Add placement of airmines in engine outside of hog proximity. Has a bug, only protecting 1st team. Also fix a spelling error and rename gstHHChooseTarget to gstChooseTarget
nemo
parents:
10792
diff
changeset
|
156 |
cAirMines : Longword; |
4359 | 157 |
cExplosives : Longword; |
158 |
||
6254
e90fb60cb46d
Force a desync if there is a script name mismatch. This avoids playing until the game desyncs due to script differences.
nemo
parents:
6179
diff
changeset
|
159 |
cScriptName : shortstring; |
9902 | 160 |
cScriptParam : shortstring; |
4359 | 161 |
cSeed : shortstring; |
162 |
cVolumeDelta : LongInt; |
|
163 |
cHasFocus : boolean; |
|
164 |
cInactDelay : Longword; |
|
165 |
||
166 |
bBetweenTurns : boolean; |
|
167 |
bWaterRising : boolean; |
|
168 |
||
5615
104f69e798bb
changed aiming to be triggered when touching the crosshair
Xeli
parents:
5585
diff
changeset
|
169 |
CrosshairX : LongInt; |
104f69e798bb
changed aiming to be triggered when touching the crosshair
Xeli
parents:
5585
diff
changeset
|
170 |
CrosshairY : LongInt; |
4359 | 171 |
CursorMovementX : LongInt; |
172 |
CursorMovementY : LongInt; |
|
10330 | 173 |
cWaveHeight : LongInt; |
4359 | 174 |
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
|
175 |
cDrownSpeedf : real; |
4359 | 176 |
cMaxWindSpeed : hwFloat; |
177 |
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
|
178 |
cWindSpeedf : real; |
9721
1833dadcebf0
Initial pass at bounciness. To try it out, or lfBouncy on girder in uLandGraphics (search for the word graphically)
nemo
parents:
9693
diff
changeset
|
179 |
cElastic : hwFloat; |
4359 | 180 |
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
|
181 |
cGravityf : real; |
11057
adb5ef54da54
global variable for defining construction distance limit. value smaller 1 means no limit (wip)
sheepluva
parents:
11046
diff
changeset
|
182 |
cBuildMaxDist : LongInt; |
4359 | 183 |
cDamageModifier : hwFloat; |
184 |
cLaserSighting : boolean; |
|
185 |
cVampiric : boolean; |
|
186 |
cArtillery : boolean; |
|
6394
f0a9042e7387
yay, finally osx (and likely windows) fullscreen switch works like on linux! ALL textures had to be destroyed and recreated only after the new window got created. In other news, the new window must be cleaned with glClear to skip a first frame of garbage and AddProgress is only called the first time.
koda
parents:
6313
diff
changeset
|
187 |
WeaponTooltipTex: PTexture; |
6622 | 188 |
AmmoMenuInvalidated: boolean; |
8330 | 189 |
AmmoRect : TSDL_Rect; |
6394
f0a9042e7387
yay, finally osx (and likely windows) fullscreen switch works like on linux! ALL textures had to be destroyed and recreated only after the new window got created. In other news, the new window must be cleaned with glClear to skip a first frame of garbage and AddProgress is only called the first time.
koda
parents:
6313
diff
changeset
|
190 |
HHTexture : PTexture; |
7974 | 191 |
cMaxZoomLevel : real; |
192 |
cMinZoomLevel : real; |
|
193 |
cZoomDelta : real; |
|
194 |
cMinMaxZoomLevelDelta : real; |
|
4359 | 195 |
|
6622 | 196 |
|
4359 | 197 |
flagMakeCapture : boolean; |
10633
2f062fac5791
Add that "make screenshots of Land/LandPixels" thing for map creators
nemo
parents:
10625
diff
changeset
|
198 |
flagDumpLand : boolean; |
4359 | 199 |
|
200 |
InitStepsFlags : Longword; |
|
201 |
RealTicks : Longword; |
|
202 |
AttackBar : LongInt; |
|
203 |
||
10325 | 204 |
WaterColorArray : array[0..7] of HwColor4f; |
205 |
SDWaterColorArray : array[0..7] of HwColor4f; |
|
4835
a6924450e694
added rq-sky to themes so it can set sky color for low quality. also added tint of sky on sudden death. underwater theme is an example of this
Henek
parents:
4808
diff
changeset
|
206 |
SDTint : LongInt; |
4359 | 207 |
|
8373
209c9ba77a09
Prevent camera from moving with auto camera disabled when remote teams are targetting
nemo
parents:
8358
diff
changeset
|
208 |
TargetCursorPoint : TPoint; |
209c9ba77a09
Prevent camera from moving with auto camera disabled when remote teams are targetting
nemo
parents:
8358
diff
changeset
|
209 |
CursorPoint : TPoint; |
209c9ba77a09
Prevent camera from moving with auto camera disabled when remote teams are targetting
nemo
parents:
8358
diff
changeset
|
210 |
TargetPoint : TPoint; |
4359 | 211 |
|
212 |
ScreenFade : TScreenFade; |
|
213 |
ScreenFadeValue : LongInt; |
|
214 |
ScreenFadeSpeed : LongInt; |
|
215 |
||
9693 | 216 |
UIDisplay : TUIDisplay; |
217 |
LocalMessage : LongWord; |
|
218 |
||
4611 | 219 |
Theme : shortstring; |
4695
ac2cb3b99d70
add a disabling for landback, set it if flakes are enabled
nemo
parents:
4611
diff
changeset
|
220 |
disableLandBack : boolean; |
4359 | 221 |
|
4367 | 222 |
WorldDx: LongInt; |
223 |
WorldDy: LongInt; |
|
4361 | 224 |
|
10866 | 225 |
SpeechHogNumber: LongInt; |
226 |
||
10266 | 227 |
// for tracking the limits of the visible grid based on cScaleFactor |
10304
7e40820b7ed6
fix gl2 build, further rendering cleanup WIP, also new chat command: /debugvl
sheepluva
parents:
10271
diff
changeset
|
228 |
ViewLeftX, ViewRightX, ViewBottomY, ViewTopY, ViewWidth, ViewHeight: LongInt; |
7e40820b7ed6
fix gl2 build, further rendering cleanup WIP, also new chat command: /debugvl
sheepluva
parents:
10271
diff
changeset
|
229 |
|
7e40820b7ed6
fix gl2 build, further rendering cleanup WIP, also new chat command: /debugvl
sheepluva
parents:
10271
diff
changeset
|
230 |
// for debugging the view limits visually |
7e40820b7ed6
fix gl2 build, further rendering cleanup WIP, also new chat command: /debugvl
sheepluva
parents:
10271
diff
changeset
|
231 |
cViewLimitsDebug: boolean; |
10266 | 232 |
|
10271 | 233 |
dirtyLandTexCount: LongInt; |
234 |
||
4814
e19791f08443
smaller rearrangement of (non stereo related) variables
koda
parents:
4812
diff
changeset
|
235 |
hiTicks: Word; |
e19791f08443
smaller rearrangement of (non stereo related) variables
koda
parents:
4812
diff
changeset
|
236 |
|
4883
7cddc9201a1d
added dummy for tardis and ugly icons for tardis and structure
Henek
parents:
4881
diff
changeset
|
237 |
LuaGoals : shortstring; |
7cddc9201a1d
added dummy for tardis and ugly icons for tardis and structure
Henek
parents:
4881
diff
changeset
|
238 |
|
7594 | 239 |
LuaTemplateNumber : LongWord; |
7567 | 240 |
|
6982 | 241 |
LastVoice : TVoice = ( snd: sndNone; voicepack: nil ); |
242 |
||
8204 | 243 |
mobileRecord: TMobileRecord; |
244 |
||
10304
7e40820b7ed6
fix gl2 build, further rendering cleanup WIP, also new chat command: /debugvl
sheepluva
parents:
10271
diff
changeset
|
245 |
MaxTextureSize: LongInt; |
7e40820b7ed6
fix gl2 build, further rendering cleanup WIP, also new chat command: /debugvl
sheepluva
parents:
10271
diff
changeset
|
246 |
|
10850
c76ea22ea249
copy to/paste from system clipboard (via frontend)
sheepluva
parents:
10820
diff
changeset
|
247 |
ChatPasteBuffer: shortstring; |
c76ea22ea249
copy to/paste from system clipboard (via frontend)
sheepluva
parents:
10820
diff
changeset
|
248 |
|
6637
b4a3310f2974
show buttons on the screen, similar to the iOS overlay
Xeli
parents:
6632
diff
changeset
|
249 |
///////////////////////////////////// |
b4a3310f2974
show buttons on the screen, similar to the iOS overlay
Xeli
parents:
6632
diff
changeset
|
250 |
//Buttons |
6676
21cf35a570a7
add keywords for landscape ammomenu and touch interface
koda
parents:
6648
diff
changeset
|
251 |
{$IFDEF USE_TOUCH_INTERFACE} |
6637
b4a3310f2974
show buttons on the screen, similar to the iOS overlay
Xeli
parents:
6632
diff
changeset
|
252 |
buttonScale: GLFloat; |
b4a3310f2974
show buttons on the screen, similar to the iOS overlay
Xeli
parents:
6632
diff
changeset
|
253 |
|
6714
f2f93017132c
moved the firebutton, added the AMWidget button and removed the forwardjump widget(it's longpress on backjump now)
Xeli
parents:
6700
diff
changeset
|
254 |
arrowUp, arrowDown, arrowLeft, arrowRight : TOnScreenWidget; |
f2f93017132c
moved the firebutton, added the AMWidget button and removed the forwardjump widget(it's longpress on backjump now)
Xeli
parents:
6700
diff
changeset
|
255 |
firebutton, jumpWidget, AMWidget : TOnScreenWidget; |
6806
cdfb6c7099e5
first part of the utilitywidget (grenade timer/swap hogs) code
Xeli
parents:
6796
diff
changeset
|
256 |
pauseButton, utilityWidget : TOnScreenWidget; |
6637
b4a3310f2974
show buttons on the screen, similar to the iOS overlay
Xeli
parents:
6632
diff
changeset
|
257 |
{$ENDIF} |
6796
3e89dbdc7db9
You can now change AMAnimType to enable the animation through the x/y axis and alpha for example
Xeli
parents:
6714
diff
changeset
|
258 |
|
6982 | 259 |
|
7066
12cc2bd84b0b
Make pas2c even more happier with uGears.c, allow assigning arrays in some cases
unc0rr
parents:
7049
diff
changeset
|
260 |
var |
6982 | 261 |
// these consts are here because they would cause circular dependencies in uConsts/uTypes |
4361 | 262 |
cPathz: array[TPathType] of shortstring = ( |
263 |
'', // ptNone |
|
9168
20ff80421736
Some fixes to make pas2c+clang compile all engine files
unc0rr
parents:
9127
diff
changeset
|
264 |
'//', // ptData |
8022 | 265 |
'/Graphics', // ptGraphics |
266 |
'/Themes', // ptThemes |
|
267 |
'/Themes/Bamboo', // ptCurrTheme |
|
268 |
'/Teams', // ptTeams |
|
269 |
'/Maps', // ptMaps |
|
4361 | 270 |
'', // ptMapCurrent |
8022 | 271 |
'/Demos', // ptDemos |
272 |
'/Sounds', // ptSounds |
|
273 |
'/Graphics/Graves', // ptGraves |
|
274 |
'/Fonts', // ptFonts |
|
275 |
'/Forts', // ptForts |
|
276 |
'/Locale', // ptLocale |
|
277 |
'/Graphics/AmmoMenu', // ptAmmoMenu |
|
278 |
'/Graphics/Hedgehog', // ptHedgehog |
|
279 |
'/Sounds/voices', // ptVoices |
|
280 |
'/Graphics/Hats', // ptHats |
|
281 |
'/Graphics/Flags', // ptFlags |
|
282 |
'/Missions/Maps', // ptMissionMaps |
|
283 |
'/Graphics/SuddenDeath', // ptSuddenDeath |
|
8096 | 284 |
'/Graphics/Buttons', // ptButton |
285 |
'/Shaders' // ptShaders |
|
4361 | 286 |
); |
287 |
||
8026
4a4f21070479
merge xymeng's gsoc engine with a few updates (and further checks on symbol definitions)
koda
parents:
8018
diff
changeset
|
288 |
var |
4361 | 289 |
Fontz: array[THWFont] of THHFont = ( |
290 |
(Handle: nil; |
|
291 |
Height: 12; |
|
292 |
style: TTF_STYLE_NORMAL; |
|
293 |
Name: 'DejaVuSans-Bold.ttf'), |
|
294 |
(Handle: nil; |
|
295 |
Height: 24; |
|
296 |
style: TTF_STYLE_NORMAL; |
|
297 |
Name: 'DejaVuSans-Bold.ttf'), |
|
298 |
(Handle: nil; |
|
299 |
Height: 10; |
|
300 |
style: TTF_STYLE_NORMAL; |
|
301 |
Name: 'DejaVuSans-Bold.ttf') |
|
5639 | 302 |
{$IFNDEF MOBILE}, // remove chinese fonts for now |
4361 | 303 |
(Handle: nil; |
304 |
Height: 12; |
|
305 |
style: TTF_STYLE_NORMAL; |
|
306 |
Name: 'wqy-zenhei.ttc'), |
|
307 |
(Handle: nil; |
|
308 |
Height: 24; |
|
309 |
style: TTF_STYLE_NORMAL; |
|
310 |
Name: 'wqy-zenhei.ttc'), |
|
311 |
(Handle: nil; |
|
312 |
Height: 10; |
|
313 |
style: TTF_STYLE_NORMAL; |
|
314 |
Name: 'wqy-zenhei.ttc') |
|
315 |
{$ENDIF} |
|
316 |
); |
|
317 |
||
6982 | 318 |
var |
10361 | 319 |
SpritesData: array[TSprite] of TSpriteData = ( |
4361 | 320 |
(FileName: 'BlueWater'; Path: ptCurrTheme;AltPath: ptGraphics; Texture: nil; Surface: nil; |
321 |
Width: 0; Height: 0; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: true; getImageDimensions: true),// sprWater |
|
322 |
(FileName: 'Clouds'; Path: ptCurrTheme;AltPath: ptGraphics; Texture: nil; Surface: nil; |
|
323 |
Width: 256; Height:128; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprCloud |
|
324 |
(FileName: 'Bomb'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
325 |
Width: 8; Height: 8; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprBomb |
|
326 |
(FileName: 'BigDigits'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
327 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprBigDigit |
|
328 |
(FileName: 'Frame'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
329 |
Width: 4; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprFrame |
|
330 |
(FileName: 'Lag'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
331 |
Width: 65; Height: 65; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprLag |
|
332 |
(FileName: 'Arrow'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
333 |
Width: 16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprCursor |
|
334 |
(FileName:'BazookaShell'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
335 |
Width: 16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprBazookaShell |
|
336 |
(FileName: 'Targetp'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
337 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprTargetP |
|
338 |
(FileName: 'Bee'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
339 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprBee |
|
340 |
(FileName: 'SmokeTrace'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
341 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprSmokeTrace |
|
342 |
(FileName: 'RopeHook'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
343 |
Width: 16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprRopeHook |
|
344 |
(FileName: 'Expl50'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
345 |
Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprExplosion50 |
|
346 |
(FileName: 'MineOff'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
347 |
Width: 8; Height: 8; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprMineOff |
|
348 |
(FileName: 'MineOn'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
349 |
Width: 8; Height: 8; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprMineOn |
|
350 |
(FileName: 'MineDead'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
351 |
Width: 8; Height: 8; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprMineDead |
|
352 |
(FileName: 'Case'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
353 |
Width: 48; Height: 48; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprCase |
|
354 |
(FileName: 'FirstAid'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
355 |
Width: 48; Height: 48; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprFAid |
|
356 |
(FileName: 'dynamite'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
357 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprDynamite |
|
358 |
(FileName: 'Power'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
359 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprPower |
|
360 |
(FileName: 'ClBomb'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
361 |
Width: 16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprClusterBomb |
|
362 |
(FileName: 'ClParticle'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
363 |
Width: 16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprClusterParticle |
|
364 |
(FileName: 'Flame'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
365 |
Width: 16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprFlame |
|
366 |
(FileName: 'horizont'; Path: ptCurrTheme;AltPath: ptNone; Texture: nil; Surface: nil; |
|
367 |
Width: 0; Height: 0; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: true; getImageDimensions: true),// sprHorizont |
|
368 |
(FileName: 'horizontL'; Path: ptCurrTheme;AltPath: ptNone; Texture: nil; Surface: nil; |
|
10154 | 369 |
Width: 0; Height: 0; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: true; getImageDimensions: true),// sprHorizontL |
4361 | 370 |
(FileName: 'horizontR'; Path: ptCurrTheme;AltPath: ptNone; Texture: nil; Surface: nil; |
10154 | 371 |
Width: 0; Height: 0; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: true; getImageDimensions: true),// sprHorizontR |
4361 | 372 |
(FileName: 'Sky'; Path: ptCurrTheme;AltPath: ptNone; Texture: nil; Surface: nil; |
373 |
Width: 0; Height: 0; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: true; getImageDimensions: true),// sprSky |
|
374 |
(FileName: 'SkyL'; Path: ptCurrTheme;AltPath: ptNone; Texture: nil; Surface: nil; |
|
10154 | 375 |
Width: 0; Height: 0; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: true; getImageDimensions: true),// sprSkyL |
4361 | 376 |
(FileName: 'SkyR'; Path: ptCurrTheme;AltPath: ptNone; Texture: nil; Surface: nil; |
10154 | 377 |
Width: 0; Height: 0; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: true; getImageDimensions: true),// sprSkyR |
4361 | 378 |
(FileName: 'Slot'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
6622 | 379 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: true; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprAMSlot |
4361 | 380 |
(FileName: 'Ammos'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
381 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: true; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprAMAmmos |
|
6609 | 382 |
(FileName: 'Ammos_bw'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
6622 | 383 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: true; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprAMAmmosBW |
4361 | 384 |
(FileName: 'SlotKeys'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
385 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprAMSlotKeys |
|
386 |
(FileName: 'Corners'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
|
387 |
Width: 2; Height: 2; imageWidth: 0; imageHeight: 0; saveSurf: true; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprAMCorners |
|
388 |
(FileName: 'Finger'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
389 |
Width: 32; Height: 48; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprFinger |
|
390 |
(FileName: 'AirBomb'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
391 |
Width: 16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprAirBomb |
|
392 |
(FileName: 'Airplane'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
6308 | 393 |
Width: 256; Height: 128; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprAirplane |
4361 | 394 |
(FileName: 'amAirplane'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
395 |
Width: 64; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprAmAirplane |
|
6112
7839a2ae90ae
Restrict slipperiness to girders and bridges. Make girders more obviously ice.
nemo
parents:
5913
diff
changeset
|
396 |
(FileName: 'amGirder'; Path: ptCurrTheme; AltPath: ptGraphics; Texture: nil; Surface: nil; |
4361 | 397 |
Width: 160; Height:160; imageWidth: 0; imageHeight: 0; saveSurf: true; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprAmGirder |
398 |
(FileName: 'hhMask'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
399 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: true; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHHTelepMask |
|
400 |
(FileName: 'Switch'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
401 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprSwitch |
|
402 |
(FileName: 'Parachute'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
403 |
Width: 48; Height: 48; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprParachute |
|
404 |
(FileName: 'Target'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
405 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprTarget |
|
406 |
(FileName: 'RopeNode'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
407 |
Width: 6; Height: 6; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprRopeNode |
|
408 |
(FileName: 'thinking'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
409 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprQuestion |
|
410 |
(FileName: 'PowerBar'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
411 |
Width: 256; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprPowerBar |
|
412 |
(FileName: 'WindBar'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
413 |
Width: 151; Height: 17; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprWindBar |
|
414 |
(FileName: 'WindL'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
415 |
Width: 80; Height: 13; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprWindL |
|
416 |
(FileName: 'WindR'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
417 |
Width: 80; Height: 13; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprWindR |
|
6676
21cf35a570a7
add keywords for landscape ammomenu and touch interface
koda
parents:
6648
diff
changeset
|
418 |
{$IFDEF USE_TOUCH_INTERFACE} |
6637
b4a3310f2974
show buttons on the screen, similar to the iOS overlay
Xeli
parents:
6632
diff
changeset
|
419 |
(FileName: 'firebutton'; Path: ptButtons; AltPath: ptNone; Texture: nil; Surface: nil; |
b4a3310f2974
show buttons on the screen, similar to the iOS overlay
Xeli
parents:
6632
diff
changeset
|
420 |
Width: 128; Height: 128; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true), // sprFireButton |
b4a3310f2974
show buttons on the screen, similar to the iOS overlay
Xeli
parents:
6632
diff
changeset
|
421 |
(FileName: 'arrowUp'; Path: ptButtons; AltPath: ptNone; Texture: nil; Surface: nil; |
b4a3310f2974
show buttons on the screen, similar to the iOS overlay
Xeli
parents:
6632
diff
changeset
|
422 |
Width: 100; Height: 100; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true), // sprArrowUp |
b4a3310f2974
show buttons on the screen, similar to the iOS overlay
Xeli
parents:
6632
diff
changeset
|
423 |
(FileName: 'arrowDown'; Path: ptButtons; AltPath: ptNone; Texture: nil; Surface: nil; |
b4a3310f2974
show buttons on the screen, similar to the iOS overlay
Xeli
parents:
6632
diff
changeset
|
424 |
Width: 100; Height: 100; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true), // sprArrowDown |
b4a3310f2974
show buttons on the screen, similar to the iOS overlay
Xeli
parents:
6632
diff
changeset
|
425 |
(FileName: 'arrowLeft'; Path: ptButtons; AltPath: ptNone; Texture: nil; Surface: nil; |
b4a3310f2974
show buttons on the screen, similar to the iOS overlay
Xeli
parents:
6632
diff
changeset
|
426 |
Width: 100; Height: 100; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true), // sprArrowLeft |
b4a3310f2974
show buttons on the screen, similar to the iOS overlay
Xeli
parents:
6632
diff
changeset
|
427 |
(FileName: 'arrowRight'; Path: ptButtons; AltPath: ptNone; Texture: nil; Surface: nil; |
b4a3310f2974
show buttons on the screen, similar to the iOS overlay
Xeli
parents:
6632
diff
changeset
|
428 |
Width: 100; Height: 100; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true), // sprArrowRight |
6714
f2f93017132c
moved the firebutton, added the AMWidget button and removed the forwardjump widget(it's longpress on backjump now)
Xeli
parents:
6700
diff
changeset
|
429 |
(FileName: 'forwardjump'; Path: ptButtons; AltPath: ptNone; Texture: nil; Surface: nil; |
f2f93017132c
moved the firebutton, added the AMWidget button and removed the forwardjump widget(it's longpress on backjump now)
Xeli
parents:
6700
diff
changeset
|
430 |
Width: 128; Height: 128; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true), // sprAMWidget |
6637
b4a3310f2974
show buttons on the screen, similar to the iOS overlay
Xeli
parents:
6632
diff
changeset
|
431 |
(FileName: 'backjump'; Path: ptButtons; AltPath: ptNone; Texture: nil; Surface: nil; |
6714
f2f93017132c
moved the firebutton, added the AMWidget button and removed the forwardjump widget(it's longpress on backjump now)
Xeli
parents:
6700
diff
changeset
|
432 |
Width: 128; Height: 128; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true), // sprJumpWidget |
6685
ef706fccfb0a
moved other widgets under the USE_TOUCH_INTERFACE, added pause button (at least, graphically...)
koda
parents:
6683
diff
changeset
|
433 |
(FileName: 'pause'; Path: ptButtons; AltPath: ptNone; Texture: nil; Surface: nil; |
ef706fccfb0a
moved other widgets under the USE_TOUCH_INTERFACE, added pause button (at least, graphically...)
koda
parents:
6683
diff
changeset
|
434 |
Width: 120; Height: 100; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true), // sprPauseButton |
6806
cdfb6c7099e5
first part of the utilitywidget (grenade timer/swap hogs) code
Xeli
parents:
6796
diff
changeset
|
435 |
(FileName: 'pause'; Path: ptButtons; AltPath: ptNone; Texture: nil; Surface: nil;//TODO correct image |
cdfb6c7099e5
first part of the utilitywidget (grenade timer/swap hogs) code
Xeli
parents:
6796
diff
changeset
|
436 |
Width: 120; Height: 128; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true), // sprTimerButton |
6957 | 437 |
(FileName: 'forwardjump'; Path: ptButtons; AltPath: ptNone; Texture: nil; Surface: nil;//TODO correct image |
438 |
Width: 120; Height: 128; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true), // sprTargetButton |
|
6637
b4a3310f2974
show buttons on the screen, similar to the iOS overlay
Xeli
parents:
6632
diff
changeset
|
439 |
{$ENDIF} |
4361 | 440 |
(FileName: 'Flake'; Path:ptCurrTheme; AltPath: ptNone; Texture: nil; Surface: nil; |
441 |
Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprFlake |
|
442 |
(FileName: 'amRope'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
443 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandRope |
|
444 |
(FileName: 'amBazooka'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
445 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandBazooka |
|
446 |
(FileName: 'amShotgun'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
447 |
Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandShotgun |
|
448 |
(FileName: 'amDEagle'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
449 |
Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandDEagle |
|
450 |
(FileName:'amAirAttack'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
451 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandAirAttack |
|
452 |
(FileName: 'amBaseball'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
453 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandBaseball |
|
454 |
(FileName: 'Hammer'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
455 |
Width: 32; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprPHammer |
|
456 |
(FileName: 'amBTorch_i'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
457 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandBlowTorch |
|
458 |
(FileName: 'amBTorch_w'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
459 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprBlowTorch |
|
460 |
(FileName: 'Teleport'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
461 |
Width: 64; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprTeleport |
|
462 |
(FileName: 'HHDeath'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
463 |
Width: 32; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprHHDeath |
|
464 |
(FileName:'amShotgun_w'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
465 |
Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprShotgun |
|
466 |
(FileName: 'amDEagle_w'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
467 |
Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprDEagle |
|
468 |
(FileName: 'Idle'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
469 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprHHIdle |
|
470 |
(FileName: 'Mortar'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
471 |
Width: 16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprMortar |
|
472 |
(FileName: 'TurnsLeft'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
|
6622 | 473 |
Width: 16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: true; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprTurnsLeft |
4361 | 474 |
(FileName: 'amKamikaze'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
5913 | 475 |
Width: 128; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprKamikaze |
4361 | 476 |
(FileName: 'amWhip'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
9723
31d10d684e90
whip: visual enhancements (hat'n'dust) as suggested by nemo
sheepluva
parents:
9721
diff
changeset
|
477 |
Width: 128; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprWhip |
4361 | 478 |
(FileName: 'Kowtow'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
479 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprKowtow |
|
480 |
(FileName: 'Sad'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
481 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprSad |
|
482 |
(FileName: 'Wave'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
483 |
Width: 64; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprWave |
|
484 |
(FileName: 'Hurrah'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
485 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprHurrah |
|
486 |
(FileName:'ILoveLemonade';Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
487 |
Width: 128; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprLemonade |
|
488 |
(FileName: 'Shrug'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
489 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprShrug |
|
490 |
(FileName: 'Juggle'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
491 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprJuggle |
|
492 |
(FileName: 'ExplPart'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
493 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprExplPart |
|
494 |
(FileName: 'ExplPart2'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
495 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprExplPart2 |
|
496 |
(FileName: 'Cake_walk'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
497 |
Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprCakeWalk |
|
498 |
(FileName: 'Cake_down'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
499 |
Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprCakeDown |
|
500 |
(FileName: 'Watermelon'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
501 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprWatermelon |
|
502 |
(FileName: 'EvilTrace'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
503 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprEvilTrace |
|
504 |
(FileName:'HellishBomb'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
505 |
Width: 16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHellishBomb |
|
506 |
(FileName: 'Seduction'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
8568 | 507 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprSeduction |
4361 | 508 |
(FileName: 'HHDress'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
509 |
Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprDress |
|
510 |
(FileName: 'Censored'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
511 |
Width: 64; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprCensored |
|
512 |
(FileName: 'Drill'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
513 |
Width: 16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprDrill |
|
514 |
(FileName: 'amDrill'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
515 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandDrill |
|
516 |
(FileName: 'amBallgun'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
517 |
Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandBallgun |
|
518 |
(FileName: 'Balls'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
519 |
Width: 32; Height: 20; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprBalls |
|
520 |
(FileName: 'RCPlane'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
6139 | 521 |
Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprPlane |
4361 | 522 |
(FileName: 'amRCPlane'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
523 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandPlane |
|
524 |
(FileName: 'Utility'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
525 |
Width: 48; Height: 48; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprUtility |
|
526 |
(FileName:'Invulnerable';Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
527 |
Width: 48; Height: 48; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprInvulnerable |
|
528 |
(FileName: 'Vampiric'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
529 |
Width: 48; Height: 48; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprVampiric |
|
530 |
(FileName: 'amGirder'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
531 |
Width: 512; Height:512; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprGirder |
|
532 |
(FileName:'SpeechCorner';Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
533 |
Width: 12; Height: 9; imageWidth: 0; imageHeight: 0; saveSurf: true; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprSpeechCorner |
|
534 |
(FileName: 'SpeechEdge'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
535 |
Width: 25; Height: 9; imageWidth: 0; imageHeight: 0; saveSurf: true; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprSpeechEdge |
|
536 |
(FileName: 'SpeechTail'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
537 |
Width: 25; Height: 26; imageWidth: 0; imageHeight: 0; saveSurf: true; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprSpeechTail |
|
538 |
(FileName:'ThoughtCorner';Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
539 |
Width: 49; Height: 37; imageWidth: 0; imageHeight: 0; saveSurf: true; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprThoughtCorner |
|
540 |
(FileName:'ThoughtEdge'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
541 |
Width: 23; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: true; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprThoughtEdge |
|
542 |
(FileName:'ThoughtTail'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
543 |
Width: 45; Height: 65; imageWidth: 0; imageHeight: 0; saveSurf: true; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprThoughtTail |
|
544 |
(FileName:'ShoutCorner'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
545 |
Width: 34; Height: 23; imageWidth: 0; imageHeight: 0; saveSurf: true; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprShoutCorner |
|
546 |
(FileName: 'ShoutEdge'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
547 |
Width: 30; Height: 20; imageWidth: 0; imageHeight: 0; saveSurf: true; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprShoutEdge |
|
548 |
(FileName: 'ShoutTail'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
549 |
Width: 30; Height: 37; imageWidth: 0; imageHeight: 0; saveSurf: true; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprShoutTail |
|
550 |
(FileName:'amSniperRifle';Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
551 |
Width: 128; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprSniperRifle |
|
552 |
(FileName: 'Bubbles'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
553 |
Width: 16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprBubbles |
|
554 |
(FileName: 'amJetpack'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
555 |
Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprJetpack |
|
556 |
(FileName: 'Health'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
557 |
Width: 16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprHealth |
|
558 |
(FileName: 'amMolotov'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
559 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),//sprHandMolotov |
|
560 |
(FileName: 'Molotov'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
5871
09daa06191d7
Since we are tweaking molotov. make the flame flickery and add a drowning frame
nemo
parents:
5814
diff
changeset
|
561 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprMolotov |
4361 | 562 |
(FileName: 'Smoke'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
563 |
Width: 22; Height: 22; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprSmoke |
|
564 |
(FileName: 'SmokeWhite'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
565 |
Width: 22; Height: 22; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprSmokeWhite |
|
566 |
(FileName: 'Shells'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
567 |
Width: 8; Height: 8; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpLow; getDimensions: false; getImageDimensions: true),// sprShell |
|
568 |
(FileName: 'Dust'; Path: ptCurrTheme; AltPath: ptGraphics; Texture: nil; Surface: nil; |
|
569 |
Width: 22; Height: 22; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprDust |
|
5065 | 570 |
(FileName: 'SnowDust'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
571 |
Width: 22; Height: 22; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprSnowDust |
|
4361 | 572 |
(FileName: 'Explosives'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
573 |
Width: 48; Height: 48; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprExplosives |
|
574 |
(FileName: 'ExplosivesRoll'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
575 |
Width: 48; Height: 48; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprExplosivesRoll |
|
576 |
(FileName: 'amTeleport'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
577 |
Width: 64; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprAmTeleport |
|
578 |
(FileName: 'Splash'; Path: ptCurrTheme; AltPath: ptGraphics; Texture: nil; Surface: nil; |
|
579 |
Width: 80; Height: 50; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprSplash |
|
580 |
(FileName: 'Droplet'; Path: ptCurrTheme; AltPath: ptGraphics; Texture: nil; Surface: nil; |
|
581 |
Width: 16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprDroplet |
|
582 |
(FileName: 'Birdy'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
583 |
Width: 75; Height: 75; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprBirdy |
|
584 |
(FileName: 'amCake'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
585 |
Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandCake |
|
586 |
(FileName: 'amConstruction'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
587 |
Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandConstruction |
|
588 |
(FileName: 'amGrenade'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
589 |
Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandGrenade |
|
590 |
(FileName: 'amMelon'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
591 |
Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandMelon |
|
592 |
(FileName: 'amMortar'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
593 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandMortar |
|
594 |
(FileName: 'amSkip'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
595 |
Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandSkip |
|
596 |
(FileName: 'amCluster'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
597 |
Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandCluster |
|
598 |
(FileName: 'amDynamite'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
599 |
Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandDynamite |
|
600 |
(FileName: 'amHellish'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
601 |
Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandHellish |
|
602 |
(FileName: 'amMine'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
603 |
Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandMine |
|
604 |
(FileName: 'amSeduction'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
605 |
Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandSeduction |
|
606 |
(FileName: 'amVamp'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
607 |
Width: 128; Height: 128; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandVamp |
|
608 |
(FileName: 'BigExplosion'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
609 |
Width: 385; Height: 385; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprBigExplosion |
|
610 |
(FileName: 'SmokeRing'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
611 |
Width: 200; Height: 200; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprSmokeRing |
|
612 |
(FileName: 'BeeTrace'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
613 |
Width: 16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprBeeTrace |
|
614 |
(FileName: 'Egg'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
615 |
Width: 16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprEgg |
|
616 |
(FileName: 'TargetBee'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
617 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprTargetBee |
|
618 |
(FileName: 'amBee'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
619 |
Width: 128; Height: 128; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandBee |
|
620 |
(FileName: 'Feather'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
621 |
Width: 15; Height: 25; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprFeather |
|
622 |
(FileName: 'Piano'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
623 |
Width: 128; Height: 128; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprPiano |
|
624 |
(FileName: 'amSineGun'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
4913
f0d48df35f86
graphic for sinegun, will probably tweak it soon(TM) though
sheepluva
parents:
4883
diff
changeset
|
625 |
Width: 128; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandSineGun |
4361 | 626 |
(FileName: 'amPortalGun'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
627 |
Width: 128; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprPortalGun |
|
628 |
(FileName: 'Portal'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
629 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprPortal |
|
630 |
(FileName: 'cheese'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
631 |
Width: 16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprCheese |
|
632 |
(FileName: 'amCheese'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
633 |
Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandCheese |
|
634 |
(FileName: 'amFlamethrower'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
635 |
Width: 128; Height: 128; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandFlamethrower |
|
5284
34abd278344e
Remove default transparent chunks. Chunk will only be added if theme defined.
nemo
parents:
5279
diff
changeset
|
636 |
(FileName: 'Chunk'; Path: ptCurrTheme; AltPath: ptNone; Texture: nil; Surface: nil; |
4361 | 637 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprChunk |
638 |
(FileName: 'Note'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
639 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprNote |
|
640 |
(FileName: 'SMineOff'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
641 |
Width: 8; Height: 8; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprSMineOff |
|
642 |
(FileName: 'SMineOn'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
643 |
Width: 8; Height: 8; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprSMineOn |
|
644 |
(FileName: 'amSMine'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
645 |
Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandSMine |
|
646 |
(FileName: 'amHammer'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
6627 | 647 |
Width: 128; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true), // sprHammer |
4361 | 648 |
(FileName: 'amResurrector'; Path: ptHedgehog; AltPath: ptNone; |
649 |
Texture: nil; Surface: nil; Width: 32; Height: 32; |
|
650 |
imageWidth: 0; imageHeight: 0; saveSurf: false; priority: |
|
651 |
tpMedium; getDimensions: false; getImageDimensions: true), |
|
652 |
//sprHandResurrector |
|
6891
ab9843957664
Improve rendering of function types, ranges, and more
unc0rr
parents:
6890
diff
changeset
|
653 |
(FileName: 'Cross'; Path: ptGraphics; AltPath: ptNone; |
4361 | 654 |
Texture: nil; Surface: nil; Width: 108; Height: 138; |
655 |
imageWidth: 0; imageHeight: 0; saveSurf: false; priority: |
|
656 |
tpMedium; getDimensions: false; getImageDimensions: true), |
|
657 |
//sprCross |
|
658 |
(FileName: 'AirDrill'; Path: ptGraphics; AltPath: ptNone; |
|
659 |
Texture: nil; Surface: nil; Width: 16; Height: 16; |
|
660 |
imageWidth: 0; imageHeight: 0; saveSurf: false; priority: |
|
661 |
tpMedium; getDimensions: false; getImageDimensions: true), |
|
662 |
// sprAirDrill |
|
663 |
(FileName: 'NapalmBomb'; Path: ptGraphics; AltPath: ptNone; |
|
664 |
Texture: nil; Surface: nil; Width: 16; Height: 16; |
|
665 |
imageWidth: 0; imageHeight: 0; saveSurf: false; priority: |
|
666 |
tpMedium; getDimensions: false; getImageDimensions: true), |
|
667 |
// sprNapalmBomb |
|
668 |
(FileName: 'BulletHit'; Path: ptGraphics; AltPath: ptNone; |
|
669 |
Texture: nil; Surface: nil; Width: 32; Height: 32; |
|
670 |
imageWidth: 0; imageHeight: 0; saveSurf: false; priority: |
|
4578 | 671 |
tpMedium; getDimensions: false; getImageDimensions: true), |
4361 | 672 |
// sprNapalmBomb |
4578 | 673 |
(FileName: 'Snowball'; Path: ptCurrTheme; AltPath: ptGraphics; Texture: nil; Surface: nil; |
674 |
Width: 16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprSnowball |
|
675 |
(FileName: 'amSnowball'; Path: ptCurrTheme; AltPath: ptHedgehog; Texture: nil; Surface: nil; |
|
4611 | 676 |
Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandSnowball |
677 |
(FileName: 'Snow'; Path: ptCurrTheme; AltPath: ptGraphics; Texture: nil; Surface: nil; |
|
4748 | 678 |
Width: 4; Height: 4; imageWidth: 0; imageHeight: 0; saveSurf: true; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprSnow |
4772
02370ca8e92c
sudden death: now having theme support, still some work though with config
Henek
parents:
4748
diff
changeset
|
679 |
(FileName: 'SDFlake'; Path: ptCurrTheme; AltPath: ptSuddenDeath; Texture: nil; Surface: nil; |
4748 | 680 |
Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprSDFlake |
4772
02370ca8e92c
sudden death: now having theme support, still some work though with config
Henek
parents:
4748
diff
changeset
|
681 |
(FileName: 'SDWater'; Path: ptCurrTheme; AltPath: ptSuddenDeath; Texture: nil; Surface: nil; |
02370ca8e92c
sudden death: now having theme support, still some work though with config
Henek
parents:
4748
diff
changeset
|
682 |
Width: 0; Height: 0; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: true; getImageDimensions: true),// sprSDWater |
02370ca8e92c
sudden death: now having theme support, still some work though with config
Henek
parents:
4748
diff
changeset
|
683 |
(FileName: 'SDClouds'; Path: ptCurrTheme; AltPath: ptSuddenDeath; Texture: nil; Surface: nil; |
4782
603916ddf4b6
added also splash and droplets to sd and refactored theme.cfg, not all themes updated
Henek
parents:
4780
diff
changeset
|
684 |
Width: 256; Height:128; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprSDCloud |
603916ddf4b6
added also splash and droplets to sd and refactored theme.cfg, not all themes updated
Henek
parents:
4780
diff
changeset
|
685 |
(FileName: 'SDSplash'; Path: ptCurrTheme; AltPath: ptSuddenDeath; Texture: nil; Surface: nil; |
603916ddf4b6
added also splash and droplets to sd and refactored theme.cfg, not all themes updated
Henek
parents:
4780
diff
changeset
|
686 |
Width: 80; Height: 50; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprSDSplash |
603916ddf4b6
added also splash and droplets to sd and refactored theme.cfg, not all themes updated
Henek
parents:
4780
diff
changeset
|
687 |
(FileName: 'SDDroplet'; Path: ptCurrTheme; AltPath: ptSuddenDeath; Texture: nil; Surface: nil; |
5706 | 688 |
Width: 16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprSDDroplet |
11021 | 689 |
(FileName: 'Timebox'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
690 |
Width: 50; Height: 81; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprTardis |
|
6627 | 691 |
(FileName: 'slider'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
7495 | 692 |
Width: 3; Height: 17; imageWidth: 3; imageHeight: 17; saveSurf: false; priority: tpLow; getDimensions: false; getImageDimensions: false), // sprSlider |
693 |
(FileName: 'botlevels'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
7730
2013733f9ca9
A bit more on the knife. Also add missing files to CMakeLists
nemo
parents:
7660
diff
changeset
|
694 |
Width: 22; Height: 15; imageWidth: 22; imageHeight: 15; saveSurf: true; priority: tpLow; getDimensions: false; getImageDimensions: false), // sprBotlevels |
7754 | 695 |
(FileName: 'amCleaver'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
696 |
Width: 64; Height: 64; imageWidth: 64; imageHeight: 64; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: false),// sprHandKnife |
|
697 |
(FileName: 'cleaver'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
698 |
Width: 64; Height: 64; imageWidth: 64; imageHeight: 128; saveSurf: false; priority: tpLow; getDimensions: false; getImageDimensions: false), // sprKnife |
|
699 |
(FileName: 'star'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
8548 | 700 |
Width: 12; Height: 12; imageWidth: 12; imageHeight: 12; saveSurf: false; priority: tpLow; getDimensions: false; getImageDimensions: false), // sprStar |
701 |
(FileName: 'icetexture'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
8578
d2bfe0683b9a
ice texture still needs moving to uLandGraphics and circle drawing
nemo
parents:
8568
diff
changeset
|
702 |
Width: 128; Height: 128; imageWidth: 128; imageHeight: 128; saveSurf: true; priority: tpLow; getDimensions: false; getImageDimensions: true), // sprIceTexture |
8554 | 703 |
(FileName: 'amIceGun'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
8560 | 704 |
Width: 32; Height: 32; imageWidth: 32; imageHeight: 32; saveSurf: false; priority: tpLow; getDimensions: false; getImageDimensions: false), // sprIceGun |
8557 | 705 |
(FileName: 'amFrozenHog'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
9768
08799c901a42
Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents:
9723
diff
changeset
|
706 |
Width: 64; Height: 64; imageWidth: 64; imageHeight: 64; saveSurf: false; priority: tpLow; getDimensions: false; getImageDimensions: false), // sprFrozenHog |
08799c901a42
Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents:
9723
diff
changeset
|
707 |
(FileName: 'amRubber'; Path: ptCurrTheme; AltPath: ptGraphics; Texture: nil; Surface: nil; |
9769
5814e0c47c99
Experiment in adding a "boing" graphic for bouncing. It has no text right now (was thinking l10n) and colour is fixed.
nemo
parents:
9768
diff
changeset
|
708 |
Width: 160; Height:160; imageWidth: 0; imageHeight: 0; saveSurf: true; priority: tpMedium; getDimensions: false; getImageDimensions: true), // sprAmRubber |
5814e0c47c99
Experiment in adding a "boing" graphic for bouncing. It has no text right now (was thinking l10n) and colour is fixed.
nemo
parents:
9768
diff
changeset
|
709 |
(FileName: 'boing'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
10339
a1168c400c90
couple of custom sprites for mikade to override in a lua sidecar if he wants to
nemo
parents:
10330
diff
changeset
|
710 |
Width: 101; Height: 97; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpLow; getDimensions: false; getImageDimensions: false), // sprBoing |
a1168c400c90
couple of custom sprites for mikade to override in a lua sidecar if he wants to
nemo
parents:
10330
diff
changeset
|
711 |
(FileName: 'custom1'; Path: ptCurrTheme;AltPath: ptGraphics; Texture: nil; Surface: nil; |
a1168c400c90
couple of custom sprites for mikade to override in a lua sidecar if he wants to
nemo
parents:
10330
diff
changeset
|
712 |
Width: 0; Height: 0; imageWidth: 0; imageHeight: 0; saveSurf: true; priority: tpLow; getDimensions: true; getImageDimensions: true), // sprCustom1 |
a1168c400c90
couple of custom sprites for mikade to override in a lua sidecar if he wants to
nemo
parents:
10330
diff
changeset
|
713 |
(FileName: 'custom2'; Path: ptCurrTheme;AltPath: ptGraphics; Texture: nil; Surface: nil; |
10792
f6df7d6e18e5
Toss in scaled down underwater SD mine as "air mine" pending, er, cybernetic butterflies or whatever
nemo
parents:
10789
diff
changeset
|
714 |
Width: 0; Height: 0; imageWidth: 0; imageHeight: 0; saveSurf: true; priority: tpLow; getDimensions: true; getImageDimensions: true), // sprCustom2 |
f6df7d6e18e5
Toss in scaled down underwater SD mine as "air mine" pending, er, cybernetic butterflies or whatever
nemo
parents:
10789
diff
changeset
|
715 |
(FileName: 'AirMine'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
f6df7d6e18e5
Toss in scaled down underwater SD mine as "air mine" pending, er, cybernetic butterflies or whatever
nemo
parents:
10789
diff
changeset
|
716 |
Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHighest; getDimensions: false; getImageDimensions: true)// sprAirMine |
4361 | 717 |
); |
718 |
||
6982 | 719 |
const |
4361 | 720 |
Wavez: array [TWave] of record |
721 |
Sprite: TSprite; |
|
722 |
FramesCount: Longword; |
|
723 |
Interval: Longword; |
|
6891
ab9843957664
Improve rendering of function types, ranges, and more
unc0rr
parents:
6890
diff
changeset
|
724 |
cmd: string[31]; |
4361 | 725 |
Voice: TSound; |
726 |
VoiceDelay: LongWord; |
|
727 |
end = ( |
|
728 |
(Sprite: sprKowtow; FramesCount: 12; Interval: 125; cmd: '/rollup'; Voice: sndNone; VoiceDelay: 0), |
|
729 |
(Sprite: sprSad; FramesCount: 14; Interval: 125; cmd: '/sad'; Voice: sndNone; VoiceDelay: 0), |
|
730 |
(Sprite: sprWave; FramesCount: 16; Interval: 125; cmd: '/wave'; Voice: sndHello; VoiceDelay: 5), |
|
731 |
(Sprite: sprHurrah; FramesCount: 14; Interval: 125; cmd: '/hurrah'; Voice: sndNone; VoiceDelay: 0), |
|
732 |
(Sprite: sprLemonade; FramesCount: 24; Interval: 125; cmd: '/ilovelotsoflemonade'; Voice: sndNone; VoiceDelay: 0), |
|
733 |
(Sprite: sprShrug; FramesCount: 24; Interval: 125; cmd: '/shrug'; Voice: sndNone; VoiceDelay: 0), |
|
734 |
(Sprite: sprJuggle; FramesCount: 49; Interval: 38; cmd: '/juggle'; Voice: sndNone; VoiceDelay: 0) |
|
735 |
); |
|
736 |
||
6982 | 737 |
var |
4361 | 738 |
Ammoz: array [TAmmoType] of record |
739 |
NameId: TAmmoStrId; |
|
740 |
NameTex: PTexture; |
|
741 |
Probability, NumberInCase: Longword; |
|
742 |
Ammo: TAmmo; |
|
743 |
Slot: 0..cMaxSlotIndex; |
|
744 |
TimeAfterTurn: Longword; |
|
745 |
minAngle, maxAngle: Longword; |
|
746 |
isDamaging: boolean; |
|
10015 | 747 |
SkipTurns: LongWord; |
4361 | 748 |
PosCount: Longword; |
749 |
PosSprite: TSprite; |
|
750 |
ejectX, ejectY: Longint; |
|
751 |
end = ( |
|
752 |
(NameId: sidNothing; |
|
753 |
NameTex: nil; |
|
754 |
Probability: 0; |
|
755 |
NumberInCase: 0; |
|
756 |
Ammo: (Propz: ammoprop_NoCrosshair or ammoprop_DontHold or ammoprop_Effect; |
|
757 |
Count: AMMO_INFINITE; |
|
758 |
NumPerTurn: 0; |
|
759 |
Timer: 0; |
|
760 |
Pos: 0; |
|
761 |
AmmoType: amNothing; |
|
5319
51d8e4747876
bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents:
5316
diff
changeset
|
762 |
AttackVoice: sndNone; |
51d8e4747876
bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents:
5316
diff
changeset
|
763 |
Bounciness: 1000); |
4361 | 764 |
Slot: 0; |
765 |
TimeAfterTurn: 0; |
|
766 |
minAngle: 0; |
|
767 |
maxAngle: 0; |
|
768 |
isDamaging: false; |
|
769 |
SkipTurns: 9999; |
|
770 |
PosCount: 1; |
|
771 |
PosSprite: sprWater; |
|
772 |
ejectX: 0; |
|
773 |
ejectY: 0), |
|
774 |
||
775 |
// Grenade |
|
776 |
(NameId: sidGrenade; |
|
777 |
NameTex: nil; |
|
778 |
Probability: 0; |
|
779 |
NumberInCase: 1; |
|
8330 | 780 |
Ammo: (Propz: ammoprop_Timerable or |
781 |
ammoprop_Power or |
|
782 |
ammoprop_AltUse or |
|
6941
228c0ab239f1
add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents:
6894
diff
changeset
|
783 |
ammoprop_SetBounce or |
228c0ab239f1
add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents:
6894
diff
changeset
|
784 |
ammoprop_NeedUpDown; |
4361 | 785 |
Count: AMMO_INFINITE; |
786 |
NumPerTurn: 0; |
|
787 |
Timer: 3000; |
|
788 |
Pos: 0; |
|
789 |
AmmoType: amGrenade; |
|
5319
51d8e4747876
bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents:
5316
diff
changeset
|
790 |
AttackVoice: sndCover; |
51d8e4747876
bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents:
5316
diff
changeset
|
791 |
Bounciness: 1000); |
4361 | 792 |
Slot: 1; |
793 |
TimeAfterTurn: 3000; |
|
794 |
minAngle: 0; |
|
795 |
maxAngle: 0; |
|
796 |
isDamaging: true; |
|
797 |
SkipTurns: 0; |
|
798 |
PosCount: 1; |
|
799 |
PosSprite: sprWater; |
|
800 |
ejectX: 0; |
|
801 |
ejectY: 0), |
|
802 |
||
803 |
// ClusterBomb |
|
804 |
(NameId: sidClusterBomb; |
|
805 |
NameTex: nil; |
|
806 |
Probability: 100; |
|
807 |
NumberInCase: 3; |
|
8330 | 808 |
Ammo: (Propz: ammoprop_Timerable or |
809 |
ammoprop_Power or |
|
810 |
ammoprop_AltUse or |
|
6941
228c0ab239f1
add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents:
6894
diff
changeset
|
811 |
ammoprop_SetBounce or |
228c0ab239f1
add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents:
6894
diff
changeset
|
812 |
ammoprop_NeedUpDown; |
4361 | 813 |
Count: 5; |
814 |
NumPerTurn: 0; |
|
815 |
Timer: 3000; |
|
816 |
Pos: 0; |
|
817 |
AmmoType: amClusterBomb; |
|
5319
51d8e4747876
bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents:
5316
diff
changeset
|
818 |
AttackVoice: sndCover; |
51d8e4747876
bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents:
5316
diff
changeset
|
819 |
Bounciness: 1000); |
4361 | 820 |
Slot: 1; |
821 |
TimeAfterTurn: 3000; |
|
822 |
minAngle: 0; |
|
823 |
maxAngle: 0; |
|
824 |
isDamaging: true; |
|
825 |
SkipTurns: 0; |
|
826 |
PosCount: 1; |
|
827 |
PosSprite: sprWater; |
|
828 |
ejectX: 0; |
|
829 |
ejectY: 0), |
|
830 |
||
831 |
// Bazooka |
|
832 |
(NameId: sidBazooka; |
|
833 |
NameTex: nil; |
|
834 |
Probability: 0; |
|
835 |
NumberInCase: 1; |
|
8330 | 836 |
Ammo: (Propz: ammoprop_Power or |
6941
228c0ab239f1
add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents:
6894
diff
changeset
|
837 |
ammoprop_AltUse or |
228c0ab239f1
add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents:
6894
diff
changeset
|
838 |
ammoprop_NeedUpDown; |
4361 | 839 |
Count: AMMO_INFINITE; |
840 |
NumPerTurn: 0; |
|
841 |
Timer: 0; |
|
842 |
Pos: 0; |
|
843 |
AmmoType: amBazooka; |
|
5319
51d8e4747876
bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents:
5316
diff
changeset
|
844 |
AttackVoice: sndNone; |
51d8e4747876
bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents:
5316
diff
changeset
|
845 |
Bounciness: 1000); |
4361 | 846 |
Slot: 0; |
847 |
TimeAfterTurn: 3000; |
|
848 |
minAngle: 0; |
|
849 |
maxAngle: 0; |
|
850 |
isDamaging: true; |
|
851 |
SkipTurns: 0; |
|
852 |
PosCount: 1; |
|
853 |
PosSprite: sprWater; |
|
854 |
ejectX: 0; //20; |
|
855 |
ejectY: -6), |
|
856 |
||
857 |
// Bee |
|
858 |
(NameId: sidBee; |
|
859 |
NameTex: nil; |
|
860 |
Probability: 100; |
|
861 |
NumberInCase: 1; |
|
8330 | 862 |
Ammo: (Propz: ammoprop_Power or |
863 |
ammoprop_NeedTarget or |
|
6941
228c0ab239f1
add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents:
6894
diff
changeset
|
864 |
ammoprop_DontHold or |
228c0ab239f1
add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents:
6894
diff
changeset
|
865 |
ammoprop_NeedUpDown; |
4361 | 866 |
Count: 2; |
867 |
NumPerTurn: 0; |
|
868 |
Timer: 0; |
|
869 |
Pos: 0; |
|
870 |
AmmoType: amBee; |
|
5319
51d8e4747876
bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents:
5316
diff
changeset
|
871 |
AttackVoice: sndNone; |
51d8e4747876
bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents:
5316
diff
changeset
|
872 |
Bounciness: 1000); |
4361 | 873 |
Slot: 0; |
874 |
TimeAfterTurn: 3000; |
|
875 |
minAngle: 0; |
|
876 |
maxAngle: 0; |
|
877 |
isDamaging: true; |
|
878 |
SkipTurns: 0; |
|
5372
7283bc768228
Change bee pos sprite, make aiming napalm a little easier, adjust napalm flames to be more centred on the target
nemo
parents:
5357
diff
changeset
|
879 |
PosCount: 2; |
7283bc768228
Change bee pos sprite, make aiming napalm a little easier, adjust napalm flames to be more centred on the target
nemo
parents:
5357
diff
changeset
|
880 |
PosSprite: sprTargetBee; |
4361 | 881 |
ejectX: 0; //16; |
882 |
ejectY: 0), |
|
883 |
||
884 |
// Shotgun |
|
885 |
(NameId: sidShotgun; |
|
886 |
NameTex: nil; |
|
887 |
Probability: 0; |
|
888 |
NumberInCase: 1; |
|
6941
228c0ab239f1
add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents:
6894
diff
changeset
|
889 |
Ammo: (Propz: ammoprop_ForwMsgs or |
9573 | 890 |
ammoprop_NeedUpDown or |
891 |
ammoprop_DoesntStopTimerInMultiShoot; |
|
4361 | 892 |
Count: AMMO_INFINITE; |
893 |
NumPerTurn: 1; |
|
894 |
Timer: 0; |
|
895 |
Pos: 0; |
|
896 |
AmmoType: amShotgun; |
|
5319
51d8e4747876
bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents:
5316
diff
changeset
|
897 |
AttackVoice: sndNone; |
51d8e4747876
bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents:
5316
diff
changeset
|
898 |
Bounciness: 1000); |
4361 | 899 |
Slot: 2; |
900 |
TimeAfterTurn: 3000; |
|
901 |
minAngle: 0; |
|
902 |
maxAngle: 0; |
|
903 |
isDamaging: true; |
|
904 |
SkipTurns: 0; |
|
905 |
PosCount: 1; |
|
906 |
PosSprite: sprWater; |
|
907 |
ejectX: 0; //26; |
|
908 |
ejectY: -6), |
|
909 |
||
910 |
// PickHammer |
|
911 |
(NameId: sidPickHammer; |
|
912 |
NameTex: nil; |
|
913 |
Probability: 0; |
|
914 |
NumberInCase: 1; |
|
8330 | 915 |
Ammo: (Propz: ammoprop_ForwMsgs or |
916 |
ammoprop_AttackInMove or |
|
917 |
ammoprop_NoCrosshair or |
|
6941
228c0ab239f1
add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents:
6894
diff
changeset
|
918 |
ammoprop_DontHold; |
4361 | 919 |
Count: 2; |
920 |
NumPerTurn: 0; |
|
921 |
Timer: 0; |
|
922 |
Pos: 0; |
|
923 |
AmmoType: amPickHammer; |
|
5319
51d8e4747876
bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents:
5316
diff
changeset
|
924 |
AttackVoice: sndNone; |
51d8e4747876
bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents:
5316
diff
changeset
|
925 |
Bounciness: 1000); |
4361 | 926 |
Slot: 6; |
927 |
TimeAfterTurn: 0; |
|
928 |
minAngle: 0; |
|
929 |
maxAngle: 0; |
|
930 |
isDamaging: false; |
|
931 |
SkipTurns: 0; |
|
932 |
PosCount: 1; |
|
933 |
PosSprite: sprWater; |
|
934 |
ejectX: 0; |
|
935 |
ejectY: 0), |
|
936 |
||
937 |
// Skip |
|
938 |
(NameId: sidSkip; |
|
939 |
NameTex: nil; |
|
940 |
Probability: 0; |
|
941 |
NumberInCase: 1; |
|
9839 | 942 |
Ammo: (Propz: ammoprop_NoCrosshair or |
943 |
ammoprop_AttackInMove or |
|
6941
228c0ab239f1
add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents:
6894
diff
changeset
|
944 |
ammoprop_DontHold; |
4361 | 945 |
Count: AMMO_INFINITE; |
946 |
NumPerTurn: 0; |
|
947 |
Timer: 0; |
|
948 |
Pos: 0; |
|
949 |
AmmoType: amSkip; |
|
5319
51d8e4747876
bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents:
5316
diff
changeset
|
950 |
AttackVoice: sndNone; |
51d8e4747876
bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents:
5316
diff
changeset
|
951 |
Bounciness: 1000); |
4361 | 952 |
Slot: 9; |
953 |
TimeAfterTurn: 0; |
|
954 |
minAngle: 0; |
|
955 |
maxAngle: 0; |
|
956 |
isDamaging: false; |
|
957 |
SkipTurns: 0; |
|
958 |
PosCount: 1; |
|
959 |
PosSprite: sprWater; |
|
960 |
ejectX: 0; |
|
961 |
ejectY: 0), |
|
962 |
||
963 |
// Rope |
|
964 |
(NameId: sidRope; |
|
965 |
NameTex: nil; |
|
966 |
Probability: 100; |
|
967 |
NumberInCase: 3; |
|
968 |
Ammo: (Propz: ammoprop_NoRoundEnd or |
|
969 |
ammoprop_ForwMsgs or |
|
970 |
ammoprop_AttackInMove or |
|
971 |
ammoprop_Utility or |
|
6941
228c0ab239f1
add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents:
6894
diff
changeset
|
972 |
ammoprop_AltAttack or |
9573 | 973 |
ammoprop_NeedUpDown or |
974 |
ammoprop_DoesntStopTimerWhileAttacking; |
|
4361 | 975 |
Count: 5; |
976 |
NumPerTurn: 0; |
|
977 |
Timer: 0; |
|
978 |
Pos: 0; |
|
979 |
AmmoType: amRope; |
|
5319
51d8e4747876
bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents:
5316
diff
changeset
|
980 |
AttackVoice: sndNone; |
51d8e4747876
bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents:
5316
diff
changeset
|
981 |
Bounciness: 1000); |
4361 | 982 |
Slot: 7; |
983 |
TimeAfterTurn: 0; |
|
984 |
minAngle: 0; |
|
985 |
maxAngle: cMaxAngle div 2; |
|
986 |
isDamaging: false; |
|
987 |
SkipTurns: 0; |
|
988 |
PosCount: 1; |
|
989 |
PosSprite: sprWater; |
|
990 |
ejectX: 0; |
|
991 |
ejectY: 0), |
|
992 |
||
993 |
// Mine |
|
994 |
(NameId: sidMine; |
|
995 |
NameTex: nil; |
|
996 |
Probability: 100; |
|
997 |
NumberInCase: 1; |
|
8330 | 998 |
Ammo: (Propz: ammoprop_NoCrosshair or |
999 |
ammoprop_AttackInMove or |
|
1000 |
ammoprop_DontHold or |
|
1001 |
ammoprop_AltUse or |
|
6941
228c0ab239f1
add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents:
6894
diff
changeset
|
1002 |
ammoprop_SetBounce; |
4361 | 1003 |
Count: 2; |
1004 |
NumPerTurn: 0; |
|
1005 |
Timer: 0; |
|
1006 |
Pos: 0; |
|
1007 |
AmmoType: amMine; |
|
5319
51d8e4747876
bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents:
5316
diff
changeset
|
1008 |
AttackVoice: sndLaugh; |
51d8e4747876
bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents:
5316
diff
changeset
|
1009 |
Bounciness: 1000); |
4361 | 1010 |
Slot: 4; |
1011 |
TimeAfterTurn: 5000; |
|
1012 |
minAngle: 0; |
|
1013 |
maxAngle: 0; |
|
1014 |
isDamaging: true; |
|
1015 |
SkipTurns: 0; |
|
1016 |
PosCount: 1; |
|
1017 |
PosSprite: sprWater; |
|
1018 |
ejectX: 0; |
|
1019 |
ejectY: 0), |
|
1020 |
||
1021 |
// DEagle |
|
1022 |
(NameId: sidDEagle; |
|
1023 |
NameTex: nil; |
|
1024 |
Probability: 20; |
|
1025 |
NumberInCase: 2; |
|
9573 | 1026 |
Ammo: (Propz: ammoprop_NeedUpDown or ammoprop_DoesntStopTimerInMultiShoot; |
4361 | 1027 |
Count: 3; |
1028 |
NumPerTurn: 3; |
|
1029 |
Timer: 0; |
|
1030 |
Pos: 0; |
|
1031 |
AmmoType: amDEagle; |
|
5319
51d8e4747876
bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents:
5316
diff
changeset
|
1032 |
AttackVoice: sndNone; |
51d8e4747876
bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents:
5316
diff
changeset
|
1033 |
Bounciness: 1000); |
4361 | 1034 |
Slot: 2; |
1035 |
TimeAfterTurn: 3000; |
|
1036 |
minAngle: 0; |
|
1037 |
maxAngle: 0; |
|
1038 |
isDamaging: true; |
|
1039 |
SkipTurns: 0; |
|
1040 |
PosCount: 1; |
|
1041 |
PosSprite: sprWater; |
|
1042 |
ejectX: 0; //23; |
|
1043 |
ejectY: -6), |
|
1044 |
||
1045 |
// Dynamite |
|
1046 |
(NameId: sidDynamite; |
|
1047 |
NameTex: nil; |
|
1048 |
Probability: 100; |
|
1049 |
NumberInCase: 1; |
|
8330 | 1050 |
Ammo: (Propz: ammoprop_NoCrosshair or |
1051 |
ammoprop_AttackInMove or |
|
1052 |
ammoprop_DontHold or |
|
6941
228c0ab239f1
add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents:
6894
diff
changeset
|
1053 |
ammoprop_AltUse; |
4361 | 1054 |
Count: 1; |
1055 |
NumPerTurn: 0; |
|
1056 |
Timer: 0; |
|
1057 |
Pos: 0; |
|
1058 |
AmmoType: amDynamite; |
|
5319
51d8e4747876
bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents:
5316
diff
changeset
|
1059 |
AttackVoice: sndLaugh; |
51d8e4747876
bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents:
5316
diff
changeset
|
1060 |
Bounciness: 1000); |
4361 | 1061 |
Slot: 4; |
1062 |
TimeAfterTurn: 5000; |
|
1063 |
minAngle: 0; |
|
1064 |
maxAngle: 0; |
|
1065 |
isDamaging: true; |
|
1066 |
SkipTurns: 0; |
|
1067 |
PosCount: 1; |
|
1068 |
PosSprite: sprWater; |
|
1069 |
ejectX: 0; |
|
1070 |
ejectY: 0), |
|
1071 |
||
1072 |
// FirePunch |
|
1073 |
(NameId: sidFirePunch; |
|
1074 |
NameTex: nil; |
|
1075 |
Probability: 0; |
|
1076 |
NumberInCase: 1; |
|
8330 | 1077 |
Ammo: (Propz: ammoprop_NoCrosshair or |
1078 |
ammoprop_ForwMsgs or |
|
6941
228c0ab239f1
add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents:
6894
diff
changeset
|
1079 |
ammoprop_AttackInMove; |
4361 | 1080 |
Count: AMMO_INFINITE; |
1081 |
NumPerTurn: 0; |
|
1082 |
Timer: 0; |
|
1083 |
Pos: 0; |
|
1084 |
AmmoType: amFirePunch; |
|
5319
51d8e4747876
bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents:
5316
diff
changeset
|
1085 |
AttackVoice: sndNone; |
51d8e4747876
bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents:
5316
diff
changeset
|
1086 |
Bounciness: 1000); |
4361 | 1087 |
Slot: 3; |
1088 |
TimeAfterTurn: 3000; |
|
6894 | 1089 |
minAngle: 0; |
4361 | 1090 |
maxAngle: 0; |
1091 |
isDamaging: true; |
|
1092 |
SkipTurns: 0; |
|
1093 |
PosCount: 1; |
|
1094 |
PosSprite: sprWater; |
|
1095 |
ejectX: 0; |
|
1096 |
ejectY: 0), |
|
1097 |
||
1098 |
// Whip |
|
1099 |
(NameId: sidWhip; |
|
1100 |
NameTex: nil; |
|
1101 |
Probability: 0; |
|
1102 |
NumberInCase: 1; |
|
1103 |
Ammo: (Propz: ammoprop_NoCrosshair; |
|
1104 |
Count: AMMO_INFINITE; |
|
1105 |
NumPerTurn: 0; |
|
1106 |
Timer: 0; |
|
1107 |
Pos: 0; |
|
1108 |
AmmoType: amWhip; |
|
5319
51d8e4747876
bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents:
5316
diff
changeset
|
1109 |
AttackVoice: sndNone; |
51d8e4747876
bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents:
5316
diff
changeset
|
1110 |
Bounciness: 1000); |
4361 | 1111 |
Slot: 3; |
1112 |
TimeAfterTurn: 3000; |
|
6894 | 1113 |
minAngle: 0; |
4361 | 1114 |
maxAngle: 0; |
1115 |
isDamaging: true; |
|
1116 |
SkipTurns: 0; |
|
1117 |
PosCount: 1; |
|
1118 |
PosSprite: sprWater; |
|
1119 |
ejectX: 0; |
|
1120 |
ejectY: 0), |
|
1121 |
||
1122 |
// BaseballBat |
|
1123 |
(NameId: sidBaseballBat; |
|
1124 |
NameTex: nil; |
|
1125 |
Probability: 100; |
|
1126 |
NumberInCase: 1; |
|
6941
228c0ab239f1
add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents:
6894
diff
changeset
|
1127 |
Ammo: (Propz: ammoprop_DontHold or |
228c0ab239f1
add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents:
6894
diff
changeset
|
1128 |
ammoprop_NeedUpDown; |
4361 | 1129 |
Count: 1; |
1130 |
NumPerTurn: 0; |
|
1131 |
Timer: 0; |
|
1132 |
Pos: 0; |
|
1133 |
AmmoType: amBaseballBat; |
|
5319
51d8e4747876
bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents:
5316
diff
changeset
|
1134 |
AttackVoice: sndNone; |
51d8e4747876
bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents:
5316
diff
changeset
|
1135 |
Bounciness: 1000); |
4361 | 1136 |
Slot: 3; |
1137 |
TimeAfterTurn: 5000; |
|
1138 |
minAngle: 0; |
|
1139 |
maxAngle: cMaxAngle div 2; |
|
1140 |
isDamaging: true; |
|
1141 |
SkipTurns: 2; |
|
1142 |
PosCount: 1; |
|
1143 |
PosSprite: sprWater; |
|
1144 |
ejectX: 0; |
|
1145 |
ejectY: 0), |
|
1146 |
||
1147 |
// Parachute |
|
1148 |
(NameId: sidParachute; |
|
1149 |
NameTex: nil; |
|
1150 |
Probability: 100; |
|
1151 |
NumberInCase: 1; |
|
1152 |
Ammo: (Propz: ammoprop_NoRoundEnd or |
|
1153 |
ammoprop_ForwMsgs or |
|
1154 |
ammoprop_AttackInMove or |
|
1155 |
ammoprop_NoCrosshair or |
|
1156 |
ammoprop_DontHold or |
|
1157 |
ammoprop_Utility or |
|
6941
228c0ab239f1
add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents:
6894
diff
changeset
|
1158 |
ammoprop_AltAttack or |
228c0ab239f1
add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents:
6894
diff
changeset
|
1159 |
ammoprop_NeedUpDown; |
4361 | 1160 |
Count: 2; |
1161 |
NumPerTurn: 0; |
|
1162 |
Timer: 0; |
|
1163 |
Pos: 0; |
|
1164 |
AmmoType: amParachute; |
|
5319
51d8e4747876
bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents:
5316
diff
changeset
|
1165 |
AttackVoice: sndNone; |
51d8e4747876
bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents:
5316
diff
changeset
|
1166 |
Bounciness: 1000); |
4361 | 1167 |
Slot: 7; |
1168 |
TimeAfterTurn: 0; |
|
1169 |
minAngle: 0; |
|
1170 |
maxAngle: 0; |
|
1171 |
isDamaging: false; |
|
1172 |
SkipTurns: 0; |
|
1173 |
PosCount: 1; |
|
1174 |
PosSprite: sprWater; |
|
1175 |
ejectX: 0; |
|
1176 |
ejectY: 0), |
|
1177 |
||
1178 |
// AirAttack |
|
1179 |
(NameId: sidAirAttack; |
|
1180 |
NameTex: nil; |
|
1181 |
Probability: 100; |
|
1182 |
NumberInCase: 1; |
|
1183 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
6941
228c0ab239f1
add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents:
6894
diff
changeset
|
1184 |
ammoprop_NeedTarget or |
228c0ab239f1
add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents:
6894
diff
changeset
|
1185 |
ammoprop_AttackingPut or |
228c0ab239f1
add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents:
6894
diff
changeset
|
1186 |
ammoprop_DontHold or |
228c0ab239f1
add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents:
6894
diff
changeset
|
1187 |
ammoprop_NotBorder; |
4361 | 1188 |
Count: 1; |
1189 |
NumPerTurn: 0; |
|
1190 |
Timer: 0; |
|
1191 |
Pos: 0; |
|
1192 |
AmmoType: amAirAttack; |
|
5319
51d8e4747876
bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents:
5316
diff
changeset
|
1193 |
AttackVoice: sndIncoming; |
51d8e4747876
bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents:
5316
diff
changeset
|
1194 |
Bounciness: 1000); |
4361 | 1195 |
Slot: 5; |
1196 |
TimeAfterTurn: 0; |
|
1197 |
minAngle: 0; |
|
1198 |
maxAngle: 0; |
|
1199 |
isDamaging: true; |
|
1200 |
SkipTurns: 5; |
|
1201 |
PosCount: 2; |
|
1202 |
PosSprite: sprAmAirplane; |
|
1203 |
ejectX: 0; |
|
1204 |
ejectY: 0), |
|
1205 |
||
1206 |
// MineStrike |
|
1207 |
(NameId: sidMineStrike; |
|
1208 |
NameTex: nil; |
|
1209 |
Probability: 200; |
|
1210 |
NumberInCase: 1; |
|
1211 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
6941
228c0ab239f1
add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents:
6894
diff
changeset
|
1212 |
ammoprop_NeedTarget or |
228c0ab239f1
add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents:
6894
diff
changeset
|
1213 |
ammoprop_AttackingPut or |
228c0ab239f1
add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents:
6894
diff
changeset
|
1214 |
ammoprop_DontHold or |
228c0ab239f1
add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents:
6894
diff
changeset
|
1215 |
ammoprop_NotBorder; |
4361 | 1216 |
Count: 1; |
1217 |
NumPerTurn: 0; |
|
1218 |
Timer: 0; |
|
1219 |
Pos: 0; |
|
1220 |
AmmoType: amMineStrike; |
|
5319
51d8e4747876
bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents:
5316
diff
changeset
|
1221 |
AttackVoice: sndIncoming; |
51d8e4747876
bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents:
5316
diff
changeset
|
1222 |
Bounciness: 1000); |
4361 | 1223 |
Slot: 5; |
1224 |
TimeAfterTurn: 0; |
|
1225 |
minAngle: 0; |
|
1226 |
maxAngle: 0; |
|
1227 |
isDamaging: true; |
|
1228 |
SkipTurns: 5; |
|
1229 |
PosCount: 2; |
|
1230 |
PosSprite: sprAmAirplane; |
|
1231 |
ejectX: 0; |
|
1232 |
ejectY: 0), |
|
1233 |
||
1234 |
// BlowTorch |
|
1235 |
(NameId: sidBlowTorch; |
|
1236 |
NameTex: nil; |
|
1237 |
Probability: 100; |
|
1238 |
NumberInCase: 2; |
|
6941
228c0ab239f1
add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents:
6894
diff
changeset
|
1239 |
Ammo: (Propz: ammoprop_ForwMsgs or |
228c0ab239f1
add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents:
6894
diff
changeset
|
1240 |
ammoprop_NeedUpDown; |
4361 | 1241 |
Count: 1; |
1242 |
NumPerTurn: 0; |
|
1243 |
Timer: 0; |
|
1244 |
Pos: 0; |
|
1245 |
AmmoType: amBlowTorch; |
|
5319
51d8e4747876
bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents:
5316
diff
changeset
|
1246 |
AttackVoice: sndNone; |
51d8e4747876
bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents:
5316
diff
changeset
|
1247 |
Bounciness: 1000); |
4361 | 1248 |
Slot: 6; |
1249 |
TimeAfterTurn: 3000; |
|
8617
e7bea88096d2
So. A while ago, while trying to prevent hogs blowtorching getting turned around, unc0rr altered the old range of blowtorch from 1/8th of 180° up or down, to a 4° gain in upwards and a -4° loss in downwards. He also made it so that starting tunnels could fail to erase sufficient terrain, trapping hogs. Here are a couple of workarounds to more closely approximate old behaviour (do some initial erasure, adjust min/max angles)
nemo
parents:
8596
diff
changeset
|
1250 |
minAngle: 804; |
e7bea88096d2
So. A while ago, while trying to prevent hogs blowtorching getting turned around, unc0rr altered the old range of blowtorch from 1/8th of 180° up or down, to a 4° gain in upwards and a -4° loss in downwards. He also made it so that starting tunnels could fail to erase sufficient terrain, trapping hogs. Here are a couple of workarounds to more closely approximate old behaviour (do some initial erasure, adjust min/max angles)
nemo
parents:
8596
diff
changeset
|
1251 |
maxAngle: 1327; |
4361 | 1252 |
isDamaging: false; |
1253 |
SkipTurns: 0; |
|
1254 |
PosCount: 1; |
|
1255 |
PosSprite: sprWater; |
|
1256 |
ejectX: 0; |
|
1257 |
ejectY: 0), |
|
1258 |
||
1259 |
// Girder |
|
1260 |
(NameId: sidGirder; |
|
1261 |
NameTex: nil; |
|
1262 |
Probability: 150; |
|
1263 |
NumberInCase: 3; |
|
1264 |
Ammo: (Propz: ammoprop_NoRoundEnd or |
|
1265 |
ammoprop_NoCrosshair or |
|
1266 |
ammoprop_NeedTarget or |
|
1267 |
ammoprop_Utility or |
|
1268 |
ammoprop_AttackingPut; |
|
1269 |
Count: 1; |
|
1270 |
NumPerTurn: 0; |
|
1271 |
Timer: 0; |
|
1272 |
Pos: 0; |
|
1273 |
AmmoType: amGirder; |
|
5319
51d8e4747876
bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents:
5316
diff
changeset
|
1274 |
AttackVoice: sndNone; |
51d8e4747876
bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents:
5316
diff
changeset
|
1275 |
Bounciness: 1000); |
4361 | 1276 |
Slot: 6; |
1277 |
TimeAfterTurn: 3000; |
|
1278 |
minAngle: 0; |
|
1279 |
maxAngle: 0; |
|
1280 |
isDamaging: false; |
|
1281 |
SkipTurns: 0; |
|
1282 |
PosCount: 8; |
|
1283 |
PosSprite: sprAmGirder; |
|
1284 |
ejectX: 0; |
|
1285 |
ejectY: 0), |
|
1286 |
||
1287 |
// Teleport |
|
1288 |
(NameId: sidTeleport; |
|
1289 |
NameTex: nil; |
|
1290 |
Probability: 200; |
|
1291 |
NumberInCase: 1; |
|
1292 |
Ammo: (Propz: ammoprop_ForwMsgs or |
|
1293 |
ammoprop_NoCrosshair or |
|
1294 |
ammoprop_NeedTarget or |
|
1295 |
ammoprop_AttackingPut or |
|
1296 |
ammoprop_Utility or |
|
1297 |
ammoprop_DontHold; |
|
1298 |
Count: 2; |
|
1299 |
NumPerTurn: 0; |
|
1300 |
Timer: 0; |
|
1301 |
Pos: 0; |
|
1302 |
AmmoType: amTeleport; |
|
5319
51d8e4747876
bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents:
5316
diff
changeset
|
1303 |
AttackVoice: sndNone; |
51d8e4747876
bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents:
5316
diff
changeset
|
1304 |
Bounciness: 1000); |
4361 | 1305 |
Slot: 7; |
1306 |
TimeAfterTurn: 0; |
|
1307 |
minAngle: 0; |
|
1308 |
maxAngle: 0; |
|
1309 |
isDamaging: false; |
|
1310 |
SkipTurns: 0; |
|
1311 |
PosCount: 2; |
|
1312 |
PosSprite: sprAmTeleport; |
|
1313 |
ejectX: 0; |
|
1314 |
ejectY: 0), |
|
1315 |
||