hedgewars/uConsts.pas
author unc0rr
Thu, 19 Oct 2006 18:57:58 +0000
changeset 202 8603c0420461
parent 199 f156e54736a4
child 211 558476056205
permissions -rw-r--r--
Support font styles
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
     1
(*
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
     2
 * Hedgewars, a worms-like game
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
     3
 * Copyright (c) 2004, 2005 Andrey Korotaev <unC0Rr@gmail.com>
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
     4
 *
183
57c2ef19f719 Relicense to GPL
unc0rr
parents: 176
diff changeset
     5
 * This program is free software; you can redistribute it and/or modify
57c2ef19f719 Relicense to GPL
unc0rr
parents: 176
diff changeset
     6
 * it under the terms of the GNU General Public License as published by
57c2ef19f719 Relicense to GPL
unc0rr
parents: 176
diff changeset
     7
 * the Free Software Foundation; version 2 of the License
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
     8
 *
183
57c2ef19f719 Relicense to GPL
unc0rr
parents: 176
diff changeset
     9
 * This program is distributed in the hope that it will be useful,
57c2ef19f719 Relicense to GPL
unc0rr
parents: 176
diff changeset
    10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
57c2ef19f719 Relicense to GPL
unc0rr
parents: 176
diff changeset
    11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
57c2ef19f719 Relicense to GPL
unc0rr
parents: 176
diff changeset
    12
 * GNU General Public License for more details.
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    13
 *
183
57c2ef19f719 Relicense to GPL
unc0rr
parents: 176
diff changeset
    14
 * You should have received a copy of the GNU General Public License
57c2ef19f719 Relicense to GPL
unc0rr
parents: 176
diff changeset
    15
 * along with this program; if not, write to the Free Software
57c2ef19f719 Relicense to GPL
unc0rr
parents: 176
diff changeset
    16
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    17
 *)
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    18
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    19
unit uConsts;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    20
interface
80
3c3dc6a148ca - Fixed bug with hedgehog under water using rope
unc0rr
parents: 79
diff changeset
    21
uses SDLh, uLocale;
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    22
{$INCLUDE options.inc}
80
3c3dc6a148ca - Fixed bug with hedgehog under water using rope
unc0rr
parents: 79
diff changeset
    23
type TStuff     = (sConsoleBG, sPowerBar, sQuestion, sWindBar,
35
9367f246fb5f - New rope
unc0rr
parents: 22
diff changeset
    24
                   sWindL, sWindR, sRopeNode);
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    25
     TGameState = (gsLandGen, gsStart, gsGame, gsConsole, gsExit);
155
401f4ea24715 Engine can generate land preview and send it via IPC
unc0rr
parents: 112
diff changeset
    26
     TGameType  = (gmtLocal, gmtDemo, gmtNet, gmtSave, gmtLandPreview);
80
3c3dc6a148ca - Fixed bug with hedgehog under water using rope
unc0rr
parents: 79
diff changeset
    27
     TPathType  = (ptNone, ptData, ptGraphics, ptThemes, ptCurrTheme, ptTeams, ptMaps,
3c3dc6a148ca - Fixed bug with hedgehog under water using rope
unc0rr
parents: 79
diff changeset
    28
                   ptMapCurrent, ptDemos, ptSounds, ptGraves, ptFonts, ptForts,
161
d8870bbf960e - AmmoMenu
unc0rr
parents: 155
diff changeset
    29
                   ptLocale, ptAmmoMenu);
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    30
     TSprite    = (sprWater, sprCloud, sprBomb, sprBigDigit, sprFrame,
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    31
                   sprLag, sprArrow, sprGrenade, sprTargetP, sprUFO,
10
edf56dca1587 - Mine weapon
unc0rr
parents: 9
diff changeset
    32
                   sprSmokeTrace, sprRopeHook, sprExplosion50, sprMineOff,
78
66bb79dd248d Cluster bomb
unc0rr
parents: 75
diff changeset
    33
                   sprMineOn, sprCase, sprFAid, sprDynamite, sprPower,
80
3c3dc6a148ca - Fixed bug with hedgehog under water using rope
unc0rr
parents: 79
diff changeset
    34
                   sprClusterBomb, sprClusterParticle, sprFlame, sprHorizont,
161
d8870bbf960e - AmmoMenu
unc0rr
parents: 155
diff changeset
    35
                   sprSky, sprAMBorders, sprAMSlot, sprAMSlotName, sprAMAmmos,
176
533d03041dcd 'h' marks out current hedgehog
unc0rr
parents: 174
diff changeset
    36
                   sprAMSlotKeys, sprAMSelection, sprFinger);
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    37
     TGearType  = (gtCloud, gtAmmo_Bomb, gtHedgehog, gtAmmo_Grenade, gtHealthTag,
83
207c85fbef51 - First hedgehog in team has first turn in team
unc0rr
parents: 82
diff changeset
    38
                   gtGrave, gtUFO, gtShotgunShot, gtPickHammer, gtRope,
49
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 43
diff changeset
    39
                   gtSmokeTrace, gtExplosion, gtMine, gtCase, gtDEagleShot, gtDynamite,
82
2f4f3236cccc - New fort
unc0rr
parents: 80
diff changeset
    40
                   gtTeamHealthSorter, gtClusterBomb, gtCluster, gtShover, gtFlame,
83
207c85fbef51 - First hedgehog in team has first turn in team
unc0rr
parents: 82
diff changeset
    41
                   gtFirePunch, gtATStartGame, gtATSmoothWindCh, gtATFinishGame);
