hedgewars/uConsts.pas
author unc0rr
Sat, 08 Jul 2006 21:40:03 +0000
changeset 74 42257fee61ae
parent 72 aeb2ac1878dc
child 75 d2b737858ff7
permissions -rw-r--r--
- Unicode support for team and hedgehogs names - Clouds move in vertical direction also - Many fixes to hedgehog physics - Support for different images in 16 and 32 bit screen resolution - Fixed bots behavior after attack - Fixed camera behavior right after the game start
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
 *
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
     5
 * Distributed under the terms of the BSD-modified licence:
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
     6
 *
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
     7
 * Permission is hereby granted, free of charge, to any person obtaining a copy
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
     8
 * of this software and associated documentation files (the "Software"), to deal
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
     9
 * with the Software without restriction, including without limitation the
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    10
 * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    11
 * sell copies of the Software, and to permit persons to whom the Software is
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    12
 * furnished to do so, subject to the following conditions:
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    13
 *
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    14
 * 1. Redistributions of source code must retain the above copyright notice,
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    15
 *    this list of conditions and the following disclaimer.
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    16
 * 2. Redistributions in binary form must reproduce the above copyright notice,
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    17
 *    this list of conditions and the following disclaimer in the documentation
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    18
 *    and/or other materials provided with the distribution.
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    19
 * 3. The name of the author may not be used to endorse or promote products
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    20
 *    derived from this software without specific prior written permission.
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    21
 *
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    22
 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    23
 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    24
 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    25
 * EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    26
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    27
 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    28
 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    29
 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    30
 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    31
 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    32
 *)
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    33
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    34
unit uConsts;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    35
interface
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    36
uses SDLh;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    37
{$INCLUDE options.inc}
5
0dafbd19a04c Show wind speed on bar
unc0rr
parents: 4
diff changeset
    38
type TStuff     = (sHorizont, sSky, sConsoleBG, sPowerBar, sQuestion, sWindBar,
35
9367f246fb5f - New rope
unc0rr
parents: 22
diff changeset
    39
                   sWindL, sWindR, sRopeNode);
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    40
     TGameState = (gsLandGen, gsStart, gsGame, gsConsole, gsExit);
72
aeb2ac1878dc Basic save support in engine
unc0rr
parents: 70
diff changeset
    41
     TGameType  = (gmtLocal, gmtDemo, gmtNet, gmtSave);
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    42
     TPathType  = (ptData, ptGraphics, ptThemes, ptThemeCurrent, ptTeams, ptMaps,
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    43
                   ptMapCurrent, ptDemos, ptSounds, ptGraves, ptFonts, ptForts);
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    44
     TSprite    = (sprWater, sprCloud, sprBomb, sprBigDigit, sprFrame,
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    45
                   sprLag, sprArrow, sprGrenade, sprTargetP, sprUFO,
10
edf56dca1587 - Mine weapon
unc0rr
parents: 9
diff changeset
    46
                   sprSmokeTrace, sprRopeHook, sprExplosion50, sprMineOff,
74
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
    47
                   sprMineOn, sprCase, sprFAid, sprDynamite, sprPower);
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    48
     TGearType  = (gtCloud, gtAmmo_Bomb, gtHedgehog, gtAmmo_Grenade, gtHealthTag,
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    49
                   gtGrave, gtUFO, gtShotgunShot, gtActionTimer, gtPickHammer, gtRope,
49
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 43
diff changeset
    50
                   gtSmokeTrace, gtExplosion, gtMine, gtCase, gtDEagleShot, gtDynamite,
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 43
diff changeset
    51
                   gtTeamHealthSorter);
16
b6f4b413dd41 - Various fixes for ammo cases
unc0rr
parents: 14
diff changeset
    52
     TGearsType = set of TGearType;
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    53
     TSound     = (sndGrenadeImpact, sndExplosion, sndThrowPowerUp, sndThrowRelease, sndSplash,
13
7a5db822fd3f - Show no crosshair when using mine
unc0rr
parents: 10
diff changeset
    54
                   sndShotgunReload, sndShotgunFire, sndGraveImpact, sndMineTick);
