hedgewars/uVariables.pas
author sheepluva
Wed, 31 Jul 2019 23:14:27 +0200
branchui-scaling
changeset 15288 c4fd2813b127
parent 13394 24b531dcebe7
parent 15272 22f2fd8a3d2c
permissions -rw-r--r--
merge 1.0.0 beta 1 into ui-scaling branch
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4976
088d40d8aba2 Happy 2011 :)
koda
parents: 4956
diff changeset
     1
(*
088d40d8aba2 Happy 2011 :)
koda
parents: 4956
diff changeset
     2
 * Hedgewars, a free turn based strategy game
11046
47a8c19ecb60 more copyright fixes
sheepluva
parents: 11021
diff changeset
     3
 * Copyright (c) 2004-2015 Andrey Korotaev <unC0Rr@gmail.com>
4976
088d40d8aba2 Happy 2011 :)
koda
parents: 4956
diff changeset
     4
 *
088d40d8aba2 Happy 2011 :)
koda
parents: 4956
diff changeset
     5
 * This program is free software; you can redistribute it and/or modify
088d40d8aba2 Happy 2011 :)
koda
parents: 4956
diff changeset
     6
 * it under the terms of the GNU General Public License as published by
088d40d8aba2 Happy 2011 :)
koda
parents: 4956
diff changeset
     7
 * the Free Software Foundation; version 2 of the License
088d40d8aba2 Happy 2011 :)
koda
parents: 4956
diff changeset
     8
 *
088d40d8aba2 Happy 2011 :)
koda
parents: 4956
diff changeset
     9
 * This program is distributed in the hope that it will be useful,
088d40d8aba2 Happy 2011 :)
koda
parents: 4956
diff changeset
    10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
088d40d8aba2 Happy 2011 :)
koda
parents: 4956
diff changeset
    11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
088d40d8aba2 Happy 2011 :)
koda
parents: 4956
diff changeset
    12
 * GNU General Public License for more details.
088d40d8aba2 Happy 2011 :)
koda
parents: 4956
diff changeset
    13
 *
088d40d8aba2 Happy 2011 :)
koda
parents: 4956
diff changeset
    14
 * You should have received a copy of the GNU General Public License
088d40d8aba2 Happy 2011 :)
koda
parents: 4956
diff changeset
    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
088d40d8aba2 Happy 2011 :)
koda
parents: 4956
diff changeset
    17
 *)
088d40d8aba2 Happy 2011 :)
koda
parents: 4956
diff changeset
    18
6426
2d44f6561e72 Help parser a bit
unc0rr
parents: 6415
diff changeset
    19
{$INCLUDE "options.inc"}
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
    20
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
    21
unit uVariables;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
    22
interface
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
    23
11096
1742f5b020f3 - Fix for "Exception: Could not load OpenGL from /System/Library/Frameworks/OpenGL.framework/Libraries/libGL.dylib" at start of app
antonc27 <antonc27@mail.ru>
parents: 11021
diff changeset
    24
uses SDLh, uTypes, uFloat, GLunit, uConsts, Math, uUtils{$IFDEF GL2}, uMatrix{$ENDIF};
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
    25
11709
1694b379c83f fix clouds/flakes area not being adjusted after ResizeLand()
sheepluva
parents: 11525
diff changeset
    26
procedure initScreenSpaceVars();
1694b379c83f fix clouds/flakes area not being adjusted after ResizeLand()
sheepluva
parents: 11525
diff changeset
    27
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
    28
var
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
    29
/////// init flags ///////
7848
775a72905708 * fix initialisation, preload values and then read args
koda
parents: 7780
diff changeset
    30
    cMinScreenWidth    : LongInt;
775a72905708 * fix initialisation, preload values and then read args
koda
parents: 7780
diff changeset
    31
    cMinScreenHeight   : LongInt;
8354
c25bee85d6f8 Separated fullscreen and windowed hwengine resolution parameters.
vitiv <nikita.utiu@gmail.com>
parents: 8309
diff changeset
    32
    cFullscreenWidth   : LongInt;
c25bee85d6f8 Separated fullscreen and windowed hwengine resolution parameters.
vitiv <nikita.utiu@gmail.com>
parents: 8309
diff changeset
    33
    cFullscreenHeight  : LongInt;
c25bee85d6f8 Separated fullscreen and windowed hwengine resolution parameters.
vitiv <nikita.utiu@gmail.com>
parents: 8309
diff changeset
    34
    cWindowedWidth     : LongInt;
c25bee85d6f8 Separated fullscreen and windowed hwengine resolution parameters.
vitiv <nikita.utiu@gmail.com>
parents: 8309
diff changeset
    35
    cWindowedHeight    : LongInt;
7848
775a72905708 * fix initialisation, preload values and then read args
koda
parents: 7780
diff changeset
    36
    cScreenWidth       : LongInt;
775a72905708 * fix initialisation, preload values and then read args
koda
parents: 7780
diff changeset
    37
    cScreenHeight      : LongInt;
775a72905708 * fix initialisation, preload values and then read args
koda
parents: 7780
diff changeset
    38
    cNewScreenWidth    : LongInt;
775a72905708 * fix initialisation, preload values and then read args
koda
parents: 7780
diff changeset
    39
    cNewScreenHeight   : LongInt;
775a72905708 * fix initialisation, preload values and then read args
koda
parents: 7780
diff changeset
    40
    cScreenResizeDelay : LongWord;
775a72905708 * fix initialisation, preload values and then read args
koda
parents: 7780
diff changeset
    41
    ipcPort            : Word;
10526
b43d175d1577 Avoid promoting violence to hedgehogs. At least once a year.
nemo
parents: 10472
diff changeset
    42
    AprilOne           : boolean;
7848
775a72905708 * fix initialisation, preload values and then read args
koda
parents: 7780
diff changeset
    43
    cFullScreen        : boolean;
14603
62dea281e4d5 Refactor hwengine: Rename cLocale to cLanguage
Wuzzy <Wuzzy2@mail.ru>
parents: 14571
diff changeset
    44
    cLanguageFName     : shortstring;
62dea281e4d5 Refactor hwengine: Rename cLocale to cLanguage
Wuzzy <Wuzzy2@mail.ru>
parents: 14571
diff changeset
    45
    cLanguage          : shortstring;
7848
775a72905708 * fix initialisation, preload values and then read args
koda
parents: 7780
diff changeset
    46
    cTimerInterval     : LongInt;
10127
7f29a65aa1e4 It compiles \o/
unc0rr
parents: 10124
diff changeset
    47
    PathPrefix         : ansistring;
7f29a65aa1e4 It compiles \o/
unc0rr
parents: 10124
diff changeset
    48
    UserPathPrefix     : ansistring;
7848
775a72905708 * fix initialisation, preload values and then read args
koda
parents: 7780
diff changeset
    49
    cShowFPS           : boolean;
775a72905708 * fix initialisation, preload values and then read args
koda
parents: 7780
diff changeset
    50
    cFlattenFlakes     : boolean;
775a72905708 * fix initialisation, preload values and then read args
koda
parents: 7780
diff changeset
    51
    cFlattenClouds     : boolean;
9768
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 9723
diff changeset
    52
    cIce               : boolean;
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 9723
diff changeset
    53
    cSnow              : boolean;
13082
c213645ff848 Having chat mode as game state was a mistake
unc0rr
parents: 13044
diff changeset
    54
    isInChatMode       : boolean;
9768
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 9723
diff changeset
    55
7848
775a72905708 * fix initialisation, preload values and then read args
koda
parents: 7780
diff changeset
    56
    cAltDamage         : boolean;
775a72905708 * fix initialisation, preload values and then read args
koda
parents: 7780
diff changeset
    57
    cReducedQuality    : LongWord;
14675
56831f466d1d Add settings.ini setting and hwengine param to disable holiday silliness (hat changes, etc.)
Wuzzy <Wuzzy2@mail.ru>
parents: 14603
diff changeset
    58
    cHolidaySilliness  : boolean;
7848
775a72905708 * fix initialisation, preload values and then read args
koda
parents: 7780
diff changeset
    59
    UserNick           : shortstring;
775a72905708 * fix initialisation, preload values and then read args
koda
parents: 7780
diff changeset
    60
    recordFileName     : shortstring;
775a72905708 * fix initialisation, preload values and then read args
koda
parents: 7780
diff changeset
    61
    cReadyDelay        : Longword;
775a72905708 * fix initialisation, preload values and then read args
koda
parents: 7780
diff changeset
    62
    cStereoMode        : TStereoMode;
775a72905708 * fix initialisation, preload values and then read args
koda
parents: 7780
diff changeset
    63
    cOnlyStats         : boolean;
7198
5debd5fe526e 1. Add IFDEFs for video recording
Stepan777 <stepik-777@mail.ru>
parents: 7180
diff changeset
    64
{$IFDEF USE_VIDEO_RECORDING}
7848
775a72905708 * fix initialisation, preload values and then read args
koda
parents: 7780
diff changeset
    65
    RecPrefix          : shortstring;
775a72905708 * fix initialisation, preload values and then read args
koda
parents: 7780
diff changeset
    66
    cAVFormat          : shortstring;
775a72905708 * fix initialisation, preload values and then read args
koda
parents: 7780
diff changeset
    67
    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
    68
    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
    69
    cVideoFramerateDen : LongInt;
7198
5debd5fe526e 1. Add IFDEFs for video recording
Stepan777 <stepik-777@mail.ru>
parents: 7180
diff changeset
    70
    cVideoQuality      : LongInt;
7848
775a72905708 * fix initialisation, preload values and then read args
koda
parents: 7780
diff changeset
    71
    cAudioCodec        : shortstring;
7198
5debd5fe526e 1. Add IFDEFs for video recording
Stepan777 <stepik-777@mail.ru>
parents: 7180
diff changeset
    72
{$ENDIF}
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
    73
//////////////////////////
12716
20dbb3a03e61 extend land digest to all surfaces that could possibly be loaded into Land[] - i.e. ones that impact sync
nemo
parents: 12713
diff changeset
    74
    cMapName           : shortstring;
20dbb3a03e61 extend land digest to all surfaces that could possibly be loaded into Land[] - i.e. ones that impact sync
nemo
parents: 12713
diff changeset
    75
    syncedPixelDigest  : LongInt;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
    76
    isCursorVisible : boolean;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
    77
    isInLag         : boolean;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
    78
    isPaused        : boolean;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
    79
    isInMultiShoot  : boolean;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
    80
    isSpeed         : boolean;
9670
1954f692e8c6 Quick and simple implementation of afk mode (toggled by /pause)
unc0rr
parents: 9656
diff changeset
    81
    isAFK           : boolean;
13464
08a3851aaf67 Add dedicated key to display mission panel: M
Wuzzy <Wuzzy2@mail.ru>
parents: 13462
diff changeset
    82
    isShowMission   : boolean;
14754
533ac9774279 Add key to display extra gear info tags
Wuzzy <Wuzzy2@mail.ru>
parents: 14741
diff changeset
    83
    isShowGearInfo  : boolean;
13466
854caa3c9212 Lua API: Add parameter forceDisplay to ShowMission to prevent manual hiding
Wuzzy <Wuzzy2@mail.ru>
parents: 13464
diff changeset
    84
    isForceMission  : 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
    85
    SpeedStart      : LongWord;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
    86
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
    87
    fastUntilLag    : boolean;
7180
53ffc8853008 here it is
Stepan777 <stepik-777@mail.ru>
parents: 7103
diff changeset
    88
    fastScrolling   : boolean;
5247
bf6d4bc531d2 Ability to turn camera following gears off
unc0rr
parents: 5238
diff changeset
    89
    autoCameraOn    : boolean;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
    90
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
    91
    CheckSum        : LongWord;
7201
dc17ffdf0702 The first campaign commit with a lot of changes...
belphegorr <szabibibi@gmail.com>
parents: 7197
diff changeset
    92
    CampaignVariable: shortstring;
14468
bd1db668b7c0 Add Lua functions to save/get mission variables
Wuzzy <Wuzzy2@mail.ru>
parents: 14421
diff changeset
    93
    MissionVariable : shortstring;
7027
f264ad9d8965 the scope cleanup continues...
koda
parents: 7025
diff changeset
    94
    GameTicks       : LongWord;
14046
44f20c9e6861 Add Ouch taunt for particulary damaging hits (fall, bullet, shove, hammer)
Wuzzy <Wuzzy2@mail.ru>
parents: 14023
diff changeset
    95
    OuchTauntTimer  : LongWord; // Timer which blocks sndOuch from being played too often and fast
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
    96
    GameState       : TGameState;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
    97
    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
    98
    InputMask       : LongWord;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
    99
    GameFlags       : Longword;
9473
a51a69094c24 partial implementation of non-infinite world (edge wrap/warp/bounce)
nemo
parents: 9367
diff changeset
   100
    WorldEdge       : TWorldEdge;
9557
a5005b7ca305 differentiate borders a bit
nemo
parents: 9473
diff changeset
   101
    LeftImpactTimer : LongWord;
a5005b7ca305 differentiate borders a bit
nemo
parents: 9473
diff changeset
   102
    RightImpactTimer: LongWord;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   103
    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
   104
    TurnClockActive : boolean;
5016
9347d82a26cc added game mode Tag Team, mostly untested, please test :)
Henek
parents: 5013
diff changeset
   105
    TagTurnTimeLeft : Longword;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   106
    ReadyTimeLeft   : Longword;
11918
232b57a70aca Make the timer red when it is the get-away time
Wuzzy <almikes@aol.com>
parents: 11917
diff changeset
   107
    IsGetAwayTime   : boolean;
12327
9aa483762025 Fix sndBoring being played when force-ending turn due to victory
Wuzzy <almikes@aol.com>
parents: 12322
diff changeset
   108
    GameOver        : boolean;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   109
    cSuddenDTurns   : LongInt;
14411
b48c270328a5 Show Sudden Death warning messages only once per round
Wuzzy <Wuzzy2@mail.ru>
parents: 14399
diff changeset
   110
    LastSuddenDWarn : LongInt; // last round in which the last SD warning appeared. -2 = no warning so far
14527
d0441c7e9000 Lua: Add InitHealth, read-only variable containing the initial hog health setting
Wuzzy <Wuzzy2@mail.ru>
parents: 14519
diff changeset
   111
    cInitHealth     : LongInt; // initial hedgehog health (from game scheme. note the real hog health is sent directly
d0441c7e9000 Lua: Add InitHealth, read-only variable containing the initial hog health setting
Wuzzy <Wuzzy2@mail.ru>
parents: 14519
diff changeset
   112
                               // from frontend, this is only used to inform Lua scripts)
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   113
    cDamagePercent  : LongInt;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   114
    cMineDudPercent : LongWord;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   115
    cTemplateFilter : LongInt;
10472
8d04cebedb16 Partially hook up feature size so horrorcat has something to test.
nemo
parents: 10443
diff changeset
   116
    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
   117
    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
   118
    cRopePercent    : LongWord;
14949
8b53cb1c0ada make rope styleable
alfadur
parents: 14866
diff changeset
   119
    cRopeNodeStep   : LongWord;
15029
af2f6f4074de add rope layers
alfadur
parents: 15027
diff changeset
   120
    cRopeLayers     : LongInt;
5026
e83d4552625f percentage modifier for get away time
nikin
parents: 5025
diff changeset
   121
    cGetAwayTime    : LongWord;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   122
10237
282e49f9ce9d sekret feature (test commit)
unc0rr
parents: 10175
diff changeset
   123
    cAdvancedMapGenMode: boolean;
282e49f9ce9d sekret feature (test commit)
unc0rr
parents: 10175
diff changeset
   124
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   125
    cHedgehogTurnTime: Longword;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   126
    cMinesTime       : LongInt;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   127
    cMaxAIThinkTime  : Longword;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   128
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   129
    cHealthCaseProb  : LongInt;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   130
    cHealthCaseAmount: LongInt;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   131
    cWaterRise       : LongInt;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   132
    cHealthDecrease  : LongInt;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   133
5179
8d64dcb566ea Fix "Mixing signed expressions and longwords gives a 64bit result" warnings
unc0rr
parents: 5136
diff changeset
   134
    cCloudsNumber    : LongWord;
8d64dcb566ea Fix "Mixing signed expressions and longwords gives a 64bit result" warnings
unc0rr
parents: 5136
diff changeset
   135
    cSDCloudsNumber  : LongWord;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   136
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   137
    cTagsMask        : byte;
13004
46ba3285449a Switch + Change hog tags now turns on and off all tags
Wuzzy <Wuzzy2@mail.ru>
parents: 12925
diff changeset
   138
    cPrevTagsMask    : byte;
14682
93429d8f6b3f Add setting to set default/initial zoom
Wuzzy <Wuzzy2@mail.ru>
parents: 14675
diff changeset
   139
    zoom             : GLfloat; // current zoom
93429d8f6b3f Add setting to set default/initial zoom
Wuzzy <Wuzzy2@mail.ru>
parents: 14675
diff changeset
   140
    ZoomValue        : GLfloat; // aimed zoom
93429d8f6b3f Add setting to set default/initial zoom
Wuzzy <Wuzzy2@mail.ru>
parents: 14675
diff changeset
   141
    UserZoom         : GLfloat; // user-chosen initial and default zoom
13390
ec1491bb5acc WIP: allow changing chat size
sheepluva
parents: 13179
diff changeset
   142
    ChatScaleValue   : real;
13394
24b531dcebe7 add chat size to misc settings. persist in settings.ini
sheepluva
parents: 13390
diff changeset
   143
    cDefaultChatScale: real;
13390
ec1491bb5acc WIP: allow changing chat size
sheepluva
parents: 13179
diff changeset
   144
    UIScaleValue     : real;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   145
8003
7d8bce524daf LongInt Land width/height, mouse coords
nemo
parents: 7984
diff changeset
   146
    cWaterLine       : LongInt;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   147
    cGearScrEdgesDist: LongInt;
7848
775a72905708 * fix initialisation, preload values and then read args
koda
parents: 7780
diff changeset
   148
    isAudioMuted     : boolean;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   149
6982
8d41d22a291d breaking news, we don't support typed consts anymore
koda
parents: 6957
diff changeset
   150
    // originally typed consts
10877
baad1cc9b749 alternative explosion border smoothing
sheepluva
parents: 10866
diff changeset
   151
    ExplosionBorderColorR,
baad1cc9b749 alternative explosion border smoothing
sheepluva
parents: 10866
diff changeset
   152
    ExplosionBorderColorG,
baad1cc9b749 alternative explosion border smoothing
sheepluva
parents: 10866
diff changeset
   153
    ExplosionBorderColorB,
10878
963bc20f511c small pixel jizz tweak
sheepluva
parents: 10877
diff changeset
   154
    ExplosionBorderColorNoA,
10877
baad1cc9b749 alternative explosion border smoothing
sheepluva
parents: 10866
diff changeset
   155
    ExplosionBorderColor:  LongWord;
8584
ea20d9cc8515 put ice colour in uVariables, add check for land that is already ice
nemo
parents: 8578
diff changeset
   156
    IceColor            : LongWord;
8596
def92c20cd49 define ice edge colour
nemo
parents: 8584
diff changeset
   157
    IceEdgeColor        : LongWord;
6982
8d41d22a291d breaking news, we don't support typed consts anymore
koda
parents: 6957
diff changeset
   158
    WaterOpacity: byte;
8d41d22a291d breaking news, we don't support typed consts anymore
koda
parents: 6957
diff changeset
   159
    SDWaterOpacity: byte;
8d41d22a291d breaking news, we don't support typed consts anymore
koda
parents: 6957
diff changeset
   160
    GrayScale: Boolean;
8d41d22a291d breaking news, we don't support typed consts anymore
koda
parents: 6957
diff changeset
   161
6891
ab9843957664 Improve rendering of function types, ranges, and more
unc0rr
parents: 6890
diff changeset
   162
    CountTexz: array[0..Pred(AMMO_INFINITE)] of PTexture;
8003
7d8bce524daf LongInt Land width/height, mouse coords
nemo
parents: 7984
diff changeset
   163
    LAND_WIDTH       : LongInt;
7d8bce524daf LongInt Land width/height, mouse coords
nemo
parents: 7984
diff changeset
   164
    LAND_HEIGHT      : LongInt;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   165
    LAND_WIDTH_MASK  : LongWord;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   166
    LAND_HEIGHT_MASK : LongWord;
9656
18422d205080 - More HealthTex to clan structure
unc0rr
parents: 9655
diff changeset
   167
10443
42dadeb6e8ae Remove switching of hog's hat to chef. do it in draw instead.
nemo
parents: 10361
diff changeset
   168
    ChefHatTexture : PTexture;
9655
e154ccca4dad Tinted crosshair (without that cool white dot in the middle)
unc0rr
parents: 9573
diff changeset
   169
    CrosshairTexture : PTexture;
9656
18422d205080 - More HealthTex to clan structure
unc0rr
parents: 9655
diff changeset
   170
    GenericHealthTexture : PTexture;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   171
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   172
    cLeftScreenBorder     : LongInt;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   173
    cRightScreenBorder    : LongInt;
5179
8d64dcb566ea Fix "Mixing signed expressions and longwords gives a 64bit result" warnings
unc0rr
parents: 5136
diff changeset
   174
    cScreenSpace          : Longword;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   175
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   176
    cCaseFactor     : Longword;
13632
605767bbd022 Move max. number of crate spawns into variable
Wuzzy <Wuzzy2@mail.ru>
parents: 13587
diff changeset
   177
    cMaxCaseDrops   : Longword; // Max. number of crates which can be in the game when dropping
14682
93429d8f6b3f Add setting to set default/initial zoom
Wuzzy <Wuzzy2@mail.ru>
parents: 14675
diff changeset
   178
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   179
    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
   180
    cAirMines       : Longword;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   181
    cExplosives     : Longword;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   182
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
   183
    cScriptName     : shortstring;
9902
eb8e8b09b2f0 Special script parameter variable in game scheme
unc0rr
parents: 9839
diff changeset
   184
    cScriptParam    : shortstring;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   185
    cSeed           : shortstring;
13496
f725701ca529 Add variable to make state of sound system clear
Wuzzy <Wuzzy2@mail.ru>
parents: 13466
diff changeset
   186
    cIsSoundEnabled : boolean; // If the sound system is enabled
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   187
    cVolumeDelta    : LongInt;
14686
bd43e703608b Fix precise volume change being a bit buggy
Wuzzy <Wuzzy2@mail.ru>
parents: 14684
diff changeset
   188
    cVolumeUpKey    : boolean;
bd43e703608b Fix precise volume change being a bit buggy
Wuzzy <Wuzzy2@mail.ru>
parents: 14684
diff changeset
   189
    cVolumeDownKey  : boolean;
13044
aed4b25ff242 Fix volume caption not being shown when hitting mute key
Wuzzy <Wuzzy2@mail.ru>
parents: 13004
diff changeset
   190
    cMuteToggle     : boolean; // Mute toggle requested
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   191
    cHasFocus       : boolean;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   192
    cInactDelay     : Longword;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   193
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   194
    bBetweenTurns   : boolean;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   195
    bWaterRising    : boolean;
13782
3fa9e30927f1 Fix team stats screwing up if game ends due to drowning in rising Sudden Death water
Wuzzy <Wuzzy2@mail.ru>
parents: 13632
diff changeset
   196
    bDuringWaterRise: boolean;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   197
5615
104f69e798bb changed aiming to be triggered when touching the crosshair
Xeli
parents: 5585
diff changeset
   198
    CrosshairX      : LongInt;
104f69e798bb changed aiming to be triggered when touching the crosshair
Xeli
parents: 5585
diff changeset
   199
    CrosshairY      : LongInt;
14558
5ae97eab70eb Make sure to render crosshair above render
Wuzzy <Wuzzy2@mail.ru>
parents: 14543
diff changeset
   200
    CrosshairGear   : PGear;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   201
    CursorMovementX : LongInt;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   202
    CursorMovementY : LongInt;
10330
3ec09243cb55 move DrawWaves to uRender
sheepluva
parents: 10325
diff changeset
   203
    cWaveHeight     : LongInt;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   204
    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
   205
    cDrownSpeedf    : real;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   206
    cMaxWindSpeed   : hwFloat;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   207
    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
   208
    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
   209
    cElastic        : hwFloat;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   210
    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
   211
    cGravityf       : real;
11892
083c12795632 Show symbols at bottom right while extra damage / low grav. are active
Wuzzy <almikes@aol.com>
parents: 11841
diff changeset
   212
    cLowGravity     : boolean;
11057
adb5ef54da54 global variable for defining construction distance limit. value smaller 1 means no limit (wip)
sheepluva
parents: 11046
diff changeset
   213
    cBuildMaxDist   : LongInt;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   214
    cDamageModifier : hwFloat;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   215
    cLaserSighting  : boolean;
12311
cdd884397760 Fix sniper rifle disabling laser sight utility after shooting
Wuzzy <almikes@aol.com>
parents: 12291
diff changeset
   216
    cLaserSightingSniper : boolean;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   217
    cVampiric       : 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
   218
    WeaponTooltipTex: PTexture;
6622
01889d5bc79b Rewrote the Ammomenu:
Xeli
parents: 6611
diff changeset
   219
    AmmoMenuInvalidated: boolean;
8330
aaefa587e277 update branch with default
koda
parents: 8096 8309
diff changeset
   220
    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
   221
    HHTexture       : PTexture;
7974
7ac6699b6228 support ridiculously large maps
nemo
parents: 7964
diff changeset
   222
    cMaxZoomLevel   : real;
7ac6699b6228 support ridiculously large maps
nemo
parents: 7964
diff changeset
   223
    cMinZoomLevel   : real;
7ac6699b6228 support ridiculously large maps
nemo
parents: 7964
diff changeset
   224
    cZoomDelta      : real;
14684
4eaeba349179 Precise+zoom/volume change makes changes in smaller steps
Wuzzy <Wuzzy2@mail.ru>
parents: 14682
diff changeset
   225
    cZoomDeltaSmall : real;
7974
7ac6699b6228 support ridiculously large maps
nemo
parents: 7964
diff changeset
   226
    cMinMaxZoomLevelDelta : real;
14969
bcecb3349948 Display current health in top right corner
Wuzzy <Wuzzy2@mail.ru>
parents: 14949
diff changeset
   227
    cDemoClockFPSOffsetY : LongInt;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   228
6622
01889d5bc79b Rewrote the Ammomenu:
Xeli
parents: 6611
diff changeset
   229
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   230
    flagMakeCapture : boolean;
10633
2f062fac5791 Add that "make screenshots of Land/LandPixels" thing for map creators
nemo
parents: 10625
diff changeset
   231
    flagDumpLand    : boolean;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   232
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   233
    InitStepsFlags  : Longword;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   234
    RealTicks       : Longword;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   235
    AttackBar       : LongInt;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   236
10325
7315870716f2 tweak/refactor how water is drawn
sheepluva
parents: 10304
diff changeset
   237
    WaterColorArray : array[0..7] of HwColor4f;
7315870716f2 tweak/refactor how water is drawn
sheepluva
parents: 10304
diff changeset
   238
    SDWaterColorArray : array[0..7] of HwColor4f;
13587
517b26009073 Lua: Allow to use negative value for AddTeam to select a default clan color
Wuzzy <Wuzzy2@mail.ru>
parents: 13573
diff changeset
   239
    ClanColorArray : array[0..Pred(cClanColors)] of Longword;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   240
8373
209c9ba77a09 Prevent camera from moving with auto camera disabled when remote teams are targetting
nemo
parents: 8358
diff changeset
   241
    TargetCursorPoint     : TPoint;
209c9ba77a09 Prevent camera from moving with auto camera disabled when remote teams are targetting
nemo
parents: 8358
diff changeset
   242
    CursorPoint           : TPoint;
14813
9443dc6663ba Refactor mouse movement handling
Wuzzy <Wuzzy2@mail.ru>
parents: 14768
diff changeset
   243
    CursorPointDelta      : TPoint;
8373
209c9ba77a09 Prevent camera from moving with auto camera disabled when remote teams are targetting
nemo
parents: 8358
diff changeset
   244
    TargetPoint           : TPoint;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   245
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   246
    ScreenFade      : TScreenFade;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   247
    ScreenFadeValue : LongInt;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   248
    ScreenFadeSpeed : LongInt;
11524
aab4767d9a50 adding a "cinematic mode" - currently: black bars on bottom/top. triggered by rcplane when pressing enter
sheepluva
parents: 11482
diff changeset
   249
    InCinematicMode : boolean;
aab4767d9a50 adding a "cinematic mode" - currently: black bars on bottom/top. triggered by rcplane when pressing enter
sheepluva
parents: 11482
diff changeset
   250
    CinematicSteps  : LongInt;
aab4767d9a50 adding a "cinematic mode" - currently: black bars on bottom/top. triggered by rcplane when pressing enter
sheepluva
parents: 11482
diff changeset
   251
    CinematicBarH   : LongInt;
11525
663ecfb05df6 Lua API: SetCinematicMode(enable)
sheepluva
parents: 11524
diff changeset
   252
    CinematicScript : boolean;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   253
9693
9e31e3bb4476 Delete now toggles hiding team area
nemo
parents: 9672
diff changeset
   254
    UIDisplay       : TUIDisplay;
9e31e3bb4476 Delete now toggles hiding team area
nemo
parents: 9672
diff changeset
   255
    LocalMessage    : LongWord;
9e31e3bb4476 Delete now toggles hiding team area
nemo
parents: 9672
diff changeset
   256
4611
445d382cd401 A very very basic snow implementation
nemo
parents: 4578
diff changeset
   257
    Theme           : shortstring;
4695
ac2cb3b99d70 add a disabling for landback, set it if flakes are enabled
nemo
parents: 4611
diff changeset
   258
    disableLandBack : boolean;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
   259
4367
f4a0ec067601 uLand isn't that important to them
unc0rr
parents: 4365
diff changeset
   260
    WorldDx: LongInt;
f4a0ec067601 uLand isn't that important to them
unc0rr
parents: 4365
diff changeset
   261
    WorldDy: LongInt;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   262
10866
c1f75780c56f make using hog speech a bit more comfortable
sheepluva
parents: 10850
diff changeset
   263
    SpeechHogNumber: LongInt;
c1f75780c56f make using hog speech a bit more comfortable
sheepluva
parents: 10850
diff changeset
   264
10266
a90a55ec5b98 some minor tweaks and stuff
sheepluva
parents: 10237
diff changeset
   265
    // 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
   266
    ViewLeftX, ViewRightX, ViewBottomY, ViewTopY, ViewWidth, ViewHeight: LongInt;
13390
ec1491bb5acc WIP: allow changing chat size
sheepluva
parents: 13179
diff changeset
   267
    // for tracking the limits of the visible UI space based on cUIScaleFactor
ec1491bb5acc WIP: allow changing chat size
sheepluva
parents: 13179
diff changeset
   268
    UIWidth, UIHeight: LongInt;
10304
7e40820b7ed6 fix gl2 build, further rendering cleanup WIP, also new chat command: /debugvl
sheepluva
parents: 10271
diff changeset
   269
7e40820b7ed6 fix gl2 build, further rendering cleanup WIP, also new chat command: /debugvl
sheepluva
parents: 10271
diff changeset
   270
    // for debugging the view limits visually
7e40820b7ed6 fix gl2 build, further rendering cleanup WIP, also new chat command: /debugvl
sheepluva
parents: 10271
diff changeset
   271
    cViewLimitsDebug: boolean;
10266
a90a55ec5b98 some minor tweaks and stuff
sheepluva
parents: 10237
diff changeset
   272
10271
e770bfcf488a whoops, forgot to include this file in commt
sheepluva
parents: 10266
diff changeset
   273
    dirtyLandTexCount: LongInt;
e770bfcf488a whoops, forgot to include this file in commt
sheepluva
parents: 10266
diff changeset
   274
4814
e19791f08443 smaller rearrangement of (non stereo related) variables
koda
parents: 4812
diff changeset
   275
    hiTicks: Word;
e19791f08443 smaller rearrangement of (non stereo related) variables
koda
parents: 4812
diff changeset
   276
12754
1df909b46c05 Lua API: Fix Goals text being cut off at ca. 255 characters
Wuzzy <Wuzzy2@mail.ru>
parents: 12716
diff changeset
   277
    LuaGoals        : ansistring;
4883
7cddc9201a1d added dummy for tardis and ugly icons for tardis and structure
Henek
parents: 4881
diff changeset
   278
7594
5f03595335e6 fromdos + fix end of turn velocity
nemo
parents: 7567
diff changeset
   279
    LuaTemplateNumber : LongWord;
7567
da2aa8355d91 allow lua to specify template by number
nemo
parents: 7495
diff changeset
   280
12291
b4dde7035fe2 New Lua call: EndTurn to end turn
Wuzzy <almikes@aol.com>
parents: 12287
diff changeset
   281
    // for EndTurn Lua call
b4dde7035fe2 New Lua call: EndTurn to end turn
Wuzzy <almikes@aol.com>
parents: 12287
diff changeset
   282
    LuaEndTurnRequested: boolean;
b4dde7035fe2 New Lua call: EndTurn to end turn
Wuzzy <almikes@aol.com>
parents: 12287
diff changeset
   283
    LuaNoEndTurnTaunts: boolean;
b4dde7035fe2 New Lua call: EndTurn to end turn
Wuzzy <almikes@aol.com>
parents: 12287
diff changeset
   284
14399
d670e4efe1ed Lua API: SetTurnTimePaused/GetTurnTimePaused
Wuzzy <Wuzzy2@mail.ru>
parents: 14311
diff changeset
   285
    // whether Lua requested to pause the clock
d670e4efe1ed Lua API: SetTurnTimePaused/GetTurnTimePaused
Wuzzy <Wuzzy2@mail.ru>
parents: 14311
diff changeset
   286
    LuaClockPaused: boolean;
d670e4efe1ed Lua API: SetTurnTimePaused/GetTurnTimePaused
Wuzzy <Wuzzy2@mail.ru>
parents: 14311
diff changeset
   287
15272
22f2fd8a3d2c VideoRec: Stop prerecording when /lua activates
Wuzzy <Wuzzy2@mail.ru>
parents: 15225
diff changeset
   288
    // whether /lua command was used
22f2fd8a3d2c VideoRec: Stop prerecording when /lua activates
Wuzzy <Wuzzy2@mail.ru>
parents: 15225
diff changeset
   289
    LuaCmdUsed: boolean;
22f2fd8a3d2c VideoRec: Stop prerecording when /lua activates
Wuzzy <Wuzzy2@mail.ru>
parents: 15225
diff changeset
   290
13126
de07c8423beb Lua API: Add SetSoundMask to disable playing certain sounds
Wuzzy <Wuzzy2@mail.ru>
parents: 13101
diff changeset
   291
    MaskedSounds : array[TSound] of boolean;
de07c8423beb Lua API: Add SetSoundMask to disable playing certain sounds
Wuzzy <Wuzzy2@mail.ru>
parents: 13101
diff changeset
   292
11164
e19cf9459665 uVariables: also initialize arrays and records in initModule
sheepluva
parents: 11154
diff changeset
   293
    LastVoice : TVoice;
6982
8d41d22a291d breaking news, we don't support typed consts anymore
koda
parents: 6957
diff changeset
   294
8204
9a6030d96273 GCI2012: Convert uMobile into a Callback Record
Rowan D
parents: 8161
diff changeset
   295
    mobileRecord: TMobileRecord;
9a6030d96273 GCI2012: Convert uMobile into a Callback Record
Rowan D
parents: 8161
diff changeset
   296
10304
7e40820b7ed6 fix gl2 build, further rendering cleanup WIP, also new chat command: /debugvl
sheepluva
parents: 10271
diff changeset
   297
    MaxTextureSize: LongInt;
7e40820b7ed6 fix gl2 build, further rendering cleanup WIP, also new chat command: /debugvl
sheepluva
parents: 10271
diff changeset
   298
12849
22cc3d82905a Should probably have gl context stuff in its own unit separate from store, but, don't close the gl context before anything that might still want to do gl operations
nemo
parents: 12843
diff changeset
   299
    SDLwindow: PSDL_Window;
22cc3d82905a Should probably have gl context stuff in its own unit separate from store, but, don't close the gl context before anything that might still want to do gl operations
nemo
parents: 12843
diff changeset
   300
    SDLGLcontext: PSDL_GLContext;
22cc3d82905a Should probably have gl context stuff in its own unit separate from store, but, don't close the gl context before anything that might still want to do gl operations
nemo
parents: 12843
diff changeset
   301
  