16
b6f4b413dd41 - Various fixes for ammo cases
unc0rr
parents: 14
diff changeset
    42
     TGearsType = set of TGearType;
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    43
     TSound     = (sndGrenadeImpact, sndExplosion, sndThrowPowerUp, sndThrowRelease, sndSplash,
13
7a5db822fd3f - Show no crosshair when using mine
unc0rr
parents: 10
diff changeset
    44
                   sndShotgunReload, sndShotgunFire, sndGraveImpact, sndMineTick);
82
2f4f3236cccc - New fort
unc0rr
parents: 80
diff changeset
    45
     TAmmoType  = (amGrenade, amClusterBomb, amBazooka, amUFO, amShotgun, amPickHammer,
2f4f3236cccc - New fort
unc0rr
parents: 80
diff changeset
    46
                   amSkip, amRope, amMine, amDEagle, amDynamite, amFirePunch,
2f4f3236cccc - New fort
unc0rr
parents: 80
diff changeset
    47
                   amBaseballBat);
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    48
     THWFont    = (fnt16, fntBig);
174
0b2c5b22f644 Changeable volume
unc0rr
parents: 162
diff changeset
    49
     TCapGroup  = (capgrpGameState, capgrpAmmoinfo, capgrpNetSay, capgrpVolume);
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    50
     THHFont    = record
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    51
                  Handle: PTTF_Font;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    52
                  Height: integer;
202
8603c0420461 Support font styles
unc0rr
parents: 199
diff changeset
    53
                  style: integer;
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    54
                  Name: string[15];
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    55
                  end;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    56
     TAmmo = record
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    57
             Propz: LongWord;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    58
             Count: LongWord;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    59
             NumPerTurn: LongWord;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    60
             Timer: LongWord;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    61
             AmmoType: TAmmoType;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    62
             end;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    63
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    64
105
e7cb9bb4a9de - Fixed integer->longint
unc0rr
parents: 102
diff changeset
    65
const
43
e297fea1a2f3 - Removed dark pixels on the corners of health case
unc0rr
parents: 42
diff changeset
    66
      errmsgCreateSurface   = 'Error creating SDL surface';
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    67
      errmsgTransparentSet  = 'Error setting transparent color';
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    68
      errmsgUnknownCommand  = 'Unknown command';
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    69
      errmsgUnknownVariable = 'Unknown variable';
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    70
      errmsgIncorrectUse    = 'Incorrect use';
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    71
      errmsgShouldntRun     = 'This program shouldn''t be run manually';
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    72
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    73
      msgLoading           = 'Loading ';
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    74
      msgOK                = 'ok';
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    75
      msgFailed            = 'failed';
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    76
      msgGettingConfig     = 'Getting game config...';
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    77
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    78
const
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    79
      cNetProtoVersion = 1;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    80
74
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
    81
      MAXNAMELEN = 32;
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
    82
64
9df467527ae5 - Start AI rewrite
unc0rr
parents: 56
diff changeset
    83
      COLOR_LAND = $00FFFFFF;
9df467527ae5 - Start AI rewrite
unc0rr
parents: 56
diff changeset
    84
55
e09f7c952a40 Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents: 53
diff changeset
    85
      cifRandomize = $00000001;
e09f7c952a40 Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents: 53
diff changeset
    86
      cifTheme     = $00000002;
e09f7c952a40 Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents: 53
diff changeset
    87
      cifMap       = $00000002; // either theme or map (or map+theme)
e09f7c952a40 Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents: 53
diff changeset
    88
      cifAllInited = cifRandomize or
e09f7c952a40 Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents: 53
diff changeset
    89
                     cifTheme or
e09f7c952a40 Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents: 53
diff changeset
    90
                     cifMap;
e09f7c952a40 Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents: 53
diff changeset
    91
188
a7c2a61524c2 Cardinal -> Longword
unc0rr
parents: 183
diff changeset
    92
      cTransparentColor: Longword = $000000;
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    93
109
ab0340f580c2 - Initialize translations earlier
unc0rr
parents: 105
diff changeset
    94
      cMaxHHIndex      = 7;
22
517be8dc5b76 - Fixed spawning boxes under water
unc0rr
parents: 17
diff changeset
    95
      cMaxHHs          = 20;
53
0e27949850e3 - Fixed bubble theme object
unc0rr
parents: 49
diff changeset
    96
      cMaxSpawnPoints  = 1024;
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    97
      cHHSurfaceWidth     = 512;