10
edf56dca1587 - Mine weapon
unc0rr
parents: 9
diff changeset
    55
     TAmmoType  = (amGrenade, amBazooka, amUFO, amShotgun, amPickHammer, amSkip, amRope,
39
b78e7185ed13 - Increased FPS
unc0rr
parents: 37
diff changeset
    56
                   amMine, amDEagle, amDynamite);
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    57
     THWFont    = (fnt16, fntBig);
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    58
     THHFont    = record
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    59
                  Handle: PTTF_Font;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    60
                  Height: integer;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    61
                  Name: string[15];
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
     TAmmo = record
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    64
             Propz: LongWord;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    65
             Count: LongWord;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    66
             NumPerTurn: LongWord;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    67
             Timer: LongWord;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    68
             AmmoType: TAmmoType;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    69
             end;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    70
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    71
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    72
resourcestring
43
e297fea1a2f3 - Removed dark pixels on the corners of health case
unc0rr
parents: 42
diff changeset
    73
      errmsgCreateSurface   = 'Error creating SDL surface';
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    74
      errmsgTransparentSet  = 'Error setting transparent color';
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    75
      errmsgUnknownCommand  = 'Unknown command';
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    76
      errmsgUnknownVariable = 'Unknown variable';
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    77
      errmsgIncorrectUse    = 'Incorrect use';
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    78
      errmsgShouldntRun     = 'This program shouldn''t be run manually';
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    79
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    80
      msgLoading           = 'Loading ';
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    81
      msgOK                = 'ok';
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    82
      msgFailed            = 'failed';
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    83
      msgGettingConfig     = 'Getting game config...';
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    84
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    85
const
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    86
      cNetProtoVersion = 1;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    87
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    88
      rndfillstr = 'hw';
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    89
74
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
    90
      MAXNAMELEN = 32;
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
    91
64
9df467527ae5 - Start AI rewrite
unc0rr
parents: 56
diff changeset
    92
      COLOR_LAND = $00FFFFFF;
9df467527ae5 - Start AI rewrite
unc0rr
parents: 56
diff changeset
    93
55
e09f7c952a40 Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents: 53
diff changeset
    94
      cifRandomize = $00000001;
e09f7c952a40 Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents: 53
diff changeset
    95
      cifTheme     = $00000002;
e09f7c952a40 Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents: 53
diff changeset
    96
      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
    97
      cifAllInited = cifRandomize or
e09f7c952a40 Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents: 53
diff changeset
    98
                     cifTheme or
e09f7c952a40 Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents: 53
diff changeset
    99
                     cifMap;
e09f7c952a40 Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents: 53
diff changeset
   100
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   101
      cTransparentColor: Cardinal = $000000;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   102
22
517be8dc5b76 - Fixed spawning boxes under water
unc0rr
parents: 17
diff changeset
   103
      cMaxHHIndex      = 9;
517be8dc5b76 - Fixed spawning boxes under water
unc0rr
parents: 17
diff changeset
   104
      cMaxHHs          = 20;
53
0e27949850e3 - Fixed bubble theme object
unc0rr
parents: 49
diff changeset
   105
      cMaxSpawnPoints  = 1024;
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   106
      cHHSurfaceWidth     = 512;
70
82d93eeecebe - Many AI improvements
unc0rr
parents: 64
diff changeset
   107
     // cHHSurfaceHeigth    = 256;
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   108
22
517be8dc5b76 - Fixed spawning boxes under water
unc0rr
parents: 17
diff changeset
   109
      cMaxEdgePoints = 16384;
517be8dc5b76 - Fixed spawning boxes under water
unc0rr
parents: 17
diff changeset
   110
53
0e27949850e3 - Fixed bubble theme object
unc0rr
parents: 49
diff changeset
   111
      cHHRadius = 9;
70
82d93eeecebe - Many AI improvements
unc0rr
parents: 64
diff changeset
   112
      cHHStepTicks = 38;
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   113
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   114
      cKeyMaxIndex = 322;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   115