6637
b4a3310f2974 show buttons on the screen, similar to the iOS overlay
Xeli
parents: 6632
diff changeset
   302
/////////////////////////////////////
b4a3310f2974 show buttons on the screen, similar to the iOS overlay
Xeli
parents: 6632
diff changeset
   303
//Buttons
6676
21cf35a570a7 add keywords for landscape ammomenu and touch interface
koda
parents: 6648
diff changeset
   304
{$IFDEF USE_TOUCH_INTERFACE}
6637
b4a3310f2974 show buttons on the screen, similar to the iOS overlay
Xeli
parents: 6632
diff changeset
   305
    buttonScale: GLFloat;
14543
1dab5d92aca7 Add button to set bounciness in touch interface
Wuzzy <Wuzzy2@mail.ru>
parents: 14527
diff changeset
   306
    bounceButtonPressed: boolean;
6637
b4a3310f2974 show buttons on the screen, similar to the iOS overlay
Xeli
parents: 6632
diff changeset
   307
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
   308
    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
   309
    firebutton, jumpWidget, AMWidget          : TOnScreenWidget;
6806
cdfb6c7099e5 first part of the utilitywidget (grenade timer/swap hogs) code
Xeli
parents: 6796
diff changeset
   310
    pauseButton, utilityWidget                : TOnScreenWidget;
14543
1dab5d92aca7 Add button to set bounciness in touch interface
Wuzzy <Wuzzy2@mail.ru>
parents: 14527
diff changeset
   311
    utilityWidget2                            : TOnScreenWidget;