70
82d93eeecebe - Many AI improvements
unc0rr
parents: 64
diff changeset
    98
     // cHHSurfaceHeigth    = 256;
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    99
22
517be8dc5b76 - Fixed spawning boxes under water
unc0rr
parents: 17
diff changeset
   100
      cMaxEdgePoints = 16384;
517be8dc5b76 - Fixed spawning boxes under water
unc0rr
parents: 17
diff changeset
   101
53
0e27949850e3 - Fixed bubble theme object
unc0rr
parents: 49
diff changeset
   102
      cHHRadius = 9;
70
82d93eeecebe - Many AI improvements
unc0rr
parents: 64
diff changeset
   103
      cHHStepTicks = 38;
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   104
109
ab0340f580c2 - Initialize translations earlier
unc0rr
parents: 105
diff changeset
   105
      cKeyMaxIndex = 1023;
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   106
97
e7c1df9cce2c - make the game be run from ${PREFIX}/bin with data in ${PREFIX}/share/hedgewars/Data
unc0rr
parents: 95
diff changeset
   107
      cMaxCaptions = 4;
e7c1df9cce2c - make the game be run from ${PREFIX}/bin with data in ${PREFIX}/share/hedgewars/Data
unc0rr
parents: 95
diff changeset
   108
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   109
      cInactDelay = 1500;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   110
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   111
      gfForts = $00000001;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   112
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   113
      gstDrowning       = $00000001;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   114
      gstHHDriven       = $00000002;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   115
      gstMoving         = $00000004;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   116
      gstAttacked       = $00000008;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   117
      gstAttacking      = $00000010;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   118
      gstCollision      = $00000020;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   119
      gstHHChooseTarget = $00000040;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   120
      gstFalling        = $00000080;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   121
      gstHHJumping      = $00000100;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   122
      gsttmpFlag        = $00000200;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   123
      gstHHThinking     = $00000800;
79
29b477319854 - New test map
unc0rr
parents: 78
diff changeset
   124
      gstNoDamage       = $00001000;
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   125
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   126
      gm_Left   = $00000001;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   127
      gm_Right  = $00000002;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   128
      gm_Up     = $00000004;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   129
      gm_Down   = $00000008;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   130
      gm_Switch = $00000010;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   131
      gm_Attack = $00000020;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   132
      gm_LJump  = $00000040;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   133
      gm_HJump  = $00000080;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   134
      gm_Destroy= $00000100;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   135
79
29b477319854 - New test map
unc0rr
parents: 78
diff changeset
   136
      cMaxSlotIndex       = 7;
10
edf56dca1587 - Mine weapon
unc0rr
parents: 9
diff changeset
   137
      cMaxSlotAmmoIndex   = 1;
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   138
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   139
      ammoprop_Timerable    = $00000001;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   140
      ammoprop_Power        = $00000002;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   141
      ammoprop_NeedTarget   = $00000004;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   142
      ammoprop_ForwMsgs     = $00000008;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   143
      ammoprop_AttackInFall = $00000010;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   144
      ammoprop_AttackInJump = $00000020;
13
7a5db822fd3f - Show no crosshair when using mine
unc0rr
parents: 10
diff changeset
   145
      ammoprop_NoCrosshair  = $00000040;
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   146
      AMMO_INFINITE = High(LongWord);
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   147
42
72ffe21f027c - Fixed console behavior
unc0rr
parents: 39
diff changeset
   148
      EXPLAllDamageInRadius = $00000001;
72ffe21f027c - Fixed console behavior
unc0rr
parents: 39
diff changeset
   149
      EXPLAutoSound         = $00000002;
72ffe21f027c - Fixed console behavior
unc0rr
parents: 39
diff changeset
   150
      EXPLNoDamage          = $00000004;
72ffe21f027c - Fixed console behavior
unc0rr
parents: 39
diff changeset
   151
      EXPLDoNotTouchHH      = $00000008;
72ffe21f027c - Fixed console behavior
unc0rr
parents: 39
diff changeset
   152
72ffe21f027c - Fixed console behavior
unc0rr
parents: 39
diff changeset
   153
      posCaseAmmo    = $00000001;
72ffe21f027c - Fixed console behavior
unc0rr
parents: 39
diff changeset
   154
      posCaseHealth  = $00000002;
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   155
79
29b477319854 - New test map
unc0rr
parents: 78
diff changeset
   156
      NoPointX = Low(Integer);
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   157
74
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   158
      cHHFileName   = 'Hedgehog';
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   159
      cCHFileName   = 'Crosshair';
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   160
      cThemeCFGFilename = 'theme.cfg';
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   161
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   162
      Fontz: array[THWFont] of THHFont = (
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   163
                                         (Height: 12;
202
8603c0420461 Support font styles
unc0rr
parents: 199
diff changeset
   164
                                          style: TTF_STYLE_NORMAL;
74
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   165
                                          Name: 'DejaVuSans.ttf'),
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   166
                                         (Height: 24;
202
8603c0420461 Support font styles
unc0rr
parents: 199
diff changeset
   167
                                          style: TTF_STYLE_NORMAL;
74
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   168
                                          Name: 'DejaVuSans.ttf')
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   169
                                         );
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   170
202
8603c0420461 Support font styles
unc0rr
parents: 199
diff changeset
   171
      FontBorder = 2;