53
0e27949850e3 - Fixed bubble theme object
unc0rr
parents: 49
diff changeset
   116
      cMaxCaptions = 4;
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   117
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   118
      cInactDelay = 1500;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   119
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   120
      gfForts = $00000001;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   121
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   122
      gstDrowning       = $00000001;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   123
      gstHHDriven       = $00000002;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   124
      gstMoving         = $00000004;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   125
      gstAttacked       = $00000008;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   126
      gstAttacking      = $00000010;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   127
      gstCollision      = $00000020;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   128
      gstHHChooseTarget = $00000040;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   129
      gstFalling        = $00000080;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   130
      gstHHJumping      = $00000100;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   131
      gsttmpFlag        = $00000200;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   132
      gstHHThinking     = $00000800;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   133
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   134
      gtsStartGame      = 1;
6
9c1f00e7b43e Smooth change wind bar
unc0rr
parents: 5
diff changeset
   135
      gtsSmoothWindCh   = 2;
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   136
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   137
      gm_Left   = $00000001;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   138
      gm_Right  = $00000002;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   139
      gm_Up     = $00000004;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   140
      gm_Down   = $00000008;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   141
      gm_Switch = $00000010;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   142
      gm_Attack = $00000020;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   143
      gm_LJump  = $00000040;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   144
      gm_HJump  = $00000080;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   145
      gm_Destroy= $00000100;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   146
10
edf56dca1587 - Mine weapon
unc0rr
parents: 9
diff changeset
   147
      cMaxSlotIndex       = 6;
edf56dca1587 - Mine weapon
unc0rr
parents: 9
diff changeset
   148
      cMaxSlotAmmoIndex   = 1;
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   149
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   150
      ammoprop_Timerable    = $00000001;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   151
      ammoprop_Power        = $00000002;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   152
      ammoprop_NeedTarget   = $00000004;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   153
      ammoprop_ForwMsgs     = $00000008;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   154
      ammoprop_AttackInFall = $00000010;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   155
      ammoprop_AttackInJump = $00000020;
13
7a5db822fd3f - Show no crosshair when using mine
unc0rr
parents: 10
diff changeset
   156
      ammoprop_NoCrosshair  = $00000040;
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   157
      AMMO_INFINITE = High(LongWord);
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   158
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   159
      capgrpStartGame     = 0;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   160
      capgrpAmmoinfo      = 1;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   161
      capgrpNetSay        = 2;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   162
42
72ffe21f027c - Fixed console behavior
unc0rr
parents: 39
diff changeset
   163
      EXPLAllDamageInRadius = $00000001;
72ffe21f027c - Fixed console behavior
unc0rr
parents: 39
diff changeset
   164
      EXPLAutoSound         = $00000002;
72ffe21f027c - Fixed console behavior
unc0rr
parents: 39
diff changeset
   165
      EXPLNoDamage          = $00000004;
72ffe21f027c - Fixed console behavior
unc0rr
parents: 39
diff changeset
   166
      EXPLDoNotTouchHH      = $00000008;
72ffe21f027c - Fixed console behavior
unc0rr
parents: 39
diff changeset
   167
72ffe21f027c - Fixed console behavior
unc0rr
parents: 39
diff changeset
   168
      posCaseAmmo    = $00000001;