6637
b4a3310f2974 show buttons on the screen, similar to the iOS overlay
Xeli
parents: 6632
diff changeset
   312
{$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
   313
6982
8d41d22a291d breaking news, we don't support typed consts anymore
koda
parents: 6957
diff changeset
   314
7066
12cc2bd84b0b Make pas2c even more happier with uGears.c, allow assigning arrays in some cases
unc0rr
parents: 7049
diff changeset
   315
var
6982
8d41d22a291d breaking news, we don't support typed consts anymore
koda
parents: 6957
diff changeset
   316
    // these consts are here because they would cause circular dependencies in uConsts/uTypes
11164
e19cf9459665 uVariables: also initialize arrays and records in initModule
sheepluva
parents: 11154
diff changeset
   317
    cPathz: array[TPathType] of shortstring;
e19cf9459665 uVariables: also initialize arrays and records in initModule
sheepluva
parents: 11154
diff changeset
   318
e19cf9459665 uVariables: also initialize arrays and records in initModule
sheepluva
parents: 11154
diff changeset
   319
const
e19cf9459665 uVariables: also initialize arrays and records in initModule
sheepluva
parents: 11154
diff changeset
   320
    cPathzInit: array[TPathType] of shortstring = (
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   321
        '',                              // ptNone
9168
20ff80421736 Some fixes to make pas2c+clang compile all engine files
unc0rr
parents: 9127
diff changeset
   322
        '//',                            // ptData
8022
10b3b93c1f56 - Add physfsrwops library
unc0rr
parents: 8016
diff changeset
   323
        '/Graphics',                     // ptGraphics
10b3b93c1f56 - Add physfsrwops library
unc0rr
parents: 8016
diff changeset
   324
        '/Themes',                       // ptThemes
14834
f56936207a65 Change init theme to Nature
Wuzzy <Wuzzy2@mail.ru>
parents: 14824
diff changeset
   325
        '/Themes/Nature',                // ptCurrTheme
12111
9bc19f722169 Bug #108 - Phyfs/Pathz: Fix binds not being loaded
sheepluva
parents: 11946
diff changeset
   326
        '/Config',                       // ptConfig
9bc19f722169 Bug #108 - Phyfs/Pathz: Fix binds not being loaded
sheepluva
parents: 11946
diff changeset
   327
        '/Config/Teams',                 // ptTeams
8022
10b3b93c1f56 - Add physfsrwops library
unc0rr
parents: 8016
diff changeset
   328
        '/Maps',                         // ptMaps
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   329
        '',                              // ptMapCurrent
8022
10b3b93c1f56 - Add physfsrwops library
unc0rr
parents: 8016
diff changeset
   330
        '/Demos',                        // ptDemos
10b3b93c1f56 - Add physfsrwops library
unc0rr
parents: 8016
diff changeset
   331
        '/Sounds',                       // ptSounds
10b3b93c1f56 - Add physfsrwops library
unc0rr
parents: 8016
diff changeset
   332
        '/Graphics/Graves',              // ptGraves
10b3b93c1f56 - Add physfsrwops library
unc0rr
parents: 8016
diff changeset
   333
        '/Fonts',                        // ptFonts
10b3b93c1f56 - Add physfsrwops library
unc0rr
parents: 8016
diff changeset
   334
        '/Forts',                        // ptForts
10b3b93c1f56 - Add physfsrwops library
unc0rr
parents: 8016
diff changeset
   335
        '/Locale',                       // ptLocale
10b3b93c1f56 - Add physfsrwops library
unc0rr
parents: 8016
diff changeset
   336
        '/Graphics/AmmoMenu',            // ptAmmoMenu
10b3b93c1f56 - Add physfsrwops library
unc0rr
parents: 8016
diff changeset
   337
        '/Graphics/Hedgehog',            // ptHedgehog
10b3b93c1f56 - Add physfsrwops library
unc0rr
parents: 8016
diff changeset
   338
        '/Sounds/voices',                // ptVoices
10b3b93c1f56 - Add physfsrwops library
unc0rr
parents: 8016
diff changeset
   339
        '/Graphics/Hats',                // ptHats
10b3b93c1f56 - Add physfsrwops library
unc0rr
parents: 8016
diff changeset
   340
        '/Graphics/Flags',               // ptFlags
10b3b93c1f56 - Add physfsrwops library
unc0rr
parents: 8016
diff changeset
   341
        '/Missions/Maps',                // ptMissionMaps
10b3b93c1f56 - Add physfsrwops library
unc0rr
parents: 8016
diff changeset
   342
        '/Graphics/SuddenDeath',         // ptSuddenDeath
8096
453917e94e55 updated branch
koda
parents: 8032 8057
diff changeset
   343
        '/Graphics/Buttons',             // ptButton
14824
fba15e2f5e5b Poison taunts: Fall back to Default voice if missing
Wuzzy <Wuzzy2@mail.ru>
parents: 14813
diff changeset
   344
        '/Shaders',                      // ptShaders
14849
9e8c201eae9d Move Hedgewars key IDs to CSV file
Wuzzy <Wuzzy2@mail.ru>
parents: 14834
diff changeset
   345
        '/Sounds/voices/Default',        // ptDefaultVoice
9e8c201eae9d Move Hedgewars key IDs to CSV file
Wuzzy <Wuzzy2@mail.ru>
parents: 14834
diff changeset
   346
        '/misc'                          // ptMisc
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   347
    );
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   348
8026
4a4f21070479 merge xymeng's gsoc engine with a few updates (and further checks on symbol definitions)
koda
parents: 8018
diff changeset
   349
var
11164
e19cf9459665 uVariables: also initialize arrays and records in initModule
sheepluva
parents: 11154
diff changeset
   350
    Fontz: array[THWFont] of THHFont;
e19cf9459665 uVariables: also initialize arrays and records in initModule
sheepluva
parents: 11154
diff changeset
   351
e19cf9459665 uVariables: also initialize arrays and records in initModule
sheepluva
parents: 11154
diff changeset
   352
const
e19cf9459665 uVariables: also initialize arrays and records in initModule
sheepluva
parents: 11154
diff changeset
   353
    FontzInit: array[THWFont] of THHFont = (
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   354
            (Handle: nil;
11841
1d41f297b3d3 bit of a start on HDPI monitor support. Fonts.
nemo
parents: 11739
diff changeset
   355
            Height: 12*HDPIScaleFactor;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   356
            style: TTF_STYLE_NORMAL;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   357
            Name: 'DejaVuSans-Bold.ttf'),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   358
            (Handle: nil;
11841
1d41f297b3d3 bit of a start on HDPI monitor support. Fonts.
nemo
parents: 11739
diff changeset
   359
            Height: 24*HDPIScaleFactor;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   360
            style: TTF_STYLE_NORMAL;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   361
            Name: 'DejaVuSans-Bold.ttf'),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   362
            (Handle: nil;
11841
1d41f297b3d3 bit of a start on HDPI monitor support. Fonts.
nemo
parents: 11739
diff changeset
   363
            Height: 10*HDPIScaleFactor;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   364
            style: TTF_STYLE_NORMAL;
13390
ec1491bb5acc WIP: allow changing chat size
sheepluva
parents: 13179
diff changeset
   365
            Name: 'DejaVuSans-Bold.ttf'),
ec1491bb5acc WIP: allow changing chat size
sheepluva
parents: 13179
diff changeset
   366
            (Handle: nil; // fntChat
ec1491bb5acc WIP: allow changing chat size
sheepluva
parents: 13179
diff changeset
   367
            Height: 12*HDPIScaleFactor;
ec1491bb5acc WIP: allow changing chat size
sheepluva
parents: 13179
diff changeset
   368
            style: TTF_STYLE_NORMAL;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   369
            Name: 'DejaVuSans-Bold.ttf')
5639
ebe9858eb6a3 Removed chinese font
Xeli
parents: 5619
diff changeset
   370
            {$IFNDEF MOBILE}, // remove chinese fonts for now
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   371
            (Handle: nil;
11841
1d41f297b3d3 bit of a start on HDPI monitor support. Fonts.
nemo
parents: 11739
diff changeset
   372
            Height: 12*HDPIScaleFactor;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   373
            style: TTF_STYLE_NORMAL;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   374
            Name: 'wqy-zenhei.ttc'),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   375
            (Handle: nil;
11841
1d41f297b3d3 bit of a start on HDPI monitor support. Fonts.
nemo
parents: 11739
diff changeset
   376
            Height: 24*HDPIScaleFactor;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   377
            style: TTF_STYLE_NORMAL;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   378
            Name: 'wqy-zenhei.ttc'),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   379
            (Handle: nil;
11841
1d41f297b3d3 bit of a start on HDPI monitor support. Fonts.
nemo
parents: 11739
diff changeset
   380
            Height: 10*HDPIScaleFactor;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   381
            style: TTF_STYLE_NORMAL;
13390
ec1491bb5acc WIP: allow changing chat size
sheepluva
parents: 13179
diff changeset
   382
            Name: 'wqy-zenhei.ttc'),
ec1491bb5acc WIP: allow changing chat size
sheepluva
parents: 13179
diff changeset
   383
            (Handle: nil; // CJKfntChat
ec1491bb5acc WIP: allow changing chat size
sheepluva
parents: 13179
diff changeset
   384
            Height: 12*HDPIScaleFactor;
ec1491bb5acc WIP: allow changing chat size
sheepluva
parents: 13179
diff changeset
   385
            style: TTF_STYLE_NORMAL;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   386
            Name: 'wqy-zenhei.ttc')
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   387
            {$ENDIF}
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   388
            );
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   389
6982
8d41d22a291d breaking news, we don't support typed consts anymore
koda
parents: 6957
diff changeset
   390
var
11164
e19cf9459665 uVariables: also initialize arrays and records in initModule
sheepluva
parents: 11154
diff changeset
   391
    SpritesData: array[TSprite] of TSpriteData;
e19cf9459665 uVariables: also initialize arrays and records in initModule
sheepluva
parents: 11154
diff changeset
   392
e19cf9459665 uVariables: also initialize arrays and records in initModule
sheepluva
parents: 11154
diff changeset
   393
const
e19cf9459665 uVariables: also initialize arrays and records in initModule
sheepluva
parents: 11154
diff changeset
   394
    SpritesDataInit: array[TSprite] of TSpriteData = (
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   395
            (FileName:  'BlueWater'; Path: ptCurrTheme;AltPath: ptGraphics; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   396
            Width:   0; Height:  -1; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: true; getImageDimensions: true),// sprWater
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   397
            (FileName:     'Clouds'; Path: ptCurrTheme;AltPath: ptGraphics; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   398
            Width: 256; Height:128; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprCloud
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   399
            (FileName:       'Bomb'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   400
            Width:   8; Height:  8; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprBomb
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   401
            (FileName:  'BigDigits'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   402
            Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprBigDigit
11917
d3a852554aa7 Turn timer digits green when it's still the ready timer
Wuzzy <almikes@aol.com>
parents: 11900
diff changeset
   403
            (FileName: 'BigDigitsGray'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   404
            Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprBigDigitGray
11917
d3a852554aa7 Turn timer digits green when it's still the ready timer
Wuzzy <almikes@aol.com>
parents: 11900
diff changeset
   405
            (FileName: 'BigDigitsGreen'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   406
            Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprBigDigitGreen
11917
d3a852554aa7 Turn timer digits green when it's still the ready timer
Wuzzy <almikes@aol.com>
parents: 11900
diff changeset
   407
            (FileName: 'BigDigitsRed'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   408
            Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprBigDigitRed
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   409
            (FileName:      'Frame'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   410
            Width:   4; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprFrame
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   411
            (FileName:        'Lag'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   412
            Width:  65; Height: 65; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprLag
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   413
            (FileName:      'Arrow'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   414
            Width:  16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprCursor
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   415
            (FileName:'BazookaShell'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   416
            Width:  16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprBazookaShell
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   417
            (FileName:    'Targetp'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   418
            Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprTargetP
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   419
            (FileName:        'Bee'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   420
            Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprBee
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   421
            (FileName: 'SmokeTrace'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   422
            Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprSmokeTrace
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   423
            (FileName:   'RopeHook'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   424
            Width:  16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprRopeHook
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   425
            (FileName:     'Expl50'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   426
            Width:  64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprExplosion50
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   427
            (FileName:    'MineOff'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   428
            Width:   8; Height:  8; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprMineOff
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   429
            (FileName:     'MineOn'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   430
            Width:   8; Height:  8; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprMineOn
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   431
            (FileName:     'MineDead'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   432
            Width:   8; Height:  8; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprMineDead
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   433
            (FileName:       'Case'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   434
            Width:  48; Height: 48; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprCase
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   435
            (FileName:   'FirstAid'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   436
            Width:  48; Height: 48; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprFAid
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   437
            (FileName:   'dynamite'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   438
            Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprDynamite
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   439
            (FileName:      'Power'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   440
            Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprPower
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   441
            (FileName:     'ClBomb'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   442
            Width:  16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprClusterBomb
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   443
            (FileName: 'ClParticle'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   444
            Width:  16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprClusterParticle
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   445
            (FileName:      'Flame'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   446
            Width:  16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprFlame
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   447
            (FileName:   'horizont'; Path: ptCurrTheme;AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   448
            Width:   0; Height:  0; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: false; checkSum: false; priority: tpHigh; getDimensions: true; getImageDimensions: true),// sprHorizont
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   449
            (FileName:  'horizontL'; Path: ptCurrTheme;AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   450
            Width:   0; Height:  0; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: false; checkSum: false; priority: tpHigh; getDimensions: true; getImageDimensions: true),// sprHorizontL
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   451
            (FileName:  'horizontR'; Path: ptCurrTheme;AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   452
            Width:   0; Height:  0; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: false; checkSum: false; priority: tpHigh; getDimensions: true; getImageDimensions: true),// sprHorizontR
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   453
            (FileName:        'Sky'; Path: ptCurrTheme;AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   454
            Width:   0; Height:  0; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: false; checkSum: false; priority: tpHigh; getDimensions: true; getImageDimensions: true),// sprSky
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   455
            (FileName:       'SkyL'; Path: ptCurrTheme;AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   456
            Width:   0; Height:  0; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: false; checkSum: false; priority: tpHigh; getDimensions: true; getImageDimensions: true),// sprSkyL
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   457
            (FileName:       'SkyR'; Path: ptCurrTheme;AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   458
            Width:   0; Height:  0; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: false; checkSum: false; priority: tpHigh; getDimensions: true; getImageDimensions: true),// sprSkyR
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   459
            (FileName:   'Slot'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   460
            Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: true; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprAMSlot
12329
69a37922353b turn hwp Ammos overrides into overlays. untested.
nemo
parents: 12327
diff changeset
   461
            (FileName:      'Ammos_base'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   462
            Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: true; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprAMAmmos
12329
69a37922353b turn hwp Ammos overrides into overlays. untested.
nemo
parents: 12327
diff changeset
   463
            (FileName:   'Ammos_bw_base'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   464
            Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: true; critical: true; checkSum: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprAMAmmosBW
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   465
            (FileName:   'SlotKeys'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   466
            Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprAMSlotKeys
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   467
            (FileName:  'Corners'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   468
            Width:  2; Height: 2; imageWidth: 0; imageHeight: 0; saveSurf: true; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprAMCorners
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   469
            (FileName:     'Finger'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   470
            Width:  32; Height: 48; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprFinger
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   471
            (FileName:    'AirBomb'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   472
            Width:  16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprAirBomb
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   473
            (FileName:   'Airplane'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   474
            Width: 256; Height: 128; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprAirplane
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   475
            (FileName: 'amAirplane'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   476
            Width:  64; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: 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
   477
            (FileName:   'amGirder'; Path: ptCurrTheme; AltPath: ptGraphics; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   478
            Width: 160; Height:160; imageWidth: 0; imageHeight: 0; saveSurf: true; critical: true; checkSum: true; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprAmGirder
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   479
            (FileName:     'hhMask'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   480
            Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: true; critical: true; checkSum: true; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHHTelepMask
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   481
            (FileName:     'Switch'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   482
            Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprSwitch
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   483
            (FileName:  'Parachute'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   484
            Width:  48; Height: 48; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprParachute
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   485
            (FileName:     'Target'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   486
            Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprTarget
14949
8b53cb1c0ada make rope styleable
alfadur
parents: 14866
diff changeset
   487
            (FileName:   'RopeNode'; Path: ptCurrTheme; AltPath: ptGraphics; Texture: nil; Surface: nil;
8b53cb1c0ada make rope styleable
alfadur
parents: 14866
diff changeset
   488
            Width:   16; Height:  16; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprRopeNode
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   489
            (FileName:   'thinking'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   490
            Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprQuestion
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   491
            (FileName:   'PowerBar'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   492
            Width: 256; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprPowerBar
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   493
            (FileName:    'WindBar'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   494
            Width: 151; Height: 17; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprWindBar
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   495
            (FileName:      'WindL'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   496
            Width:  80; Height: 13; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprWindL
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   497
            (FileName:      'WindR'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   498
            Width:  80; Height: 13; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprWindR
6676
21cf35a570a7 add keywords for landscape ammomenu and touch interface
koda
parents: 6648
diff changeset
   499
{$IFDEF USE_TOUCH_INTERFACE}
6637
b4a3310f2974 show buttons on the screen, similar to the iOS overlay
Xeli
parents: 6632
diff changeset
   500
            (FileName: 'firebutton'; Path: ptButtons; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   501
            Width: 128; Height: 128; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpHigh; getDimensions: false; getImageDimensions: true), // sprFireButton
11112
520b57e0c518 - Name fixing for buttons
antonc27 <antonc27@mail.ru>
parents: 11096
diff changeset
   502
            (FileName: 'arrowup'; Path: ptButtons; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   503
            Width: 100; Height: 100; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpHigh; getDimensions: false; getImageDimensions: true), // sprArrowUp
11112
520b57e0c518 - Name fixing for buttons
antonc27 <antonc27@mail.ru>
parents: 11096
diff changeset
   504
            (FileName: 'arrowdown'; Path: ptButtons; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   505
            Width: 100; Height: 100; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpHigh; getDimensions: false; getImageDimensions: true), // sprArrowDown
11112
520b57e0c518 - Name fixing for buttons
antonc27 <antonc27@mail.ru>
parents: 11096
diff changeset
   506
            (FileName: 'arrowleft'; Path: ptButtons; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   507
            Width: 100; Height: 100; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpHigh; getDimensions: false; getImageDimensions: true), // sprArrowLeft
11112
520b57e0c518 - Name fixing for buttons
antonc27 <antonc27@mail.ru>
parents: 11096
diff changeset
   508
            (FileName: 'arrowright'; Path: ptButtons; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   509
            Width: 100; Height: 100; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: 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
   510
            (FileName: 'forwardjump'; Path: ptButtons; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   511
            Width: 128; Height: 128; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: 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
   512
            (FileName: 'backjump'; Path: ptButtons; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   513
            Width: 128; Height: 128; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: 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
   514
            (FileName: 'pause'; Path: ptButtons; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   515
            Width: 120; Height: 100; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpHigh; getDimensions: false; getImageDimensions: true), // sprPauseButton
11212
89f6c8cf60c8 - Timer button added to mobile touch controls
antonc27 <antonc27@mail.ru>
parents: 11166
diff changeset
   516
            (FileName: 'timerbutton'; Path: ptButtons; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   517
            Width: 128; Height: 128; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpHigh; getDimensions: false; getImageDimensions: true), // sprTimerButton
11213
e3bce5a79207 - Target button added to mobile touch controls
antonc27 <antonc27@mail.ru>
parents: 11212
diff changeset
   518
            (FileName: 'targetbutton'; Path: ptButtons; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   519
            Width: 128; Height: 128; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpHigh; getDimensions: false; getImageDimensions: true), // sprTargetButton
11214
22f2e072d31e - Target button added to mobile touch controls
antonc27 <antonc27@mail.ru>
parents: 11213
diff changeset
   520
            (FileName: 'switchbutton'; Path: ptButtons; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   521
            Width: 128; Height: 128; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpHigh; getDimensions: false; getImageDimensions: true), // sprSwitchButton
14543
1dab5d92aca7 Add button to set bounciness in touch interface
Wuzzy <Wuzzy2@mail.ru>
parents: 14527
diff changeset
   522
            (FileName: 'bouncebutton'; Path: ptButtons; AltPath: ptNone; Texture: nil; Surface: nil;
1dab5d92aca7 Add button to set bounciness in touch interface
Wuzzy <Wuzzy2@mail.ru>
parents: 14527
diff changeset
   523
            Width: 128; Height: 128; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpHigh; getDimensions: false; getImageDimensions: true), // sprBounceButton
6637
b4a3310f2974 show buttons on the screen, similar to the iOS overlay
Xeli
parents: 6632
diff changeset
   524
{$ENDIF}
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   525
            (FileName:      'Flake'; Path:ptCurrTheme; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   526
            Width:  64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprFlake
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   527
            (FileName:     'amRope'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   528
            Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandRope
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   529
            (FileName:  'amBazooka'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   530
            Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandBazooka
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   531
            (FileName:  'amShotgun'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   532
            Width:  64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandShotgun
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   533
            (FileName:   'amDEagle'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   534
            Width:  64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandDEagle
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   535
            (FileName:'amAirAttack'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   536
            Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandAirAttack
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   537
            (FileName: 'amBaseball'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   538
            Width:  64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandBaseball
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   539
            (FileName:     'Hammer'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   540
            Width:  32; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprPHammer
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   541
            (FileName: 'amBTorch_i'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   542
            Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandBlowTorch
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   543
            (FileName: 'amBTorch_w'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   544
            Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprBlowTorch
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   545
            (FileName:   'Teleport'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   546
            Width:  64; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprTeleport
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   547
            (FileName:    'HHDeath'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   548
            Width:  32; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprHHDeath
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   549
            (FileName:'amShotgun_w'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   550
            Width:  64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprShotgun
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   551
            (FileName: 'amDEagle_w'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   552
            Width:  64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprDEagle
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   553
            (FileName:       'Idle'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   554
            Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprHHIdle
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   555
            (FileName:     'Mortar'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   556
            Width:  16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprMortar
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   557
            (FileName:  'TurnsLeft'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   558
            Width:  16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: true; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprTurnsLeft
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   559
            (FileName: 'amKamikaze'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   560
            Width: 128; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprKamikaze
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   561
            (FileName:     'amWhip'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   562
            Width: 128; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprWhip
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   563
            (FileName:     'Kowtow'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   564
            Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprKowtow
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   565
            (FileName:        'Sad'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   566
            Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprSad
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   567
            (FileName:       'Wave'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   568
            Width:  64; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprWave
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   569
            (FileName:     'Hurrah'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   570
            Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprHurrah
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   571
            (FileName:'ILoveLemonade';Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   572
            Width: 128; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprLemonade
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   573
            (FileName:      'Shrug'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   574
            Width: 32;  Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprShrug
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   575
            (FileName:     'Juggle'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   576
            Width: 32;  Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprJuggle
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   577
            (FileName:   'ExplPart'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   578
            Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprExplPart
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   579
            (FileName:  'ExplPart2'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   580
            Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprExplPart2
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   581
            (FileName:  'Cake_walk'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   582
            Width:  64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprCakeWalk
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   583
            (FileName:  'Cake_down'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   584
            Width:  64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprCakeDown
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   585
            (FileName: 'Watermelon'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   586
            Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprWatermelon
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   587
            (FileName:  'EvilTrace'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   588
            Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprEvilTrace
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   589
            (FileName:'HellishBomb'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   590
            Width:  16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHellishBomb
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   591
            (FileName:  'Seduction'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   592
            Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprSeduction
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   593
            (FileName:    'HHDress'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   594
            Width:  64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprDress
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   595
            (FileName:   'Censored'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   596
            Width:  64; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprCensored
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   597
            (FileName:      'Drill'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   598
            Width:  16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprDrill
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   599
            (FileName:    'amDrill'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   600
            Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandDrill
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   601
            (FileName:  'amBallgun'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   602
            Width:  64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandBallgun
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   603
            (FileName:      'Balls'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   604
            Width:  32; Height: 20; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprBalls
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   605
            (FileName:    'RCPlane'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   606
            Width:  64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprPlane
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   607
            (FileName:  'amRCPlane'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   608
            Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandPlane
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   609
            (FileName:    'Utility'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   610
            Width:  48; Height: 48; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprUtility
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   611
            (FileName:'Invulnerable';Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   612
            Width:  48; Height: 48; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprInvulnerable
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   613
            (FileName:   'Vampiric'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   614
            Width:  48; Height: 48; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprVampiric
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   615
            (FileName:   'amGirder'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   616
            Width: 512; Height:512; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprGirder
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   617
            (FileName:'SpeechCorner';Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   618
            Width:  12; Height: 9; imageWidth: 0; imageHeight: 0; saveSurf: true; critical: true; checkSum: false; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprSpeechCorner
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   619
            (FileName: 'SpeechEdge'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   620
            Width:  25; Height: 9; imageWidth: 0; imageHeight: 0; saveSurf: true; critical: true; checkSum: false; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprSpeechEdge
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   621
            (FileName: 'SpeechTail'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   622
            Width:  25; Height: 26; imageWidth: 0; imageHeight: 0; saveSurf: true; critical: true; checkSum: false; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprSpeechTail
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   623
            (FileName:'ThoughtCorner';Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   624
            Width:  49; Height: 37; imageWidth: 0; imageHeight: 0; saveSurf: true; critical: true; checkSum: false; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprThoughtCorner
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   625
            (FileName:'ThoughtEdge'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   626
            Width:  23; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: true; critical: true; checkSum: false; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprThoughtEdge
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   627
            (FileName:'ThoughtTail'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   628
            Width:  45; Height: 65; imageWidth: 0; imageHeight: 0; saveSurf: true; critical: true; checkSum: false; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprThoughtTail
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   629
            (FileName:'ShoutCorner'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   630
            Width:  34; Height: 23; imageWidth: 0; imageHeight: 0; saveSurf: true; critical: true; checkSum: false; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprShoutCorner
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   631
            (FileName:  'ShoutEdge'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   632
            Width:  30; Height: 20; imageWidth: 0; imageHeight: 0; saveSurf: true; critical: true; checkSum: false; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprShoutEdge
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   633
            (FileName:  'ShoutTail'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   634
            Width:  30; Height: 37; imageWidth: 0; imageHeight: 0; saveSurf: true; critical: true; checkSum: false; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprShoutTail
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   635
            (FileName:'amSniperRifle';Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   636
            Width: 128; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprSniperRifle
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   637
            (FileName:    'Bubbles'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   638
            Width:  16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprBubbles
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   639
            (FileName:  'amJetpack'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   640
            Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprJetpack
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   641
            (FileName:  'Health'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   642
            Width: 16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprHealth
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   643
            (FileName:  'amMolotov'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   644
            Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),//sprHandMolotov
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   645
            (FileName:  'Molotov'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   646
            Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprMolotov
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   647
            (FileName: 'Smoke'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   648
            Width:  22; Height: 22; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprSmoke
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   649
            (FileName: 'SmokeWhite'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   650
            Width:  22; Height: 22; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprSmokeWhite
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   651
            (FileName: 'Shells'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   652
            Width:  8; Height: 8; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpLow; getDimensions: false; getImageDimensions: true),// sprShell
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   653
            (FileName: 'Dust'; Path: ptCurrTheme; AltPath: ptGraphics; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   654
            Width:  22; Height: 22; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprDust
5065
0c2c509ccc7b mikade really likes the snow dust
nemo
parents: 5046
diff changeset
   655
            (FileName: 'SnowDust'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   656
            Width:  22; Height: 22; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprSnowDust
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   657
            (FileName: 'Explosives'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   658
            Width:  48; Height: 48; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprExplosives
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   659
            (FileName: 'ExplosivesRoll'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   660
            Width:  48; Height: 48; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprExplosivesRoll
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   661
            (FileName: 'amTeleport'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   662
            Width:  64; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprAmTeleport
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   663
            (FileName: 'Splash'; Path: ptCurrTheme; AltPath: ptGraphics; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   664
            Width:  80; Height: 50; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprSplash
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   665
            (FileName: 'Droplet'; Path: ptCurrTheme; AltPath: ptGraphics; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   666
            Width:  16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprDroplet
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   667
            (FileName: 'Birdy'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   668
            Width:  75; Height: 75; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprBirdy
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   669
            (FileName:  'amCake'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   670
            Width:  64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandCake
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   671
            (FileName:  'amConstruction'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   672
            Width:  64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandConstruction
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   673
            (FileName:  'amGrenade'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   674
            Width:  64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandGrenade
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   675
            (FileName:  'amMelon'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   676
            Width:  64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandMelon
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   677
            (FileName:  'amMortar'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   678
            Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandMortar
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   679
            (FileName:  'amSkip'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   680
            Width:  64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandSkip
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   681
            (FileName:  'amCluster'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   682
            Width:  64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandCluster
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   683
            (FileName:  'amDynamite'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   684
            Width:  64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandDynamite
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   685
            (FileName:  'amHellish'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   686
            Width:  64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandHellish
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   687
            (FileName:  'amMine'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   688
            Width:  64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandMine
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   689
            (FileName:  'amSeduction'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   690
            Width:  64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandSeduction
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   691
            (FileName:  'amVamp'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   692
            Width:  128; Height: 128; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandVamp
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   693
            (FileName:  'BigExplosion'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   694
            Width:  385; Height: 385; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprBigExplosion
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   695
            (FileName:  'SmokeRing'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   696
            Width:  200; Height: 200; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprSmokeRing
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   697
            (FileName:  'BeeTrace'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   698
            Width:  16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprBeeTrace
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   699
            (FileName:  'Egg'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   700
            Width:  16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprEgg
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   701
            (FileName:  'TargetBee'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   702
            Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: true; critical: true; checkSum: true; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprTargetBee
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   703
            (FileName:  'amBee'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   704
            Width:  128; Height: 128; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandBee
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   705
            (FileName:  'Feather'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   706
            Width:  15; Height: 25; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprFeather
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   707
            (FileName:  'Piano'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   708
            Width:  128; Height: 128; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprPiano
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   709
            (FileName:  'amSineGun'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   710
            Width:  128; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandSineGun
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   711
            (FileName:  'amPortalGun'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   712
            Width: 128; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprPortalGun
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   713
            (FileName:  'Portal'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   714
            Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprPortal
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   715
            (FileName:  'cheese'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   716
            Width:  16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprCheese
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   717
            (FileName:  'amCheese'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   718
            Width:  64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandCheese
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   719
            (FileName:  'amFlamethrower'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   720
            Width:  128; Height: 128; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: 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
   721
            (FileName:  'Chunk'; Path: ptCurrTheme; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   722
            Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: false; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprChunk
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   723
            (FileName:  'Note'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   724
            Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprNote
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   725
            (FileName:   'SMineOff'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   726
            Width:   8; Height:  8; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprSMineOff
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   727
            (FileName:    'SMineOn'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   728
            Width:   8; Height:  8; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprSMineOn
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   729
            (FileName:   'amSMine'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   730
            Width:  64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandSMine
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   731
            (FileName:  'amHammer'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   732
            Width: 128; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true), // sprHammer
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   733
            (FileName: 'amResurrector'; Path: ptHedgehog; AltPath: ptNone;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   734
                Texture: nil; Surface: nil; Width: 32; Height: 32;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   735
                imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority:
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   736
                tpMedium; getDimensions: false; getImageDimensions: true),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   737
            //sprHandResurrector
6891
ab9843957664 Improve rendering of function types, ranges, and more
unc0rr
parents: 6890
diff changeset
   738
            (FileName: 'Cross'; Path: ptGraphics; AltPath: ptNone;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   739
                Texture: nil; Surface: nil; Width: 108; Height: 138;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   740
                imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority:
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   741
                tpMedium; getDimensions: false; getImageDimensions: true),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   742
            //sprCross
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   743
            (FileName:  'AirDrill'; Path: ptGraphics; AltPath: ptNone;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   744
                Texture: nil; Surface: nil; Width:  16; Height: 16;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   745
                imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority:
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   746
                tpMedium; getDimensions: false; getImageDimensions: true),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   747
            // sprAirDrill
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   748
            (FileName:  'NapalmBomb'; Path: ptGraphics; AltPath: ptNone;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   749
                Texture: nil; Surface: nil; Width:  16; Height: 16;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   750
                imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority:
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   751
                tpMedium; getDimensions: false; getImageDimensions: true),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   752
            // sprNapalmBomb
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   753
            (FileName:  'BulletHit'; Path: ptGraphics; AltPath: ptNone;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   754
                Texture: nil; Surface: nil; Width:  32; Height: 32;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   755
                imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority:
4578
f3cf226fad16 Snowball weapon
nemo
parents: 4554
diff changeset
   756
                tpMedium; getDimensions: false; getImageDimensions: true),
12903
8a40ce061d94 Machinegun. also tweaked ignore
alfadur
parents: 12890
diff changeset
   757
            // sprBulletHit
4578
f3cf226fad16 Snowball weapon
nemo
parents: 4554
diff changeset
   758
            (FileName:  'Snowball'; Path: ptCurrTheme; AltPath: ptGraphics; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   759
            Width:  16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprSnowball
4578
f3cf226fad16 Snowball weapon
nemo
parents: 4554
diff changeset
   760
            (FileName:  'amSnowball'; Path: ptCurrTheme; AltPath: ptHedgehog; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   761
            Width:  64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandSnowball
4611
445d382cd401 A very very basic snow implementation
nemo
parents: 4578
diff changeset
   762
            (FileName:  'Snow'; Path: ptCurrTheme; AltPath: ptGraphics; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   763
            Width:  4; Height: 4; imageWidth: 0; imageHeight: 0; saveSurf: true; critical: true; checkSum: 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
   764
            (FileName:    'SDFlake'; Path: ptCurrTheme; AltPath: ptSuddenDeath; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   765
            Width:  64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: 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
   766
            (FileName:    'SDWater'; Path: ptCurrTheme; AltPath: ptSuddenDeath; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   767
            Width:   0; Height:  -2; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: true; getImageDimensions: true),// sprSDWater
4772
02370ca8e92c sudden death: now having theme support, still some work though with config
Henek
parents: 4748
diff changeset
   768
            (FileName:   'SDClouds'; Path: ptCurrTheme; AltPath: ptSuddenDeath; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   769
            Width: 256; Height:128; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprSDCloud
4782
603916ddf4b6 added also splash and droplets to sd and refactored theme.cfg, not all themes updated
Henek
parents: 4780
diff changeset
   770
            (FileName:   'SDSplash'; Path: ptCurrTheme; AltPath: ptSuddenDeath; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   771
            Width:  80; Height: 50; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprSDSplash
4782
603916ddf4b6 added also splash and droplets to sd and refactored theme.cfg, not all themes updated
Henek
parents: 4780
diff changeset
   772
            (FileName:  'SDDroplet'; Path: ptCurrTheme; AltPath: ptSuddenDeath; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   773
            Width:  16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprSDDroplet
11021
981775ec7dda fix timebox sprite
sheepluva
parents: 10955
diff changeset
   774
            (FileName:  'Timebox'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   775
            Width:  50; Height: 81; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprTardis
6627
18cbb75aba59 add individual hog healths to team health bar
nemo
parents: 6622
diff changeset
   776
            (FileName:  'slider'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   777
            Width: 3; Height: 17; imageWidth: 3; imageHeight: 17; saveSurf: false; critical: true; checkSum: false; priority: tpLow; getDimensions: false; getImageDimensions: false), // sprSlider
7495
2592240b7b62 Add bot level to CPU flag
nemo
parents: 7416
diff changeset
   778
            (FileName:  'botlevels'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   779
            Width: 22; Height: 15; imageWidth: 22; imageHeight: 15; saveSurf: true; critical: true; checkSum: false; priority: tpLow; getDimensions: false; getImageDimensions: false), // sprBotlevels
7754
e81dc9bef8b8 First pass at cleaver.
nemo
parents: 7730
diff changeset
   780
            (FileName:  'amCleaver'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
14768
4deba377799e Fix floating pixels if wielding and rotating cleaver
Wuzzy <Wuzzy2@mail.ru>
parents: 14754
diff changeset
   781
            Width:  128; Height: 128; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandKnife
7754
e81dc9bef8b8 First pass at cleaver.
nemo
parents: 7730
diff changeset
   782
            (FileName:  'cleaver'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   783
            Width: 64; Height: 64; imageWidth: 64; imageHeight: 128; saveSurf: false; critical: true; checkSum: false; priority: tpLow; getDimensions: false; getImageDimensions: false), // sprKnife
7754
e81dc9bef8b8 First pass at cleaver.
nemo
parents: 7730
diff changeset
   784
            (FileName:  'star'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   785
            Width: 12; Height: 12; imageWidth: 12; imageHeight: 12; saveSurf: false; critical: true; checkSum: false; priority: tpLow; getDimensions: false; getImageDimensions: false), // sprStar
8548
b98631bf2066 Add land freezing
Urbertar@gmail.com
parents: 8373
diff changeset
   786
            (FileName:  'icetexture'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   787
            Width: 128; Height: 128; imageWidth: 128; imageHeight: 128; saveSurf: true; critical: true; checkSum: false; priority: tpLow; getDimensions: false; getImageDimensions: true), // sprIceTexture
8554
84a279d0556c Add change ice gun image
Urbertar@gmail.com
parents: 8548
diff changeset
   788
            (FileName:  'amIceGun'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   789
            Width: 32; Height: 32; imageWidth: 32; imageHeight: 32; saveSurf: false; critical: true; checkSum: false; priority: tpLow; getDimensions: false; getImageDimensions: false), // sprIceGun
8557
18330b24b92c Add freezing hogs with icegun
Urbertar@gmail.com
parents: 8554
diff changeset
   790
            (FileName:  'amFrozenHog'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   791
            Width: 64; Height: 64; imageWidth: 64; imageHeight: 64; saveSurf: false; critical: true; checkSum: false; priority: tpLow; getDimensions: false; getImageDimensions: false), // sprFrozenHog
9768
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 9723
diff changeset
   792
            (FileName:   'amRubber'; Path: ptCurrTheme; AltPath: ptGraphics; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   793
            Width: 160; Height:160; imageWidth: 0; imageHeight: 0; saveSurf: true; critical: true; checkSum: true; priority: tpMedium; getDimensions: false; getImageDimensions: true), // sprAmRubber
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
   794
            (FileName:  'boing'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   795
            Width: 101; Height: 97; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpLow; getDimensions: false; getImageDimensions: false), // sprBoing
10339
a1168c400c90 couple of custom sprites for mikade to override in a lua sidecar if he wants to
nemo
parents: 10330
diff changeset
   796
            (FileName:       'custom1'; Path: ptCurrTheme;AltPath: ptGraphics; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   797
            Width:   0; Height:  0; imageWidth: 0; imageHeight: 0; saveSurf: true; critical: true; checkSum: true; priority: tpLow; getDimensions: true; getImageDimensions: true), // sprCustom1
10339
a1168c400c90 couple of custom sprites for mikade to override in a lua sidecar if he wants to
nemo
parents: 10330
diff changeset
   798
            (FileName:       'custom2'; Path: ptCurrTheme;AltPath: ptGraphics; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   799
            Width:   0; Height:  0; imageWidth: 0; imageHeight: 0; saveSurf: true; critical: true; checkSum: true; priority: tpLow; getDimensions: true; getImageDimensions: true), // sprCustom2
12673
308846e05154 extend overridable graphics/sounds to 8 of each, for lua scripters who really like having their own sprites/sounds. these should not be used in the engine.
nemo
parents: 12654
diff changeset
   800
            (FileName:       'custom3'; Path: ptCurrTheme;AltPath: ptGraphics; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   801
            Width:   0; Height:  0; imageWidth: 0; imageHeight: 0; saveSurf: true; critical: true; checkSum: true; priority: tpLow; getDimensions: true; getImageDimensions: true), // sprCustom3
12673
308846e05154 extend overridable graphics/sounds to 8 of each, for lua scripters who really like having their own sprites/sounds. these should not be used in the engine.
nemo
parents: 12654
diff changeset
   802
            (FileName:       'custom4'; Path: ptCurrTheme;AltPath: ptGraphics; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   803
            Width:   0; Height:  0; imageWidth: 0; imageHeight: 0; saveSurf: true; critical: true; checkSum: true; priority: tpLow; getDimensions: true; getImageDimensions: true), // sprCustom4
12673
308846e05154 extend overridable graphics/sounds to 8 of each, for lua scripters who really like having their own sprites/sounds. these should not be used in the engine.
nemo
parents: 12654
diff changeset
   804
            (FileName:       'custom5'; Path: ptCurrTheme;AltPath: ptGraphics; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   805
            Width:   0; Height:  0; imageWidth: 0; imageHeight: 0; saveSurf: true; critical: true; checkSum: true; priority: tpLow; getDimensions: true; getImageDimensions: true), // sprCustom5
12673
308846e05154 extend overridable graphics/sounds to 8 of each, for lua scripters who really like having their own sprites/sounds. these should not be used in the engine.
nemo
parents: 12654
diff changeset
   806
            (FileName:       'custom6'; Path: ptCurrTheme;AltPath: ptGraphics; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   807
            Width:   0; Height:  0; imageWidth: 0; imageHeight: 0; saveSurf: true; critical: true; checkSum: true; priority: tpLow; getDimensions: true; getImageDimensions: true), // sprCustom6
12673
308846e05154 extend overridable graphics/sounds to 8 of each, for lua scripters who really like having their own sprites/sounds. these should not be used in the engine.
nemo
parents: 12654
diff changeset
   808
            (FileName:       'custom7'; Path: ptCurrTheme;AltPath: ptGraphics; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   809
            Width:   0; Height:  0; imageWidth: 0; imageHeight: 0; saveSurf: true; critical: true; checkSum: true; priority: tpLow; getDimensions: true; getImageDimensions: true), // sprCustom7
12673
308846e05154 extend overridable graphics/sounds to 8 of each, for lua scripters who really like having their own sprites/sounds. these should not be used in the engine.
nemo
parents: 12654
diff changeset
   810
            (FileName:       'custom8'; Path: ptCurrTheme;AltPath: ptGraphics; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   811
            Width:   0; Height:  0; imageWidth: 0; imageHeight: 0; saveSurf: true; critical: true; checkSum: true; priority: tpLow; getDimensions: true; getImageDimensions: true), // sprCustom8
13409
8ce83caec236 Make mine active/hunting glow a bit more obvious. Add frozen sprite, increase ice beam mine "hit" radius a bit
nemo
parents: 13375
diff changeset
   812
            (FileName:      'FrozenAirMine'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
13410
4c813650fe17 make the mine slippery too since it has the ice finish - add a gmDelete to the gear if you want it to *not* explode when hit ☺
nemo
parents: 13409
diff changeset
   813
            Width:  32; Height: 32; imageWidth: 32; imageHeight: 32; saveSurf: true; critical: true; checkSum: true; priority: tpHighest; getDimensions: false; getImageDimensions: true), // sprFrozenAirMine
10792
f6df7d6e18e5 Toss in scaled down underwater SD mine as "air mine" pending, er, cybernetic butterflies or whatever
nemo
parents: 10789
diff changeset
   814
            (FileName:      'AirMine'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   815
            Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpHighest; getDimensions: false; getImageDimensions: true), // sprAirMine
11178
5cadfe82eaf6 airmine hand sprite by wuzzy. totally temporary...
nemo
parents: 11164
diff changeset
   816
            (FileName:  'amAirMine'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   817
            Width:  64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true), // sprHandAirMine
12163
4d1250ca68ac added CloudsL and FlakeL
KoBeWi <kobewi4e@gmail.com>
parents: 12124
diff changeset
   818
            (FileName:      'FlakeL'; Path:ptCurrTheme; AltPath: ptNone; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   819
            Width:  64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: false; checkSum: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprFlakeL
12163
4d1250ca68ac added CloudsL and FlakeL
KoBeWi <kobewi4e@gmail.com>
parents: 12124
diff changeset
   820
            (FileName:    'SDFlakeL'; Path: ptCurrTheme; AltPath: ptSuddenDeath; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   821
            Width:  64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: false; checkSum: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprSDFlakeL
12163
4d1250ca68ac added CloudsL and FlakeL
KoBeWi <kobewi4e@gmail.com>
parents: 12124
diff changeset
   822
            (FileName:     'CloudsL'; Path: ptCurrTheme;AltPath: ptGraphics; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   823
            Width: 256; Height:128; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: false; checkSum: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprCloudL
12163
4d1250ca68ac added CloudsL and FlakeL
KoBeWi <kobewi4e@gmail.com>
parents: 12124
diff changeset
   824
            (FileName:     'SDCloudsL'; Path: ptCurrTheme;AltPath: ptGraphics; Texture: nil; Surface: nil;
12706
79e13080b9db mark up sprites for uStore loading. critical is for ones needed for proper gameplay, checksum is for ones where the game will desync if they don't match. will add checksumming next...
nemo
parents: 12692
diff changeset
   825
            Width: 256; Height:128; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: false; checkSum: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprSDCloudL
13856
f01798038c2e Rename amDuck and related symbols to amCreeper, gtCreeper, etc.
Wuzzy <Wuzzy2@mail.ru>
parents: 13782
diff changeset
   826
            // TODO: Rename creeper image
12197
de9144250c37 Add gear gtDuck: rubber duck
Wuzzy <almikes@aol.com>
parents: 12195
diff changeset
   827
            (FileName:     'Duck'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
13856
f01798038c2e Rename amDuck and related symbols to amCreeper, gtCreeper, etc.
Wuzzy <Wuzzy2@mail.ru>
parents: 13782
diff changeset
   828
            Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprCreeper
f01798038c2e Rename amDuck and related symbols to amCreeper, gtCreeper, etc.
Wuzzy <Wuzzy2@mail.ru>
parents: 13782
diff changeset
   829
            // TODO: Rename creeper hand image
12198
71c47122fbc0 Add ammotype amDuck for rubber duck
Wuzzy <almikes@aol.com>
parents: 12197
diff changeset
   830
            (FileName:    'amDuck'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
13856
f01798038c2e Rename amDuck and related symbols to amCreeper, gtCreeper, etc.
Wuzzy <Wuzzy2@mail.ru>
parents: 13782
diff changeset
   831
            Width:  64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true), // sprHandCreeper
12903
8a40ce061d94 Machinegun. also tweaked ignore
alfadur
parents: 12890
diff changeset
   832
            (FileName: 'amMinigun'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
14741
8563cc40fc1e Invert colors if clan color is very dark
Wuzzy <Wuzzy2@mail.ru>
parents: 14686
diff changeset
   833
            Width:  64; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true), // sprMinigun
8563cc40fc1e Invert colors if clan color is very dark
Wuzzy <Wuzzy2@mail.ru>
parents: 14686
diff changeset
   834
            (FileName:  'sliderInverted'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
8563cc40fc1e Invert colors if clan color is very dark
Wuzzy <Wuzzy2@mail.ru>
parents: 14686
diff changeset
   835
            Width: 3; Height: 17; imageWidth: 3; imageHeight: 17; saveSurf: false; critical: true; checkSum: false; priority: tpLow; getDimensions: false; getImageDimensions: false), // sprSliderInverted
8563cc40fc1e Invert colors if clan color is very dark
Wuzzy <Wuzzy2@mail.ru>
parents: 14686
diff changeset
   836
            (FileName:     'FingerBack'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
8563cc40fc1e Invert colors if clan color is very dark
Wuzzy <Wuzzy2@mail.ru>
parents: 14686
diff changeset
   837
            Width:  32; Height: 48; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true), // sprFingerBack
8563cc40fc1e Invert colors if clan color is very dark
Wuzzy <Wuzzy2@mail.ru>
parents: 14686
diff changeset
   838
            (FileName:     'FingerBackInv'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
8563cc40fc1e Invert colors if clan color is very dark
Wuzzy <Wuzzy2@mail.ru>
parents: 14686
diff changeset
   839
            Width:  32; Height: 48; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprFingerBackInv
8563cc40fc1e Invert colors if clan color is very dark
Wuzzy <Wuzzy2@mail.ru>
parents: 14686
diff changeset
   840
            (FileName:    'TargetpBack'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
8563cc40fc1e Invert colors if clan color is very dark
Wuzzy <Wuzzy2@mail.ru>
parents: 14686
diff changeset
   841
            Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprTargetPBack
8563cc40fc1e Invert colors if clan color is very dark
Wuzzy <Wuzzy2@mail.ru>
parents: 14686
diff changeset
   842
            (FileName:    'TargetpBackInv'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
14969
bcecb3349948 Display current health in top right corner
Wuzzy <Wuzzy2@mail.ru>
parents: 14949
diff changeset
   843
            Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprTargetPBackInv
bcecb3349948 Display current health in top right corner
Wuzzy <Wuzzy2@mail.ru>
parents: 14949
diff changeset
   844
            (FileName:    'HealthHUD'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
14970
cf21a45a62bd Make health HUD icon green if hog poisoned
Wuzzy <Wuzzy2@mail.ru>
parents: 14969
diff changeset
   845
            Width:  18; Height: 18; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHealthHud
cf21a45a62bd Make health HUD icon green if hog poisoned
Wuzzy <Wuzzy2@mail.ru>
parents: 14969
diff changeset
   846
            (FileName:    'HealthPoisonHUD'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
14971
5a9d203f7c82 Show vampirism icon when vampirism is active
Wuzzy <Wuzzy2@mail.ru>
parents: 14970
diff changeset
   847
            Width:  18; Height: 18; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHealthPoisonHud
5a9d203f7c82 Show vampirism icon when vampirism is active
Wuzzy <Wuzzy2@mail.ru>
parents: 14970
diff changeset
   848
            (FileName:    'VampHUD'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
14972
9939134b566d Show more health-related icons in top right corner
Wuzzy <Wuzzy2@mail.ru>
parents: 14971
diff changeset
   849
            Width:  24; Height: 18; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprVampHUD
9939134b566d Show more health-related icons in top right corner
Wuzzy <Wuzzy2@mail.ru>
parents: 14971
diff changeset
   850
            (FileName:    'KarmaHUD'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
9939134b566d Show more health-related icons in top right corner
Wuzzy <Wuzzy2@mail.ru>
parents: 14971
diff changeset
   851
            Width:  18; Height: 18; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprKarmaHUD
9939134b566d Show more health-related icons in top right corner
Wuzzy <Wuzzy2@mail.ru>
parents: 14971
diff changeset
   852
            (FileName:    'MedicHUD'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
9939134b566d Show more health-related icons in top right corner
Wuzzy <Wuzzy2@mail.ru>
parents: 14971
diff changeset
   853
            Width:  18; Height: 18; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprMedicHud
9939134b566d Show more health-related icons in top right corner
Wuzzy <Wuzzy2@mail.ru>
parents: 14971
diff changeset
   854
            (FileName:    'MedicPoisonHUD'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
9939134b566d Show more health-related icons in top right corner
Wuzzy <Wuzzy2@mail.ru>
parents: 14971
diff changeset
   855
            Width:  18; Height: 18; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprMedicPoisonHud
9939134b566d Show more health-related icons in top right corner
Wuzzy <Wuzzy2@mail.ru>
parents: 14971
diff changeset
   856
            (FileName:    'HaloHUD'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
9939134b566d Show more health-related icons in top right corner
Wuzzy <Wuzzy2@mail.ru>
parents: 14971
diff changeset
   857
            Width:  22; Height: 11; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHaloHUD
9939134b566d Show more health-related icons in top right corner
Wuzzy <Wuzzy2@mail.ru>
parents: 14971
diff changeset
   858
            (FileName:    'InvulnHUD'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
15002
216376ea0df1 Add piano icon on mouse cursor when selecting piano strike
Wuzzy <Wuzzy2@mail.ru>
parents: 15001
diff changeset
   859
            Width:  18; Height: 18; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprInvulnHUD
216376ea0df1 Add piano icon on mouse cursor when selecting piano strike
Wuzzy <Wuzzy2@mail.ru>
parents: 15001
diff changeset
   860
            (FileName: 'amPiano'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
15003
39dd40aca1b1 Add separate hand image for landspray
Wuzzy <Wuzzy2@mail.ru>
parents: 15002
diff changeset
   861
            Width:  42; Height: 42; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprAmPiano
39dd40aca1b1 Add separate hand image for landspray
Wuzzy <Wuzzy2@mail.ru>
parents: 15002
diff changeset
   862
            (FileName:  'amLandGun'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
15065
9dbbb4bc1dcd add idle shouryuuken animation
alfadur
parents: 15057
diff changeset
   863
            Width:  64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true), // sprHandLandGun
9dbbb4bc1dcd add idle shouryuuken animation
alfadur
parents: 15057
diff changeset
   864
            (FileName: 'amShoryuken'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
15210
8705ee93f8b3 Display special icon when moving bee cursor over gray wrap area
Wuzzy <Wuzzy2@mail.ru>
parents: 15099
diff changeset
   865
            Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprFirePunch
8705ee93f8b3 Display special icon when moving bee cursor over gray wrap area
Wuzzy <Wuzzy2@mail.ru>
parents: 15099
diff changeset
   866
            (FileName: 'throughWrap'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
8705ee93f8b3 Display special icon when moving bee cursor over gray wrap area
Wuzzy <Wuzzy2@mail.ru>
parents: 15099
diff changeset
   867
            Width:  16; Height: 13; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true) // sprTroughWrap
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   868
            );
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   869
14741
8563cc40fc1e Invert colors if clan color is very dark
Wuzzy <Wuzzy2@mail.ru>
parents: 14686
diff changeset
   870
6982
8d41d22a291d breaking news, we don't support typed consts anymore
koda
parents: 6957
diff changeset
   871
const
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   872
    Wavez: array [TWave] of record
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   873
            Sprite: TSprite;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   874
            FramesCount: Longword;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   875
            Interval: Longword;
6891
ab9843957664 Improve rendering of function types, ranges, and more
unc0rr
parents: 6890
diff changeset
   876
            cmd: string[31];
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   877
            Voice: TSound;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   878
            VoiceDelay: LongWord;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   879
            end = (
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   880
            (Sprite:   sprKowtow; FramesCount: 12; Interval: 125; cmd: '/rollup'; Voice: sndNone; VoiceDelay: 0),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   881
            (Sprite:      sprSad; FramesCount: 14; Interval: 125; cmd: '/sad'; Voice: sndNone; VoiceDelay: 0),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   882
            (Sprite:     sprWave; FramesCount: 16; Interval: 125; cmd: '/wave'; Voice: sndHello; VoiceDelay: 5),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   883
            (Sprite:   sprHurrah; FramesCount: 14; Interval: 125; cmd: '/hurrah'; Voice: sndNone; VoiceDelay: 0),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   884
            (Sprite: sprLemonade; FramesCount: 24; Interval: 125; cmd: '/ilovelotsoflemonade'; Voice: sndNone; VoiceDelay: 0),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   885
            (Sprite:    sprShrug; FramesCount: 24; Interval: 125; cmd: '/shrug'; Voice: sndNone; VoiceDelay: 0),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   886
            (Sprite:   sprJuggle; FramesCount: 49; Interval:  38; cmd: '/juggle'; Voice: sndNone; VoiceDelay: 0)
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   887
            );
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   888
11164
e19cf9459665 uVariables: also initialize arrays and records in initModule
sheepluva
parents: 11154
diff changeset
   889
type
e19cf9459665 uVariables: also initialize arrays and records in initModule
sheepluva
parents: 11154
diff changeset
   890
    TAmmozRec = record
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   891
            NameId: TAmmoStrId;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   892
            NameTex: PTexture;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   893
            Probability, NumberInCase: Longword;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   894
            Ammo: TAmmo;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   895
            Slot: 0..cMaxSlotIndex;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   896
            TimeAfterTurn: Longword;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   897
            minAngle, maxAngle: Longword;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   898
            isDamaging: boolean;
10015
4feced261c68 partial merge of the webgl branch
koda
parents: 10009 9954
diff changeset
   899
            SkipTurns: LongWord;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   900
            PosCount: Longword;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   901
            PosSprite: TSprite;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   902
            ejectX, ejectY: Longint;
11164
e19cf9459665 uVariables: also initialize arrays and records in initModule
sheepluva
parents: 11154
diff changeset
   903
            end;
13460
38814954a248 Fix GetAmmo getting wrong ammo count
Wuzzy <Wuzzy2@mail.ru>
parents: 13410
diff changeset
   904
    TAmmoCounts = array[TAmmoType] of Longword;
11164
e19cf9459665 uVariables: also initialize arrays and records in initModule
sheepluva
parents: 11154
diff changeset
   905
e19cf9459665 uVariables: also initialize arrays and records in initModule
sheepluva
parents: 11154
diff changeset
   906
var
e19cf9459665 uVariables: also initialize arrays and records in initModule
sheepluva
parents: 11154
diff changeset
   907
    Ammoz: array [TAmmoType] of TAmmozRec;
13460
38814954a248 Fix GetAmmo getting wrong ammo count
Wuzzy <Wuzzy2@mail.ru>
parents: 13410
diff changeset
   908
    InitialAmmoCounts: TAmmoCounts;
11164
e19cf9459665 uVariables: also initialize arrays and records in initModule
sheepluva
parents: 11154
diff changeset
   909
e19cf9459665 uVariables: also initialize arrays and records in initModule
sheepluva
parents: 11154
diff changeset
   910
const
e19cf9459665 uVariables: also initialize arrays and records in initModule
sheepluva
parents: 11154
diff changeset
   911
    AmmozInit: array [TAmmoType] of TAmmozRec = (
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   912
            (NameId: sidNothing;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   913
            NameTex: nil;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   914
            Probability: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   915
            NumberInCase: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   916
            Ammo: (Propz: ammoprop_NoCrosshair or ammoprop_DontHold or ammoprop_Effect;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   917
                Count: AMMO_INFINITE;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   918
                NumPerTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   919
                Timer: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   920
                Pos: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   921
                AmmoType: amNothing;
5319
51d8e4747876 bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents: 5316
diff changeset
   922
                AttackVoice: sndNone;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
   923
                Bounciness: defaultBounciness);
12713
5ef6780b1c05 Move amNothing from F1 slot to new special hidden weapon slot. Move amDuck to F1
Wuzzy <almikes@aol.com>
parents: 12706
diff changeset
   924
            Slot: cHiddenSlotIndex;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   925
            TimeAfterTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   926
            minAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   927
            maxAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   928
            isDamaging: false;
15027
9a7a5833fad2 Fix un-selecting weapon while in multishoot allowing another attack
Wuzzy <Wuzzy2@mail.ru>
parents: 15003
diff changeset
   929
            SkipTurns: 0;
15001
7ff86274114e Refactor PosCount: Use 0 instead of 1 for unused PosSprite
Wuzzy <Wuzzy2@mail.ru>
parents: 15000
diff changeset
   930
            PosCount: 0;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   931
            PosSprite: sprWater;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   932
            ejectX: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   933
            ejectY: 0),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   934
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   935
// Grenade
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   936
            (NameId: sidGrenade;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   937
            NameTex: nil;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   938
            Probability: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   939
            NumberInCase: 1;
8330
aaefa587e277 update branch with default
koda
parents: 8096 8309
diff changeset
   940
            Ammo: (Propz: ammoprop_Timerable or
aaefa587e277 update branch with default
koda
parents: 8096 8309
diff changeset
   941
                          ammoprop_Power or
aaefa587e277 update branch with default
koda
parents: 8096 8309
diff changeset
   942
                          ammoprop_AltUse or
6941
228c0ab239f1 add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents: 6894
diff changeset
   943
                          ammoprop_SetBounce or
228c0ab239f1 add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents: 6894
diff changeset
   944
                          ammoprop_NeedUpDown;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   945
                Count: AMMO_INFINITE;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   946
                NumPerTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   947
                Timer: 3000;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   948
                Pos: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   949
                AmmoType: amGrenade;
5319
51d8e4747876 bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents: 5316
diff changeset
   950
                AttackVoice: sndCover;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
   951
                Bounciness: defaultBounciness);
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   952
            Slot: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   953
            TimeAfterTurn: 3000;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   954
            minAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   955
            maxAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   956
            isDamaging: true;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   957
            SkipTurns: 0;
15001
7ff86274114e Refactor PosCount: Use 0 instead of 1 for unused PosSprite
Wuzzy <Wuzzy2@mail.ru>
parents: 15000
diff changeset
   958
            PosCount: 0;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   959
            PosSprite: sprWater;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   960
            ejectX: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   961
            ejectY: 0),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   962
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   963
// ClusterBomb
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   964
            (NameId: sidClusterBomb;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   965
            NameTex: nil;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   966
            Probability: 100;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   967
            NumberInCase: 3;
8330
aaefa587e277 update branch with default
koda
parents: 8096 8309
diff changeset
   968
            Ammo: (Propz: ammoprop_Timerable or
aaefa587e277 update branch with default
koda
parents: 8096 8309
diff changeset
   969
                          ammoprop_Power or
aaefa587e277 update branch with default
koda
parents: 8096 8309
diff changeset
   970
                          ammoprop_AltUse or
6941
228c0ab239f1 add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents: 6894
diff changeset
   971
                          ammoprop_SetBounce or
228c0ab239f1 add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents: 6894
diff changeset
   972
                          ammoprop_NeedUpDown;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   973
                Count: 5;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   974
                NumPerTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   975
                Timer: 3000;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   976
                Pos: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   977
                AmmoType: amClusterBomb;
5319
51d8e4747876 bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents: 5316
diff changeset
   978
                AttackVoice: sndCover;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
   979
                Bounciness: defaultBounciness);
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   980
            Slot: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   981
            TimeAfterTurn: 3000;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   982
            minAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   983
            maxAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   984
            isDamaging: true;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   985
            SkipTurns: 0;
15001
7ff86274114e Refactor PosCount: Use 0 instead of 1 for unused PosSprite
Wuzzy <Wuzzy2@mail.ru>
parents: 15000
diff changeset
   986
            PosCount: 0;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   987
            PosSprite: sprWater;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   988
            ejectX: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   989
            ejectY: 0),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   990
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   991
// Bazooka
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   992
            (NameId: sidBazooka;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   993
            NameTex: nil;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   994
            Probability: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   995
            NumberInCase: 1;
8330
aaefa587e277 update branch with default
koda
parents: 8096 8309
diff changeset
   996
            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
   997
                          ammoprop_AltUse or
228c0ab239f1 add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents: 6894
diff changeset
   998
                          ammoprop_NeedUpDown;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
   999
                Count: AMMO_INFINITE;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1000
                NumPerTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1001
                Timer: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1002
                Pos: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1003
                AmmoType: amBazooka;
14021
09e2e52aa025 Add 2 taunts: Fire, WatchThis (attack voice for some weapons)
Wuzzy <Wuzzy2@mail.ru>
parents: 14001
diff changeset
  1004
                AttackVoice: sndFire;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  1005
                Bounciness: defaultBounciness);
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1006
            Slot: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1007
            TimeAfterTurn: 3000;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1008
            minAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1009
            maxAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1010
            isDamaging: true;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1011
            SkipTurns: 0;
15001
7ff86274114e Refactor PosCount: Use 0 instead of 1 for unused PosSprite
Wuzzy <Wuzzy2@mail.ru>
parents: 15000
diff changeset
  1012
            PosCount: 0;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1013
            PosSprite: sprWater;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1014
            ejectX: 0; //20;
12322
b81a1d1497c4 Backed out changeset 98824a464230 (disable GetLaunchX/Y again)
Wuzzy <almikes@aol.com>
parents: 12311
diff changeset
  1015
            ejectY: -6),
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1016
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1017
// Bee
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1018
            (NameId: sidBee;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1019
            NameTex: nil;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1020
            Probability: 100;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1021
            NumberInCase: 1;
8330
aaefa587e277 update branch with default
koda
parents: 8096 8309
diff changeset
  1022
            Ammo: (Propz: ammoprop_Power or
aaefa587e277 update branch with default
koda
parents: 8096 8309
diff changeset
  1023
                          ammoprop_NeedTarget or
12692
ebb32d3021a5 Fix cursor still being visible after using piano strike
Wuzzy <almikes@aol.com>
parents: 12673
diff changeset
  1024
                          ammoprop_NoTargetAfter or
14519
5ac181cb2396 Fix bee targeting fail across wrap world edge
Wuzzy <Wuzzy2@mail.ru>
parents: 14482
diff changeset
  1025
                          ammoprop_NoWrapTarget or
6941
228c0ab239f1 add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents: 6894
diff changeset
  1026
                          ammoprop_DontHold or
15099
42a8656afcac Homing bee can now be used as secondary ammo
Wuzzy <Wuzzy2@mail.ru>
parents: 15098
diff changeset
  1027
                          ammoprop_AltUse or
6941
228c0ab239f1 add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents: 6894
diff changeset
  1028
                          ammoprop_NeedUpDown;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1029
                Count: 2;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1030
                NumPerTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1031
                Timer: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1032
                Pos: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1033
                AmmoType: amBee;
14021
09e2e52aa025 Add 2 taunts: Fire, WatchThis (attack voice for some weapons)
Wuzzy <Wuzzy2@mail.ru>
parents: 14001
diff changeset
  1034
                AttackVoice: sndFire;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  1035
                Bounciness: defaultBounciness);
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1036
            Slot: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1037
            TimeAfterTurn: 3000;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1038
            minAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1039
            maxAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1040
            isDamaging: true;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1041
            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
  1042
            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
  1043
            PosSprite: sprTargetBee;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1044
            ejectX: 0; //16;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1045
            ejectY: 0),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1046
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1047
// Shotgun
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1048
            (NameId: sidShotgun;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1049
            NameTex: nil;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1050
            Probability: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1051
            NumberInCase: 1;
6941
228c0ab239f1 add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents: 6894
diff changeset
  1052
            Ammo: (Propz: ammoprop_ForwMsgs or
9573
49bca2fabbd3 Oh, dudes :(
unc0rr
parents: 9557
diff changeset
  1053
                          ammoprop_NeedUpDown or
49bca2fabbd3 Oh, dudes :(
unc0rr
parents: 9557
diff changeset
  1054
                          ammoprop_DoesntStopTimerInMultiShoot;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1055
                Count: AMMO_INFINITE;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1056
                NumPerTurn: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1057
                Timer: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1058
                Pos: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1059
                AmmoType: amShotgun;
5319
51d8e4747876 bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents: 5316
diff changeset
  1060
                AttackVoice: sndNone;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  1061
                Bounciness: defaultBounciness);
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1062
            Slot: 2;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1063
            TimeAfterTurn: 3000;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1064
            minAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1065
            maxAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1066
            isDamaging: true;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1067
            SkipTurns: 0;
15001
7ff86274114e Refactor PosCount: Use 0 instead of 1 for unused PosSprite
Wuzzy <Wuzzy2@mail.ru>
parents: 15000
diff changeset
  1068
            PosCount: 0;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1069
            PosSprite: sprWater;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1070
            ejectX: 0; //26;
12322
b81a1d1497c4 Backed out changeset 98824a464230 (disable GetLaunchX/Y again)
Wuzzy <almikes@aol.com>
parents: 12311
diff changeset
  1071
            ejectY: -6),
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1072
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1073
// PickHammer
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1074
            (NameId: sidPickHammer;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1075
            NameTex: nil;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1076
            Probability: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1077
            NumberInCase: 1;
8330
aaefa587e277 update branch with default
koda
parents: 8096 8309
diff changeset
  1078
            Ammo: (Propz: ammoprop_ForwMsgs or
aaefa587e277 update branch with default
koda
parents: 8096 8309
diff changeset
  1079
                          ammoprop_AttackInMove or
aaefa587e277 update branch with default
koda
parents: 8096 8309
diff changeset
  1080
                          ammoprop_NoCrosshair or
11920
16ce211010cf Add ammoprop for blowtorch and pickhammer for not stopping timer in inf attack
Wuzzy <almikes@aol.com>
parents: 11918
diff changeset
  1081
                          ammoprop_DontHold or
16ce211010cf Add ammoprop for blowtorch and pickhammer for not stopping timer in inf attack
Wuzzy <almikes@aol.com>
parents: 11918
diff changeset
  1082
                          ammoprop_DoesntStopTimerWhileAttackingInInfAttackMode;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1083
                Count: 2;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1084
                NumPerTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1085
                Timer: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1086
                Pos: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1087
                AmmoType: amPickHammer;
5319
51d8e4747876 bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents: 5316
diff changeset
  1088
                AttackVoice: sndNone;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  1089
                Bounciness: defaultBounciness);
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1090
            Slot: 6;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1091
            TimeAfterTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1092
            minAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1093
            maxAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1094
            isDamaging: false;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1095
            SkipTurns: 0;
15001
7ff86274114e Refactor PosCount: Use 0 instead of 1 for unused PosSprite
Wuzzy <Wuzzy2@mail.ru>
parents: 15000
diff changeset
  1096
            PosCount: 0;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1097
            PosSprite: sprWater;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1098
            ejectX: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1099
            ejectY: 0),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1100
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1101
// Skip
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1102
            (NameId: sidSkip;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1103
            NameTex: nil;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1104
            Probability: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1105
            NumberInCase: 1;
9839
96e3914e8154 Allow skip in move
unc0rr
parents: 9769
diff changeset
  1106
            Ammo: (Propz: ammoprop_NoCrosshair or
96e3914e8154 Allow skip in move
unc0rr
parents: 9769
diff changeset
  1107
                          ammoprop_AttackInMove or
12654
2837dee472cc Show selected weapon again when using it in inf attack mode
Wuzzy <almikes@aol.com>
parents: 12329
diff changeset
  1108
                          ammoprop_DontHold or
2837dee472cc Show selected weapon again when using it in inf attack mode
Wuzzy <almikes@aol.com>
parents: 12329
diff changeset
  1109
                          ammoprop_ForceTurnEnd;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1110
                Count: AMMO_INFINITE;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1111
                NumPerTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1112
                Timer: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1113
                Pos: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1114
                AmmoType: amSkip;
5319
51d8e4747876 bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents: 5316
diff changeset
  1115
                AttackVoice: sndNone;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  1116
                Bounciness: defaultBounciness);
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1117
            Slot: 9;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1118
            TimeAfterTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1119
            minAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1120
            maxAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1121
            isDamaging: false;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1122
            SkipTurns: 0;
15001
7ff86274114e Refactor PosCount: Use 0 instead of 1 for unused PosSprite
Wuzzy <Wuzzy2@mail.ru>
parents: 15000
diff changeset
  1123
            PosCount: 0;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1124
            PosSprite: sprWater;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1125
            ejectX: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1126
            ejectY: 0),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1127
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1128
// Rope
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1129
            (NameId: sidRope;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1130
            NameTex: nil;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1131
            Probability: 100;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1132
            NumberInCase: 3;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1133
            Ammo: (Propz: ammoprop_NoRoundEnd or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1134
                          ammoprop_ForwMsgs or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1135
                          ammoprop_AttackInMove or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1136
                          ammoprop_Utility or
6941
228c0ab239f1 add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents: 6894
diff changeset
  1137
                          ammoprop_AltAttack or
9573
49bca2fabbd3 Oh, dudes :(
unc0rr
parents: 9557
diff changeset
  1138
                          ammoprop_NeedUpDown or
49bca2fabbd3 Oh, dudes :(
unc0rr
parents: 9557
diff changeset
  1139
                          ammoprop_DoesntStopTimerWhileAttacking;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1140
                    Count: 5;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1141
                    NumPerTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1142
                    Timer: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1143
                    Pos: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1144
                    AmmoType: amRope;
5319
51d8e4747876 bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents: 5316
diff changeset
  1145
                    AttackVoice: sndNone;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  1146
                Bounciness: defaultBounciness);
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1147
            Slot: 7;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1148
            TimeAfterTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1149
            minAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1150
            maxAngle: cMaxAngle div 2;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1151
            isDamaging: false;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1152
            SkipTurns: 0;
15001
7ff86274114e Refactor PosCount: Use 0 instead of 1 for unused PosSprite
Wuzzy <Wuzzy2@mail.ru>
parents: 15000
diff changeset
  1153
            PosCount: 0;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1154
            PosSprite: sprWater;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1155
            ejectX: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1156
            ejectY: 0),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1157
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1158
// Mine
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1159
            (NameId: sidMine;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1160
            NameTex: nil;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1161
            Probability: 100;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1162
            NumberInCase: 1;
8330
aaefa587e277 update branch with default
koda
parents: 8096 8309
diff changeset
  1163
            Ammo: (Propz: ammoprop_NoCrosshair or
aaefa587e277 update branch with default
koda
parents: 8096 8309
diff changeset
  1164
                          ammoprop_AttackInMove or
aaefa587e277 update branch with default
koda
parents: 8096 8309
diff changeset
  1165
                          ammoprop_DontHold or
aaefa587e277 update branch with default
koda
parents: 8096 8309
diff changeset
  1166
                          ammoprop_AltUse or
6941
228c0ab239f1 add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents: 6894
diff changeset
  1167
                          ammoprop_SetBounce;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1168
                Count: 2;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1169
                NumPerTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1170
                Timer: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1171
                Pos: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1172
                AmmoType: amMine;
5319
51d8e4747876 bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents: 5316
diff changeset
  1173
                AttackVoice: sndLaugh;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  1174
                Bounciness: defaultBounciness);
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1175
            Slot: 4;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1176
            TimeAfterTurn: 5000;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1177
            minAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1178
            maxAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1179
            isDamaging: true;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1180
            SkipTurns: 0;
15001
7ff86274114e Refactor PosCount: Use 0 instead of 1 for unused PosSprite
Wuzzy <Wuzzy2@mail.ru>
parents: 15000
diff changeset
  1181
            PosCount: 0;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1182
            PosSprite: sprWater;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1183
            ejectX: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1184
            ejectY: 0),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1185
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1186
// DEagle
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1187
            (NameId: sidDEagle;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1188
            NameTex: nil;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1189
            Probability: 20;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1190
            NumberInCase: 2;
9573
49bca2fabbd3 Oh, dudes :(
unc0rr
parents: 9557
diff changeset
  1191
            Ammo: (Propz: ammoprop_NeedUpDown or ammoprop_DoesntStopTimerInMultiShoot;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1192
                Count: 3;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1193
                NumPerTurn: 3;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1194
                Timer: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1195
                Pos: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1196
                AmmoType: amDEagle;
5319
51d8e4747876 bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents: 5316
diff changeset
  1197
                AttackVoice: sndNone;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  1198
                Bounciness: defaultBounciness);
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1199
            Slot: 2;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1200
            TimeAfterTurn: 3000;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1201
            minAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1202
            maxAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1203
            isDamaging: true;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1204
            SkipTurns: 0;
15001
7ff86274114e Refactor PosCount: Use 0 instead of 1 for unused PosSprite
Wuzzy <Wuzzy2@mail.ru>
parents: 15000
diff changeset
  1205
            PosCount: 0;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1206
            PosSprite: sprWater;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1207
            ejectX: 0; //23;
12322
b81a1d1497c4 Backed out changeset 98824a464230 (disable GetLaunchX/Y again)
Wuzzy <almikes@aol.com>
parents: 12311
diff changeset
  1208
            ejectY: -6),
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1209
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1210
// Dynamite
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1211
            (NameId: sidDynamite;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1212
            NameTex: nil;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1213
            Probability: 100;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1214
            NumberInCase: 1;
8330
aaefa587e277 update branch with default
koda
parents: 8096 8309
diff changeset
  1215
            Ammo: (Propz: ammoprop_NoCrosshair or
aaefa587e277 update branch with default
koda
parents: 8096 8309
diff changeset
  1216
                          ammoprop_AttackInMove or
aaefa587e277 update branch with default
koda
parents: 8096 8309
diff changeset
  1217
                          ammoprop_DontHold or
6941
228c0ab239f1 add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents: 6894
diff changeset
  1218
                          ammoprop_AltUse;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1219
                Count: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1220
                NumPerTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1221
                Timer: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1222
                Pos: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1223
                AmmoType: amDynamite;
5319
51d8e4747876 bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents: 5316
diff changeset
  1224
                AttackVoice: sndLaugh;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  1225
                Bounciness: defaultBounciness);
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1226
            Slot: 4;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1227
            TimeAfterTurn: 5000;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1228
            minAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1229
            maxAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1230
            isDamaging: true;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1231
            SkipTurns: 0;
15001
7ff86274114e Refactor PosCount: Use 0 instead of 1 for unused PosSprite
Wuzzy <Wuzzy2@mail.ru>
parents: 15000
diff changeset
  1232
            PosCount: 0;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1233
            PosSprite: sprWater;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1234
            ejectX: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1235
            ejectY: 0),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1236
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1237
// FirePunch
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1238
            (NameId: sidFirePunch;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1239
            NameTex: nil;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1240
            Probability: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1241
            NumberInCase: 1;
8330
aaefa587e277 update branch with default
koda
parents: 8096 8309
diff changeset
  1242
            Ammo: (Propz: ammoprop_NoCrosshair or
aaefa587e277 update branch with default
koda
parents: 8096 8309
diff changeset
  1243
                          ammoprop_ForwMsgs or
6941
228c0ab239f1 add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents: 6894
diff changeset
  1244
                          ammoprop_AttackInMove;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1245
                Count: AMMO_INFINITE;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1246
                NumPerTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1247
                Timer: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1248
                Pos: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1249
                AmmoType: amFirePunch;
5319
51d8e4747876 bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents: 5316
diff changeset
  1250
                AttackVoice: sndNone;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  1251
                Bounciness: defaultBounciness);
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1252
            Slot: 3;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1253
            TimeAfterTurn: 3000;
6894
555a8d8db228 Some more progress with pas2c
unc0rr
parents: 6891
diff changeset
  1254
            minAngle: 0;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1255
            maxAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1256
            isDamaging: true;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1257
            SkipTurns: 0;
15001
7ff86274114e Refactor PosCount: Use 0 instead of 1 for unused PosSprite
Wuzzy <Wuzzy2@mail.ru>
parents: 15000
diff changeset
  1258
            PosCount: 0;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1259
            PosSprite: sprWater;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1260
            ejectX: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1261
            ejectY: 0),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1262
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1263
// Whip
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1264
            (NameId: sidWhip;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1265
            NameTex: nil;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1266
            Probability: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1267
            NumberInCase: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1268
            Ammo: (Propz: ammoprop_NoCrosshair;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1269
                Count: AMMO_INFINITE;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1270
                NumPerTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1271
                Timer: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1272
                Pos: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1273
                AmmoType: amWhip;
5319
51d8e4747876 bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents: 5316
diff changeset
  1274
                AttackVoice: sndNone;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  1275
                Bounciness: defaultBounciness);
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1276
            Slot: 3;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1277
            TimeAfterTurn: 3000;
6894
555a8d8db228 Some more progress with pas2c
unc0rr
parents: 6891
diff changeset
  1278
            minAngle: 0;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1279
            maxAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1280
            isDamaging: true;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1281
            SkipTurns: 0;
15001
7ff86274114e Refactor PosCount: Use 0 instead of 1 for unused PosSprite
Wuzzy <Wuzzy2@mail.ru>
parents: 15000
diff changeset
  1282
            PosCount: 0;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1283
            PosSprite: sprWater;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1284
            ejectX: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1285
            ejectY: 0),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1286
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1287
// BaseballBat
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1288
            (NameId: sidBaseballBat;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1289
            NameTex: nil;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1290
            Probability: 100;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1291
            NumberInCase: 1;
6941
228c0ab239f1 add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents: 6894
diff changeset
  1292
            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
  1293
                          ammoprop_NeedUpDown;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1294
                Count: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1295
                NumPerTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1296
                Timer: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1297
                Pos: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1298
                AmmoType: amBaseballBat;
5319
51d8e4747876 bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents: 5316
diff changeset
  1299
                AttackVoice: sndNone;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  1300
                Bounciness: defaultBounciness);
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1301
            Slot: 3;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1302
            TimeAfterTurn: 5000;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1303
            minAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1304
            maxAngle: cMaxAngle div 2;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1305
            isDamaging: true;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1306
            SkipTurns: 2;
15001
7ff86274114e Refactor PosCount: Use 0 instead of 1 for unused PosSprite
Wuzzy <Wuzzy2@mail.ru>
parents: 15000
diff changeset
  1307
            PosCount: 0;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1308
            PosSprite: sprWater;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1309
            ejectX: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1310
            ejectY: 0),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1311
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1312
// Parachute
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1313
            (NameId: sidParachute;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1314
            NameTex: nil;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1315
            Probability: 100;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1316
            NumberInCase: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1317
            Ammo: (Propz: ammoprop_NoRoundEnd or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1318
                          ammoprop_ForwMsgs or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1319
                          ammoprop_AttackInMove or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1320
                          ammoprop_NoCrosshair or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1321
                          ammoprop_DontHold or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1322
                          ammoprop_Utility or
6941
228c0ab239f1 add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents: 6894
diff changeset
  1323
                          ammoprop_AltAttack or
15000
e796e9a88394 Show icon above hedgehog for most ammos without hand image
Wuzzy <Wuzzy2@mail.ru>
parents: 14972
diff changeset
  1324
                          ammoprop_ShowSelIcon or
6941
228c0ab239f1 add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents: 6894
diff changeset
  1325
                          ammoprop_NeedUpDown;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1326
                Count: 2;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1327
                NumPerTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1328
                Timer: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1329
                Pos: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1330
                AmmoType: amParachute;
5319
51d8e4747876 bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents: 5316
diff changeset
  1331
                AttackVoice: sndNone;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  1332
                Bounciness: defaultBounciness);
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1333
            Slot: 7;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1334
            TimeAfterTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1335
            minAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1336
            maxAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1337
            isDamaging: false;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1338
            SkipTurns: 0;
15001
7ff86274114e Refactor PosCount: Use 0 instead of 1 for unused PosSprite
Wuzzy <Wuzzy2@mail.ru>
parents: 15000
diff changeset
  1339
            PosCount: 0;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1340
            PosSprite: sprWater;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1341
            ejectX: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1342
            ejectY: 0),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1343
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1344
// AirAttack
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1345
            (NameId: sidAirAttack;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1346
            NameTex: nil;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1347
            Probability: 100;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1348
            NumberInCase: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1349
            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
  1350
                          ammoprop_NeedTarget or
228c0ab239f1 add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents: 6894
diff changeset
  1351
                          ammoprop_AttackingPut or
228c0ab239f1 add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents: 6894
diff changeset
  1352
                          ammoprop_DontHold or
228c0ab239f1 add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents: 6894
diff changeset
  1353
                          ammoprop_NotBorder;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1354
                Count: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1355
                NumPerTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1356
                Timer: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1357
                Pos: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1358
                AmmoType: amAirAttack;
14570
833ab5b359e5 Deny air attack in bounce world edge if target is in "impossible" position
Wuzzy <Wuzzy2@mail.ru>
parents: 14558
diff changeset
  1359
                AttackVoice: sndNone; // handled in doStepAirAttack
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  1360
                Bounciness: defaultBounciness);
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1361
            Slot: 5;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1362
            TimeAfterTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1363
            minAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1364
            maxAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1365
            isDamaging: true;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1366
            SkipTurns: 5;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1367
            PosCount: 2;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1368
            PosSprite: sprAmAirplane;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1369
            ejectX: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1370
            ejectY: 0),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1371
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1372
// MineStrike
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1373
            (NameId: sidMineStrike;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1374
            NameTex: nil;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1375
            Probability: 200;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1376
            NumberInCase: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1377
            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
  1378
                          ammoprop_NeedTarget or
228c0ab239f1 add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents: 6894
diff changeset
  1379
                          ammoprop_AttackingPut or
228c0ab239f1 add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents: 6894
diff changeset
  1380
                          ammoprop_DontHold or
228c0ab239f1 add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents: 6894
diff changeset
  1381
                          ammoprop_NotBorder;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1382
                Count: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1383
                NumPerTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1384
                Timer: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1385
                Pos: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1386
                AmmoType: amMineStrike;
14570
833ab5b359e5 Deny air attack in bounce world edge if target is in "impossible" position
Wuzzy <Wuzzy2@mail.ru>
parents: 14558
diff changeset
  1387
                AttackVoice: sndNone; // handled in doStepAirAttack
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  1388
                Bounciness: defaultBounciness);
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1389
            Slot: 5;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1390
            TimeAfterTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1391
            minAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1392
            maxAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1393
            isDamaging: true;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1394
            SkipTurns: 5;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1395
            PosCount: 2;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1396
            PosSprite: sprAmAirplane;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1397
            ejectX: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1398
            ejectY: 0),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1399
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1400
// BlowTorch
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1401
            (NameId: sidBlowTorch;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1402
            NameTex: nil;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1403
            Probability: 100;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1404
            NumberInCase: 2;
6941
228c0ab239f1 add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents: 6894
diff changeset
  1405
            Ammo: (Propz: ammoprop_ForwMsgs or
11920
16ce211010cf Add ammoprop for blowtorch and pickhammer for not stopping timer in inf attack
Wuzzy <almikes@aol.com>
parents: 11918
diff changeset
  1406
                          ammoprop_NeedUpDown or
16ce211010cf Add ammoprop for blowtorch and pickhammer for not stopping timer in inf attack
Wuzzy <almikes@aol.com>
parents: 11918
diff changeset
  1407
                          ammoprop_DoesntStopTimerWhileAttackingInInfAttackMode;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1408
                Count: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1409
                NumPerTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1410
                Timer: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1411
                Pos: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1412
                AmmoType: amBlowTorch;
5319
51d8e4747876 bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents: 5316
diff changeset
  1413
                AttackVoice: sndNone;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  1414
                Bounciness: defaultBounciness);
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1415
            Slot: 6;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1416
            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
  1417
            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
  1418
            maxAngle: 1327;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1419
            isDamaging: false;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1420
            SkipTurns: 0;
15001
7ff86274114e Refactor PosCount: Use 0 instead of 1 for unused PosSprite
Wuzzy <Wuzzy2@mail.ru>
parents: 15000
diff changeset
  1421
            PosCount: 0;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1422
            PosSprite: sprWater;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1423
            ejectX: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1424
            ejectY: 0),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1425
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1426
// Girder
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1427
            (NameId: sidGirder;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1428
            NameTex: nil;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1429
            Probability: 150;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1430
            NumberInCase: 3;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1431
            Ammo: (Propz: ammoprop_NoRoundEnd or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1432
                          ammoprop_NoCrosshair or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1433
                          ammoprop_NeedTarget or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1434
                          ammoprop_Utility or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1435
                          ammoprop_AttackingPut;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1436
                    Count: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1437
                    NumPerTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1438
                    Timer: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1439
                    Pos: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1440
                    AmmoType: amGirder;
5319
51d8e4747876 bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents: 5316
diff changeset
  1441
                    AttackVoice: sndNone;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  1442
                Bounciness: defaultBounciness);
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1443
            Slot: 6;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1444
            TimeAfterTurn: 3000;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1445
            minAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1446
            maxAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1447
            isDamaging: false;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1448
            SkipTurns: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1449
            PosCount: 8;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1450
            PosSprite: sprAmGirder;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1451
            ejectX: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1452
            ejectY: 0),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1453
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1454
// Teleport
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1455
            (NameId: sidTeleport;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1456
            NameTex: nil;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1457
            Probability: 200;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1458
            NumberInCase: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1459
            Ammo: (Propz: ammoprop_ForwMsgs or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1460
                          ammoprop_NoCrosshair or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1461
                          ammoprop_NeedTarget or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1462
                          ammoprop_AttackingPut or
15098
8cb1eebee4a0 Properly prevent using airstrike or girder in mid-air
Wuzzy <Wuzzy2@mail.ru>
parents: 15066
diff changeset
  1463
                          ammoprop_AttackInMove or
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1464
                          ammoprop_Utility or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1465
                          ammoprop_DontHold;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1466
                Count: 2;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1467
                NumPerTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1468
                Timer: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1469
                Pos: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1470
                AmmoType: amTeleport;
5319
51d8e4747876 bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents: 5316
diff changeset
  1471
                AttackVoice: sndNone;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  1472
                Bounciness: defaultBounciness);
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1473
            Slot: 7;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1474
            TimeAfterTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1475
            minAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1476
            maxAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1477
            isDamaging: false;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1478
            SkipTurns: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1479
            PosCount: 2;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1480
            PosSprite: sprAmTeleport;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1481
            ejectX: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1482
            ejectY: 0),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1483
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1484
// Switch
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1485
            (NameId: sidSwitch;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1486
            NameTex: nil;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1487
            Probability: 100;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1488
            NumberInCase: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1489
            Ammo: (Propz: ammoprop_NoRoundEnd or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1490
                          ammoprop_ForwMsgs or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1491
                          ammoprop_NoCrosshair or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1492
                          ammoprop_Utility or
15000
e796e9a88394 Show icon above hedgehog for most ammos without hand image
Wuzzy <Wuzzy2@mail.ru>
parents: 14972
diff changeset
  1493
                          ammoprop_ShowSelIcon or
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1494
                          ammoprop_DontHold;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1495
                    Count: 3;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1496
                    NumPerTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1497
                    Timer: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1498
                    Pos: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1499
                    AmmoType: amSwitch;
5319
51d8e4747876 bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents: 5316
diff changeset
  1500
                    AttackVoice: sndNone;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  1501
                Bounciness: defaultBounciness);
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1502
            Slot: 9;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1503
            TimeAfterTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1504
            minAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1505
            maxAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1506
            isDamaging: false;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1507
            SkipTurns: 0;
15001
7ff86274114e Refactor PosCount: Use 0 instead of 1 for unused PosSprite
Wuzzy <Wuzzy2@mail.ru>
parents: 15000
diff changeset
  1508
            PosCount: 0;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1509
            PosSprite: sprWater;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1510
            ejectX: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1511
            ejectY: 0),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1512
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1513
// Mortar
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1514
            (NameId: sidMortar;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1515
            NameTex: nil;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1516
            Probability: 100;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1517
            NumberInCase: 4;
11216
cd9a6fd65c82 - Mortar, Mudball and Land Spray need up/down buttons on mobile
antonc27 <antonc27@mail.ru>
parents: 11214
diff changeset
  1518
            Ammo: (Propz: ammoprop_NeedUpDown;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1519
                Count: 4;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1520
                NumPerTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1521
                Timer: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1522
                Pos: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1523
                AmmoType: amMortar;
5319
51d8e4747876 bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents: 5316
diff changeset
  1524
                AttackVoice: sndNone;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  1525
                Bounciness: defaultBounciness);
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1526
            Slot: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1527
            TimeAfterTurn: 3000;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1528
            minAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1529
            maxAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1530
            isDamaging: true;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1531
            SkipTurns: 0;
15001
7ff86274114e Refactor PosCount: Use 0 instead of 1 for unused PosSprite
Wuzzy <Wuzzy2@mail.ru>
parents: 15000
diff changeset
  1532
            PosCount: 0;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1533
            PosSprite: sprWater;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1534
            ejectX: 0; //20;
12322
b81a1d1497c4 Backed out changeset 98824a464230 (disable GetLaunchX/Y again)
Wuzzy <almikes@aol.com>
parents: 12311
diff changeset
  1535
            ejectY: -6),
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1536
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1537
// Kamikaze
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1538
            (NameId: sidKamikaze;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1539
            NameTex: nil;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1540
            Probability: 100;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1541
            NumberInCase: 1;
8330
aaefa587e277 update branch with default
koda
parents: 8096 8309
diff changeset
  1542
            Ammo: (Propz: ammoprop_ForwMsgs or
aaefa587e277 update branch with default
koda
parents: 8096 8309
diff changeset
  1543
                          ammoprop_DontHold or
6941
228c0ab239f1 add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents: 6894
diff changeset
  1544
                          ammoprop_NeedUpDown or
12654
2837dee472cc Show selected weapon again when using it in inf attack mode
Wuzzy <almikes@aol.com>
parents: 12329
diff changeset
  1545
                          ammoprop_AttackInMove or
2837dee472cc Show selected weapon again when using it in inf attack mode
Wuzzy <almikes@aol.com>
parents: 12329
diff changeset
  1546
                          ammoprop_ForceTurnEnd;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1547
                Count: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1548
                NumPerTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1549
                Timer: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1550
                Pos: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1551
                AmmoType: amKamikaze;
5319
51d8e4747876 bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents: 5316
diff changeset
  1552
                AttackVoice: sndNone;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  1553
                Bounciness: defaultBounciness);
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1554
            Slot: 3;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1555
            TimeAfterTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1556
            minAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1557
            maxAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1558
            isDamaging: true;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1559
            SkipTurns: 0;
15001
7ff86274114e Refactor PosCount: Use 0 instead of 1 for unused PosSprite
Wuzzy <Wuzzy2@mail.ru>
parents: 15000
diff changeset
  1560
            PosCount: 0;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1561
            PosSprite: sprWater;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1562
            ejectX: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1563
            ejectY: 0),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1564
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1565
// Cake
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1566
            (NameId: sidCake;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1567
            NameTex: nil;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1568
            Probability: 100;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1569
            NumberInCase: 1;
8330
aaefa587e277 update branch with default
koda
parents: 8096 8309
diff changeset
  1570
            Ammo: (Propz: ammoprop_ForwMsgs or
aaefa587e277 update branch with default
koda
parents: 8096 8309
diff changeset
  1571
                          ammoprop_NoCrosshair or
7416
2f2f78fc65a3 AI uses cake! Known issues: AI could damage itself for no reason, could let cake go looping in a hole with exit closed by AI hog.
unc0rr
parents: 7414
diff changeset
  1572
                          ammoprop_DontHold or
2f2f78fc65a3 AI uses cake! Known issues: AI could damage itself for no reason, could let cake go looping in a hole with exit closed by AI hog.
unc0rr
parents: 7414
diff changeset
  1573
                          ammoprop_Track;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1574
                Count: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1575
                NumPerTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1576
                Timer: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1577
                Pos: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1578
                AmmoType: amCake;
5319
51d8e4747876 bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents: 5316
diff changeset
  1579
                AttackVoice: sndLaugh;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  1580
                Bounciness: defaultBounciness);
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1581
            Slot: 4;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1582
            TimeAfterTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1583
            minAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1584
            maxAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1585
            isDamaging: true;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1586
            SkipTurns: 4;
15001
7ff86274114e Refactor PosCount: Use 0 instead of 1 for unused PosSprite
Wuzzy <Wuzzy2@mail.ru>
parents: 15000
diff changeset
  1587
            PosCount: 0;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1588
            PosSprite: sprWater;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1589
            ejectX: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1590
            ejectY: 0),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1591
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1592
// Seduction
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1593
            (NameId: sidSeduction;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1594
            NameTex: nil;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1595
            Probability: 100;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1596
            NumberInCase: 1;
8330
aaefa587e277 update branch with default
koda
parents: 8096 8309
diff changeset
  1597
            Ammo: (Propz: ammoprop_ForwMsgs or
6941
228c0ab239f1 add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents: 6894
diff changeset
  1598
                          ammoprop_DontHold or
228c0ab239f1 add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents: 6894
diff changeset
  1599
                          ammoprop_NoCrosshair;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1600
                Count: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1601
                NumPerTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1602
                Timer: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1603
                Pos: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1604
                AmmoType: amSeduction;
5319
51d8e4747876 bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents: 5316
diff changeset
  1605
                AttackVoice: sndNone;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  1606
                Bounciness: defaultBounciness);
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1607
            Slot: 3;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1608
            TimeAfterTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1609
            minAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1610
            maxAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1611
            isDamaging: false;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1612
            SkipTurns: 0;
15001
7ff86274114e Refactor PosCount: Use 0 instead of 1 for unused PosSprite
Wuzzy <Wuzzy2@mail.ru>
parents: 15000
diff changeset
  1613
            PosCount: 0;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1614
            PosSprite: sprWater;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1615
            ejectX: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1616
            ejectY: 0),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1617
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1618
// Watermelon
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1619
            (NameId: sidWatermelon;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1620
            NameTex: nil;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1621
            Probability: 400;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1622
            NumberInCase: 1;
8330
aaefa587e277 update branch with default
koda
parents: 8096 8309
diff changeset
  1623
            Ammo: (Propz: ammoprop_Timerable or
aaefa587e277 update branch with default
koda
parents: 8096 8309
diff changeset
  1624
                          ammoprop_Power or
6941
228c0ab239f1 add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents: 6894
diff changeset
  1625
                          ammoprop_NeedUpDown or
228c0ab239f1 add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents: 6894
diff changeset
  1626
                          ammoprop_AltUse;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1627
                Count: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1628
                NumPerTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1629
                Timer: 3000;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1630
                Pos: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1631
                AmmoType: amWatermelon;
5319
51d8e4747876 bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents: 5316
diff changeset
  1632
                AttackVoice: sndMelon;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  1633
                Bounciness: defaultBounciness);
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1634
            Slot: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1635
            TimeAfterTurn: 3000;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1636
            minAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1637
            maxAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1638
            isDamaging: true;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1639
            SkipTurns: 0;
15001
7ff86274114e Refactor PosCount: Use 0 instead of 1 for unused PosSprite
Wuzzy <Wuzzy2@mail.ru>
parents: 15000
diff changeset
  1640
            PosCount: 0;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1641
            PosSprite: sprWater;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1642
            ejectX: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1643
            ejectY: 0),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1644
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1645
// HellishBomb ("Hellish Hand-Grenade")
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1646
            (NameId: sidHellishBomb;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1647
            NameTex: nil;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1648
            Probability: 400;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1649
            NumberInCase: 1;
8330
aaefa587e277 update branch with default
koda
parents: 8096 8309
diff changeset
  1650
            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
  1651
                          ammoprop_NeedUpDown or
228c0ab239f1 add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents: 6894
diff changeset
  1652
                          ammoprop_AltUse;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1653
                Count: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1654
                NumPerTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1655
                Timer: 5000;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1656
                Pos: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1657
                AmmoType: amHellishBomb;
14021
09e2e52aa025 Add 2 taunts: Fire, WatchThis (attack voice for some weapons)
Wuzzy <Wuzzy2@mail.ru>
parents: 14001
diff changeset
  1658
                AttackVoice: sndWatchThis;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  1659
                Bounciness: defaultBounciness);
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1660
            Slot: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1661
            TimeAfterTurn: 3000;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1662
            minAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1663
            maxAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1664
            isDamaging: true;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1665
            SkipTurns: 0;
15001
7ff86274114e Refactor PosCount: Use 0 instead of 1 for unused PosSprite
Wuzzy <Wuzzy2@mail.ru>
parents: 15000
diff changeset
  1666
            PosCount: 0;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1667
            PosSprite: sprWater;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1668
            ejectX: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1669
            ejectY: 0),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1670
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1671
// Napalm
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1672
            (NameId: sidNapalm;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1673
            NameTex: nil;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1674
            Probability: 100;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1675
            NumberInCase: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1676
            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
  1677
                          ammoprop_NeedTarget or
228c0ab239f1 add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents: 6894
diff changeset
  1678
                          ammoprop_AttackingPut or
228c0ab239f1 add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents: 6894
diff changeset
  1679
                          ammoprop_DontHold or
228c0ab239f1 add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents: 6894
diff changeset
  1680
                          ammoprop_NotBorder;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1681
                Count: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1682
                NumPerTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1683
                Timer: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1684
                Pos: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1685
                AmmoType: amNapalm;
14570
833ab5b359e5 Deny air attack in bounce world edge if target is in "impossible" position
Wuzzy <Wuzzy2@mail.ru>
parents: 14558
diff changeset
  1686
                AttackVoice: sndNone; // handled in doStepAirAttack
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  1687
                Bounciness: defaultBounciness);
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1688
            Slot: 5;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1689
            TimeAfterTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1690
            minAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1691
            maxAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1692
            isDamaging: true;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1693
            SkipTurns: 7;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1694
            PosCount: 2;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1695
            PosSprite: sprAmAirplane;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1696
            ejectX: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1697
            ejectY: 0),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1698
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1699
// Drill ("Drill Rocket")
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1700
            (NameId: sidDrill;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1701
            NameTex: nil;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1702
            Probability: 300;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1703
            NumberInCase: 1;
8330
aaefa587e277 update branch with default
koda
parents: 8096 8309
diff changeset
  1704
            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
  1705
                          ammoprop_NeedUpDown or
228c0ab239f1 add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents: 6894
diff changeset
  1706
                          ammoprop_AltUse;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1707
                Count: AMMO_INFINITE;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1708
                NumPerTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1709
                Timer: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1710
                Pos: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1711
                AmmoType: amDrill;
14021
09e2e52aa025 Add 2 taunts: Fire, WatchThis (attack voice for some weapons)
Wuzzy <Wuzzy2@mail.ru>
parents: 14001
diff changeset
  1712
                AttackVoice: sndFire;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  1713
                Bounciness: defaultBounciness);
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1714
            Slot: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1715
            TimeAfterTurn: 3000;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1716
            minAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1717
            maxAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1718
            isDamaging: true;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1719
            SkipTurns: 0;
15001
7ff86274114e Refactor PosCount: Use 0 instead of 1 for unused PosSprite
Wuzzy <Wuzzy2@mail.ru>
parents: 15000
diff changeset
  1720
            PosCount: 0;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1721
            PosSprite: sprDrill;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1722
            ejectX: 0; //20;
12322
b81a1d1497c4 Backed out changeset 98824a464230 (disable GetLaunchX/Y again)
Wuzzy <almikes@aol.com>
parents: 12311
diff changeset
  1723
            ejectY: -6),
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1724
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1725
// Ballgun
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1726
            (NameId: sidBallgun;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1727
            NameTex: nil;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1728
            Probability: 400;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1729
            NumberInCase: 1;
8330
aaefa587e277 update branch with default
koda
parents: 8096 8309
diff changeset
  1730
            Ammo: (Propz: ammoprop_ForwMsgs or
6941
228c0ab239f1 add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents: 6894
diff changeset
  1731
                          ammoprop_NeedUpDown or
228c0ab239f1 add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents: 6894
diff changeset
  1732
                          ammoprop_DontHold;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1733
                Count: AMMO_INFINITE;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1734
                NumPerTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1735
                Timer: 5001;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1736
                Pos: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1737
                AmmoType: amBallgun;
5319
51d8e4747876 bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents: 5316
diff changeset
  1738
                AttackVoice: sndNone;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  1739
                Bounciness: defaultBounciness);
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1740
            Slot: 4;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1741
            TimeAfterTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1742
            minAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1743
            maxAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1744
            isDamaging: true;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1745
            SkipTurns: 0;
15001
7ff86274114e Refactor PosCount: Use 0 instead of 1 for unused PosSprite
Wuzzy <Wuzzy2@mail.ru>
parents: 15000
diff changeset
  1746
            PosCount: 0;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1747
            PosSprite: sprWater;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1748
            ejectX: 0; //20;
12322
b81a1d1497c4 Backed out changeset 98824a464230 (disable GetLaunchX/Y again)
Wuzzy <almikes@aol.com>
parents: 12311
diff changeset
  1749
            ejectY: -3),
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1750
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1751
// RC-Plane
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1752
            (NameId: sidRCPlane;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1753
            NameTex: nil;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1754
            Probability: 200;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1755
            NumberInCase: 1;
6941
228c0ab239f1 add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents: 6894
diff changeset
  1756
            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
  1757
                          ammoprop_NeedUpDown{ or
228c0ab239f1 add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents: 6894
diff changeset
  1758
                          ammoprop_DontHold or
228c0ab239f1 add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents: 6894
diff changeset
  1759
                          ammoprop_AltAttack};
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1760
                Count: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1761
                NumPerTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1762
                Timer: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1763
                Pos: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1764
                AmmoType: amRCPlane;
5319
51d8e4747876 bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents: 5316
diff changeset
  1765
                AttackVoice: sndNone;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  1766
                Bounciness: defaultBounciness);
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1767
            Slot: 4;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1768
            TimeAfterTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1769
            minAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1770
            maxAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1771
            isDamaging: true;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1772
            SkipTurns: 4;
15001
7ff86274114e Refactor PosCount: Use 0 instead of 1 for unused PosSprite
Wuzzy <Wuzzy2@mail.ru>
parents: 15000
diff changeset
  1773
            PosCount: 0;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1774
            PosSprite: sprWater;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1775
            ejectX: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1776
            ejectY: 0),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1777
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1778
// LowGravity
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1779
            (NameId: sidLowGravity;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1780
            NameTex: nil;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1781
            Probability: 20;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1782
            NumberInCase: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1783
            Ammo: (Propz: ammoprop_NoRoundEnd or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1784
                          ammoprop_NoCrosshair or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1785
                          ammoprop_DontHold or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1786
                          ammoprop_AltUse or
15000
e796e9a88394 Show icon above hedgehog for most ammos without hand image
Wuzzy <Wuzzy2@mail.ru>
parents: 14972
diff changeset
  1787
                          ammoprop_ShowSelIcon or
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1788
                          ammoprop_Utility or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1789
                          ammoprop_Effect;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1790
                    Count: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1791
                    NumPerTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1792
                    Timer: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1793
                    Pos: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1794
                    AmmoType: amLowGravity;
5319
51d8e4747876 bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents: 5316
diff changeset
  1795
                    AttackVoice: sndNone;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  1796
                Bounciness: defaultBounciness);
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1797
            Slot: 9;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1798
            TimeAfterTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1799
            minAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1800
            maxAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1801
            isDamaging: false;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1802
            SkipTurns: 0;
15001
7ff86274114e Refactor PosCount: Use 0 instead of 1 for unused PosSprite
Wuzzy <Wuzzy2@mail.ru>
parents: 15000
diff changeset
  1803
            PosCount: 0;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1804
            PosSprite: sprWater;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1805
            ejectX: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1806
            ejectY: 0),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1807
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1808
// ExtraDamage
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1809
            (NameId: sidExtraDamage;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1810
            NameTex: nil;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1811
            Probability: 15;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1812
            NumberInCase: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1813
            Ammo: (Propz: ammoprop_NoRoundEnd or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1814
                          ammoprop_NoCrosshair or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1815
                          ammoprop_DontHold or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1816
                          ammoprop_AltUse or
15000
e796e9a88394 Show icon above hedgehog for most ammos without hand image
Wuzzy <Wuzzy2@mail.ru>
parents: 14972
diff changeset
  1817
                          ammoprop_ShowSelIcon or
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1818
                          ammoprop_Utility or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1819
                          ammoprop_Effect;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1820
                    Count: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1821
                    NumPerTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1822
                    Timer: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1823
                    Pos: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1824
                    AmmoType: amExtraDamage;
5319
51d8e4747876 bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents: 5316
diff changeset
  1825
                    AttackVoice: sndNone;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  1826
                Bounciness: defaultBounciness);
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1827
            Slot: 9;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1828
            TimeAfterTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1829
            minAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1830
            maxAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1831
            isDamaging: false;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1832
            SkipTurns: 0;
15001
7ff86274114e Refactor PosCount: Use 0 instead of 1 for unused PosSprite
Wuzzy <Wuzzy2@mail.ru>
parents: 15000
diff changeset
  1833
            PosCount: 0;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1834
            PosSprite: sprWater;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1835
            ejectX: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1836
            ejectY: 0),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1837
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1838
// Invulnerable
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1839
            (NameId: sidInvulnerable;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1840
            NameTex: nil;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1841
            Probability: 20;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1842
            NumberInCase: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1843
            Ammo: (Propz: ammoprop_NoRoundEnd or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1844
                          ammoprop_NoCrosshair or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1845
                          ammoprop_DontHold or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1846
                          ammoprop_AltUse or
15000
e796e9a88394 Show icon above hedgehog for most ammos without hand image
Wuzzy <Wuzzy2@mail.ru>
parents: 14972
diff changeset
  1847
                          ammoprop_ShowSelIcon or
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1848
                          ammoprop_Utility or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1849
                          ammoprop_Effect;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1850
                    Count: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1851
                    NumPerTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1852
                    Timer: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1853
                    Pos: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1854
                    AmmoType: amInvulnerable;
5319
51d8e4747876 bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents: 5316
diff changeset
  1855
                    AttackVoice: sndNone;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  1856
                Bounciness: defaultBounciness);
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1857
            Slot: 8;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1858
            TimeAfterTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1859
            minAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1860
            maxAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1861
            isDamaging: false;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1862
            SkipTurns: 0;
15001
7ff86274114e Refactor PosCount: Use 0 instead of 1 for unused PosSprite
Wuzzy <Wuzzy2@mail.ru>
parents: 15000
diff changeset
  1863
            PosCount: 0;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1864
            PosSprite: sprWater;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1865
            ejectX: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1866
            ejectY: 0),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1867
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1868
// ExtraTime
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1869
            (NameId: sidExtraTime;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1870
            NameTex: nil;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1871
            Probability: 30;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1872
            NumberInCase: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1873
            Ammo: (Propz: ammoprop_NoRoundEnd or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1874
                          ammoprop_NoCrosshair or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1875
                          ammoprop_DontHold or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1876
                          ammoprop_AltUse or
15000
e796e9a88394 Show icon above hedgehog for most ammos without hand image
Wuzzy <Wuzzy2@mail.ru>
parents: 14972
diff changeset
  1877
                          ammoprop_ShowSelIcon or
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1878
                          ammoprop_Utility or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1879
                          ammoprop_Effect;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1880
                    Count: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1881
                    NumPerTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1882
                    Timer: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1883
                    Pos: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1884
                    AmmoType: amExtraTime;
5319
51d8e4747876 bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents: 5316
diff changeset
  1885
                    AttackVoice: sndNone;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  1886
                Bounciness: defaultBounciness);
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1887
            Slot: 9;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1888
            TimeAfterTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1889
            minAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1890
            maxAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1891
            isDamaging: false;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1892
            SkipTurns: 0;
15001
7ff86274114e Refactor PosCount: Use 0 instead of 1 for unused PosSprite
Wuzzy <Wuzzy2@mail.ru>
parents: 15000
diff changeset
  1893
            PosCount: 0;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1894
            PosSprite: sprWater;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1895
            ejectX: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1896
            ejectY: 0),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1897
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1898
// LaserSight
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1899
            (NameId: sidLaserSight;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1900
            NameTex: nil;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1901
            Probability: 15;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1902
            NumberInCase: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1903
            Ammo: (Propz: ammoprop_NoRoundEnd or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1904
                          ammoprop_NoCrosshair or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1905
                          ammoprop_DontHold or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1906
                          ammoprop_AltUse or
15000
e796e9a88394 Show icon above hedgehog for most ammos without hand image
Wuzzy <Wuzzy2@mail.ru>
parents: 14972
diff changeset
  1907
                          ammoprop_ShowSelIcon or
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1908
                          ammoprop_Utility or
6941
228c0ab239f1 add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents: 6894
diff changeset
  1909
                          ammoprop_NeedUpDown or
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1910
                          ammoprop_Effect;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1911
                    Count: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1912
                    NumPerTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1913
                    Timer: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1914
                    Pos: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1915
                    AmmoType: amLaserSight;
5319
51d8e4747876 bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents: 5316
diff changeset
  1916
                    AttackVoice: sndNone;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  1917
                Bounciness: defaultBounciness);
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1918
            Slot: 8;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1919
            TimeAfterTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1920
            minAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1921
            maxAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1922
            isDamaging: false;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1923
            SkipTurns: 0;
15001
7ff86274114e Refactor PosCount: Use 0 instead of 1 for unused PosSprite
Wuzzy <Wuzzy2@mail.ru>
parents: 15000
diff changeset
  1924
            PosCount: 0;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1925
            PosSprite: sprWater;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1926
            ejectX: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1927
            ejectY: 0),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1928
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1929
// Vampiric
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1930
            (NameId: sidVampiric;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1931
            NameTex: nil;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1932
            Probability: 15;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1933
            NumberInCase: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1934
            Ammo: (Propz: ammoprop_NoRoundEnd or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1935
                          ammoprop_NoCrosshair or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1936
                          ammoprop_DontHold or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1937
                          ammoprop_AltUse or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1938
                          ammoprop_Utility or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1939
                          ammoprop_Effect;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1940
                    Count: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1941
                    NumPerTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1942
                    Timer: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1943
                    Pos: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1944
                    AmmoType: amVampiric;
5319
51d8e4747876 bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents: 5316
diff changeset
  1945
                    AttackVoice: sndNone;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  1946
                Bounciness: defaultBounciness);
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1947
            Slot: 8;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1948
            TimeAfterTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1949
            minAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1950
            maxAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1951
            isDamaging: false;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1952
            SkipTurns: 0;
15001
7ff86274114e Refactor PosCount: Use 0 instead of 1 for unused PosSprite
Wuzzy <Wuzzy2@mail.ru>
parents: 15000
diff changeset
  1953
            PosCount: 0;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1954
            PosSprite: sprWater;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1955
            ejectX: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1956
            ejectY: 0),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1957
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1958
// SniperRifle
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1959
            (NameId: sidSniperRifle;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1960
            NameTex: nil;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1961
            Probability: 20;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1962
            NumberInCase: 2;
9573
49bca2fabbd3 Oh, dudes :(
unc0rr
parents: 9557
diff changeset
  1963
            Ammo: (Propz: ammoprop_NeedUpDown or
7197
5a9775b97c7e - TestSniperRifle ftw (still needs some consts adjustments, because AI seems to love sniper rifle too much)
unc0rr
parents: 7103
diff changeset
  1964
                    ammoprop_OscAim or
9573
49bca2fabbd3 Oh, dudes :(
unc0rr
parents: 9557
diff changeset
  1965
                    ammoprop_NoMoveAfter or
49bca2fabbd3 Oh, dudes :(
unc0rr
parents: 9557
diff changeset
  1966
                    ammoprop_DoesntStopTimerInMultiShoot;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1967
                Count: 2;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1968
                NumPerTurn: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1969
                Timer: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1970
                Pos: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1971
                AmmoType: amSniperRifle;
5319
51d8e4747876 bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents: 5316
diff changeset
  1972
                AttackVoice: sndNone;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  1973
                Bounciness: defaultBounciness);
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1974
            Slot: 2;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1975
            TimeAfterTurn: 3000;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1976
            minAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1977
            maxAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1978
            isDamaging: true;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1979
            SkipTurns: 0;
15001
7ff86274114e Refactor PosCount: Use 0 instead of 1 for unused PosSprite
Wuzzy <Wuzzy2@mail.ru>
parents: 15000
diff changeset
  1980
            PosCount: 0;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1981
            PosSprite: sprWater;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1982
            ejectX: 0; //40;
12322
b81a1d1497c4 Backed out changeset 98824a464230 (disable GetLaunchX/Y again)
Wuzzy <almikes@aol.com>
parents: 12311
diff changeset
  1983
            ejectY: -5),
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1984
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1985
// Jetpack ("Flying Saucer")
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1986
            (NameId: sidJetpack;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1987
            NameTex: nil;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1988
            Probability: 20;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1989
            NumberInCase: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1990
            Ammo: (Propz: ammoprop_NoRoundEnd or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1991
                          ammoprop_ForwMsgs or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1992
                          ammoprop_AttackInMove or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1993
                          ammoprop_DontHold or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1994
                          ammoprop_Utility or
6941
228c0ab239f1 add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents: 6894
diff changeset
  1995
                          ammoprop_NeedUpDown or
15000
e796e9a88394 Show icon above hedgehog for most ammos without hand image
Wuzzy <Wuzzy2@mail.ru>
parents: 14972
diff changeset
  1996
                          ammoprop_ShowSelIcon or
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1997
                          ammoprop_AltAttack;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1998
                Count: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  1999
                NumPerTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2000
                Timer: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2001
                Pos: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2002
                AmmoType: amJetpack;
5319
51d8e4747876 bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents: 5316
diff changeset
  2003
                AttackVoice: sndNone;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  2004
                Bounciness: defaultBounciness);
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2005
            Slot: 7;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2006
            TimeAfterTurn: 3000;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2007
            minAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2008
            maxAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2009
            isDamaging: false;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2010
            SkipTurns: 0;
15001
7ff86274114e Refactor PosCount: Use 0 instead of 1 for unused PosSprite
Wuzzy <Wuzzy2@mail.ru>
parents: 15000
diff changeset
  2011
            PosCount: 0;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2012
            PosSprite: sprWater;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2013
            ejectX: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2014
            ejectY: 0),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2015
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2016
// Molotov
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2017
            (NameId: sidMolotov;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2018
            NameTex: nil;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2019
            Probability: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2020
            NumberInCase: 1;
8330
aaefa587e277 update branch with default
koda
parents: 8096 8309
diff changeset
  2021
            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
  2022
                          ammoprop_NeedUpDown or
228c0ab239f1 add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents: 6894
diff changeset
  2023
                          ammoprop_AltUse;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2024
                Count: AMMO_INFINITE;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2025
                NumPerTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2026
                Timer: 3000;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2027
                Pos: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2028
                AmmoType: amMolotov;
14023
039a9a6d68eb Use sndWatchThis for molotov attack
Wuzzy <Wuzzy2@mail.ru>
parents: 14021
diff changeset
  2029
                AttackVoice: sndWatchThis;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  2030
                Bounciness: defaultBounciness);
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2031
            Slot: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2032
            TimeAfterTurn: 3000;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2033
            minAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2034
            maxAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2035
            isDamaging: true;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2036
            SkipTurns: 0;
15001
7ff86274114e Refactor PosCount: Use 0 instead of 1 for unused PosSprite
Wuzzy <Wuzzy2@mail.ru>
parents: 15000
diff changeset
  2037
            PosCount: 0;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2038
            PosSprite: sprWater;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2039
            ejectX: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2040
            ejectY: 0),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2041
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2042
// Birdy
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2043
            (NameId: sidBirdy;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2044
            NameTex: nil;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2045
            Probability: 20;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2046
            NumberInCase: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2047
            Ammo: (Propz: ammoprop_ForwMsgs or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2048
                          ammoprop_NoCrosshair or
6941
228c0ab239f1 add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents: 6894
diff changeset
  2049
                          ammoprop_NeedUpDown or
15000
e796e9a88394 Show icon above hedgehog for most ammos without hand image
Wuzzy <Wuzzy2@mail.ru>
parents: 14972
diff changeset
  2050
                          ammoprop_ShowSelIcon or
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2051
                          ammoprop_DontHold;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2052
                Count: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2053
                NumPerTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2054
                Timer: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2055
                Pos: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2056
                AmmoType: amBirdy;
5319
51d8e4747876 bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents: 5316
diff changeset
  2057
                AttackVoice: sndNone;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  2058
                Bounciness: defaultBounciness);
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2059
            Slot: 7;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2060
            TimeAfterTurn: 3000;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2061
            minAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2062
            maxAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2063
            isDamaging: true;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2064
            SkipTurns: 0;
15001
7ff86274114e Refactor PosCount: Use 0 instead of 1 for unused PosSprite
Wuzzy <Wuzzy2@mail.ru>
parents: 15000
diff changeset
  2065
            PosCount: 0;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2066
            PosSprite: sprWater;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2067
            ejectX: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2068
            ejectY: 0),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2069
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2070
// PortalGun
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2071
            (NameId: sidPortalGun;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2072
            NameTex: nil;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2073
            Probability: 20;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2074
            NumberInCase: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2075
            Ammo: (Propz: ammoprop_NoRoundEnd or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2076
                          ammoprop_AttackInMove or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2077
                          ammoprop_DontHold or
6941
228c0ab239f1 add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents: 6894
diff changeset
  2078
                          ammoprop_NeedUpDown or
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2079
                          ammoprop_Utility;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2080
                Count: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2081
                NumPerTurn: 3;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2082
                Timer: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2083
                Pos: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2084
                AmmoType: amPortalGun;
5319
51d8e4747876 bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents: 5316
diff changeset
  2085
                AttackVoice: sndNone;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  2086
                Bounciness: defaultBounciness);
9768
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 9723
diff changeset
  2087
            Slot: 7;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2088
            TimeAfterTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2089
            minAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2090
            maxAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2091
            isDamaging: false;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2092
            SkipTurns: 0;
15001
7ff86274114e Refactor PosCount: Use 0 instead of 1 for unused PosSprite
Wuzzy <Wuzzy2@mail.ru>
parents: 15000
diff changeset
  2093
            PosCount: 0;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2094
            PosSprite: sprWater;
12322
b81a1d1497c4 Backed out changeset 98824a464230 (disable GetLaunchX/Y again)
Wuzzy <almikes@aol.com>
parents: 12311
diff changeset
  2095
            ejectX: -5; //29;
b81a1d1497c4 Backed out changeset 98824a464230 (disable GetLaunchX/Y again)
Wuzzy <almikes@aol.com>
parents: 12311
diff changeset
  2096
            ejectY: -7),
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2097
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2098
// Piano
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2099
            (NameId: sidPiano;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2100
            NameTex: nil;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2101
            Probability: 100;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2102
            NumberInCase: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2103
            Ammo: (Propz: ammoprop_NoCrosshair or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2104
                            ammoprop_NeedTarget or
14571
85921db6f7c3 Disallow placement of piano beyond bounce world edge
Wuzzy <Wuzzy2@mail.ru>
parents: 14570
diff changeset
  2105
                            // NoTargetAfter is handled manually in doStepPiano
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2106
                            ammoprop_AttackingPut or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2107
                            ammoprop_DontHold or
12654
2837dee472cc Show selected weapon again when using it in inf attack mode
Wuzzy <almikes@aol.com>
parents: 12329
diff changeset
  2108
                            ammoprop_NotBorder or
2837dee472cc Show selected weapon again when using it in inf attack mode
Wuzzy <almikes@aol.com>
parents: 12329
diff changeset
  2109
                            ammoprop_ForceTurnEnd;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2110
                Count: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2111
                NumPerTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2112
                Timer: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2113
                Pos: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2114
                AmmoType: amPiano;
14571
85921db6f7c3 Disallow placement of piano beyond bounce world edge
Wuzzy <Wuzzy2@mail.ru>
parents: 14570
diff changeset
  2115
                AttackVoice: sndNone; // handled in doStepPiano
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  2116
                Bounciness: defaultBounciness);
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2117
            Slot: 5;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2118
            TimeAfterTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2119
            minAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2120
            maxAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2121
            isDamaging: true;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2122
            SkipTurns: 7;
15002
216376ea0df1 Add piano icon on mouse cursor when selecting piano strike
Wuzzy <Wuzzy2@mail.ru>
parents: 15001
diff changeset
  2123
            PosCount: 1;
216376ea0df1 Add piano icon on mouse cursor when selecting piano strike
Wuzzy <Wuzzy2@mail.ru>
parents: 15001
diff changeset
  2124
            PosSprite: sprAmPiano;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2125
            ejectX: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2126
            ejectY: 0),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2127
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2128
// GasBomb
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2129
            (NameId: sidGasBomb;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2130
            NameTex: nil;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2131
            Probability: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2132
            NumberInCase: 1;
8330
aaefa587e277 update branch with default
koda
parents: 8096 8309
diff changeset
  2133
            Ammo: (Propz: ammoprop_Timerable or
aaefa587e277 update branch with default
koda
parents: 8096 8309
diff changeset
  2134
                          ammoprop_Power or
aaefa587e277 update branch with default
koda
parents: 8096 8309
diff changeset
  2135
                          ammoprop_AltUse or
6941
228c0ab239f1 add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents: 6894
diff changeset
  2136
                          ammoprop_NeedUpDown or
228c0ab239f1 add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents: 6894
diff changeset
  2137
                          ammoprop_SetBounce;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2138
                Count: AMMO_INFINITE;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2139
                NumPerTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2140
                Timer: 3000;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2141
                Pos: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2142
                AmmoType: amGasBomb;
5319
51d8e4747876 bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents: 5316
diff changeset
  2143
                AttackVoice: sndCover;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  2144
                Bounciness: defaultBounciness);
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2145
            Slot: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2146
            TimeAfterTurn: 3000;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2147
            minAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2148
            maxAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2149
            isDamaging: true;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2150
            SkipTurns: 0;
15001
7ff86274114e Refactor PosCount: Use 0 instead of 1 for unused PosSprite
Wuzzy <Wuzzy2@mail.ru>
parents: 15000
diff changeset
  2151
            PosCount: 0;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2152
            PosSprite: sprWater;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2153
            ejectX: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2154
            ejectY: 0),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2155
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2156
// SineGun
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2157
            (NameId: sidSineGun;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2158
            NameTex: nil;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2159
            Probability: 20;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2160
            NumberInCase: 2;
6941
228c0ab239f1 add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents: 6894
diff changeset
  2161
            Ammo: (Propz: ammoprop_AttackInMove or
228c0ab239f1 add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents: 6894
diff changeset
  2162
                          ammoprop_NeedUpDown;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2163
                Count: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2164
                NumPerTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2165
                Timer: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2166
                Pos: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2167
                AmmoType: amSineGun;
5319
51d8e4747876 bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents: 5316
diff changeset
  2168
                AttackVoice: sndNone;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  2169
                Bounciness: defaultBounciness);
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2170
            Slot: 2;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2171
            TimeAfterTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2172
            minAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2173
            maxAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2174
            isDamaging: true;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2175
            SkipTurns: 0;
15001
7ff86274114e Refactor PosCount: Use 0 instead of 1 for unused PosSprite
Wuzzy <Wuzzy2@mail.ru>
parents: 15000
diff changeset
  2176
            PosCount: 0;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2177
            PosSprite: sprWater;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2178
            ejectX: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2179
            ejectY: 0),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2180
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2181
// Flamethrower
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2182
            (NameId: sidFlamethrower;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2183
            NameTex: nil;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2184
            Probability: 20;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2185
            NumberInCase: 1;
8330
aaefa587e277 update branch with default
koda
parents: 8096 8309
diff changeset
  2186
            Ammo: (Propz: ammoprop_ForwMsgs or
6941
228c0ab239f1 add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents: 6894
diff changeset
  2187
                          ammoprop_NeedUpDown or
228c0ab239f1 add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents: 6894
diff changeset
  2188
                          ammoprop_DontHold;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2189
                Count: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2190
                NumPerTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2191
                Timer: 5001;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2192
                Pos: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2193
                AmmoType: amFlamethrower;
5319
51d8e4747876 bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents: 5316
diff changeset
  2194
                AttackVoice: sndNone;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  2195
                Bounciness: defaultBounciness);
14311
12e7442e4034 Swap a few weapons in ammo menu to get a nice 6×10 grid
Wuzzy <Wuzzy2@mail.ru>
parents: 14287
diff changeset
  2196
            Slot: 6;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2197
            TimeAfterTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2198
            minAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2199
            maxAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2200
            isDamaging: true;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2201
            SkipTurns: 0;
15001
7ff86274114e Refactor PosCount: Use 0 instead of 1 for unused PosSprite
Wuzzy <Wuzzy2@mail.ru>
parents: 15000
diff changeset
  2202
            PosCount: 0;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2203
            PosSprite: sprWater;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2204
            ejectX: 0; //20;
12322
b81a1d1497c4 Backed out changeset 98824a464230 (disable GetLaunchX/Y again)
Wuzzy <almikes@aol.com>
parents: 12311
diff changeset
  2205
            ejectY: -3),
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2206
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2207
// Sticky Mine
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2208
            (NameId: sidSMine;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2209
            NameTex: nil;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2210
            Probability: 100;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2211
            NumberInCase: 1;
6941
228c0ab239f1 add ammoprop to enable to up and down buttons on for the touch interface
Xeli
parents: 6894
diff changeset
  2212
            Ammo: (Propz: ammoprop_Power or
7780
a066a52411bc ok. for some reason, this now works without problems. weird. (reenable smine/cleaver alt)
nemo
parents: 7758
diff changeset
  2213
                          ammoprop_AltUse or
a066a52411bc ok. for some reason, this now works without problems. weird. (reenable smine/cleaver alt)
nemo
parents: 7758
diff changeset
  2214
                          ammoprop_NeedUpDown;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2215
                Count: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2216
                NumPerTurn: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2217
                Timer: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2218
                Pos: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2219
                AmmoType: amSMine;
5319
51d8e4747876 bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents: 5316
diff changeset
  2220
                AttackVoice: sndLaugh;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  2221
                Bounciness: defaultBounciness);
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2222
            Slot: 4;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2223
            TimeAfterTurn: 5000;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2224
            minAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2225
            maxAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2226
            isDamaging: true;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2227
            SkipTurns: 0;
15001
7ff86274114e Refactor PosCount: Use 0 instead of 1 for unused PosSprite
Wuzzy <Wuzzy2@mail.ru>
parents: 15000
diff changeset
  2228
            PosCount: 0;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2229
            PosSprite: sprWater;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2230
            ejectX: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2231
            ejectY: 0),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2232
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2233
// Hammer
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2234
            (NameId: sidHammer;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2235
            NameTex: nil;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2236
            Probability: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2237
            NumberInCase: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2238
            Ammo: (Propz: ammoprop_NoCrosshair;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2239
                Count: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2240
                NumPerTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2241
                Timer: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2242
                Pos: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2243
                AmmoType: amHammer;
5319
51d8e4747876 bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents: 5316
diff changeset
  2244
                AttackVoice: sndNone;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  2245
                Bounciness: defaultBounciness);
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2246
            Slot: 3;
5624
b6f70f6335ee Allow hammer to bash mines/barrels too, increase escape time to 3s
nemo
parents: 5585
diff changeset
  2247
            TimeAfterTurn: 3000;
6894
555a8d8db228 Some more progress with pas2c
unc0rr
parents: 6891
diff changeset
  2248
            minAngle: 0;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2249
            maxAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2250
            isDamaging: true;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2251
            SkipTurns: 0;
15001
7ff86274114e Refactor PosCount: Use 0 instead of 1 for unused PosSprite
Wuzzy <Wuzzy2@mail.ru>
parents: 15000
diff changeset
  2252
            PosCount: 0;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2253
            PosSprite: sprWater;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2254
            ejectX: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2255
            ejectY: 0),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2256
4867
e604ee83e34f let players set timer of drill strike. yes. drill strike :3 the timer starts to tick on first impact
sheepluva
parents: 4849
diff changeset
  2257
// Resurrector
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2258
        (NameId: sidResurrector;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2259
            NameTex: nil;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2260
            Probability: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2261
            NumberInCase: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2262
            Ammo: (Propz: ammoprop_NoCrosshair or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2263
                          ammoprop_Utility or
14001
755f389a1e73 Fix resurrector handling turn time manually, use correct ammoprop instead
Wuzzy <Wuzzy2@mail.ru>
parents: 13856
diff changeset
  2264
                          ammoprop_NoRoundEnd or
755f389a1e73 Fix resurrector handling turn time manually, use correct ammoprop instead
Wuzzy <Wuzzy2@mail.ru>
parents: 13856
diff changeset
  2265
                          ammoprop_DoesntStopTimerWhileAttacking;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2266
                Count: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2267
                NumPerTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2268
                Timer: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2269
                Pos: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2270
                AmmoType: amResurrector;
5319
51d8e4747876 bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents: 5316
diff changeset
  2271
                AttackVoice: sndNone;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  2272
                Bounciness: defaultBounciness);
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2273
            Slot: 8;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2274
            TimeAfterTurn: 3000;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2275
            minAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2276
            maxAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2277
            isDamaging: true;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2278
            SkipTurns: 0;
15001
7ff86274114e Refactor PosCount: Use 0 instead of 1 for unused PosSprite
Wuzzy <Wuzzy2@mail.ru>
parents: 15000
diff changeset
  2279
            PosCount: 0;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2280
            PosSprite: sprWater;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2281
            ejectX: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2282
            ejectY: 0),
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2283
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2284
// DrillStrike
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2285
            (NameId: sidDrillStrike;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2286
            NameTex: nil;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2287
            Probability: 200;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2288
            NumberInCase: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2289
            Ammo: (Propz: ammoprop_NoCrosshair or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2290
                            ammoprop_NeedTarget or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2291
                            ammoprop_AttackingPut or
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2292
                            ammoprop_DontHold or
4867
e604ee83e34f let players set timer of drill strike. yes. drill strike :3 the timer starts to tick on first impact
sheepluva
parents: 4849
diff changeset
  2293
                            ammoprop_Timerable or
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2294
                            ammoprop_NotBorder;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2295
                Count: 1;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2296
                NumPerTurn: 0;
4867
e604ee83e34f let players set timer of drill strike. yes. drill strike :3 the timer starts to tick on first impact
sheepluva
parents: 4849
diff changeset
  2297
                Timer: 5000;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2298
                Pos: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2299
                AmmoType: amDrillStrike;
14570
833ab5b359e5 Deny air attack in bounce world edge if target is in "impossible" position
Wuzzy <Wuzzy2@mail.ru>
parents: 14558
diff changeset
  2300
                AttackVoice: sndNone; // handled in doStepAirAttack
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  2301
                Bounciness: defaultBounciness);
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2302
            Slot: 5;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2303
            TimeAfterTurn: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2304
            minAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2305
            maxAngle: 0;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2306
            isDamaging: true;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2307
            SkipTurns: 6;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2308
            PosCount: 2;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2309
            PosSprite: sprAmAirplane;
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2310
            ejectX: 0;
4578
f3cf226fad16 Snowball weapon
nemo
parents: 4554
diff changeset
  2311
            ejectY: 0),
4867
e604ee83e34f let players set timer of drill strike. yes. drill strike :3 the timer starts to tick on first impact
sheepluva
parents: 4849
diff changeset
  2312
4807
180dbfb13903 display caption for ammotype amNothing when switched to so that players know what just happened
sheepluva
parents: 4806
diff changeset
  2313
// Snowball/Mudball
4578
f3cf226fad16 Snowball weapon
nemo
parents: 4554
diff changeset
  2314
            (NameId: sidSnowball;
f3cf226fad16 Snowball weapon
nemo
parents: 4554
diff changeset
  2315
            NameTex: nil;
f3cf226fad16 Snowball weapon
nemo
parents: 4554
diff changeset
  2316
            Probability: 0;
f3cf226fad16 Snowball weapon
nemo
parents: 4554
diff changeset
  2317
            NumberInCase: 1;
8330
aaefa587e277 update branch with default
koda
parents: 8096 8309
diff changeset
  2318
            Ammo: (Propz: ammoprop_Power or
5025
ac1691d35cf2 Land sprayer tweaks, make land spray and mudball not end turn
nemo
parents: 5024
diff changeset
  2319
                          ammoprop_AltUse or
11216
cd9a6fd65c82 - Mortar, Mudball and Land Spray need up/down buttons on mobile
antonc27 <antonc27@mail.ru>
parents: 11214
diff changeset
  2320
                          ammoprop_NeedUpDown or
5025
ac1691d35cf2 Land sprayer tweaks, make land spray and mudball not end turn
nemo
parents: 5024
diff changeset
  2321
                          ammoprop_NoRoundEnd;
4578
f3cf226fad16 Snowball weapon
nemo
parents: 4554
diff changeset
  2322
                Count: 2;
f3cf226fad16 Snowball weapon
nemo
parents: 4554
diff changeset
  2323
                NumPerTurn: 0;
f3cf226fad16 Snowball weapon
nemo
parents: 4554
diff changeset
  2324
                Timer: 0;
f3cf226fad16 Snowball weapon
nemo
parents: 4554
diff changeset
  2325
                Pos: 0;
f3cf226fad16 Snowball weapon
nemo
parents: 4554
diff changeset
  2326
                AmmoType: amSnowball;
5319
51d8e4747876 bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents: 5316
diff changeset
  2327
                AttackVoice: sndNone;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  2328
                Bounciness: defaultBounciness);
4578
f3cf226fad16 Snowball weapon
nemo
parents: 4554
diff changeset
  2329
            Slot: 0;
f3cf226fad16 Snowball weapon
nemo
parents: 4554
diff changeset
  2330
            TimeAfterTurn: 3000;
f3cf226fad16 Snowball weapon
nemo
parents: 4554
diff changeset
  2331
            minAngle: 0;
f3cf226fad16 Snowball weapon
nemo
parents: 4554
diff changeset
  2332
            maxAngle: 0;
8936
60590b446468 cheezemonkey pointed out this is no longer damaging
nemo
parents: 8617
diff changeset
  2333
            isDamaging: false;
4578
f3cf226fad16 Snowball weapon
nemo
parents: 4554
diff changeset
  2334
            SkipTurns: 0;
15001
7ff86274114e Refactor PosCount: Use 0 instead of 1 for unused PosSprite
Wuzzy <Wuzzy2@mail.ru>
parents: 15000
diff changeset
  2335
            PosCount: 0;
4578
f3cf226fad16 Snowball weapon
nemo
parents: 4554
diff changeset
  2336
            PosSprite: sprWater;
8330
aaefa587e277 update branch with default
koda
parents: 8096 8309
diff changeset
  2337
            ejectX: 0;
4881
35e6269227b6 still in developement take on adding structures, working hiding of hogs and ejecting them later.
Henek
parents: 4867
diff changeset
  2338
            ejectY: 0),
35e6269227b6 still in developement take on adding structures, working hiding of hogs and ejecting them later.
Henek
parents: 4867
diff changeset
  2339
5279
66969e7494c5 remove theme.cfg from CMakeLists too
Henek
parents: 5238
diff changeset
  2340
// Tardis
4883
7cddc9201a1d added dummy for tardis and ugly icons for tardis and structure
Henek
parents: 4881
diff changeset
  2341
            (NameId: sidTardis;
7cddc9201a1d added dummy for tardis and ugly icons for tardis and structure
Henek
parents: 4881
diff changeset
  2342
            NameTex: nil;
7cddc9201a1d added dummy for tardis and ugly icons for tardis and structure
Henek
parents: 4881
diff changeset
  2343
            Probability: 200;
7cddc9201a1d added dummy for tardis and ugly icons for tardis and structure
Henek
parents: 4881
diff changeset
  2344
            NumberInCase: 1;
7cddc9201a1d added dummy for tardis and ugly icons for tardis and structure
Henek
parents: 4881
diff changeset
  2345
            Ammo: (Propz: ammoprop_ForwMsgs or
7cddc9201a1d added dummy for tardis and ugly icons for tardis and structure
Henek
parents: 4881
diff changeset
  2346
                          ammoprop_NoCrosshair or
7cddc9201a1d added dummy for tardis and ugly icons for tardis and structure
Henek
parents: 4881
diff changeset
  2347
                          ammoprop_Utility or
15000
e796e9a88394 Show icon above hedgehog for most ammos without hand image
Wuzzy <Wuzzy2@mail.ru>
parents: 14972
diff changeset
  2348
                          ammoprop_ShowSelIcon or
12654
2837dee472cc Show selected weapon again when using it in inf attack mode
Wuzzy <almikes@aol.com>
parents: 12329
diff changeset
  2349
                          ammoprop_DontHold or
2837dee472cc Show selected weapon again when using it in inf attack mode
Wuzzy <almikes@aol.com>
parents: 12329
diff changeset
  2350
                          ammoprop_ForceTurnEnd;
4883
7cddc9201a1d added dummy for tardis and ugly icons for tardis and structure
Henek
parents: 4881
diff changeset
  2351
                Count: 2;
7cddc9201a1d added dummy for tardis and ugly icons for tardis and structure
Henek
parents: 4881
diff changeset
  2352
                NumPerTurn: 0;
7cddc9201a1d added dummy for tardis and ugly icons for tardis and structure
Henek
parents: 4881
diff changeset
  2353
                Timer: 0;
7cddc9201a1d added dummy for tardis and ugly icons for tardis and structure
Henek
parents: 4881
diff changeset
  2354
                Pos: 0;
7cddc9201a1d added dummy for tardis and ugly icons for tardis and structure
Henek
parents: 4881
diff changeset
  2355
                AmmoType: amTardis;
5319
51d8e4747876 bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents: 5316
diff changeset
  2356
                AttackVoice: sndNone;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  2357
                Bounciness: defaultBounciness);
9768
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 9723
diff changeset
  2358
            Slot: 8;
4883
7cddc9201a1d added dummy for tardis and ugly icons for tardis and structure
Henek
parents: 4881
diff changeset
  2359
            TimeAfterTurn: 0;
7cddc9201a1d added dummy for tardis and ugly icons for tardis and structure
Henek
parents: 4881
diff changeset
  2360
            minAngle: 0;
7cddc9201a1d added dummy for tardis and ugly icons for tardis and structure
Henek
parents: 4881
diff changeset
  2361
            maxAngle: 0;
7cddc9201a1d added dummy for tardis and ugly icons for tardis and structure
Henek
parents: 4881
diff changeset
  2362
            isDamaging: false;
7cddc9201a1d added dummy for tardis and ugly icons for tardis and structure
Henek
parents: 4881
diff changeset
  2363
            SkipTurns: 0;
7cddc9201a1d added dummy for tardis and ugly icons for tardis and structure
Henek
parents: 4881
diff changeset
  2364
            PosCount: 2;
7cddc9201a1d added dummy for tardis and ugly icons for tardis and structure
Henek
parents: 4881
diff changeset
  2365
            PosSprite: sprAmTeleport;
7cddc9201a1d added dummy for tardis and ugly icons for tardis and structure
Henek
parents: 4881
diff changeset
  2366
            ejectX: 0;
7cddc9201a1d added dummy for tardis and ugly icons for tardis and structure
Henek
parents: 4881
diff changeset
  2367
            ejectY: 0),
7cddc9201a1d added dummy for tardis and ugly icons for tardis and structure
Henek
parents: 4881
diff changeset
  2368
5024
1e332947147c Landgun, first pass. At sdw's request.
nemo
parents: 5016
diff changeset
  2369
// Land Gun
1e332947147c Landgun, first pass. At sdw's request.
nemo
parents: 5016
diff changeset
  2370
            (NameId: sidLandGun;
1e332947147c Landgun, first pass. At sdw's request.
nemo
parents: 5016
diff changeset
  2371
            NameTex: nil;
1e332947147c Landgun, first pass. At sdw's request.
nemo
parents: 5016
diff changeset
  2372
            Probability: 20;
1e332947147c Landgun, first pass. At sdw's request.
nemo
parents: 5016
diff changeset
  2373
            NumberInCase: 1;
5025
ac1691d35cf2 Land sprayer tweaks, make land spray and mudball not end turn
nemo
parents: 5024
diff changeset
  2374
            Ammo: (Propz: ammoprop_NoRoundEnd or
11216
cd9a6fd65c82 - Mortar, Mudball and Land Spray need up/down buttons on mobile
antonc27 <antonc27@mail.ru>
parents: 11214
diff changeset
  2375
                          ammoprop_NeedUpDown or
5025
ac1691d35cf2 Land sprayer tweaks, make land spray and mudball not end turn
nemo
parents: 5024
diff changeset
  2376
                          ammoprop_Utility;
5024
1e332947147c Landgun, first pass. At sdw's request.
nemo
parents: 5016
diff changeset
  2377
                Count: 1;
1e332947147c Landgun, first pass. At sdw's request.
nemo
parents: 5016
diff changeset
  2378
                NumPerTurn: 0;
1e332947147c Landgun, first pass. At sdw's request.
nemo
parents: 5016
diff changeset
  2379
                Timer: 5001;
1e332947147c Landgun, first pass. At sdw's request.
nemo
parents: 5016
diff changeset
  2380
                Pos: 0;
1e332947147c Landgun, first pass. At sdw's request.
nemo
parents: 5016
diff changeset
  2381
                AmmoType: amLandGun;
5319
51d8e4747876 bounce. tweak of values, remove friction modifier, move to weapon, to match timer behaviour
nemo
parents: 5316
diff changeset
  2382
                AttackVoice: sndNone;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  2383
                Bounciness: defaultBounciness);
9012
18c41c0ee8de changing slots of landgun and icegun, feel free to complain, improve and/or revert
sheepluva
parents: 8987
diff changeset
  2384
            Slot: 6;
5024
1e332947147c Landgun, first pass. At sdw's request.
nemo
parents: 5016
diff changeset
  2385
            TimeAfterTurn: 0;
1e332947147c Landgun, first pass. At sdw's request.
nemo
parents: 5016
diff changeset
  2386
            minAngle: 0;
1e332947147c Landgun, first pass. At sdw's request.
nemo
parents: 5016
diff changeset
  2387
            maxAngle: 0;
1e332947147c Landgun, first pass. At sdw's request.
nemo
parents: 5016
diff changeset
  2388
            isDamaging: true;
1e332947147c Landgun, first pass. At sdw's request.
nemo
parents: 5016
diff changeset
  2389
            SkipTurns: 0;
15001
7ff86274114e Refactor PosCount: Use 0 instead of 1 for unused PosSprite
Wuzzy <Wuzzy2@mail.ru>
parents: 15000
diff changeset
  2390
            PosCount: 0;
5024
1e332947147c Landgun, first pass. At sdw's request.
nemo
parents: 5016
diff changeset
  2391
            PosSprite: sprWater;
1e332947147c Landgun, first pass. At sdw's request.
nemo
parents: 5016
diff changeset
  2392
            ejectX: 0; //20;
12322
b81a1d1497c4 Backed out changeset 98824a464230 (disable GetLaunchX/Y again)
Wuzzy <almikes@aol.com>
parents: 12311
diff changeset
  2393
            ejectY: -3),
7007
0ccdff4ae8e9 Initial stub for freezer
nemo
parents: 6982
diff changeset
  2394
// Freezer
0ccdff4ae8e9 Initial stub for freezer
nemo
parents: 6982
diff changeset
  2395
            (NameId: sidIceGun;
0ccdff4ae8e9 Initial stub for freezer
nemo
parents: 6982
diff changeset
  2396
            NameTex: nil;
0ccdff4ae8e9 Initial stub for freezer
nemo
parents: 6982
diff changeset
  2397
            Probability: 20;
0ccdff4ae8e9 Initial stub for freezer
nemo
parents: 6982
diff changeset
  2398
            NumberInCase: 1;
8330
aaefa587e277 update branch with default
koda
parents: 8096 8309
diff changeset
  2399
            Ammo: (Propz: ammoprop_ForwMsgs or
7007
0ccdff4ae8e9 Initial stub for freezer
nemo
parents: 6982
diff changeset
  2400
                          ammoprop_NeedUpDown or
0ccdff4ae8e9 Initial stub for freezer
nemo
parents: 6982
diff changeset
  2401
                          ammoprop_DontHold;
0ccdff4ae8e9 Initial stub for freezer
nemo
parents: 6982
diff changeset
  2402
                Count: 1;
0ccdff4ae8e9 Initial stub for freezer
nemo
parents: 6982
diff changeset
  2403
                NumPerTurn: 0;
0ccdff4ae8e9 Initial stub for freezer
nemo
parents: 6982
diff changeset
  2404
                Timer: 5001;
0ccdff4ae8e9 Initial stub for freezer
nemo
parents: 6982
diff changeset
  2405
                Pos: 0;
7091
7989850b4418 Might help if this was actually its own unique weapon
nemo
parents: 7076
diff changeset
  2406
                AmmoType: amIceGun;
7007
0ccdff4ae8e9 Initial stub for freezer
nemo
parents: 6982
diff changeset
  2407
                AttackVoice: sndNone;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  2408
                Bounciness: defaultBounciness);
9012
18c41c0ee8de changing slots of landgun and icegun, feel free to complain, improve and/or revert
sheepluva
parents: 8987
diff changeset
  2409
            Slot: 2;
7007
0ccdff4ae8e9 Initial stub for freezer
nemo
parents: 6982
diff changeset
  2410
            TimeAfterTurn: 0;
0ccdff4ae8e9 Initial stub for freezer
nemo
parents: 6982
diff changeset
  2411
            minAngle: 0;
0ccdff4ae8e9 Initial stub for freezer
nemo
parents: 6982
diff changeset
  2412
            maxAngle: 0;
8937
72038f52693b aaaaand this one never was damaging
nemo
parents: 8936
diff changeset
  2413
            isDamaging: false;
7007
0ccdff4ae8e9 Initial stub for freezer
nemo
parents: 6982
diff changeset
  2414
            SkipTurns: 0;
15001
7ff86274114e Refactor PosCount: Use 0 instead of 1 for unused PosSprite
Wuzzy <Wuzzy2@mail.ru>
parents: 15000
diff changeset
  2415
            PosCount: 0;
7007
0ccdff4ae8e9 Initial stub for freezer
nemo
parents: 6982
diff changeset
  2416
            PosSprite: sprWater;
0ccdff4ae8e9 Initial stub for freezer
nemo
parents: 6982
diff changeset
  2417
            ejectX: 0; //20;
12322
b81a1d1497c4 Backed out changeset 98824a464230 (disable GetLaunchX/Y again)
Wuzzy <almikes@aol.com>
parents: 12311
diff changeset
  2418
            ejectY: -3),
7730
2013733f9ca9 A bit more on the knife. Also add missing files to CMakeLists
nemo
parents: 7660
diff changeset
  2419
// Knife
2013733f9ca9 A bit more on the knife. Also add missing files to CMakeLists
nemo
parents: 7660
diff changeset
  2420
            (NameId: sidKnife;
2013733f9ca9 A bit more on the knife. Also add missing files to CMakeLists
nemo
parents: 7660
diff changeset
  2421
            NameTex: nil;
2013733f9ca9 A bit more on the knife. Also add missing files to CMakeLists
nemo
parents: 7660
diff changeset
  2422
            Probability: 100;
2013733f9ca9 A bit more on the knife. Also add missing files to CMakeLists
nemo
parents: 7660
diff changeset
  2423
            NumberInCase: 1;
2013733f9ca9 A bit more on the knife. Also add missing files to CMakeLists
nemo
parents: 7660
diff changeset
  2424
            Ammo: (Propz: ammoprop_Power or
7780
a066a52411bc ok. for some reason, this now works without problems. weird. (reenable smine/cleaver alt)
nemo
parents: 7758
diff changeset
  2425
                          ammoprop_AltUse or
a066a52411bc ok. for some reason, this now works without problems. weird. (reenable smine/cleaver alt)
nemo
parents: 7758
diff changeset
  2426
                          ammoprop_NeedUpDown;
7730
2013733f9ca9 A bit more on the knife. Also add missing files to CMakeLists
nemo
parents: 7660
diff changeset
  2427
                Count: 1;
7754
e81dc9bef8b8 First pass at cleaver.
nemo
parents: 7730
diff changeset
  2428
                NumPerTurn: 1;
7730
2013733f9ca9 A bit more on the knife. Also add missing files to CMakeLists
nemo
parents: 7660
diff changeset
  2429
                Timer: 0;
2013733f9ca9 A bit more on the knife. Also add missing files to CMakeLists
nemo
parents: 7660
diff changeset
  2430
                Pos: 0;
2013733f9ca9 A bit more on the knife. Also add missing files to CMakeLists
nemo
parents: 7660
diff changeset
  2431
                AmmoType: amKnife;
14021
09e2e52aa025 Add 2 taunts: Fire, WatchThis (attack voice for some weapons)
Wuzzy <Wuzzy2@mail.ru>
parents: 14001
diff changeset
  2432
                AttackVoice: sndWatchThis;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  2433
                Bounciness: defaultBounciness);
14311
12e7442e4034 Swap a few weapons in ammo menu to get a nice 6×10 grid
Wuzzy <Wuzzy2@mail.ru>
parents: 14287
diff changeset
  2434
            Slot: 0;
7730
2013733f9ca9 A bit more on the knife. Also add missing files to CMakeLists
nemo
parents: 7660
diff changeset
  2435
            TimeAfterTurn: 3000;
2013733f9ca9 A bit more on the knife. Also add missing files to CMakeLists
nemo
parents: 7660
diff changeset
  2436
            minAngle: 0;
2013733f9ca9 A bit more on the knife. Also add missing files to CMakeLists
nemo
parents: 7660
diff changeset
  2437
            maxAngle: 0;
2013733f9ca9 A bit more on the knife. Also add missing files to CMakeLists
nemo
parents: 7660
diff changeset
  2438
            isDamaging: true;
2013733f9ca9 A bit more on the knife. Also add missing files to CMakeLists
nemo
parents: 7660
diff changeset
  2439
            SkipTurns: 0;
15001
7ff86274114e Refactor PosCount: Use 0 instead of 1 for unused PosSprite
Wuzzy <Wuzzy2@mail.ru>
parents: 15000
diff changeset
  2440
            PosCount: 0;
7730
2013733f9ca9 A bit more on the knife. Also add missing files to CMakeLists
nemo
parents: 7660
diff changeset
  2441
            PosSprite: sprWater;
2013733f9ca9 A bit more on the knife. Also add missing files to CMakeLists
nemo
parents: 7660
diff changeset
  2442
            ejectX: 0;
9768
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 9723
diff changeset
  2443
            ejectY: 0),
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 9723
diff changeset
  2444
// Rubber
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 9723
diff changeset
  2445
            (NameId: sidRubber;
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 9723
diff changeset
  2446
            NameTex: nil;
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 9723
diff changeset
  2447
            Probability: 150;
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 9723
diff changeset
  2448
            NumberInCase: 1;
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 9723
diff changeset
  2449
            Ammo: (Propz: ammoprop_NoRoundEnd or
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 9723
diff changeset
  2450
                          ammoprop_NoCrosshair or
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 9723
diff changeset
  2451
                          ammoprop_NeedTarget or
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 9723
diff changeset
  2452
                          ammoprop_Utility or
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 9723
diff changeset
  2453
                          ammoprop_AttackingPut;
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 9723
diff changeset
  2454
                    Count: 1;
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 9723
diff changeset
  2455
                    NumPerTurn: 0;
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 9723
diff changeset
  2456
                    Timer: 0;
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 9723
diff changeset
  2457
                    Pos: 0;
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 9723
diff changeset
  2458
                    AmmoType: amRubber;
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 9723
diff changeset
  2459
                    AttackVoice: sndNone;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  2460
                Bounciness: defaultBounciness);
9768
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 9723
diff changeset
  2461
            Slot: 6;
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 9723
diff changeset
  2462
            TimeAfterTurn: 3000;
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 9723
diff changeset
  2463
            minAngle: 0;
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 9723
diff changeset
  2464
            maxAngle: 0;
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 9723
diff changeset
  2465
            isDamaging: false;
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 9723
diff changeset
  2466
            SkipTurns: 0;
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 9723
diff changeset
  2467
            PosCount: 4;
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 9723
diff changeset
  2468
            PosSprite: sprAmRubber;
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 9723
diff changeset
  2469
            ejectX: 0;
10789
acbf69e2e5cf experiment with air mines. thought they could make shoppa... interesting. ToDo: Allow mines to give up, tweak distances, real graphics, toggle for whether they can acquire a new target while they haven't given up.
nemo
parents: 10633
diff changeset
  2470
            ejectY: 0),
acbf69e2e5cf experiment with air mines. thought they could make shoppa... interesting. ToDo: Allow mines to give up, tweak distances, real graphics, toggle for whether they can acquire a new target while they haven't given up.
nemo
parents: 10633
diff changeset
  2471
// Air Mine
acbf69e2e5cf experiment with air mines. thought they could make shoppa... interesting. ToDo: Allow mines to give up, tweak distances, real graphics, toggle for whether they can acquire a new target while they haven't given up.
nemo
parents: 10633
diff changeset
  2472
            (NameId: sidAirMine;
acbf69e2e5cf experiment with air mines. thought they could make shoppa... interesting. ToDo: Allow mines to give up, tweak distances, real graphics, toggle for whether they can acquire a new target while they haven't given up.
nemo
parents: 10633
diff changeset
  2473
            NameTex: nil;
acbf69e2e5cf experiment with air mines. thought they could make shoppa... interesting. ToDo: Allow mines to give up, tweak distances, real graphics, toggle for whether they can acquire a new target while they haven't given up.
nemo
parents: 10633
diff changeset
  2474
            Probability: 100;
acbf69e2e5cf experiment with air mines. thought they could make shoppa... interesting. ToDo: Allow mines to give up, tweak distances, real graphics, toggle for whether they can acquire a new target while they haven't given up.
nemo
parents: 10633
diff changeset
  2475
            NumberInCase: 1;
acbf69e2e5cf experiment with air mines. thought they could make shoppa... interesting. ToDo: Allow mines to give up, tweak distances, real graphics, toggle for whether they can acquire a new target while they haven't given up.
nemo
parents: 10633
diff changeset
  2476
            Ammo: (Propz: ammoprop_Power or
acbf69e2e5cf experiment with air mines. thought they could make shoppa... interesting. ToDo: Allow mines to give up, tweak distances, real graphics, toggle for whether they can acquire a new target while they haven't given up.
nemo
parents: 10633
diff changeset
  2477
                          ammoprop_AltUse or
acbf69e2e5cf experiment with air mines. thought they could make shoppa... interesting. ToDo: Allow mines to give up, tweak distances, real graphics, toggle for whether they can acquire a new target while they haven't given up.
nemo
parents: 10633
diff changeset
  2478
                          ammoprop_NeedUpDown;
acbf69e2e5cf experiment with air mines. thought they could make shoppa... interesting. ToDo: Allow mines to give up, tweak distances, real graphics, toggle for whether they can acquire a new target while they haven't given up.
nemo
parents: 10633
diff changeset
  2479
                Count: 2;
acbf69e2e5cf experiment with air mines. thought they could make shoppa... interesting. ToDo: Allow mines to give up, tweak distances, real graphics, toggle for whether they can acquire a new target while they haven't given up.
nemo
parents: 10633
diff changeset
  2480
                NumPerTurn: 0;
acbf69e2e5cf experiment with air mines. thought they could make shoppa... interesting. ToDo: Allow mines to give up, tweak distances, real graphics, toggle for whether they can acquire a new target while they haven't given up.
nemo
parents: 10633
diff changeset
  2481
                Timer: 0;
acbf69e2e5cf experiment with air mines. thought they could make shoppa... interesting. ToDo: Allow mines to give up, tweak distances, real graphics, toggle for whether they can acquire a new target while they haven't given up.
nemo
parents: 10633
diff changeset
  2482
                Pos: 0;
acbf69e2e5cf experiment with air mines. thought they could make shoppa... interesting. ToDo: Allow mines to give up, tweak distances, real graphics, toggle for whether they can acquire a new target while they haven't given up.
nemo
parents: 10633
diff changeset
  2483
                AmmoType: amAirMine;
acbf69e2e5cf experiment with air mines. thought they could make shoppa... interesting. ToDo: Allow mines to give up, tweak distances, real graphics, toggle for whether they can acquire a new target while they haven't given up.
nemo
parents: 10633
diff changeset
  2484
                AttackVoice: sndLaugh;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  2485
                Bounciness: defaultBounciness);
10789
acbf69e2e5cf experiment with air mines. thought they could make shoppa... interesting. ToDo: Allow mines to give up, tweak distances, real graphics, toggle for whether they can acquire a new target while they haven't given up.
nemo
parents: 10633
diff changeset
  2486
            Slot: 5;
acbf69e2e5cf experiment with air mines. thought they could make shoppa... interesting. ToDo: Allow mines to give up, tweak distances, real graphics, toggle for whether they can acquire a new target while they haven't given up.
nemo
parents: 10633
diff changeset
  2487
            TimeAfterTurn: 5000;
acbf69e2e5cf experiment with air mines. thought they could make shoppa... interesting. ToDo: Allow mines to give up, tweak distances, real graphics, toggle for whether they can acquire a new target while they haven't given up.
nemo
parents: 10633
diff changeset
  2488
            minAngle: 0;
acbf69e2e5cf experiment with air mines. thought they could make shoppa... interesting. ToDo: Allow mines to give up, tweak distances, real graphics, toggle for whether they can acquire a new target while they haven't given up.
nemo
parents: 10633
diff changeset
  2489
            maxAngle: 0;
acbf69e2e5cf experiment with air mines. thought they could make shoppa... interesting. ToDo: Allow mines to give up, tweak distances, real graphics, toggle for whether they can acquire a new target while they haven't given up.
nemo
parents: 10633
diff changeset
  2490
            isDamaging: true;
acbf69e2e5cf experiment with air mines. thought they could make shoppa... interesting. ToDo: Allow mines to give up, tweak distances, real graphics, toggle for whether they can acquire a new target while they haven't given up.
nemo
parents: 10633
diff changeset
  2491
            SkipTurns: 0;
15001
7ff86274114e Refactor PosCount: Use 0 instead of 1 for unused PosSprite
Wuzzy <Wuzzy2@mail.ru>
parents: 15000
diff changeset
  2492
            PosCount: 0;
10789
acbf69e2e5cf experiment with air mines. thought they could make shoppa... interesting. ToDo: Allow mines to give up, tweak distances, real graphics, toggle for whether they can acquire a new target while they haven't given up.
nemo
parents: 10633
diff changeset
  2493
            PosSprite: sprWater;
acbf69e2e5cf experiment with air mines. thought they could make shoppa... interesting. ToDo: Allow mines to give up, tweak distances, real graphics, toggle for whether they can acquire a new target while they haven't given up.
nemo
parents: 10633
diff changeset
  2494
            ejectX: 0;
12198
71c47122fbc0 Add ammotype amDuck for rubber duck
Wuzzy <almikes@aol.com>
parents: 12197
diff changeset
  2495
            ejectY: 0),
13856
f01798038c2e Rename amDuck and related symbols to amCreeper, gtCreeper, etc.
Wuzzy <Wuzzy2@mail.ru>
parents: 13782
diff changeset
  2496
// Creeper
f01798038c2e Rename amDuck and related symbols to amCreeper, gtCreeper, etc.
Wuzzy <Wuzzy2@mail.ru>
parents: 13782
diff changeset
  2497
            (NameId: sidCreeper;
12198
71c47122fbc0 Add ammotype amDuck for rubber duck
Wuzzy <almikes@aol.com>
parents: 12197
diff changeset
  2498
            NameTex: nil;
71c47122fbc0 Add ammotype amDuck for rubber duck
Wuzzy <almikes@aol.com>
parents: 12197
diff changeset
  2499
            Probability: 100;
71c47122fbc0 Add ammotype amDuck for rubber duck
Wuzzy <almikes@aol.com>
parents: 12197
diff changeset
  2500
            NumberInCase: 1;
71c47122fbc0 Add ammotype amDuck for rubber duck
Wuzzy <almikes@aol.com>
parents: 12197
diff changeset
  2501
            Ammo: (Propz: ammoprop_NoCrosshair or
71c47122fbc0 Add ammotype amDuck for rubber duck
Wuzzy <almikes@aol.com>
parents: 12197
diff changeset
  2502
                          ammoprop_AttackInMove or
71c47122fbc0 Add ammotype amDuck for rubber duck
Wuzzy <almikes@aol.com>
parents: 12197
diff changeset
  2503
                          ammoprop_DontHold or
71c47122fbc0 Add ammotype amDuck for rubber duck
Wuzzy <almikes@aol.com>
parents: 12197
diff changeset
  2504
                          ammoprop_AltUse;
71c47122fbc0 Add ammotype amDuck for rubber duck
Wuzzy <almikes@aol.com>
parents: 12197
diff changeset
  2505
                Count: 2;
71c47122fbc0 Add ammotype amDuck for rubber duck
Wuzzy <almikes@aol.com>
parents: 12197
diff changeset
  2506
                NumPerTurn: 0;
12201
d7ccd18ae7bf Fix swimming rubberduck screwing up after portal, also change timer to 15s, no resets
Wuzzy <almikes@aol.com>
parents: 12199
diff changeset
  2507
                Timer: 15000;
12198
71c47122fbc0 Add ammotype amDuck for rubber duck
Wuzzy <almikes@aol.com>
parents: 12197
diff changeset
  2508
                Pos: 0;
13856
f01798038c2e Rename amDuck and related symbols to amCreeper, gtCreeper, etc.
Wuzzy <Wuzzy2@mail.ru>
parents: 13782
diff changeset
  2509
                AmmoType: amCreeper;
12199
ac9cf0cf40ee Add sounds for rubberduck drop, destruction and water collision
Wuzzy <almikes@aol.com>
parents: 12198
diff changeset
  2510
                AttackVoice: sndNone;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  2511
                Bounciness: defaultBounciness);
14311
12e7442e4034 Swap a few weapons in ammo menu to get a nice 6×10 grid
Wuzzy <Wuzzy2@mail.ru>
parents: 14287
diff changeset
  2512
            // Slot chosen to prevent ammo column overflow
12e7442e4034 Swap a few weapons in ammo menu to get a nice 6×10 grid
Wuzzy <Wuzzy2@mail.ru>
parents: 14287
diff changeset
  2513
            // TODO: Change slot when creeper is finished
12e7442e4034 Swap a few weapons in ammo menu to get a nice 6×10 grid
Wuzzy <Wuzzy2@mail.ru>
parents: 14287
diff changeset
  2514
            Slot: 8;
12198
71c47122fbc0 Add ammotype amDuck for rubber duck
Wuzzy <almikes@aol.com>
parents: 12197
diff changeset
  2515
            TimeAfterTurn: 3000;
71c47122fbc0 Add ammotype amDuck for rubber duck
Wuzzy <almikes@aol.com>
parents: 12197
diff changeset
  2516
            minAngle: 0;
71c47122fbc0 Add ammotype amDuck for rubber duck
Wuzzy <almikes@aol.com>
parents: 12197
diff changeset
  2517
            maxAngle: 0;
71c47122fbc0 Add ammotype amDuck for rubber duck
Wuzzy <almikes@aol.com>
parents: 12197
diff changeset
  2518
            isDamaging: true;
71c47122fbc0 Add ammotype amDuck for rubber duck
Wuzzy <almikes@aol.com>
parents: 12197
diff changeset
  2519
            SkipTurns: 0;
15001
7ff86274114e Refactor PosCount: Use 0 instead of 1 for unused PosSprite
Wuzzy <Wuzzy2@mail.ru>
parents: 15000
diff changeset
  2520
            PosCount: 0;
12198
71c47122fbc0 Add ammotype amDuck for rubber duck
Wuzzy <almikes@aol.com>
parents: 12197
diff changeset
  2521
            PosSprite: sprWater;
71c47122fbc0 Add ammotype amDuck for rubber duck
Wuzzy <almikes@aol.com>
parents: 12197
diff changeset
  2522
            ejectX: 15;
12903
8a40ce061d94 Machinegun. also tweaked ignore
alfadur
parents: 12890
diff changeset
  2523
            ejectY: -7),
8a40ce061d94 Machinegun. also tweaked ignore
alfadur
parents: 12890
diff changeset
  2524
// Minigun
8a40ce061d94 Machinegun. also tweaked ignore
alfadur
parents: 12890
diff changeset
  2525
            (NameId: sidMinigun;
8a40ce061d94 Machinegun. also tweaked ignore
alfadur
parents: 12890
diff changeset
  2526
            NameTex: nil;
8a40ce061d94 Machinegun. also tweaked ignore
alfadur
parents: 12890
diff changeset
  2527
            Probability: 100;
8a40ce061d94 Machinegun. also tweaked ignore
alfadur
parents: 12890
diff changeset
  2528
            NumberInCase: 1;
8a40ce061d94 Machinegun. also tweaked ignore
alfadur
parents: 12890
diff changeset
  2529
            Ammo: (Propz: ammoprop_NeedUpDown;
8a40ce061d94 Machinegun. also tweaked ignore
alfadur
parents: 12890
diff changeset
  2530
                Count: 1;
8a40ce061d94 Machinegun. also tweaked ignore
alfadur
parents: 12890
diff changeset
  2531
                NumPerTurn: 0;
8a40ce061d94 Machinegun. also tweaked ignore
alfadur
parents: 12890
diff changeset
  2532
                Timer: 0;
8a40ce061d94 Machinegun. also tweaked ignore
alfadur
parents: 12890
diff changeset
  2533
                Pos: 0;
8a40ce061d94 Machinegun. also tweaked ignore
alfadur
parents: 12890
diff changeset
  2534
                AmmoType: amMinigun;
8a40ce061d94 Machinegun. also tweaked ignore
alfadur
parents: 12890
diff changeset
  2535
                AttackVoice: sndNone;
13537
ee77086fc5fa Move hardcoded bounciness values to uConsts
Wuzzy <Wuzzy2@mail.ru>
parents: 13496
diff changeset
  2536
                Bounciness: defaultBounciness);
12903
8a40ce061d94 Machinegun. also tweaked ignore
alfadur
parents: 12890
diff changeset
  2537
            Slot: 2;
8a40ce061d94 Machinegun. also tweaked ignore
alfadur
parents: 12890
diff changeset
  2538
            TimeAfterTurn: 3000;
8a40ce061d94 Machinegun. also tweaked ignore
alfadur
parents: 12890
diff changeset
  2539
            minAngle: cMaxAngle div 6;
8a40ce061d94 Machinegun. also tweaked ignore
alfadur
parents: 12890
diff changeset
  2540
            maxAngle: 5 * cMaxAngle div 6;
8a40ce061d94 Machinegun. also tweaked ignore
alfadur
parents: 12890
diff changeset
  2541
            isDamaging: true;
8a40ce061d94 Machinegun. also tweaked ignore
alfadur
parents: 12890
diff changeset
  2542
            SkipTurns: 0;
15001
7ff86274114e Refactor PosCount: Use 0 instead of 1 for unused PosSprite
Wuzzy <Wuzzy2@mail.ru>
parents: 15000
diff changeset
  2543
            PosCount: 0;
12903
8a40ce061d94 Machinegun. also tweaked ignore
alfadur
parents: 12890
diff changeset
  2544
            PosSprite: sprWater;
8a40ce061d94 Machinegun. also tweaked ignore
alfadur
parents: 12890
diff changeset
  2545
            ejectX: 0; //23;
8a40ce061d94 Machinegun. also tweaked ignore
alfadur
parents: 12890
diff changeset
  2546
            ejectY: 0) //-6;
4361
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2547
        );
64ea345ab655 Move variables from uConsts to uVariables
unc0rr
parents: 4359
diff changeset
  2548
4367
f4a0ec067601 uLand isn't that important to them
unc0rr
parents: 4365
diff changeset
  2549
var
f4a0ec067601 uLand isn't that important to them
unc0rr
parents: 4365
diff changeset
  2550
    Land: TCollisionArray;
f4a0ec067601 uLand isn't that important to them
unc0rr
parents: 4365
diff changeset
  2551
    LandPixels: TLandArray;
f4a0ec067601 uLand isn't that important to them
unc0rr
parents: 4365
diff changeset
  2552
    LandDirty: TDirtyTag;
f4a0ec067601 uLand isn't that important to them
unc0rr
parents: 4365
diff changeset
  2553
    hasBorder: boolean;
f4a0ec067601 uLand isn't that important to them
unc0rr
parents: 4365
diff changeset
  2554
    hasGirders: boolean;
14287
6015b74eea55 overall, using LongInt for leftX/rightX results in fewer casts, since most comparisons are against ints.
nemo
parents: 14201
diff changeset
  2555
    playHeight, playWidth, leftX, rightX, topY: LongInt;  // idea is that a template can specify height/width.  Or, a map, a height/width by the dimensions of the image.  If the map has pixels near top of image, it triggers border.
6015b74eea55 overall, using LongInt for leftX/rightX results in fewer casts, since most comparisons are against ints.
nemo
parents: 14201
diff changeset
  2556
	MaxHedgehogs: LongWord;
4367
f4a0ec067601 uLand isn't that important to them
unc0rr
parents: 4365
diff changeset
  2557
    LandBackSurface: PSDL_Surface;
4368
unc0rr
parents: 4367
diff changeset
  2558
    CurAmmoGear: PGear;
4780
8571151411b3 add a couple of variables to speed up UID lookups. Based on the assumption new visual gears and gears will tend to be at the end of the list. Set them on successful lookup or script gear creation, clear on delete. Oh also pick up a couple of TrevInc's translation changes
nemo
parents: 4776
diff changeset
  2559
    lastGearByUID: PGear;
4368
unc0rr
parents: 4367
diff changeset
  2560
    GearsList: PGear;
4370
unc0rr
parents: 4369
diff changeset
  2561
    AllInactive: boolean;
unc0rr
parents: 4369
diff changeset
  2562
    PrvInactive: boolean;
unc0rr
parents: 4369
diff changeset
  2563
    KilledHHs: Longword;
12925
21827fc9ca98 Fix timebox being usable in SD w/ damage=0
Wuzzy <Wuzzy2@mail.ru>
parents: 12903
diff changeset
  2564
    SuddenDeath: Boolean; // If the Sudden Death check has been made
21827fc9ca98 Fix timebox being usable in SD w/ damage=0
Wuzzy <Wuzzy2@mail.ru>
parents: 12903
diff changeset
  2565
    SuddenDeathActive: Boolean; // Is in Sudden Death with any gameplay effect
21827fc9ca98 Fix timebox being usable in SD w/ damage=0
Wuzzy <Wuzzy2@mail.ru>
parents: 12903
diff changeset
  2566
    SuddenDeathDmg: Boolean; // Is in Sudden Death with damage
4370
unc0rr
parents: 4369
diff changeset
  2567
    SpeechType: Longword;
unc0rr
parents: 4369
diff changeset
  2568
    SpeechText: shortstring;
unc0rr
parents: 4369
diff changeset
  2569
    PlacingHogs: boolean; // a convenience flag to indicate placement of hogs is still in progress
15225
ceb289e8a582 King Mode: Fix king placement phase not working correctly with multiple teams in a clan
Wuzzy <Wuzzy2@mail.ru>
parents: 15210
diff changeset
  2570
    PlacingKings: boolean; // a convenience flag to indicate placement of kings in King Mode is still in progress
4370
unc0rr
parents: 4369
diff changeset
  2571
    StepSoundTimer: LongInt;
unc0rr
parents: 4369
diff changeset
  2572
    StepSoundChannel: LongInt;
4368
unc0rr
parents: 4367
diff changeset
  2573
unc0rr
parents: 4367
diff changeset
  2574
    CurrentTeam: PTeam;
unc0rr
parents: 4367
diff changeset
  2575
    PreviousTeam: PTeam;
14482
4b678aad50e9 Lua API: Add functions to add team selected in campaign/mission page
Wuzzy <Wuzzy2@mail.ru>
parents: 14468
diff changeset
  2576
    MissionTeam: PTeam;
4368
unc0rr
parents: 4367
diff changeset
  2577
    CurrentHedgehog: PHedgehog;
unc0rr
parents: 4367
diff changeset
  2578
    TeamsArray: array[0..Pred(cMaxTeams)] of PTeam;
13179
061d55939e47 Use visible team count instead of total team count to determine rendered team bar height
Wuzzy <Wuzzy2@mail.ru>
parents: 13126
diff changeset
  2579
    TeamsCount: Longword; // number of teams on game start
061d55939e47 Use visible team count instead of total team count to determine rendered team bar height
Wuzzy <Wuzzy2@mail.ru>
parents: 13126
diff changeset
  2580
    VisibleTeamsCount: Longword; // number of teams visible in team bar
11739
f48408dcea36 create forts in random order
sheepluva
parents: 11709
diff changeset
  2581
    ClansArray, SpawnClansArray: TClansArray;
4368
unc0rr
parents: 4367
diff changeset
  2582
    ClansCount: Longword;
4465
743673c67d0c Allow hog speech when not your turn. Currently is set to 40% opacity (could be fainter) and drawn behind the hogs instead of in front. Also allows hog targetting using a number.
nemo
parents: 4437
diff changeset
  2583
    LocalTeam: LongInt;  // last non-bot, non-extdriven clan first team
743673c67d0c Allow hog speech when not your turn. Currently is set to 40% opacity (could be fainter) and drawn behind the hogs instead of in front. Also allows hog targetting using a number.
nemo
parents: 4437
diff changeset
  2584
    LocalAmmo: LongInt;  // last non-bot, non-extdriven clan's first team's ammo index, updated to next upcoming hog for per-hog-ammo
4368
unc0rr
parents: 4367
diff changeset
  2585
    CurMinAngle, CurMaxAngle: Longword;
4367
f4a0ec067601 uLand isn't that important to them
unc0rr
parents: 4365
diff changeset
  2586
4369
unc0rr
parents: 4368
diff changeset
  2587
    FollowGear: PGear;
unc0rr
parents: 4368
diff changeset
  2588
    WindBarWidth: LongInt;
unc0rr
parents: 4368
diff changeset
  2589
    bShowAmmoMenu: boolean;
unc0rr
parents: 4368
diff changeset
  2590
    bSelected: boolean;
unc0rr
parents: 4368
diff changeset
  2591
    bShowFinger: boolean;
unc0rr
parents: 4368
diff changeset
  2592
    Frames: Longword;
unc0rr
parents: 4368
diff changeset
  2593
    WaterColor, DeepWaterColor: TSDL_Color;
11900
19cb0de79287 Make sd-tint a theme variable so cophernue can tweak his sky tinting
nemo
parents: 11892
diff changeset
  2594
    SDTint, SkyColor, RQSkyColor, SDSkyColor: TSDL_Color;
4369
unc0rr
parents: 4368
diff changeset
  2595
    SkyOffset: LongInt;
unc0rr
parents: 4368
diff changeset
  2596
{$IFDEF COUNTTICKS}
unc0rr
parents: 4368
diff changeset
  2597
    cntTicks: LongWord;
unc0rr
parents: 4368
diff changeset
  2598
{$ENDIF}
4812
f924be23ffb4 merge with HEAD after 0.9.15 release, move consts and vars in their proper files
koda
parents: 4808
diff changeset
  2599
4369
unc0rr
parents: 4368
diff changeset
  2600
4371
ae172b2b03ed Some more
unc0rr
parents: 4370
diff changeset
  2601
    PauseTexture,
9670
1954f692e8c6 Quick and simple implementation of afk mode (toggled by /pause)
unc0rr
parents: 9656
diff changeset
  2602
    AFKTexture,
4371
ae172b2b03ed Some more
unc0rr
parents: 4370
diff changeset
  2603
    SyncTexture,
ae172b2b03ed Some more
unc0rr
parents: 4370
diff changeset
  2604
    ConfirmTexture: PTexture;
ae172b2b03ed Some more
unc0rr
parents: 4370
diff changeset
  2605
    cScaleFactor: GLfloat;
13390
ec1491bb5acc WIP: allow changing chat size
sheepluva
parents: 13179
diff changeset
  2606
    cUIScaleFactor: float;
8026
4a4f21070479 merge xymeng's gsoc engine with a few updates (and further checks on symbol definitions)
koda
parents: 8018
diff changeset
  2607
    cStereoDepth: GLfloat;
4371
ae172b2b03ed Some more
unc0rr
parents: 4370
diff changeset
  2608
    SupportNPOTT: Boolean;
ae172b2b03ed Some more
unc0rr
parents: 4370
diff changeset
  2609
    Step: LongInt;
ae172b2b03ed Some more
unc0rr
parents: 4370
diff changeset
  2610
    MissionIcons: PSDL_Surface;
ae172b2b03ed Some more
unc0rr
parents: 4370
diff changeset
  2611
    ropeIconTex: PTexture;
6611
d9d00e537010 rotation ftw!!! (engine part)
koda
parents: 6609
diff changeset
  2612
4812
f924be23ffb4 merge with HEAD after 0.9.15 release, move consts and vars in their proper files
koda
parents: 4808
diff changeset
  2613
    // stereoscopic framebuffer and textures
f924be23ffb4 merge with HEAD after 0.9.15 release, move consts and vars in their proper files
koda
parents: 4808
diff changeset
  2614
    framel, framer, depthl, depthr: GLuint;
f924be23ffb4 merge with HEAD after 0.9.15 release, move consts and vars in their proper files
koda
parents: 4808
diff changeset
  2615
    texl, texr: GLuint;
4371
ae172b2b03ed Some more
unc0rr
parents: 4370
diff changeset
  2616
7180
53ffc8853008 here it is
Stepan777 <stepik-777@mail.ru>
parents: 7103
diff changeset
  2617
    // video recorder framebuffer and texture
53ffc8853008 here it is
Stepan777 <stepik-777@mail.ru>
parents: 7103
diff changeset
  2618
    defaultFrame, depthv: GLuint;
53ffc8853008 here it is
Stepan777 <stepik-777@mail.ru>
parents: 7103
diff changeset
  2619
    texv: GLuint;
53ffc8853008 here it is
Stepan777 <stepik-777@mail.ru>
parents: 7103
diff changeset
  2620
4780
8571151411b3 add a couple of variables to speed up UID lookups. Based on the assumption new visual gears and gears will tend to be at the end of the list. Set them on successful lookup or script gear creation, clear on delete. Oh also pick up a couple of TrevInc's translation changes
nemo
parents: 4776
diff changeset
  2621
    lastVisualGearByUID: PVisualGear;
4371
ae172b2b03ed Some more
unc0rr
parents: 4370
diff changeset
  2622
    vobFrameTicks, vobFramesCount, vobCount: Longword;
ae172b2b03ed Some more
unc0rr
parents: 4370
diff changeset
  2623
    vobVelocity, vobFallSpeed: LongInt;
4806
48c1a395f0a7 added flake configuration also in sudden death and SDClouds for underwater
Henek
parents: 4792
diff changeset
  2624
    vobSDFrameTicks, vobSDFramesCount, vobSDCount: Longword;
48c1a395f0a7 added flake configuration also in sudden death and SDClouds for underwater
Henek
parents: 4792
diff changeset
  2625
    vobSDVelocity, vobSDFallSpeed: LongInt;
12194
31184d9b9bfc Water can now be animated
KoBeWi <kobewi4e@gmail.com>
parents: 12168
diff changeset
  2626
    watFrames, watFrameTicks: Longword;
31184d9b9bfc Water can now be animated
KoBeWi <kobewi4e@gmail.com>
parents: 12168
diff changeset
  2627
    watMove: LongInt;
31184d9b9bfc Water can now be animated
KoBeWi <kobewi4e@gmail.com>
parents: 12168
diff changeset
  2628
    watSDFrames, watSDFrameTicks: Longword;
31184d9b9bfc Water can now be animated
KoBeWi <kobewi4e@gmail.com>
parents: 12168
diff changeset
  2629
    watSDMove: LongInt;
4371
ae172b2b03ed Some more
unc0rr
parents: 4370
diff changeset
  2630
6982
8d41d22a291d breaking news, we don't support typed consts anymore
koda
parents: 6957
diff changeset
  2631
    DefaultBinds : TBinds;
4371
ae172b2b03ed Some more
unc0rr
parents: 4370
diff changeset
  2632
7103
1c1afb5a1565 Feel free to add real checksum function
unc0rr
parents: 7091
diff changeset
  2633
    lastTurnChecksum : Longword;
1c1afb5a1565 Feel free to add real checksum function
unc0rr
parents: 7091
diff changeset
  2634
8026
4a4f21070479 merge xymeng's gsoc engine with a few updates (and further checks on symbol definitions)
koda
parents: 8018
diff changeset
  2635
    mModelview: TMatrix4x4f;
4a4f21070479 merge xymeng's gsoc engine with a few updates (and further checks on symbol definitions)
koda
parents: 8018
diff changeset
  2636
    mProjection: TMatrix4x4f;
4a4f21070479 merge xymeng's gsoc engine with a few updates (and further checks on symbol definitions)
koda
parents: 8018
diff changeset
  2637
    vBuffer: GLuint; // vertex buffer
4a4f21070479 merge xymeng's gsoc engine with a few updates (and further checks on symbol definitions)
koda
parents: 8018
diff changeset
  2638
    tBuffer: GLuint; // texture coords buffer
4a4f21070479 merge xymeng's gsoc engine with a few updates (and further checks on symbol definitions)
koda
parents: 8018
diff changeset
  2639
    cBuffer: GLuint; // color buffer
4a4f21070479 merge xymeng's gsoc engine with a few updates (and further checks on symbol definitions)
koda
parents: 8018
diff changeset
  2640
4a4f21070479 merge xymeng's gsoc engine with a few updates (and further checks on symbol definitions)
koda
parents: 8018
diff changeset
  2641
    uCurrentMVPLocation: GLint;
4a4f21070479 merge xymeng's gsoc engine with a few updates (and further checks on symbol definitions)
koda
parents: 8018
diff changeset
  2642
4a4f21070479 merge xymeng's gsoc engine with a few updates (and further checks on symbol definitions)
koda
parents: 8018
diff changeset
  2643
    uMainMVPLocation: GLint;
4a4f21070479 merge xymeng's gsoc engine with a few updates (and further checks on symbol definitions)
koda
parents: 8018
diff changeset
  2644
    uMainTintLocation: GLint;
4a4f21070479 merge xymeng's gsoc engine with a few updates (and further checks on symbol definitions)
koda
parents: 8018
diff changeset
  2645
4a4f21070479 merge xymeng's gsoc engine with a few updates (and further checks on symbol definitions)
koda
parents: 8018
diff changeset
  2646
    uWaterMVPLocation: GLint;
4a4f21070479 merge xymeng's gsoc engine with a few updates (and further checks on symbol definitions)
koda
parents: 8018
diff changeset
  2647
4a4f21070479 merge xymeng's gsoc engine with a few updates (and further checks on symbol definitions)
koda
parents: 8018
diff changeset
  2648
    aVertex: GLint;
4a4f21070479 merge xymeng's gsoc engine with a few updates (and further checks on symbol definitions)
koda
parents: 8018
diff changeset
  2649
    aTexCoord: GLint;
4a4f21070479 merge xymeng's gsoc engine with a few updates (and further checks on symbol definitions)
koda
parents: 8018
diff changeset
  2650
    aColor: GLint;
9988
317d46a2afd2 simple mechanism to run lua-based test cases. experimental - I will back it out if it turns out to be nonsense
sheepluva
parents: 9902
diff changeset
  2651
14866
acb0526bf458 Refactor decimal separator to make Pas2C happy
Wuzzy <Wuzzy2@mail.ru>
parents: 14849
diff changeset
  2652
    lDecimalSeparator: Char;
acb0526bf458 Refactor decimal separator to make Pas2C happy
Wuzzy <Wuzzy2@mail.ru>
parents: 14849
diff changeset
  2653
10122
cefede760264 Revert 88929358d2e1 in favor of ansistrings implementation in pas2c
unc0rr
parents: 10108
diff changeset
  2654
var trammo:  array[TAmmoStrId] of ansistring;   // name of the weapon
cefede760264 Revert 88929358d2e1 in favor of ansistrings implementation in pas2c
unc0rr
parents: 10108
diff changeset
  2655
    trammoc: array[TAmmoStrId] of ansistring;   // caption of the weapon
cefede760264 Revert 88929358d2e1 in favor of ansistrings implementation in pas2c
unc0rr
parents: 10108
diff changeset
  2656
    trammod: array[TAmmoStrId] of ansistring;   // description of the weapon
11944
c7ec309cd685 Add Lua API function SetAmmoTexts (see issue 82)
Wuzzy <almikes@aol.com>
parents: 11920
diff changeset
  2657
    trluaammo: array[TAmmoStrId] of ansistring; // name of the weapon (Lua overwrite)
c7ec309cd685 Add Lua API function SetAmmoTexts (see issue 82)
Wuzzy <almikes@aol.com>
parents: 11920
diff changeset
  2658
    trluaammoc: array[TAmmoStrId] of ansistring; // caption of the weapon (Lua overwrite)
c7ec309cd685 Add Lua API function SetAmmoTexts (see issue 82)
Wuzzy <almikes@aol.com>
parents: 11920
diff changeset
  2659
    trluaammod: array[TAmmoStrId] of ansistring;  // description of the weapon (Lua overwrite)
11946
7ece39a537bd Add SetAmmoDescriptionAppendix to Lua API, see issue 82
Wuzzy <almikes@aol.com>
parents: 11944
diff changeset
  2660
    trluaammoa: array[TAmmoStrId] of ansistring; // description appendix of the weapon (Lua only)
13375
e202d58236b1 Lua API: Add 5th parameter showExtra to SetAmmoTexts to hide extra text
Wuzzy <Wuzzy2@mail.ru>
parents: 13179
diff changeset
  2661
    trluaammoe: array[TAmmoStrId] of boolean;   // whether to render extra text (Lua overwrite)
10122
cefede760264 Revert 88929358d2e1 in favor of ansistrings implementation in pas2c
unc0rr
parents: 10108
diff changeset
  2662
    trmsg:   array[TMsgStrId]  of ansistring;   // message of the event
cefede760264 Revert 88929358d2e1 in favor of ansistrings implementation in pas2c
unc0rr
parents: 10108
diff changeset
  2663
    trgoal:  array[TGoalStrId] of ansistring;   // message of the goal
13462
b587cdb03bac Add /help chat command for engine
Wuzzy <Wuzzy2@mail.ru>
parents: 13460
diff changeset
  2664
    trcmd:   array[TCmdHelpStrId] of ansistring; // chat command help
10015
4feced261c68 partial merge of the webgl branch
koda
parents: 10009 9954
diff changeset
  2665
    cTestLua : Boolean;
4390
f219628ed666 Move localization data to uVariables, some Uses cleanup
unc0rr
parents: 4379
diff changeset
  2666
7896
67217e6108fd another stake at variable pre-initialisation - we lost preview logging in the course
koda
parents: 7848
diff changeset
  2667
procedure preInitModule;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2668
procedure initModule;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2669
procedure freeModule;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2670
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2671
implementation
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2672
7896
67217e6108fd another stake at variable pre-initialisation - we lost preview logging in the course
koda
parents: 7848
diff changeset
  2673
procedure preInitModule;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2674
begin
7896
67217e6108fd another stake at variable pre-initialisation - we lost preview logging in the course
koda
parents: 7848
diff changeset
  2675
    // initialisation flags - they are going to be overwritten by program args
67217e6108fd another stake at variable pre-initialisation - we lost preview logging in the course
koda
parents: 7848
diff changeset
  2676
8358
274afc318dca have the default window size to 5/6, save fullscreen resolution on 'fullscreenResolution' instead of 'resolution', make sure cFullscreenStuff is initialised
koda
parents: 8354
diff changeset
  2677
    cFullscreenWidth  := 0;
274afc318dca have the default window size to 5/6, save fullscreen resolution on 'fullscreenResolution' instead of 'resolution', make sure cFullscreenStuff is initialised
koda
parents: 8354
diff changeset
  2678
    cFullscreenHeight := 0;
8354
c25bee85d6f8 Separated fullscreen and windowed hwengine resolution parameters.
vitiv <nikita.utiu@gmail.com>
parents: 8309
diff changeset
  2679
    cWindowedWidth    := 1024;
c25bee85d6f8 Separated fullscreen and windowed hwengine resolution parameters.
vitiv <nikita.utiu@gmail.com>
parents: 8309
diff changeset
  2680
    cWindowedHeight   := 768;
8358
274afc318dca have the default window size to 5/6, save fullscreen resolution on 'fullscreenResolution' instead of 'resolution', make sure cFullscreenStuff is initialised
koda
parents: 8354
diff changeset
  2681
    cScreenWidth      := cWindowedWidth;
274afc318dca have the default window size to 5/6, save fullscreen resolution on 'fullscreenResolution' instead of 'resolution', make sure cFullscreenStuff is initialised
koda
parents: 8354
diff changeset
  2682
    cScreenHeight     := cWindowedHeight;
274afc318dca have the default window size to 5/6, save fullscreen resolution on 'fullscreenResolution' instead of 'resolution', make sure cFullscreenStuff is initialised
koda
parents: 8354
diff changeset
  2683
7896
67217e6108fd another stake at variable pre-initialisation - we lost preview logging in the course
koda
parents: 7848
diff changeset
  2684
    cShowFPS        := false;
12843
855faf1e19e2 alt damage should default to false
nemo
parents: 12754
diff changeset
  2685
    cAltDamage      := false;
14675
56831f466d1d Add settings.ini setting and hwengine param to disable holiday silliness (hat changes, etc.)
Wuzzy <Wuzzy2@mail.ru>
parents: 14603
diff changeset
  2686
    cHolidaySilliness := true;
7848
775a72905708 * fix initialisation, preload values and then read args
koda
parents: 7780
diff changeset
  2687
    cTimerInterval  := 8;
775a72905708 * fix initialisation, preload values and then read args
koda
parents: 7780
diff changeset
  2688
    cReducedQuality := rqNone;
14603
62dea281e4d5 Refactor hwengine: Rename cLocale to cLanguage
Wuzzy <Wuzzy2@mail.ru>
parents: 14571
diff changeset
  2689
    cLanguageFName  := 'en.txt';
7896
67217e6108fd another stake at variable pre-initialisation - we lost preview logging in the course
koda
parents: 7848
diff changeset
  2690
    cFullScreen     := false;
67217e6108fd another stake at variable pre-initialisation - we lost preview logging in the course
koda
parents: 7848
diff changeset
  2691
67217e6108fd another stake at variable pre-initialisation - we lost preview logging in the course
koda
parents: 7848
diff changeset
  2692
    UserPathPrefix  := '';
67217e6108fd another stake at variable pre-initialisation - we lost preview logging in the course
koda
parents: 7848
diff changeset
  2693
    ipcPort         := 0;
8016
c1223ef70934 fix demo playback
nemo
parents: 8012
diff changeset
  2694
    recordFileName  := '';
7848
775a72905708 * fix initialisation, preload values and then read args
koda
parents: 7780
diff changeset
  2695
    UserNick        := '';
775a72905708 * fix initialisation, preload values and then read args
koda
parents: 7780
diff changeset
  2696
    cStereoMode     := smNone;
775a72905708 * fix initialisation, preload values and then read args
koda
parents: 7780
diff changeset
  2697
    GrayScale       := false;
7896
67217e6108fd another stake at variable pre-initialisation - we lost preview logging in the course
koda
parents: 7848
diff changeset
  2698
    PathPrefix      := './';
67217e6108fd another stake at variable pre-initialisation - we lost preview logging in the course
koda
parents: 7848
diff changeset
  2699
    GameType        := gmtLocal;
8027
e5ba3dd12531 make stats-only mode work headless. also skip a few things to save time/memory.
nemo
parents: 8016
diff changeset
  2700
    cOnlyStats      := False;
9988
317d46a2afd2 simple mechanism to run lua-based test cases. experimental - I will back it out if it turns out to be nonsense
sheepluva
parents: 9902
diff changeset
  2701
    cScriptName     := '';
317d46a2afd2 simple mechanism to run lua-based test cases. experimental - I will back it out if it turns out to be nonsense
sheepluva
parents: 9902
diff changeset
  2702
    cScriptParam    := '';
317d46a2afd2 simple mechanism to run lua-based test cases. experimental - I will back it out if it turns out to be nonsense
sheepluva
parents: 9902
diff changeset
  2703
    cTestLua        := False;
7848
775a72905708 * fix initialisation, preload values and then read args
koda
parents: 7780
diff changeset
  2704
14682
93429d8f6b3f Add setting to set default/initial zoom
Wuzzy <Wuzzy2@mail.ru>
parents: 14675
diff changeset
  2705
    UserZoom        := cDefaultZoomLevel;
93429d8f6b3f Add setting to set default/initial zoom
Wuzzy <Wuzzy2@mail.ru>
parents: 14675
diff changeset
  2706
    zoom            := cDefaultZoomLevel;
93429d8f6b3f Add setting to set default/initial zoom
Wuzzy <Wuzzy2@mail.ru>
parents: 14675
diff changeset
  2707
    ZoomValue       := cDefaultZoomLevel;
93429d8f6b3f Add setting to set default/initial zoom
Wuzzy <Wuzzy2@mail.ru>
parents: 14675
diff changeset
  2708
93429d8f6b3f Add setting to set default/initial zoom
Wuzzy <Wuzzy2@mail.ru>
parents: 14675
diff changeset
  2709
{$IFDEF MOBILE}
14684
4eaeba349179 Precise+zoom/volume change makes changes in smaller steps
Wuzzy <Wuzzy2@mail.ru>
parents: 14682
diff changeset
  2710
    cMaxZoomLevel   := 0.5;
4eaeba349179 Precise+zoom/volume change makes changes in smaller steps
Wuzzy <Wuzzy2@mail.ru>
parents: 14682
diff changeset
  2711
    cMinZoomLevel   := 3.5;
4eaeba349179 Precise+zoom/volume change makes changes in smaller steps
Wuzzy <Wuzzy2@mail.ru>
parents: 14682
diff changeset
  2712
    cZoomDelta      := 0.20;
4eaeba349179 Precise+zoom/volume change makes changes in smaller steps
Wuzzy <Wuzzy2@mail.ru>
parents: 14682
diff changeset
  2713
    cZoomDeltaSmall := 0.10;
14682
93429d8f6b3f Add setting to set default/initial zoom
Wuzzy <Wuzzy2@mail.ru>
parents: 14675
diff changeset
  2714
{$ELSE}
14684
4eaeba349179 Precise+zoom/volume change makes changes in smaller steps
Wuzzy <Wuzzy2@mail.ru>
parents: 14682
diff changeset
  2715
    cMaxZoomLevel   := 1.0;
4eaeba349179 Precise+zoom/volume change makes changes in smaller steps
Wuzzy <Wuzzy2@mail.ru>
parents: 14682
diff changeset
  2716
    cMinZoomLevel   := 3.0;
4eaeba349179 Precise+zoom/volume change makes changes in smaller steps
Wuzzy <Wuzzy2@mail.ru>
parents: 14682
diff changeset
  2717
    cZoomDelta      := 0.25;
4eaeba349179 Precise+zoom/volume change makes changes in smaller steps
Wuzzy <Wuzzy2@mail.ru>
parents: 14682
diff changeset
  2718
    cZoomDeltaSmall := 0.125;
14682
93429d8f6b3f Add setting to set default/initial zoom
Wuzzy <Wuzzy2@mail.ru>
parents: 14675
diff changeset
  2719
{$ENDIF}
93429d8f6b3f Add setting to set default/initial zoom
Wuzzy <Wuzzy2@mail.ru>
parents: 14675
diff changeset
  2720
7896
67217e6108fd another stake at variable pre-initialisation - we lost preview logging in the course
koda
parents: 7848
diff changeset
  2721
{$IFDEF USE_VIDEO_RECORDING}
67217e6108fd another stake at variable pre-initialisation - we lost preview logging in the course
koda
parents: 7848
diff changeset
  2722
    RecPrefix          := '';
67217e6108fd another stake at variable pre-initialisation - we lost preview logging in the course
koda
parents: 7848
diff changeset
  2723
    cAVFormat          := '';
67217e6108fd another stake at variable pre-initialisation - we lost preview logging in the course
koda
parents: 7848
diff changeset
  2724
    cVideoCodec        := '';
67217e6108fd another stake at variable pre-initialisation - we lost preview logging in the course
koda
parents: 7848
diff changeset
  2725
    cVideoFramerateNum := 0;
67217e6108fd another stake at variable pre-initialisation - we lost preview logging in the course
koda
parents: 7848
diff changeset
  2726
    cVideoFramerateDen := 0;
67217e6108fd another stake at variable pre-initialisation - we lost preview logging in the course
koda
parents: 7848
diff changeset
  2727
    cVideoQuality      := 0;
67217e6108fd another stake at variable pre-initialisation - we lost preview logging in the course
koda
parents: 7848
diff changeset
  2728
    cAudioCodec        := '';
67217e6108fd another stake at variable pre-initialisation - we lost preview logging in the course
koda
parents: 7848
diff changeset
  2729
{$ENDIF}
10175
c92668840ea8 Remove game/preview functions split in library mode, just let normal procedure run instead:
unc0rr
parents: 10154
diff changeset
  2730
13394
24b531dcebe7 add chat size to misc settings. persist in settings.ini
sheepluva
parents: 13390
diff changeset
  2731
    cDefaultChatScale:= 1.0;
24b531dcebe7 add chat size to misc settings. persist in settings.ini
sheepluva
parents: 13390
diff changeset
  2732
10175
c92668840ea8 Remove game/preview functions split in library mode, just let normal procedure run instead:
unc0rr
parents: 10154
diff changeset
  2733
    cTagsMask:= htTeamName or htName or htHealth;
13004
46ba3285449a Switch + Change hog tags now turns on and off all tags
Wuzzy <Wuzzy2@mail.ru>
parents: 12925
diff changeset
  2734
    cPrevTagsMask:= cTagsMask;
7896
67217e6108fd another stake at variable pre-initialisation - we lost preview logging in the course
koda
parents: 7848
diff changeset
  2735
end;
67217e6108fd another stake at variable pre-initialisation - we lost preview logging in the course
koda
parents: 7848
diff changeset
  2736
11709
1694b379c83f fix clouds/flakes area not being adjusted after ResizeLand()
sheepluva
parents: 11525
diff changeset
  2737
procedure initScreenSpaceVars();
1694b379c83f fix clouds/flakes area not being adjusted after ResizeLand()
sheepluva
parents: 11525
diff changeset
  2738
begin
1694b379c83f fix clouds/flakes area not being adjusted after ResizeLand()
sheepluva
parents: 11525
diff changeset
  2739
    // those values still are not perfect
1694b379c83f fix clouds/flakes area not being adjusted after ResizeLand()
sheepluva
parents: 11525
diff changeset
  2740
    cLeftScreenBorder:= round(-cMinZoomLevel * cScreenWidth);
1694b379c83f fix clouds/flakes area not being adjusted after ResizeLand()
sheepluva
parents: 11525
diff changeset
  2741
    cRightScreenBorder:= round(cMinZoomLevel * cScreenWidth + LAND_WIDTH);
1694b379c83f fix clouds/flakes area not being adjusted after ResizeLand()
sheepluva
parents: 11525
diff changeset
  2742
    cScreenSpace:= cRightScreenBorder - cLeftScreenBorder;
1694b379c83f fix clouds/flakes area not being adjusted after ResizeLand()
sheepluva
parents: 11525
diff changeset
  2743
end;
1694b379c83f fix clouds/flakes area not being adjusted after ResizeLand()
sheepluva
parents: 11525
diff changeset
  2744
7896
67217e6108fd another stake at variable pre-initialisation - we lost preview logging in the course
koda
parents: 7848
diff changeset
  2745
procedure initModule;
10133
d73412fbf3b4 - Remove few PAS2C ifdef's
unc0rr
parents: 10127
diff changeset
  2746
var s: shortstring;
11154
1d08386a7c0f make uVariables not depend on implicit one-time initialization by FPC
sheepluva
parents: 11151
diff changeset
  2747
    i: integer;
13126
de07c8423beb Lua API: Add SetSoundMask to disable playing certain sounds
Wuzzy <Wuzzy2@mail.ru>
parents: 13101
diff changeset
  2748
    t: TSound;
13375
e202d58236b1 Lua API: Add 5th parameter showExtra to SetAmmoTexts to hide extra text
Wuzzy <Wuzzy2@mail.ru>
parents: 13179
diff changeset
  2749
    a: TAmmoStrId;
7896
67217e6108fd another stake at variable pre-initialisation - we lost preview logging in the course
koda
parents: 7848
diff changeset
  2750
begin
11164
e19cf9459665 uVariables: also initialize arrays and records in initModule
sheepluva
parents: 11154
diff changeset
  2751
    // init LastVoice
e19cf9459665 uVariables: also initialize arrays and records in initModule
sheepluva
parents: 11154
diff changeset
  2752
    LastVoice.snd:= sndNone;
e19cf9459665 uVariables: also initialize arrays and records in initModule
sheepluva
parents: 11154
diff changeset
  2753
    LastVoice.voicepack:= nil;
e19cf9459665 uVariables: also initialize arrays and records in initModule
sheepluva
parents: 11154
diff changeset
  2754
e19cf9459665 uVariables: also initialize arrays and records in initModule
sheepluva
parents: 11154
diff changeset
  2755
    // init arrays
e19cf9459665 uVariables: also initialize arrays and records in initModule
sheepluva
parents: 11154
diff changeset
  2756
    Move(cPathzInit, cPathz, sizeof(cPathz));
e19cf9459665 uVariables: also initialize arrays and records in initModule
sheepluva
parents: 11154
diff changeset
  2757
    Move(FontzInit, Fontz, sizeof(Fontz));
e19cf9459665 uVariables: also initialize arrays and records in initModule
sheepluva
parents: 11154
diff changeset
  2758
    Move(SpritesDataInit, SpritesData, sizeof(SpritesData));
e19cf9459665 uVariables: also initialize arrays and records in initModule
sheepluva
parents: 11154
diff changeset
  2759
    Move(AmmozInit, Ammoz, sizeof(Ammoz));
e19cf9459665 uVariables: also initialize arrays and records in initModule
sheepluva
parents: 11154
diff changeset
  2760
e19cf9459665 uVariables: also initialize arrays and records in initModule
sheepluva
parents: 11154
diff changeset
  2761
14603
62dea281e4d5 Refactor hwengine: Rename cLocale to cLanguage
Wuzzy <Wuzzy2@mail.ru>
parents: 14571
diff changeset
  2762
    cLanguage:= cLanguageFName;
62dea281e4d5 Refactor hwengine: Rename cLocale to cLanguage
Wuzzy <Wuzzy2@mail.ru>
parents: 14571
diff changeset
  2763
    SplitByChar(cLanguage, s, '.');
7896
67217e6108fd another stake at variable pre-initialisation - we lost preview logging in the course
koda
parents: 7848
diff changeset
  2764
67217e6108fd another stake at variable pre-initialisation - we lost preview logging in the course
koda
parents: 7848
diff changeset
  2765
    cFlattenFlakes      := false;
67217e6108fd another stake at variable pre-initialisation - we lost preview logging in the course
koda
parents: 7848
diff changeset
  2766
    cFlattenClouds      := false;
9768
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 9723
diff changeset
  2767
    cIce                := false;
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 9723
diff changeset
  2768
    cSnow               := false;
7896
67217e6108fd another stake at variable pre-initialisation - we lost preview logging in the course
koda
parents: 7848
diff changeset
  2769
    lastVisualGearByUID := nil;
67217e6108fd another stake at variable pre-initialisation - we lost preview logging in the course
koda
parents: 7848
diff changeset
  2770
    lastGearByUID       := nil;
67217e6108fd another stake at variable pre-initialisation - we lost preview logging in the course
koda
parents: 7848
diff changeset
  2771
    cReadyDelay         := 5000;
13082
c213645ff848 Having chat mode as game state was a mistake
unc0rr
parents: 13044
diff changeset
  2772
    isInChatMode        := false;
7896
67217e6108fd another stake at variable pre-initialisation - we lost preview logging in the course
koda
parents: 7848
diff changeset
  2773
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2774
        {*  REFERENCE
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2775
      4096 -> $FFFFF000
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2776
      2048 -> $FFFFF800
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2777
      1024 -> $FFFFFC00
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2778
       512 -> $FFFFFE00  *}
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2779
    if (cReducedQuality and rqLowRes) <> 0 then
4780
8571151411b3 add a couple of variables to speed up UID lookups. Based on the assumption new visual gears and gears will tend to be at the end of the list. Set them on successful lookup or script gear creation, clear on delete. Oh also pick up a couple of TrevInc's translation changes
nemo
parents: 4776
diff changeset
  2780
        begin
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2781
        LAND_WIDTH:= 2048;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2782
        LAND_HEIGHT:= 1024;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2783
        LAND_WIDTH_MASK:= $FFFFF800;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2784
        LAND_HEIGHT_MASK:= $FFFFFC00;
4780
8571151411b3 add a couple of variables to speed up UID lookups. Based on the assumption new visual gears and gears will tend to be at the end of the list. Set them on successful lookup or script gear creation, clear on delete. Oh also pick up a couple of TrevInc's translation changes
nemo
parents: 4776
diff changeset
  2785
        end
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2786
    else
4780
8571151411b3 add a couple of variables to speed up UID lookups. Based on the assumption new visual gears and gears will tend to be at the end of the list. Set them on successful lookup or script gear creation, clear on delete. Oh also pick up a couple of TrevInc's translation changes
nemo
parents: 4776
diff changeset
  2787
        begin
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2788
        LAND_WIDTH:= 4096;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2789
        LAND_HEIGHT:= 2048;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2790
        LAND_WIDTH_MASK:= $FFFFF000;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2791
        LAND_HEIGHT_MASK:= $FFFFF800
4780
8571151411b3 add a couple of variables to speed up UID lookups. Based on the assumption new visual gears and gears will tend to be at the end of the list. Set them on successful lookup or script gear creation, clear on delete. Oh also pick up a couple of TrevInc's translation changes
nemo
parents: 4776
diff changeset
  2792
        end;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2793
12168
9b5748fa7974 Set default theme water color to blue
Wuzzy <almikes@aol.com>
parents: 12163
diff changeset
  2794
    // default water
9b5748fa7974 Set default theme water color to blue
Wuzzy <almikes@aol.com>
parents: 12163
diff changeset
  2795
    WaterColorArray[0].r := 52;
9b5748fa7974 Set default theme water color to blue
Wuzzy <almikes@aol.com>
parents: 12163
diff changeset
  2796
    WaterColorArray[0].g := 60;
9b5748fa7974 Set default theme water color to blue
Wuzzy <almikes@aol.com>
parents: 12163
diff changeset
  2797
    WaterColorArray[0].b := 125;
9b5748fa7974 Set default theme water color to blue
Wuzzy <almikes@aol.com>
parents: 12163
diff changeset
  2798
    WaterColorArray[0].a := 255;
9b5748fa7974 Set default theme water color to blue
Wuzzy <almikes@aol.com>
parents: 12163
diff changeset
  2799
    WaterColorArray[2]:= WaterColorArray[0];
9b5748fa7974 Set default theme water color to blue
Wuzzy <almikes@aol.com>
parents: 12163
diff changeset
  2800
    WaterColorArray[4]:= WaterColorArray[0];
9b5748fa7974 Set default theme water color to blue
Wuzzy <almikes@aol.com>
parents: 12163
diff changeset
  2801
    WaterColorArray[6]:= WaterColorArray[0];
9b5748fa7974 Set default theme water color to blue
Wuzzy <almikes@aol.com>
parents: 12163
diff changeset
  2802
    // water surface
9b5748fa7974 Set default theme water color to blue
Wuzzy <almikes@aol.com>
parents: 12163
diff changeset
  2803
    WaterColorArray[1].r := 84;
9b5748fa7974 Set default theme water color to blue
Wuzzy <almikes@aol.com>
parents: 12163
diff changeset
  2804
    WaterColorArray[1].g := 92;
9b5748fa7974 Set default theme water color to blue
Wuzzy <almikes@aol.com>
parents: 12163
diff changeset
  2805
    WaterColorArray[1].b := 157;
9b5748fa7974 Set default theme water color to blue
Wuzzy <almikes@aol.com>
parents: 12163
diff changeset
  2806
    WaterColorArray[1].a := 255;
9b5748fa7974 Set default theme water color to blue
Wuzzy <almikes@aol.com>
parents: 12163
diff changeset
  2807
    WaterColorArray[3]:= WaterColorArray[1];
9b5748fa7974 Set default theme water color to blue
Wuzzy <almikes@aol.com>
parents: 12163
diff changeset
  2808
    WaterColorArray[5]:= WaterColorArray[1];
9b5748fa7974 Set default theme water color to blue
Wuzzy <almikes@aol.com>
parents: 12163
diff changeset
  2809
    WaterColorArray[7]:= WaterColorArray[1];
9b5748fa7974 Set default theme water color to blue
Wuzzy <almikes@aol.com>
parents: 12163
diff changeset
  2810
9b5748fa7974 Set default theme water color to blue
Wuzzy <almikes@aol.com>
parents: 12163
diff changeset
  2811
    WaterOpacity:= $80;
9b5748fa7974 Set default theme water color to blue
Wuzzy <almikes@aol.com>
parents: 12163
diff changeset
  2812
13587
517b26009073 Lua: Allow to use negative value for AddTeam to select a default clan color
Wuzzy <Wuzzy2@mail.ru>
parents: 13573
diff changeset
  2813
    // default clan colors
517b26009073 Lua: Allow to use negative value for AddTeam to select a default clan color
Wuzzy <Wuzzy2@mail.ru>
parents: 13573
diff changeset
  2814
    // always keep in sync with QTfrontend/hwconsts.h
517b26009073 Lua: Allow to use negative value for AddTeam to select a default clan color
Wuzzy <Wuzzy2@mail.ru>
parents: 13573
diff changeset
  2815
517b26009073 Lua: Allow to use negative value for AddTeam to select a default clan color
Wuzzy <Wuzzy2@mail.ru>
parents: 13573
diff changeset
  2816
    ClanColorArray[0] := $ffff0204;
517b26009073 Lua: Allow to use negative value for AddTeam to select a default clan color
Wuzzy <Wuzzy2@mail.ru>
parents: 13573
diff changeset
  2817
    ClanColorArray[1] := $ff4980c1;
517b26009073 Lua: Allow to use negative value for AddTeam to select a default clan color
Wuzzy <Wuzzy2@mail.ru>
parents: 13573
diff changeset
  2818
    ClanColorArray[2] := $ff1de6ba;
517b26009073 Lua: Allow to use negative value for AddTeam to select a default clan color
Wuzzy <Wuzzy2@mail.ru>
parents: 13573
diff changeset
  2819
    ClanColorArray[3] := $ffb541ef;
517b26009073 Lua: Allow to use negative value for AddTeam to select a default clan color
Wuzzy <Wuzzy2@mail.ru>
parents: 13573
diff changeset
  2820
    ClanColorArray[4] := $ffe55bb0;
517b26009073 Lua: Allow to use negative value for AddTeam to select a default clan color
Wuzzy <Wuzzy2@mail.ru>
parents: 13573
diff changeset
  2821
    ClanColorArray[5] := $ff20bf00;
517b26009073 Lua: Allow to use negative value for AddTeam to select a default clan color
Wuzzy <Wuzzy2@mail.ru>
parents: 13573
diff changeset
  2822
    ClanColorArray[6] := $fffe8b0e;
517b26009073 Lua: Allow to use negative value for AddTeam to select a default clan color
Wuzzy <Wuzzy2@mail.ru>
parents: 13573
diff changeset
  2823
    ClanColorArray[7] := $ff8f5902;
517b26009073 Lua: Allow to use negative value for AddTeam to select a default clan color
Wuzzy <Wuzzy2@mail.ru>
parents: 13573
diff changeset
  2824
    ClanColorArray[8] := $ffffff01;
517b26009073 Lua: Allow to use negative value for AddTeam to select a default clan color
Wuzzy <Wuzzy2@mail.ru>
parents: 13573
diff changeset
  2825
10325
7315870716f2 tweak/refactor how water is drawn
sheepluva
parents: 10304
diff changeset
  2826
    // default sudden death water
7315870716f2 tweak/refactor how water is drawn
sheepluva
parents: 10304
diff changeset
  2827
7315870716f2 tweak/refactor how water is drawn
sheepluva
parents: 10304
diff changeset
  2828
    // deep water
7315870716f2 tweak/refactor how water is drawn
sheepluva
parents: 10304
diff changeset
  2829
    SDWaterColorArray[0].r := 150;
7315870716f2 tweak/refactor how water is drawn
sheepluva
parents: 10304
diff changeset
  2830
    SDWaterColorArray[0].g := 112;
7315870716f2 tweak/refactor how water is drawn
sheepluva
parents: 10304
diff changeset
  2831
    SDWaterColorArray[0].b := 169;
4748
ce9b48de1f52 sudden death, now with visual and audial effects :D
Henek
parents: 4695
diff changeset
  2832
    SDWaterColorArray[0].a := 255;
10325
7315870716f2 tweak/refactor how water is drawn
sheepluva
parents: 10304
diff changeset
  2833
    SDWaterColorArray[2]:= SDWaterColorArray[0];
7315870716f2 tweak/refactor how water is drawn
sheepluva
parents: 10304
diff changeset
  2834
    SDWaterColorArray[4]:= SDWaterColorArray[0];
7315870716f2 tweak/refactor how water is drawn
sheepluva
parents: 10304
diff changeset
  2835
    SDWaterColorArray[6]:= SDWaterColorArray[0];
7315870716f2 tweak/refactor how water is drawn
sheepluva
parents: 10304
diff changeset
  2836
    // water surface
7315870716f2 tweak/refactor how water is drawn
sheepluva
parents: 10304
diff changeset
  2837
    SDWaterColorArray[1].r := 182;
7315870716f2 tweak/refactor how water is drawn
sheepluva
parents: 10304
diff changeset
  2838
    SDWaterColorArray[1].g := 144;
7315870716f2 tweak/refactor how water is drawn
sheepluva
parents: 10304
diff changeset
  2839
    SDWaterColorArray[1].b := 201;
7315870716f2 tweak/refactor how water is drawn
sheepluva
parents: 10304
diff changeset
  2840
    SDWaterColorArray[1].a := 255;
7315870716f2 tweak/refactor how water is drawn
sheepluva
parents: 10304
diff changeset
  2841
    SDWaterColorArray[3]:= SDWaterColorArray[1];
7315870716f2 tweak/refactor how water is drawn
sheepluva
parents: 10304
diff changeset
  2842
    SDWaterColorArray[5]:= SDWaterColorArray[1];
7315870716f2 tweak/refactor how water is drawn
sheepluva
parents: 10304
diff changeset
  2843
    SDWaterColorArray[7]:= SDWaterColorArray[1];
7315870716f2 tweak/refactor how water is drawn
sheepluva
parents: 10304
diff changeset
  2844
7848
775a72905708 * fix initialisation, preload values and then read args
koda
parents: 7780
diff changeset
  2845
    SDWaterOpacity:= $80;
10325
7315870716f2 tweak/refactor how water is drawn
sheepluva
parents: 10304
diff changeset
  2846
11900
19cb0de79287 Make sd-tint a theme variable so cophernue can tweak his sky tinting
nemo
parents: 11892
diff changeset
  2847
    SDTint.r := $80;
19cb0de79287 Make sd-tint a theme variable so cophernue can tweak his sky tinting
nemo
parents: 11892
diff changeset
  2848
    SDTint.g := $80;
19cb0de79287 Make sd-tint a theme variable so cophernue can tweak his sky tinting
nemo
parents: 11892
diff changeset
  2849
    SDTint.b := $80;
19cb0de79287 Make sd-tint a theme variable so cophernue can tweak his sky tinting
nemo
parents: 11892
diff changeset
  2850
    SDTint.a := $FF;
19cb0de79287 Make sd-tint a theme variable so cophernue can tweak his sky tinting
nemo
parents: 11892
diff changeset
  2851
10877
baad1cc9b749 alternative explosion border smoothing
sheepluva
parents: 10866
diff changeset
  2852
    ExplosionBorderColorR:= 80;
baad1cc9b749 alternative explosion border smoothing
sheepluva
parents: 10866
diff changeset
  2853
    ExplosionBorderColorG:= 80;
baad1cc9b749 alternative explosion border smoothing
sheepluva
parents: 10866
diff changeset
  2854
    ExplosionBorderColorB:= 80;
7848
775a72905708 * fix initialisation, preload values and then read args
koda
parents: 7780
diff changeset
  2855
    ExplosionBorderColor:= $FF808080;
10878
963bc20f511c small pixel jizz tweak
sheepluva
parents: 10877
diff changeset
  2856
    ExplosionBorderColorNoA:= ExplosionBorderColor and (not AMask);
8584
ea20d9cc8515 put ice colour in uVariables, add check for land that is already ice
nemo
parents: 8578
diff changeset
  2857
    IceColor:= ($44 shl RShift) or ($97 shl GShift) or ($A9 shl BShift) or ($A0 shl AShift);
8596
def92c20cd49 define ice edge colour
nemo
parents: 8584
diff changeset
  2858
    IceEdgeColor:= ($8A shl RShift) or ($AF shl GShift) or ($B2 shl BShift) or ($FF shl AShift);
def92c20cd49 define ice edge colour
nemo
parents: 8584
diff changeset
  2859
7848
775a72905708 * fix initialisation, preload values and then read args
koda
parents: 7780
diff changeset
  2860
    WaterOpacity:= $80;
4748
ce9b48de1f52 sudden death, now with visual and audial effects :D
Henek
parents: 4695
diff changeset
  2861
10330
3ec09243cb55 move DrawWaves to uRender
sheepluva
parents: 10325
diff changeset
  2862
    cWaveHeight             := 32;
9300
e5dafb5843c6 uvariables comes before uutils
koda
parents: 9249
diff changeset
  2863
    cDrownSpeed.QWordValue  := 257698038;   // 0.06
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2864
    cDrownSpeedf            := 0.06;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2865
    cMaxWindSpeed.QWordValue:= 1073742;     // 0.00025
9300
e5dafb5843c6 uvariables comes before uutils
koda
parents: 9249
diff changeset
  2866
    cWindSpeed.QWordValue   := 0;           // 0.0
4776
ab956d4647a4 set windspeed to 0 at the very beginning of the game. (fixes DisableWind game modifier)
sheepluva
parents: 4772
diff changeset
  2867
    cWindSpeedf             := 0.0;
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
  2868
    cElastic                := _0_9;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2869
    cGravity                := cMaxWindSpeed * 2;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2870
    cGravityf               := 0.00025 * 2;
11892
083c12795632 Show symbols at bottom right while extra damage / low grav. are active
Wuzzy <almikes@aol.com>
parents: 11841
diff changeset
  2871
    cLowGravity             := false;
11058
b91667fd6f20 Lua API: SetMaxBuildDistance([ distInPx ]) -- set to 0 for no limit; call with no param to reset to default
sheepluva
parents: 11057
diff changeset
  2872
    cBuildMaxDist           := cDefaultBuildMaxDist;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2873
    cDamageModifier         := _1;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2874
    TargetPoint             := cTargetPointRef;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2875
12890
dab60d247b75 also put GL2 fixes into default
sheepluva
parents: 12849
diff changeset
  2876
    aVertex:= 0;
dab60d247b75 also put GL2 fixes into default
sheepluva
parents: 12849
diff changeset
  2877
    aTexCoord:= 1;
dab60d247b75 also put GL2 fixes into default
sheepluva
parents: 12849
diff changeset
  2878
    aColor:= 2;
dab60d247b75 also put GL2 fixes into default
sheepluva
parents: 12849
diff changeset
  2879
14866
acb0526bf458 Refactor decimal separator to make Pas2C happy
Wuzzy <Wuzzy2@mail.ru>
parents: 14849
diff changeset
  2880
    lDecimalSeparator       := '.';
acb0526bf458 Refactor decimal separator to make Pas2C happy
Wuzzy <Wuzzy2@mail.ru>
parents: 14849
diff changeset
  2881
7974
7ac6699b6228 support ridiculously large maps
nemo
parents: 7964
diff changeset
  2882
7ac6699b6228 support ridiculously large maps
nemo
parents: 7964
diff changeset
  2883
    cMinMaxZoomLevelDelta:= cMaxZoomLevel - cMinZoomLevel;
7ac6699b6228 support ridiculously large maps
nemo
parents: 7964
diff changeset
  2884
14969
bcecb3349948 Display current health in top right corner
Wuzzy <Wuzzy2@mail.ru>
parents: 14949
diff changeset
  2885
    cDemoClockFPSOffsetY := 0;
bcecb3349948 Display current health in top right corner
Wuzzy <Wuzzy2@mail.ru>
parents: 14949
diff changeset
  2886
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2887
    // int, longint longword and byte
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2888
    CursorMovementX     := 0;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2889
    CursorMovementY     := 0;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2890
    GameTicks           := 0;
14046
44f20c9e6861 Add Ouch taunt for particulary damaging hits (fall, bullet, shove, hammer)
Wuzzy <Wuzzy2@mail.ru>
parents: 14023
diff changeset
  2891
    OuchTauntTimer      := 0;
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
  2892
    CheckSum            := 0;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2893
    cWaterLine          := LAND_HEIGHT;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2894
    cGearScrEdgesDist   := 240;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2895
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
  2896
    InputMask           := $FFFFFFFF;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2897
    GameFlags           := 0;
9473
a51a69094c24 partial implementation of non-infinite world (edge wrap/warp/bounce)
nemo
parents: 9367
diff changeset
  2898
    WorldEdge           := weNone;
9557
a5005b7ca305 differentiate borders a bit
nemo
parents: 9473
diff changeset
  2899
    LeftImpactTimer     := 0;
a5005b7ca305 differentiate borders a bit
nemo
parents: 9473
diff changeset
  2900
    RightImpactTimer    := 0;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2901
    TurnTimeLeft        := 0;
11918
232b57a70aca Make the timer red when it is the get-away time
Wuzzy <almikes@aol.com>
parents: 11917
diff changeset
  2902
    IsGetAwayTime       := false;
12327
9aa483762025 Fix sndBoring being played when force-ending turn due to victory
Wuzzy <almikes@aol.com>
parents: 12322
diff changeset
  2903
    GameOver            := false;
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
  2904
    TurnClockActive     := true;
5016
9347d82a26cc added game mode Tag Team, mostly untested, please test :)
Henek
parents: 5013
diff changeset
  2905
    TagTurnTimeLeft     := 0;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2906
    cSuddenDTurns       := 15;
14411
b48c270328a5 Show Sudden Death warning messages only once per round
Wuzzy <Wuzzy2@mail.ru>
parents: 14399
diff changeset
  2907
    LastSuddenDWarn     := -2;
14527
d0441c7e9000 Lua: Add InitHealth, read-only variable containing the initial hog health setting
Wuzzy <Wuzzy2@mail.ru>
parents: 14519
diff changeset
  2908
    cInitHealth         := 100;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2909
    cDamagePercent      := 100;
4396
3cfd2e15464a After repeated requests, variable length rope. Intended for the infinite rope folks, but values less than 100 make rope more interesting IMO.
nemo
parents: 4390
diff changeset
  2910
    cRopePercent        := 100;
14949
8b53cb1c0ada make rope styleable
alfadur
parents: 14866
diff changeset
  2911
    cRopeNodeStep       := 4;
15029
af2f6f4074de add rope layers
alfadur
parents: 15027
diff changeset
  2912
    cRopeLayers         := 1;
5026
e83d4552625f percentage modifier for get away time
nikin
parents: 5025
diff changeset
  2913
    cGetAwayTime        := 100;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2914
    cMineDudPercent     := 0;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2915
    cTemplateFilter     := 0;
14421
96624a6cdb93 Allow scaling hand drawn maps
nemo
parents: 14411
diff changeset
  2916
    cFeatureSize        := 12;
10603
bda5c7caf396 switch mapgen to enum. should still try and make sure the values are backwards compatible if possible.
nemo
parents: 10532
diff changeset
  2917
    cMapGen             := mgRandom;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2918
    cHedgehogTurnTime   := 45000;
4482
34393349f96e Restore millisecond precision for mines time
nemo
parents: 4465
diff changeset
  2919
    cMinesTime          := 3000;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2920
    cMaxAIThinkTime     := 9000;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2921
    cCloudsNumber       := 9;
4792
68f9b331014a sudden death changes: only change visual bit on health decrease and support for water transparancy change and clouds number change
Henek
parents: 4782
diff changeset
  2922
    cSDCloudsNumber     := 9;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2923
    cHealthCaseProb     := 35;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2924
    cHealthCaseAmount   := 25;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2925
    cWaterRise          := 47;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2926
    cHealthDecrease     := 5;
10237
282e49f9ce9d sekret feature (test commit)
unc0rr
parents: 10175
diff changeset
  2927
    cAdvancedMapGenMode := false;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2928
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2929
    InitStepsFlags  := 0;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2930
    RealTicks       := 0;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2931
    AttackBar       := 0; // 0 - none, 1 - just bar at the right-down corner, 2 - from weapon
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2932
    cCaseFactor     := 5;  {0..9}
13632
605767bbd022 Move max. number of crate spawns into variable
Wuzzy <Wuzzy2@mail.ru>
parents: 13587
diff changeset
  2933
    cMaxCaseDrops   := 5;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2934
    cLandMines      := 4;
10955
a60cad2e0d26 change from default of 4 (like land mines) to 0, since it was breaking old scripts.
nemo
parents: 10878
diff changeset
  2935
    cAirMines       := 0;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2936
    cExplosives     := 2;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2937
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2938
    GameState       := Low(TGameState);
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2939
    zoom            := cDefaultZoomLevel;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2940
    ZoomValue       := cDefaultZoomLevel;
13394
24b531dcebe7 add chat size to misc settings. persist in settings.ini
sheepluva
parents: 13390
diff changeset
  2941
24b531dcebe7 add chat size to misc settings. persist in settings.ini
sheepluva
parents: 13390
diff changeset
  2942
    if cDefaultChatScale < cMinChatScaleValue then
24b531dcebe7 add chat size to misc settings. persist in settings.ini
sheepluva
parents: 13390
diff changeset
  2943
        cDefaultChatScale := cMinChatScaleValue
24b531dcebe7 add chat size to misc settings. persist in settings.ini
sheepluva
parents: 13390
diff changeset
  2944
    else if cDefaultChatScale > cMaxChatScaleValue then
24b531dcebe7 add chat size to misc settings. persist in settings.ini
sheepluva
parents: 13390
diff changeset
  2945
        cDefaultChatScale := cMaxChatScaleValue;
24b531dcebe7 add chat size to misc settings. persist in settings.ini
sheepluva
parents: 13390
diff changeset
  2946
    ChatScaleValue  := cDefaultChatScale;
13390
ec1491bb5acc WIP: allow changing chat size
sheepluva
parents: 13179
diff changeset
  2947
    UIScaleValue    := cDefaultUIScaleLevel;
13394
24b531dcebe7 add chat size to misc settings. persist in settings.ini
sheepluva
parents: 13390
diff changeset
  2948
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2949
    WeaponTooltipTex:= nil;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2950
    cLaserSighting  := false;
12311
cdd884397760 Fix sniper rifle disabling laser sight utility after shooting
Wuzzy <almikes@aol.com>
parents: 12291
diff changeset
  2951
    cLaserSightingSniper := false;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2952
    cVampiric       := false;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2953
    flagMakeCapture := false;
10633
2f062fac5791 Add that "make screenshots of Land/LandPixels" thing for map creators
nemo
parents: 10625
diff changeset
  2954
    flagDumpLand    := false;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2955
    bBetweenTurns   := false;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2956
    bWaterRising    := false;
13782
3fa9e30927f1 Fix team stats screwing up if game ends due to drowning in rising Sudden Death water
Wuzzy <Wuzzy2@mail.ru>
parents: 13632
diff changeset
  2957
    bDuringWaterRise:= false;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2958
    isCursorVisible := false;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2959
    isInLag         := false;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2960
    isPaused        := false;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2961
    isInMultiShoot  := false;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2962
    isSpeed         := false;
9670
1954f692e8c6 Quick and simple implementation of afk mode (toggled by /pause)
unc0rr
parents: 9656
diff changeset
  2963
    isAFK           := false;
13464
08a3851aaf67 Add dedicated key to display mission panel: M
Wuzzy <Wuzzy2@mail.ru>
parents: 13462
diff changeset
  2964
    isShowMission   := false;
14754
533ac9774279 Add key to display extra gear info tags
Wuzzy <Wuzzy2@mail.ru>
parents: 14741
diff changeset
  2965
    isShowGearInfo  := false;
13466
854caa3c9212 Lua API: Add parameter forceDisplay to ShowMission to prevent manual hiding
Wuzzy <Wuzzy2@mail.ru>
parents: 13464
diff changeset
  2966
    isForceMission  := false;
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
  2967
    SpeedStart      := 0;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2968
    fastUntilLag    := false;
7180
53ffc8853008 here it is
Stepan777 <stepik-777@mail.ru>
parents: 7103
diff changeset
  2969
    fastScrolling   := false;
5247
bf6d4bc531d2 Ability to turn camera following gears off
unc0rr
parents: 5238
diff changeset
  2970
    autoCameraOn    := true;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2971
    cSeed           := '';
13496
f725701ca529 Add variable to make state of sound system clear
Wuzzy <Wuzzy2@mail.ru>
parents: 13466
diff changeset
  2972
    cIsSoundEnabled := false;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2973
    cVolumeDelta    := 0;
14686
bd43e703608b Fix precise volume change being a bit buggy
Wuzzy <Wuzzy2@mail.ru>
parents: 14684
diff changeset
  2974
    cVolumeUpKey    := false;
bd43e703608b Fix precise volume change being a bit buggy
Wuzzy <Wuzzy2@mail.ru>
parents: 14684
diff changeset
  2975
    cVolumeDownKey  := false;
13044
aed4b25ff242 Fix volume caption not being shown when hitting mute key
Wuzzy <Wuzzy2@mail.ru>
parents: 13004
diff changeset
  2976
    cMuteToggle     := false;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2977
    cHasFocus       := true;
5296
0bb518ad2da8 At mikade's request and w/ unc0rr's blessing, dramatically slash inactivity delay from 1.25s down to a tenth of a second.
nemo
parents: 5294
diff changeset
  2978
    cInactDelay     := 100;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2979
    ReadyTimeLeft   := 0;
8330
aaefa587e277 update branch with default
koda
parents: 8096 8309
diff changeset
  2980
4695
ac2cb3b99d70 add a disabling for landback, set it if flakes are enabled
nemo
parents: 4611
diff changeset
  2981
    disableLandBack := false;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2982
    ScreenFade      := sfNone;
11524
aab4767d9a50 adding a "cinematic mode" - currently: black bars on bottom/top. triggered by rcplane when pressing enter
sheepluva
parents: 11482
diff changeset
  2983
    InCinematicMode := false;
aab4767d9a50 adding a "cinematic mode" - currently: black bars on bottom/top. triggered by rcplane when pressing enter
sheepluva
parents: 11482
diff changeset
  2984
    CinematicSteps  := 0;
aab4767d9a50 adding a "cinematic mode" - currently: black bars on bottom/top. triggered by rcplane when pressing enter
sheepluva
parents: 11482
diff changeset
  2985
    CinematicBarH   := 0;
11525
663ecfb05df6 Lua API: SetCinematicMode(enable)
sheepluva
parents: 11524
diff changeset
  2986
    CinematicScript := false;
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2987
11709
1694b379c83f fix clouds/flakes area not being adjusted after ResizeLand()
sheepluva
parents: 11525
diff changeset
  2988
    initScreenSpaceVars();
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  2989
10271
e770bfcf488a whoops, forgot to include this file in commt
sheepluva
parents: 10266
diff changeset
  2990
    dirtyLandTexCount:= 0;
e770bfcf488a whoops, forgot to include this file in commt
sheepluva
parents: 10266
diff changeset
  2991
10625
125e120165aa flake FrameTicks value of 0 now indicades that the frame should not be changed
sheepluva
parents: 10603
diff changeset
  2992
    vobFrameTicks:= 0;
6877
b899393c8450 vob* variables need to be reset
koda
parents: 6828
diff changeset
  2993
    vobFramesCount:= 4;
b899393c8450 vob* variables need to be reset
koda
parents: 6828
diff changeset
  2994
    vobCount:= 0;
b899393c8450 vob* variables need to be reset
koda
parents: 6828
diff changeset
  2995
    vobVelocity:= 10;
b899393c8450 vob* variables need to be reset
koda
parents: 6828
diff changeset
  2996
    vobFallSpeed:= 100;
12194
31184d9b9bfc Water can now be animated
KoBeWi <kobewi4e@gmail.com>
parents: 12168
diff changeset
  2997
    watFrames:= 1;
31184d9b9bfc Water can now be animated
KoBeWi <kobewi4e@gmail.com>
parents: 12168
diff changeset
  2998
    watFrameTicks:= 0;
12287
c0ace4bf45fa Change water speed range for better precision
KoBeWi <kobewi4e@gmail.com>
parents: 12202
diff changeset
  2999
    watMove:= 100;
6877
b899393c8450 vob* variables need to be reset
koda
parents: 6828
diff changeset
  3000
10625
125e120165aa flake FrameTicks value of 0 now indicades that the frame should not be changed
sheepluva
parents: 10603
diff changeset
  3001
    vobSDFrameTicks:= 0;
5558
49cfd05ccb83 new SD flakes from mikade and a flash when sudden death starts
Henek
parents: 5543
diff changeset
  3002
    vobSDFramesCount:= 4;
4806
48c1a395f0a7 added flake configuration also in sudden death and SDClouds for underwater
Henek
parents: 4792
diff changeset
  3003
    vobSDCount:= 30 * cScreenSpace div LAND_WIDTH;
5558
49cfd05ccb83 new SD flakes from mikade and a flash when sudden death starts
Henek
parents: 5543
diff changeset
  3004
    vobSDVelocity:= 15;
49cfd05ccb83 new SD flakes from mikade and a flash when sudden death starts
Henek
parents: 5543
diff changeset
  3005
    vobSDFallSpeed:= 250;
12194
31184d9b9bfc Water can now be animated
KoBeWi <kobewi4e@gmail.com>
parents: 12168
diff changeset
  3006
    watSDFrames:= 1;
31184d9b9bfc Water can now be animated
KoBeWi <kobewi4e@gmail.com>
parents: 12168
diff changeset
  3007
    watSDFrameTicks:= 0;
12287
c0ace4bf45fa Change water speed range for better precision
KoBeWi <kobewi4e@gmail.com>
parents: 12202
diff changeset
  3008
    watSDMove:= 100;
4883
7cddc9201a1d added dummy for tardis and ugly icons for tardis and structure
Henek
parents: 4881
diff changeset
  3009
11136
9b5f60bc059e - Fix for iPhone 4S screen size
antonc27 <antonc27@mail.ru>
parents: 11112
diff changeset
  3010
{$IFDEF MOBILE}
9b5f60bc059e - Fix for iPhone 4S screen size
antonc27 <antonc27@mail.ru>
parents: 11112
diff changeset
  3011
    cMinScreenWidth  := min(cScreenWidth, 480);
9b5f60bc059e - Fix for iPhone 4S screen size
antonc27 <antonc27@mail.ru>
parents: 11112
diff changeset
  3012
    cMinScreenHeight := min(cScreenHeight, 320);
9b5f60bc059e - Fix for iPhone 4S screen size
antonc27 <antonc27@mail.ru>
parents: 11112
diff changeset
  3013
{$ELSE}
8358
274afc318dca have the default window size to 5/6, save fullscreen resolution on 'fullscreenResolution' instead of 'resolution', make sure cFullscreenStuff is initialised
koda
parents: 8354
diff changeset
  3014
    cMinScreenWidth  := min(cScreenWidth, 640);
274afc318dca have the default window size to 5/6, save fullscreen resolution on 'fullscreenResolution' instead of 'resolution', make sure cFullscreenStuff is initialised
koda
parents: 8354
diff changeset
  3015
    cMinScreenHeight := min(cScreenHeight, 480);
11136
9b5f60bc059e - Fix for iPhone 4S screen size
antonc27 <antonc27@mail.ru>
parents: 11112
diff changeset
  3016
{$ENDIF}
7896
67217e6108fd another stake at variable pre-initialisation - we lost preview logging in the course
koda
parents: 7848
diff changeset
  3017
67217e6108fd another stake at variable pre-initialisation - we lost preview logging in the course
koda
parents: 7848
diff changeset
  3018
    cNewScreenWidth    := cScreenWidth;
67217e6108fd another stake at variable pre-initialisation - we lost preview logging in the course
koda
parents: 7848
diff changeset
  3019
    cNewScreenHeight   := cScreenHeight;
7848
775a72905708 * fix initialisation, preload values and then read args
koda
parents: 7780
diff changeset
  3020
    cScreenResizeDelay := 0;
6982
8d41d22a291d breaking news, we don't support typed consts anymore
koda
parents: 6957
diff changeset
  3021
8358
274afc318dca have the default window size to 5/6, save fullscreen resolution on 'fullscreenResolution' instead of 'resolution', make sure cFullscreenStuff is initialised
koda
parents: 8354
diff changeset
  3022
    // make sure fullscreen resolution is always initialised somehow
274afc318dca have the default window size to 5/6, save fullscreen resolution on 'fullscreenResolution' instead of 'resolution', make sure cFullscreenStuff is initialised
koda
parents: 8354
diff changeset
  3023
    if cFullscreenWidth = 0 then
274afc318dca have the default window size to 5/6, save fullscreen resolution on 'fullscreenResolution' instead of 'resolution', make sure cFullscreenStuff is initialised
koda
parents: 8354
diff changeset
  3024
        cFullscreenWidth:= min(cWindowedWidth, 640);
274afc318dca have the default window size to 5/6, save fullscreen resolution on 'fullscreenResolution' instead of 'resolution', make sure cFullscreenStuff is initialised
koda
parents: 8354
diff changeset
  3025
    if cFullscreenHeight = 0 then
274afc318dca have the default window size to 5/6, save fullscreen resolution on 'fullscreenResolution' instead of 'resolution', make sure cFullscreenStuff is initialised
koda
parents: 8354
diff changeset
  3026
        cFullscreenHeight:= min(cWindowedHeight, 480);
274afc318dca have the default window size to 5/6, save fullscreen resolution on 'fullscreenResolution' instead of 'resolution', make sure cFullscreenStuff is initialised
koda
parents: 8354
diff changeset
  3027
10866
c1f75780c56f make using hog speech a bit more comfortable
sheepluva
parents: 10850
diff changeset
  3028
    SpeechHogNumber:= -1;
8358
274afc318dca have the default window size to 5/6, save fullscreen resolution on 'fullscreenResolution' instead of 'resolution', make sure cFullscreenStuff is initialised
koda
parents: 8354
diff changeset
  3029
4883
7cddc9201a1d added dummy for tardis and ugly icons for tardis and structure
Henek
parents: 4881
diff changeset
  3030
    LuaGoals:= '';
7848
775a72905708 * fix initialisation, preload values and then read args
koda
parents: 7780
diff changeset
  3031
    cMapName:= '';
12716
20dbb3a03e61 extend land digest to all surfaces that could possibly be loaded into Land[] - i.e. ones that impact sync
nemo
parents: 12713
diff changeset
  3032
    syncedPixelDigest:= 1;
7567
da2aa8355d91 allow lua to specify template by number
nemo
parents: 7495
diff changeset
  3033
da2aa8355d91 allow lua to specify template by number
nemo
parents: 7495
diff changeset
  3034
    LuaTemplateNumber:= 0;
9693
9e31e3bb4476 Delete now toggles hiding team area
nemo
parents: 9672
diff changeset
  3035
12291
b4dde7035fe2 New Lua call: EndTurn to end turn
Wuzzy <almikes@aol.com>
parents: 12287
diff changeset
  3036
    LuaEndTurnRequested:= false;
b4dde7035fe2 New Lua call: EndTurn to end turn
Wuzzy <almikes@aol.com>
parents: 12287
diff changeset
  3037
    LuaNoEndTurnTaunts:= false;
b4dde7035fe2 New Lua call: EndTurn to end turn
Wuzzy <almikes@aol.com>
parents: 12287
diff changeset
  3038
15272
22f2fd8a3d2c VideoRec: Stop prerecording when /lua activates
Wuzzy <Wuzzy2@mail.ru>
parents: 15225
diff changeset
  3039
    LuaCmdUsed:= false;
22f2fd8a3d2c VideoRec: Stop prerecording when /lua activates
Wuzzy <Wuzzy2@mail.ru>
parents: 15225
diff changeset
  3040
13126
de07c8423beb Lua API: Add SetSoundMask to disable playing certain sounds
Wuzzy <Wuzzy2@mail.ru>
parents: 13101
diff changeset
  3041
    for t:= Low(TSound) to High(TSound) do
de07c8423beb Lua API: Add SetSoundMask to disable playing certain sounds
Wuzzy <Wuzzy2@mail.ru>
parents: 13101
diff changeset
  3042
        MaskedSounds[t]:= false;
de07c8423beb Lua API: Add SetSoundMask to disable playing certain sounds
Wuzzy <Wuzzy2@mail.ru>
parents: 13101
diff changeset
  3043
13375
e202d58236b1 Lua API: Add 5th parameter showExtra to SetAmmoTexts to hide extra text
Wuzzy <Wuzzy2@mail.ru>
parents: 13179
diff changeset
  3044
    for a:= Low(TAmmoStrId) to High(TAmmoStrId) do
e202d58236b1 Lua API: Add 5th parameter showExtra to SetAmmoTexts to hide extra text
Wuzzy <Wuzzy2@mail.ru>
parents: 13179
diff changeset
  3045
        trluaammoe[a]:= true;
e202d58236b1 Lua API: Add 5th parameter showExtra to SetAmmoTexts to hide extra text
Wuzzy <Wuzzy2@mail.ru>
parents: 13179
diff changeset
  3046
9693
9e31e3bb4476 Delete now toggles hiding team area
nemo
parents: 9672
diff changeset
  3047
    UIDisplay:= uiAll;
9e31e3bb4476 Delete now toggles hiding team area
nemo
parents: 9672
diff changeset
  3048
    LocalMessage:= 0;
10304
7e40820b7ed6 fix gl2 build, further rendering cleanup WIP, also new chat command: /debugvl
sheepluva
parents: 10271
diff changeset
  3049
10532
28651db3f90e fix view limits in stereo 3d
sheepluva
parents: 10526
diff changeset
  3050
    cStereoDepth:= 0;
10304
7e40820b7ed6 fix gl2 build, further rendering cleanup WIP, also new chat command: /debugvl
sheepluva
parents: 10271
diff changeset
  3051
    cViewLimitsDebug:= false;
10526
b43d175d1577 Avoid promoting violence to hedgehogs. At least once a year.
nemo
parents: 10472
diff changeset
  3052
    AprilOne := false;
10850
c76ea22ea249 copy to/paste from system clipboard (via frontend)
sheepluva
parents: 10820
diff changeset
  3053
11154
1d08386a7c0f make uVariables not depend on implicit one-time initialization by FPC
sheepluva
parents: 11151
diff changeset
  3054
    // initialize pointers to nil
1d08386a7c0f make uVariables not depend on implicit one-time initialization by FPC
sheepluva
parents: 11151
diff changeset
  3055
    // (don't rely on implicit init of fpc, because that one only happens ONCE when used as lib)
1d08386a7c0f make uVariables not depend on implicit one-time initialization by FPC
sheepluva
parents: 11151
diff changeset
  3056
    CurAmmoGear:= nil;
1d08386a7c0f make uVariables not depend on implicit one-time initialization by FPC
sheepluva
parents: 11151
diff changeset
  3057
    lastGearByUID:= nil;
1d08386a7c0f make uVariables not depend on implicit one-time initialization by FPC
sheepluva
parents: 11151
diff changeset
  3058
    GearsList:= nil;
1d08386a7c0f make uVariables not depend on implicit one-time initialization by FPC
sheepluva
parents: 11151
diff changeset
  3059
    CurrentTeam:= nil;
1d08386a7c0f make uVariables not depend on implicit one-time initialization by FPC
sheepluva
parents: 11151
diff changeset
  3060
    PreviousTeam:= nil;
14482
4b678aad50e9 Lua API: Add functions to add team selected in campaign/mission page
Wuzzy <Wuzzy2@mail.ru>
parents: 14468
diff changeset
  3061
    MissionTeam:= nil;
11154
1d08386a7c0f make uVariables not depend on implicit one-time initialization by FPC
sheepluva
parents: 11151
diff changeset
  3062
    CurrentHedgehog:= nil;
1d08386a7c0f make uVariables not depend on implicit one-time initialization by FPC
sheepluva
parents: 11151
diff changeset
  3063
    FollowGear:= nil;
1d08386a7c0f make uVariables not depend on implicit one-time initialization by FPC
sheepluva
parents: 11151
diff changeset
  3064
    lastVisualGearByUID:= nil;
1d08386a7c0f make uVariables not depend on implicit one-time initialization by FPC
sheepluva
parents: 11151
diff changeset
  3065
1d08386a7c0f make uVariables not depend on implicit one-time initialization by FPC
sheepluva
parents: 11151
diff changeset
  3066
    ChefHatTexture:= nil;
1d08386a7c0f make uVariables not depend on implicit one-time initialization by FPC
sheepluva
parents: 11151
diff changeset
  3067
    CrosshairTexture:= nil;
1d08386a7c0f make uVariables not depend on implicit one-time initialization by FPC
sheepluva
parents: 11151
diff changeset
  3068
    GenericHealthTexture:= nil;
1d08386a7c0f make uVariables not depend on implicit one-time initialization by FPC
sheepluva
parents: 11151
diff changeset
  3069
    WeaponTooltipTex:= nil;
1d08386a7c0f make uVariables not depend on implicit one-time initialization by FPC
sheepluva
parents: 11151
diff changeset
  3070
    HHTexture:= nil;
1d08386a7c0f make uVariables not depend on implicit one-time initialization by FPC
sheepluva
parents: 11151
diff changeset
  3071
    LandBackSurface:= nil;
1d08386a7c0f make uVariables not depend on implicit one-time initialization by FPC
sheepluva
parents: 11151
diff changeset
  3072
    ConfirmTexture:= nil;
1d08386a7c0f make uVariables not depend on implicit one-time initialization by FPC
sheepluva
parents: 11151
diff changeset
  3073
    MissionIcons:= nil;
1d08386a7c0f make uVariables not depend on implicit one-time initialization by FPC
sheepluva
parents: 11151
diff changeset
  3074
    ropeIconTex:= nil;
1d08386a7c0f make uVariables not depend on implicit one-time initialization by FPC
sheepluva
parents: 11151
diff changeset
  3075
12849
22cc3d82905a Should probably have gl context stuff in its own unit separate from store, but, don't close the gl context before anything that might still want to do gl operations
nemo
parents: 12843
diff changeset
  3076
    SDLWindow:= nil;
22cc3d82905a Should probably have gl context stuff in its own unit separate from store, but, don't close the gl context before anything that might still want to do gl operations
nemo
parents: 12843
diff changeset
  3077
    SDLGLContext:= nil;
22cc3d82905a Should probably have gl context stuff in its own unit separate from store, but, don't close the gl context before anything that might still want to do gl operations
nemo
parents: 12843
diff changeset
  3078
11154
1d08386a7c0f make uVariables not depend on implicit one-time initialization by FPC
sheepluva
parents: 11151
diff changeset
  3079
    for i:= Low(ClansArray) to High(ClansArray) do
1d08386a7c0f make uVariables not depend on implicit one-time initialization by FPC
sheepluva
parents: 11151
diff changeset
  3080
        begin
1d08386a7c0f make uVariables not depend on implicit one-time initialization by FPC
sheepluva
parents: 11151
diff changeset
  3081
        ClansArray[i]:= nil;
1d08386a7c0f make uVariables not depend on implicit one-time initialization by FPC
sheepluva
parents: 11151
diff changeset
  3082
        end;
1d08386a7c0f make uVariables not depend on implicit one-time initialization by FPC
sheepluva
parents: 11151
diff changeset
  3083
11739
f48408dcea36 create forts in random order
sheepluva
parents: 11709
diff changeset
  3084
    SpawnClansArray:= ClansArray;
f48408dcea36 create forts in random order
sheepluva
parents: 11709
diff changeset
  3085
11154
1d08386a7c0f make uVariables not depend on implicit one-time initialization by FPC
sheepluva
parents: 11151
diff changeset
  3086
    for i:= Low(TeamsArray) to High(TeamsArray) do
1d08386a7c0f make uVariables not depend on implicit one-time initialization by FPC
sheepluva
parents: 11151
diff changeset
  3087
        begin
1d08386a7c0f make uVariables not depend on implicit one-time initialization by FPC
sheepluva
parents: 11151
diff changeset
  3088
        TeamsArray[i]:= nil;
1d08386a7c0f make uVariables not depend on implicit one-time initialization by FPC
sheepluva
parents: 11151
diff changeset
  3089
        end;
1d08386a7c0f make uVariables not depend on implicit one-time initialization by FPC
sheepluva
parents: 11151
diff changeset
  3090
1d08386a7c0f make uVariables not depend on implicit one-time initialization by FPC
sheepluva
parents: 11151
diff changeset
  3091
    for i:= Low(CountTexz) to High(CountTexz) do
1d08386a7c0f make uVariables not depend on implicit one-time initialization by FPC
sheepluva
parents: 11151
diff changeset
  3092
        begin
1d08386a7c0f make uVariables not depend on implicit one-time initialization by FPC
sheepluva
parents: 11151
diff changeset
  3093
        CountTexz[i]:= nil;
1d08386a7c0f make uVariables not depend on implicit one-time initialization by FPC
sheepluva
parents: 11151
diff changeset
  3094
        end;
1d08386a7c0f make uVariables not depend on implicit one-time initialization by FPC
sheepluva
parents: 11151
diff changeset
  3095
4359
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  3096
end;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  3097
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  3098
procedure freeModule;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  3099
begin
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  3100
end;
83ef50815535 Move variables from uMisc to uVariables
unC0Rr
parents:
diff changeset
  3101
4372
3836973380b9 remove some more PHedgehog casts
nemo
parents: 4371
diff changeset
  3102
end.