8603c0420461 Support font styles
unc0rr
parents: 199
diff changeset
   172
99
fd9613278d1b - On windows make packages with all needed dlls
unc0rr
parents: 97
diff changeset
   173
      PathPrefix: string = './';
fd9613278d1b - On windows make packages with all needed dlls
unc0rr
parents: 97
diff changeset
   174
      Pathz: array[TPathType] of string      = (
80
3c3dc6a148ca - Fixed bug with hedgehog under water using rope
unc0rr
parents: 79
diff changeset
   175
                                               '',                              // ptNone      
53
0e27949850e3 - Fixed bubble theme object
unc0rr
parents: 49
diff changeset
   176
                                               'Data',                          // ptData
0e27949850e3 - Fixed bubble theme object
unc0rr
parents: 49
diff changeset
   177
                                               'Data/Graphics',                 // ptGraphics
0e27949850e3 - Fixed bubble theme object
unc0rr
parents: 49
diff changeset
   178
                                               'Data/Themes',                   // ptThemes
80
3c3dc6a148ca - Fixed bug with hedgehog under water using rope
unc0rr
parents: 79
diff changeset
   179
                                               'Data/Themes/avematan',          // ptCurrTheme
53
0e27949850e3 - Fixed bubble theme object
unc0rr
parents: 49
diff changeset
   180
                                               'Data/Teams',                    // ptTeams
0e27949850e3 - Fixed bubble theme object
unc0rr
parents: 49
diff changeset
   181
                                               'Data/Maps',                     // ptMaps
0e27949850e3 - Fixed bubble theme object
unc0rr
parents: 49
diff changeset
   182
                                               '',                              // ptMapCurrent
0e27949850e3 - Fixed bubble theme object
unc0rr
parents: 49
diff changeset
   183
                                               'Data/Demos',                    // ptDemos
0e27949850e3 - Fixed bubble theme object
unc0rr
parents: 49
diff changeset
   184
                                               'Data/Sounds',                   // ptSounds
0e27949850e3 - Fixed bubble theme object
unc0rr
parents: 49
diff changeset
   185
                                               'Data/Graphics/Graves',          // ptGraves
0e27949850e3 - Fixed bubble theme object
unc0rr
parents: 49
diff changeset
   186
                                               'Data/Fonts',                    // ptFonts
80
3c3dc6a148ca - Fixed bug with hedgehog under water using rope
unc0rr
parents: 79
diff changeset
   187
                                               'Data/Forts',                    // ptForts
161
d8870bbf960e - AmmoMenu
unc0rr
parents: 155
diff changeset
   188
                                               'Data/Locale',                   // ptLocale
d8870bbf960e - AmmoMenu
unc0rr
parents: 155
diff changeset
   189
                                               'Data/Graphics/AmmoMenu'          // ptAmmoMenu
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   190
                                               );
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   191
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   192
      StuffLoadData: array[TStuff] of record
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   193
                                     FileName: String[31];
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   194
                                     Path    : TPathType;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   195
                                     end = (
74
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   196
                                     (FileName:  'Console'; Path: ptGraphics     ),    // sConsoleBG
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   197
                                     (FileName: 'PowerBar'; Path: ptGraphics     ),    // sPowerBar
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   198
                                     (FileName: 'thinking'; Path: ptGraphics     ),    // sQuestion
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   199
                                     (FileName:  'WindBar'; Path: ptGraphics     ),    // sWindBar
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   200
                                     (FileName:    'WindL'; Path: ptGraphics     ),    // sWindL
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   201
                                     (FileName:    'WindR'; Path: ptGraphics     ),    // sWindR
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   202
                                     (FileName: 'RopeNode'; Path: ptGraphics     )     // sRopeNode
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   203
                                     );
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   204
      StuffPoz: array[TStuff] of TSDL_Rect = (
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   205
                                      (x: 256; y: 256; w: 256; h: 256), // sConsoleBG
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   206
                                      (x: 256; y: 768; w: 256; h:  32), // sPowerBar
5
0dafbd19a04c Show wind speed on bar
unc0rr
parents: 4
diff changeset
   207
                                      (x: 256; y: 512; w:  32; h:  32), // sQuestion
0dafbd19a04c Show wind speed on bar
unc0rr
parents: 4
diff changeset
   208
                                      (x: 256; y: 800; w: 151; h:  17), // sWindBar
0dafbd19a04c Show wind speed on bar
unc0rr
parents: 4
diff changeset
   209
                                      (x: 256; y: 817; w:  80; h:  13), // sWindL
35
9367f246fb5f - New rope
unc0rr
parents: 22
diff changeset
   210
                                      (x: 336; y: 817; w:  80; h:  13), // sWindR
9367f246fb5f - New rope
unc0rr
parents: 22
diff changeset
   211
                                      (x: 256; y: 544; w:   6; h:   6)  // sRopeNode
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   212
                                      );
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   213
      SpritesData: array[TSprite] of record