72ffe21f027c - Fixed console behavior
unc0rr
parents: 39
diff changeset
   169
      posCaseHealth  = $00000002;
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   170
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   171
      NoPointX = Low(Integer); // константа для TargetPoint, показывает, что цель не указана
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   172
74
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   173
      cHHFileName   = 'Hedgehog';
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   174
      cCHFileName   = 'Crosshair';
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   175
      cThemeCFGFilename = 'theme.cfg';
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   176
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   177
      Fontz: array[THWFont] of THHFont = (
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   178
                                         (Height: 12;
74
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   179
                                          Name: 'DejaVuSans.ttf'),
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   180
                                         (Height: 24;
74
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   181
                                          Name: 'DejaVuSans.ttf')
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   182
                                         );
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   183
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   184
      Pathz: array[TPathType] of string[ 64] = (
53
0e27949850e3 - Fixed bubble theme object
unc0rr
parents: 49
diff changeset
   185
                                               'Data',                          // ptData
0e27949850e3 - Fixed bubble theme object
unc0rr
parents: 49
diff changeset
   186
                                               'Data/Graphics',                 // ptGraphics
0e27949850e3 - Fixed bubble theme object
unc0rr
parents: 49
diff changeset
   187
                                               'Data/Themes',                   // ptThemes
0e27949850e3 - Fixed bubble theme object
unc0rr
parents: 49
diff changeset
   188
                                               'Data/Themes/avematan',          // ptThemeCurrent
0e27949850e3 - Fixed bubble theme object
unc0rr
parents: 49
diff changeset
   189
                                               'Data/Teams',                    // ptTeams
0e27949850e3 - Fixed bubble theme object
unc0rr
parents: 49
diff changeset
   190
                                               'Data/Maps',                     // ptMaps
0e27949850e3 - Fixed bubble theme object
unc0rr
parents: 49
diff changeset
   191
                                               '',                              // ptMapCurrent
0e27949850e3 - Fixed bubble theme object
unc0rr
parents: 49
diff changeset
   192
                                               'Data/Demos',                    // ptDemos
0e27949850e3 - Fixed bubble theme object
unc0rr
parents: 49
diff changeset
   193
                                               'Data/Sounds',                   // ptSounds
0e27949850e3 - Fixed bubble theme object
unc0rr
parents: 49
diff changeset
   194
                                               'Data/Graphics/Graves',          // ptGraves
0e27949850e3 - Fixed bubble theme object
unc0rr
parents: 49
diff changeset
   195
                                               'Data/Fonts',                    // ptFonts
0e27949850e3 - Fixed bubble theme object
unc0rr
parents: 49
diff changeset
   196
                                               'Data/Forts'                     // ptForts
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   197
                                               );
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   198
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   199
      StuffLoadData: array[TStuff] of record
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   200
                                     FileName: String[31];
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   201
                                     Path    : TPathType;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   202
                                     end = (
74
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   203
                                     (FileName: 'horizont'; Path: ptThemeCurrent ),    // sHorizont
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   204
                                     (FileName:      'Sky'; Path: ptThemeCurrent ),    // sSky
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   205
                                     (FileName:  'Console'; Path: ptGraphics     ),    // sConsoleBG
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   206
                                     (FileName: 'PowerBar'; Path: ptGraphics     ),    // sPowerBar
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   207
                                     (FileName: 'thinking'; Path: ptGraphics     ),    // sQuestion
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   208
                                     (FileName:  'WindBar'; Path: ptGraphics     ),    // sWindBar
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   209
                                     (FileName:    'WindL'; Path: ptGraphics     ),    // sWindL
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   210
                                     (FileName:    'WindR'; Path: ptGraphics     ),    // sWindR
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   211
                                     (FileName: 'RopeNode'; Path: ptGraphics     )     // 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
      StuffPoz: array[TStuff] of TSDL_Rect = (
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   214
                                      (x:   0; y:   0; w: 512; h: 256), // sHorizont
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   215
                                      (x: 512; y:   0; w:  64; h:1024), // sSky
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   216
                                      (x: 256; y: 256; w: 256; h: 256), // sConsoleBG
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   217
                                      (x: 256; y: 768; w: 256; h:  32), // sPowerBar
5
0dafbd19a04c Show wind speed on bar
unc0rr
parents: 4
diff changeset
   218
                                      (x: 256; y: 512; w:  32; h:  32), // sQuestion
0dafbd19a04c Show wind speed on bar
unc0rr
parents: 4
diff changeset
   219
                                      (x: 256; y: 800; w: 151; h:  17), // sWindBar
0dafbd19a04c Show wind speed on bar
unc0rr
parents: 4
diff changeset
   220
                                      (x: 256; y: 817; w:  80; h:  13), // sWindL
35
9367f246fb5f - New rope
unc0rr
parents: 22
diff changeset
   221
                                      (x: 336; y: 817; w:  80; h:  13), // sWindR
9367f246fb5f - New rope
unc0rr
parents: 22
diff changeset
   222
                                      (x: 256; y: 544; w:   6; h:   6)  // sRopeNode
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   223
                                      );
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   224
      SpritesData: array[TSprite] of record
35
9367f246fb5f - New rope
unc0rr
parents: 22
diff changeset
   225
                     FileName: String[31];
9367f246fb5f - New rope
unc0rr
parents: 22
diff changeset
   226
                     Path    : TPathType;
9367f246fb5f - New rope
unc0rr
parents: 22
diff changeset
   227
                     Surface : PSDL_Surface;
9367f246fb5f - New rope
unc0rr
parents: 22
diff changeset
   228
                     Width, Height: integer;
9367f246fb5f - New rope
unc0rr
parents: 22
diff changeset
   229
                     hasAlpha: boolean;
9367f246fb5f - New rope
unc0rr
parents: 22
diff changeset
   230
                     end = (
74
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   231
                     (FileName: 'BlueWater'; Path: ptGraphics; Width: 256; Height: 48; hasAlpha: false),// sprWater
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   232
                     (FileName:    'Clouds'; Path: ptGraphics; Width: 256; Height:128; hasAlpha: false),// sprCloud
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   233
                     (FileName:      'Bomb'; Path: ptGraphics; Width:  16; Height: 16; hasAlpha: false),// sprBomb
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   234
                     (FileName: 'BigDigits'; Path: ptGraphics; Width:  32; Height: 32; hasAlpha:  true),// sprBigDigit
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   235
                     (FileName:     'Frame'; Path: ptGraphics; Width:   4; Height: 32; hasAlpha:  true),// sprFrame
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   236
                     (FileName:       'Lag'; Path: ptGraphics; Width:  64; Height: 64; hasAlpha: false),// sprLag
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   237
                     (FileName:     'Arrow'; Path: ptGraphics; Width:  16; Height: 16; hasAlpha: false),// sprCursor
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   238
                     (FileName:   'Grenade'; Path: ptGraphics; Width:  32; Height: 32; hasAlpha: false),// sprGrenade
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   239
                     (FileName:   'Targetp'; Path: ptGraphics; Width:  32; Height: 32; hasAlpha: false),// sprTargetP
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   240
                     (FileName:       'UFO'; Path: ptGraphics; Width:  32; Height: 32; hasAlpha: false),// sprUFO
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   241
                     (FileName:'SmokeTrace'; Path: ptGraphics; Width:  32; Height: 32; hasAlpha:  true),// sprSmokeTrace
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   242
                     (FileName:  'RopeHook'; Path: ptGraphics; Width:  32; Height: 32; hasAlpha: false),// sprRopeHook
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   243
                     (FileName:    'Expl50'; Path: ptGraphics; Width:  64; Height: 64; hasAlpha: false),// sprExplosion50
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   244
                     (FileName:   'MineOff'; Path: ptGraphics; Width:  16; Height: 16; hasAlpha: false),// sprMineOff
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   245
                     (FileName:    'MineOn'; Path: ptGraphics; Width:  16; Height: 16; hasAlpha: false),// sprMineOn
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   246
                     (FileName:      'Case'; Path: ptGraphics; Width:  32; Height: 32; hasAlpha: false),// sprCase
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   247
                     (FileName:  'FirstAid'; Path: ptGraphics; Width:  32; Height: 32; hasAlpha: false),// sprFAid
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   248
                     (FileName:  'dynamite'; Path: ptGraphics; Width:  32; Height: 32; hasAlpha: false),// sprDynamite
42257fee61ae - Unicode support for team and hedgehogs names
unc0rr
parents: 72
diff changeset
   249
                     (FileName:     'Power'; Path: ptGraphics; Width:  32; Height: 32; hasAlpha:  true) // sprPower
35
9367f246fb5f - New rope
unc0rr
parents: 22
diff changeset
   250
                     );
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   251
      Soundz: array[TSound] of record
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   252
                                       FileName: String[31];
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   253
                                       Path    : TPathType;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   254
                                       id      : PMixChunk;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   255
                                       end = (
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   256
                                       (FileName: 'grenadeimpact.ogg'; Path: ptSounds  ),// sndGrenadeImpact
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   257
                                       (FileName:     'explosion.ogg'; Path: ptSounds  ),// sndExplosion
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   258
                                       (FileName:  'throwpowerup.ogg'; Path: ptSounds  ),// sndThrowPowerUp
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   259
                                       (FileName:  'throwrelease.ogg'; Path: ptSounds  ),// sndThrowRelease
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   260
                                       (FileName:        'splash.ogg'; Path: ptSounds  ),// sndSplash
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   261
                                       (FileName: 'shotgunreload.ogg'; Path: ptSounds  ),// sndShotgunReload
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   262
                                       (FileName:   'shotgunfire.ogg'; Path: ptSounds  ),// sndShotgunFire
13
7a5db822fd3f - Show no crosshair when using mine
unc0rr
parents: 10
diff changeset
   263
                                       (FileName:   'graveimpact.ogg'; Path: ptSounds  ),// sndGraveImpact
7a5db822fd3f - Show no crosshair when using mine
unc0rr
parents: 10
diff changeset
   264
                                       (FileName:      'minetick.ogg'; Path: ptSounds  ) // sndMineTicks
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   265
                                       );
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   266
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   267
      Ammoz: array [TAmmoType] of record
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   268
                                  Name: string[32];
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   269
                                  Ammo: TAmmo;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   270
                                  Slot: Longword;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   271
                                  TimeAfterTurn: Longword;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   272
                                  end = (
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   273
                                  (Name: 'Grenade';
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   274
                                   Ammo: (Propz: ammoprop_Timerable or ammoprop_Power;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   275
                                          Count: AMMO_INFINITE;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   276
                                          NumPerTurn: 0;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   277
                                          Timer: 3000;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   278
                                          AmmoType: amGrenade);
10
edf56dca1587 - Mine weapon
unc0rr
parents: 9
diff changeset
   279
                                   Slot: 1;
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   280
                                   TimeAfterTurn: 3000),
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   281
                                  (Name: 'Bazooka';
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   282
                                   Ammo: (Propz: ammoprop_Power;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   283
                                          Count: AMMO_INFINITE;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   284
                                          NumPerTurn: 0;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   285
                                          Timer: 0;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   286
                                          AmmoType: amBazooka);
10
edf56dca1587 - Mine weapon
unc0rr
parents: 9
diff changeset
   287
                                   Slot: 0;
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   288
                                   TimeAfterTurn: 3000),
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   289
                                  (Name: 'UFO';
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   290
                                   Ammo: (Propz: ammoprop_Power or ammoprop_NeedTarget;
56
a29135563e94 - Replaced water sprite
unc0rr
parents: 55
diff changeset
   291
                                          Count: 2;
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   292
                                          NumPerTurn: 0;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   293
                                          Timer: 0;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   294
                                          AmmoType: amUFO);
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   295
                                   Slot: 0;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   296
                                   TimeAfterTurn: 3000),
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   297
                                  (Name: 'Shotgun';
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   298
                                   Ammo: (Propz: 0;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   299
                                          Count: AMMO_INFINITE;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   300
                                          NumPerTurn: 1;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   301
                                          Timer: 0;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   302
                                          AmmoType: amShotgun);
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   303
                                   Slot: 2;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   304
                                   TimeAfterTurn: 3000),
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   305
                                  (Name: 'Pneumatic pick';
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   306
                                   Ammo: (Propz: ammoprop_ForwMsgs or ammoprop_AttackInFall or ammoprop_AttackInJump;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   307
                                          Count: 2;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   308
                                          NumPerTurn: 0;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   309
                                          Timer: 0;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   310
                                          AmmoType: amPickHammer);
10
edf56dca1587 - Mine weapon
unc0rr
parents: 9
diff changeset
   311
                                   Slot: 4;
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   312
                                   TimeAfterTurn: 0),
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   313
                                  (Name: 'Skip turn';
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   314
                                   Ammo: (Propz: 0;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   315
                                          Count: AMMO_INFINITE;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   316
                                          NumPerTurn: 0;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   317
                                          Timer: 0;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   318
                                          AmmoType: amSkip);
10
edf56dca1587 - Mine weapon
unc0rr
parents: 9
diff changeset
   319
                                   Slot: 6;
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   320
                                   TimeAfterTurn: 0),
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   321
                                  (Name: 'Rope';
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   322
                                   Ammo: (Propz: ammoprop_ForwMsgs or ammoprop_AttackInFall or ammoprop_AttackInJump;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   323
                                          Count: 5;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   324
                                          NumPerTurn: 0;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   325
                                          Timer: 0;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   326
                                          AmmoType: amRope);
10
edf56dca1587 - Mine weapon
unc0rr
parents: 9
diff changeset
   327
                                   Slot: 5;
edf56dca1587 - Mine weapon
unc0rr
parents: 9
diff changeset
   328
                                   TimeAfterTurn: 0),
edf56dca1587 - Mine weapon
unc0rr
parents: 9
diff changeset
   329
                                  (Name: 'Mine';
13
7a5db822fd3f - Show no crosshair when using mine
unc0rr
parents: 10
diff changeset
   330
                                   Ammo: (Propz: ammoprop_NoCrosshair;
56
a29135563e94 - Replaced water sprite
unc0rr
parents: 55
diff changeset
   331
                                          Count: 2;
10
edf56dca1587 - Mine weapon
unc0rr
parents: 9
diff changeset
   332
                                          NumPerTurn: 0;
edf56dca1587 - Mine weapon
unc0rr
parents: 9
diff changeset
   333
                                          Timer: 0;
edf56dca1587 - Mine weapon
unc0rr
parents: 9
diff changeset
   334
                                          AmmoType: amMine);
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   335
                                   Slot: 3;
37
2b7f2a43b999 - Properly get seed in net game
unc0rr
parents: 35
diff changeset
   336
                                   TimeAfterTurn: 3000),
2b7f2a43b999 - Properly get seed in net game
unc0rr
parents: 35
diff changeset
   337
                                  (Name: 'Desert Eagle';
2b7f2a43b999 - Properly get seed in net game
unc0rr
parents: 35
diff changeset
   338
                                   Ammo: (Propz: 0;
2b7f2a43b999 - Properly get seed in net game
unc0rr
parents: 35
diff changeset
   339
                                          Count: AMMO_INFINITE;
2b7f2a43b999 - Properly get seed in net game
unc0rr
parents: 35
diff changeset
   340
                                          NumPerTurn: 3;
2b7f2a43b999 - Properly get seed in net game
unc0rr
parents: 35
diff changeset
   341
                                          Timer: 0;
2b7f2a43b999 - Properly get seed in net game
unc0rr
parents: 35
diff changeset
   342
                                          AmmoType: amDEagle);
2b7f2a43b999 - Properly get seed in net game
unc0rr
parents: 35
diff changeset
   343
                                   Slot: 2;
39
b78e7185ed13 - Increased FPS
unc0rr
parents: 37
diff changeset
   344
                                   TimeAfterTurn: 3000),
b78e7185ed13 - Increased FPS
unc0rr
parents: 37
diff changeset
   345
                                   (Name: 'Dynamite';
b78e7185ed13 - Increased FPS
unc0rr
parents: 37
diff changeset
   346
                                    Ammo: (Propz: ammoprop_NoCrosshair or ammoprop_AttackInJump or ammoprop_AttackInFall;
56
a29135563e94 - Replaced water sprite
unc0rr
parents: 55
diff changeset
   347
                                           Count: 1;
39
b78e7185ed13 - Increased FPS
unc0rr
parents: 37
diff changeset
   348
                                           NumPerTurn: 0;
b78e7185ed13 - Increased FPS
unc0rr
parents: 37
diff changeset
   349
                                           Timer: 0;
b78e7185ed13 - Increased FPS
unc0rr
parents: 37
diff changeset
   350
                                           AmmoType: amDynamite);
b78e7185ed13 - Increased FPS
unc0rr
parents: 37
diff changeset
   351
                                    Slot: 3;
b78e7185ed13 - Increased FPS
unc0rr
parents: 37
diff changeset
   352
                                    TimeAfterTurn: 5000));
37
2b7f2a43b999 - Properly get seed in net game
unc0rr
parents: 35
diff changeset
   353
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   354
implementation
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   355
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   356
end.