35
9367f246fb5f - New rope
unc0rr
parents: 22
diff changeset
   214
                     FileName: String[31];
80
3c3dc6a148ca - Fixed bug with hedgehog under water using rope
unc0rr
parents: 79
diff changeset
   215
                     Path, AltPath: TPathType;
35
9367f246fb5f - New rope
unc0rr
parents: 22
diff changeset
   216
                     Surface : PSDL_Surface;
9367f246fb5f - New rope
unc0rr
parents: 22
diff changeset
   217
                     Width, Height: integer;
9367f246fb5f - New rope
unc0rr
parents: 22
diff changeset
   218
                     hasAlpha: boolean;
9367f246fb5f - New rope
unc0rr
parents: 22
diff changeset
   219
                     end = (
74
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   220
                     (FileName: 'BlueWater'; Path: ptGraphics; Width: 256; Height: 48; hasAlpha: false),// sprWater
80
3c3dc6a148ca - Fixed bug with hedgehog under water using rope
unc0rr
parents: 79
diff changeset
   221
                     (FileName:    'Clouds'; Path: ptCurrTheme;
3c3dc6a148ca - Fixed bug with hedgehog under water using rope
unc0rr
parents: 79
diff changeset
   222
                                          AltPath: ptGraphics; Width: 256; Height:128; hasAlpha: false),// sprCloud
74
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   223
                     (FileName:      'Bomb'; Path: ptGraphics; Width:  16; Height: 16; hasAlpha: false),// sprBomb
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   224
                     (FileName: 'BigDigits'; Path: ptGraphics; Width:  32; Height: 32; hasAlpha:  true),// sprBigDigit
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   225
                     (FileName:     'Frame'; Path: ptGraphics; Width:   4; Height: 32; hasAlpha:  true),// sprFrame
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   226
                     (FileName:       'Lag'; Path: ptGraphics; Width:  64; Height: 64; hasAlpha: false),// sprLag
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   227
                     (FileName:     'Arrow'; Path: ptGraphics; Width:  16; Height: 16; hasAlpha: false),// sprCursor
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   228
                     (FileName:   'Grenade'; Path: ptGraphics; Width:  32; Height: 32; hasAlpha: false),// sprGrenade
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   229
                     (FileName:   'Targetp'; Path: ptGraphics; Width:  32; Height: 32; hasAlpha: false),// sprTargetP
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   230
                     (FileName:       'UFO'; Path: ptGraphics; Width:  32; Height: 32; hasAlpha: false),// sprUFO
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   231
                     (FileName:'SmokeTrace'; Path: ptGraphics; Width:  32; Height: 32; hasAlpha:  true),// sprSmokeTrace
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   232
                     (FileName:  'RopeHook'; Path: ptGraphics; Width:  32; Height: 32; hasAlpha: false),// sprRopeHook
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   233
                     (FileName:    'Expl50'; Path: ptGraphics; Width:  64; Height: 64; hasAlpha: false),// sprExplosion50
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   234
                     (FileName:   'MineOff'; Path: ptGraphics; Width:  16; Height: 16; hasAlpha: false),// sprMineOff
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   235
                     (FileName:    'MineOn'; Path: ptGraphics; Width:  16; Height: 16; hasAlpha: false),// sprMineOn
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   236
                     (FileName:      'Case'; Path: ptGraphics; Width:  32; Height: 32; hasAlpha: false),// sprCase
75
d2b737858ff7 - New First Aid powerup
unc0rr
parents: 74
diff changeset
   237
                     (FileName:  'FirstAid'; Path: ptGraphics; Width:  48; Height: 48; hasAlpha: false),// sprFAid
74
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   238
                     (FileName:  'dynamite'; Path: ptGraphics; Width:  32; Height: 32; hasAlpha: false),// sprDynamite
78
66bb79dd248d Cluster bomb
unc0rr
parents: 75
diff changeset
   239
                     (FileName:     'Power'; Path: ptGraphics; Width:  32; Height: 32; hasAlpha:  true),// sprPower
66bb79dd248d Cluster bomb
unc0rr
parents: 75
diff changeset
   240
                     (FileName:    'ClBomb'; Path: ptGraphics; Width:  16; Height: 16; hasAlpha: false),// sprClusterBomb
79
29b477319854 - New test map
unc0rr
parents: 78
diff changeset
   241
                     (FileName:'ClParticle'; Path: ptGraphics; Width:  16; Height: 16; hasAlpha: false),// sprClusterParticle
80
3c3dc6a148ca - Fixed bug with hedgehog under water using rope
unc0rr
parents: 79
diff changeset
   242
                     (FileName:     'Flame'; Path: ptGraphics; Width:  16; Height: 16; hasAlpha: false),// sprFlame
3c3dc6a148ca - Fixed bug with hedgehog under water using rope
unc0rr
parents: 79
diff changeset
   243
                     (FileName:  'horizont'; Path: ptCurrTheme;Width:   0; Height:  0; hasAlpha: false),// sprHorizont
161
d8870bbf960e - AmmoMenu
unc0rr
parents: 155
diff changeset
   244
                     (FileName:       'Sky'; Path: ptCurrTheme;Width:   0; Height:  0; hasAlpha: false),// sprSky
d8870bbf960e - AmmoMenu
unc0rr
parents: 155
diff changeset
   245
                     (FileName: 'BrdrLines'; Path: ptAmmoMenu; Width: 202; Height:  1; hasAlpha: false),// sprAMBorders
d8870bbf960e - AmmoMenu
unc0rr
parents: 155
diff changeset
   246
                     (FileName:      'Slot'; Path: ptAmmoMenu; Width: 202; Height: 33; hasAlpha: false),// sprAMSlot
d8870bbf960e - AmmoMenu
unc0rr
parents: 155
diff changeset
   247
                     (FileName:  'AmmoName'; Path: ptAmmoMenu; Width: 202; Height: 33; hasAlpha: false),// sprAMSlotName
d8870bbf960e - AmmoMenu
unc0rr
parents: 155
diff changeset
   248
                     (FileName:     'Ammos'; Path: ptAmmoMenu; Width:  32; Height: 32; hasAlpha: false),// sprAMAmmos
162
4822f6face35 Ammo menu now works!
unc0rr
parents: 161
diff changeset
   249
                     (FileName:  'SlotKeys'; Path: ptAmmoMenu; Width:  32; Height: 32; hasAlpha: false),// sprAMSlotKeys
176
533d03041dcd 'h' marks out current hedgehog
unc0rr
parents: 174
diff changeset
   250
                     (FileName: 'Selection'; Path: ptAmmoMenu; Width:  32; Height: 32; hasAlpha: false),// sprAMSelection
533d03041dcd 'h' marks out current hedgehog
unc0rr
parents: 174
diff changeset
   251
                     (FileName:    'Finger'; Path: ptGraphics; Width:  32; Height: 48; hasAlpha: false) // sprFinger
35
9367f246fb5f - New rope
unc0rr
parents: 22
diff changeset
   252
                     );
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   253
      Soundz: array[TSound] of record
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   254
                                       FileName: String[31];
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   255
                                       Path    : TPathType;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   256
                                       id      : PMixChunk;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   257
                                       end = (
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   258
                                       (FileName: 'grenadeimpact.ogg'; Path: ptSounds  ),// sndGrenadeImpact
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   259
                                       (FileName:     'explosion.ogg'; Path: ptSounds  ),// sndExplosion
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   260
                                       (FileName:  'throwpowerup.ogg'; Path: ptSounds  ),// sndThrowPowerUp
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   261
                                       (FileName:  'throwrelease.ogg'; Path: ptSounds  ),// sndThrowRelease
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   262
                                       (FileName:        'splash.ogg'; Path: ptSounds  ),// sndSplash
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   263
                                       (FileName: 'shotgunreload.ogg'; Path: ptSounds  ),// sndShotgunReload
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   264
                                       (FileName:   'shotgunfire.ogg'; Path: ptSounds  ),// sndShotgunFire
13
7a5db822fd3f - Show no crosshair when using mine
unc0rr
parents: 10
diff changeset
   265
                                       (FileName:   'graveimpact.ogg'; Path: ptSounds  ),// sndGraveImpact
7a5db822fd3f - Show no crosshair when using mine
unc0rr
parents: 10
diff changeset
   266
                                       (FileName:      'minetick.ogg'; Path: ptSounds  ) // sndMineTicks
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   267
                                       );
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   268
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   269
      Ammoz: array [TAmmoType] of record
80
3c3dc6a148ca - Fixed bug with hedgehog under water using rope
unc0rr
parents: 79
diff changeset
   270
                                  NameId: TAmmoStrId;
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   271
                                  Ammo: TAmmo;
112
ca5f06017e99 Fix use of slot 8 and avoid such bug in future
unc0rr
parents: 109
diff changeset
   272
                                  Slot: 0..cMaxSlotIndex;
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   273
                                  TimeAfterTurn: Longword;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   274
                                  end = (
80
3c3dc6a148ca - Fixed bug with hedgehog under water using rope
unc0rr
parents: 79
diff changeset
   275
                                  (NameId: sidGrenade;
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   276
                                   Ammo: (Propz: ammoprop_Timerable or ammoprop_Power;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   277
                                          Count: AMMO_INFINITE;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   278
                                          NumPerTurn: 0;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   279
                                          Timer: 3000;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   280
                                          AmmoType: amGrenade);
10
edf56dca1587 - Mine weapon
unc0rr
parents: 9
diff changeset
   281
                                   Slot: 1;
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   282
                                   TimeAfterTurn: 3000),
80
3c3dc6a148ca - Fixed bug with hedgehog under water using rope
unc0rr
parents: 79
diff changeset
   283
                                  (NameId: sidClusterBomb;
78
66bb79dd248d Cluster bomb
unc0rr
parents: 75
diff changeset
   284
                                   Ammo: (Propz: ammoprop_Timerable or ammoprop_Power;
66bb79dd248d Cluster bomb
unc0rr
parents: 75
diff changeset
   285
                                          Count: 5;
66bb79dd248d Cluster bomb
unc0rr
parents: 75
diff changeset
   286
                                          NumPerTurn: 0;
66bb79dd248d Cluster bomb
unc0rr
parents: 75
diff changeset
   287
                                          Timer: 3000;
66bb79dd248d Cluster bomb
unc0rr
parents: 75
diff changeset
   288
                                          AmmoType: amClusterBomb);
66bb79dd248d Cluster bomb
unc0rr
parents: 75
diff changeset
   289
                                   Slot: 1;
66bb79dd248d Cluster bomb
unc0rr
parents: 75
diff changeset
   290
                                   TimeAfterTurn: 3000),
80
3c3dc6a148ca - Fixed bug with hedgehog under water using rope
unc0rr
parents: 79
diff changeset
   291
                                  (NameId: sidBazooka;
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   292
                                   Ammo: (Propz: ammoprop_Power;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   293
                                          Count: AMMO_INFINITE;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   294
                                          NumPerTurn: 0;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   295
                                          Timer: 0;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   296
                                          AmmoType: amBazooka);
10
edf56dca1587 - Mine weapon
unc0rr
parents: 9
diff changeset
   297
                                   Slot: 0;
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   298
                                   TimeAfterTurn: 3000),
80
3c3dc6a148ca - Fixed bug with hedgehog under water using rope
unc0rr
parents: 79
diff changeset
   299
                                  (NameId: sidUFO;
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   300
                                   Ammo: (Propz: ammoprop_Power or ammoprop_NeedTarget;
56
a29135563e94 - Replaced water sprite
unc0rr
parents: 55
diff changeset
   301
                                          Count: 2;
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   302
                                          NumPerTurn: 0;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   303
                                          Timer: 0;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   304
                                          AmmoType: amUFO);
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   305
                                   Slot: 0;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   306
                                   TimeAfterTurn: 3000),
80
3c3dc6a148ca - Fixed bug with hedgehog under water using rope
unc0rr
parents: 79
diff changeset
   307
                                  (NameId: sidShotgun;
95
1ef5e2c41115 - Fixed compilation
unc0rr
parents: 83
diff changeset
   308
                                   Ammo: (Propz: ammoprop_ForwMsgs;
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   309
                                          Count: AMMO_INFINITE;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   310
                                          NumPerTurn: 1;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   311
                                          Timer: 0;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   312
                                          AmmoType: amShotgun);
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   313
                                   Slot: 2;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   314
                                   TimeAfterTurn: 3000),
80
3c3dc6a148ca - Fixed bug with hedgehog under water using rope
unc0rr
parents: 79
diff changeset
   315
                                  (NameId: sidPickHammer;
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   316
                                   Ammo: (Propz: ammoprop_ForwMsgs or ammoprop_AttackInFall or ammoprop_AttackInJump;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   317
                                          Count: 2;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   318
                                          NumPerTurn: 0;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   319
                                          Timer: 0;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   320
                                          AmmoType: amPickHammer);
79
29b477319854 - New test map
unc0rr
parents: 78
diff changeset
   321
                                   Slot: 5;
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   322
                                   TimeAfterTurn: 0),
80
3c3dc6a148ca - Fixed bug with hedgehog under water using rope
unc0rr
parents: 79
diff changeset
   323
                                  (NameId: sidSkip;
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   324
                                   Ammo: (Propz: 0;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   325
                                          Count: AMMO_INFINITE;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   326
                                          NumPerTurn: 0;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   327
                                          Timer: 0;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   328
                                          AmmoType: amSkip);
79
29b477319854 - New test map
unc0rr
parents: 78
diff changeset
   329
                                   Slot: 7;
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   330
                                   TimeAfterTurn: 0),
80
3c3dc6a148ca - Fixed bug with hedgehog under water using rope
unc0rr
parents: 79
diff changeset
   331
                                  (NameId: sidRope;
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   332
                                   Ammo: (Propz: ammoprop_ForwMsgs or ammoprop_AttackInFall or ammoprop_AttackInJump;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   333
                                          Count: 5;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   334
                                          NumPerTurn: 0;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   335
                                          Timer: 0;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   336
                                          AmmoType: amRope);
79
29b477319854 - New test map
unc0rr
parents: 78
diff changeset
   337
                                   Slot: 6;
10
edf56dca1587 - Mine weapon
unc0rr
parents: 9
diff changeset
   338
                                   TimeAfterTurn: 0),
80
3c3dc6a148ca - Fixed bug with hedgehog under water using rope
unc0rr
parents: 79
diff changeset
   339
                                  (NameId: sidMine;
13
7a5db822fd3f - Show no crosshair when using mine
unc0rr
parents: 10
diff changeset
   340
                                   Ammo: (Propz: ammoprop_NoCrosshair;
56
a29135563e94 - Replaced water sprite
unc0rr
parents: 55
diff changeset
   341
                                          Count: 2;
10
edf56dca1587 - Mine weapon
unc0rr
parents: 9
diff changeset
   342
                                          NumPerTurn: 0;
edf56dca1587 - Mine weapon
unc0rr
parents: 9
diff changeset
   343
                                          Timer: 0;
edf56dca1587 - Mine weapon
unc0rr
parents: 9
diff changeset
   344
                                          AmmoType: amMine);
79
29b477319854 - New test map
unc0rr
parents: 78
diff changeset
   345
                                   Slot: 4;
29b477319854 - New test map
unc0rr
parents: 78
diff changeset
   346
                                   TimeAfterTurn: 5000),
80
3c3dc6a148ca - Fixed bug with hedgehog under water using rope
unc0rr
parents: 79
diff changeset
   347
                                  (NameId: sidDEagle;
37
2b7f2a43b999 - Properly get seed in net game
unc0rr
parents: 35
diff changeset
   348
                                   Ammo: (Propz: 0;
75
d2b737858ff7 - New First Aid powerup
unc0rr
parents: 74
diff changeset
   349
                                          Count: 3;
37
2b7f2a43b999 - Properly get seed in net game
unc0rr
parents: 35
diff changeset
   350
                                          NumPerTurn: 3;
2b7f2a43b999 - Properly get seed in net game
unc0rr
parents: 35
diff changeset
   351
                                          Timer: 0;
2b7f2a43b999 - Properly get seed in net game
unc0rr
parents: 35
diff changeset
   352
                                          AmmoType: amDEagle);
2b7f2a43b999 - Properly get seed in net game
unc0rr
parents: 35
diff changeset
   353
                                   Slot: 2;
39
b78e7185ed13 - Increased FPS
unc0rr
parents: 37
diff changeset
   354
                                   TimeAfterTurn: 3000),
80
3c3dc6a148ca - Fixed bug with hedgehog under water using rope
unc0rr
parents: 79
diff changeset
   355
                                   (NameId: sidDynamite;
39
b78e7185ed13 - Increased FPS
unc0rr
parents: 37
diff changeset
   356
                                    Ammo: (Propz: ammoprop_NoCrosshair or ammoprop_AttackInJump or ammoprop_AttackInFall;
56
a29135563e94 - Replaced water sprite
unc0rr
parents: 55
diff changeset
   357
                                           Count: 1;
39
b78e7185ed13 - Increased FPS
unc0rr
parents: 37
diff changeset
   358
                                           NumPerTurn: 0;
b78e7185ed13 - Increased FPS
unc0rr
parents: 37
diff changeset
   359
                                           Timer: 0;
b78e7185ed13 - Increased FPS
unc0rr
parents: 37
diff changeset
   360
                                           AmmoType: amDynamite);
79
29b477319854 - New test map
unc0rr
parents: 78
diff changeset
   361
                                    Slot: 4;
29b477319854 - New test map
unc0rr
parents: 78
diff changeset
   362
                                    TimeAfterTurn: 5000),
82
2f4f3236cccc - New fort
unc0rr
parents: 80
diff changeset
   363
                                   (NameId: sidFirePunch;
2f4f3236cccc - New fort
unc0rr
parents: 80
diff changeset
   364
                                    Ammo: (Propz: ammoprop_NoCrosshair or ammoprop_ForwMsgs or ammoprop_AttackInJump or ammoprop_AttackInFall;
2f4f3236cccc - New fort
unc0rr
parents: 80
diff changeset
   365
                                           Count: AMMO_INFINITE;
2f4f3236cccc - New fort
unc0rr
parents: 80
diff changeset
   366
                                           NumPerTurn: 0;
2f4f3236cccc - New fort
unc0rr
parents: 80
diff changeset
   367
                                           Timer: 0;
2f4f3236cccc - New fort
unc0rr
parents: 80
diff changeset
   368
                                           AmmoType: amFirePunch);
2f4f3236cccc - New fort
unc0rr
parents: 80
diff changeset
   369
                                    Slot: 3;
2f4f3236cccc - New fort
unc0rr
parents: 80
diff changeset
   370
                                    TimeAfterTurn: 3000),
80
3c3dc6a148ca - Fixed bug with hedgehog under water using rope
unc0rr
parents: 79
diff changeset
   371
                                   (NameId: sidBaseballBat;
79
29b477319854 - New test map
unc0rr
parents: 78
diff changeset
   372
                                    Ammo: (Propz: 0;
29b477319854 - New test map
unc0rr
parents: 78
diff changeset
   373
                                           Count: 1;
29b477319854 - New test map
unc0rr
parents: 78
diff changeset
   374
                                           NumPerTurn: 0;
29b477319854 - New test map
unc0rr
parents: 78
diff changeset
   375
                                           Timer: 0;
29b477319854 - New test map
unc0rr
parents: 78
diff changeset
   376
                                           AmmoType: amBaseballBat);
39
b78e7185ed13 - Increased FPS
unc0rr
parents: 37
diff changeset
   377
                                    Slot: 3;
b78e7185ed13 - Increased FPS
unc0rr
parents: 37
diff changeset
   378
                                    TimeAfterTurn: 5000));
37
2b7f2a43b999 - Properly get seed in net game
unc0rr
parents: 35
diff changeset
   379
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   380
implementation
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   381
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   382
end.