hedgewars/uConsts.pas
author unc0rr
Thu, 05 Jan 2006 15:54:22 +0000
changeset 37 2b7f2a43b999
parent 35 9367f246fb5f
child 39 b78e7185ed13
permissions -rw-r--r--
- Properly get seed in net game - Changed graphics to not get different collisions array in different bit depth - Make log files of different clients look more similar in net game - Start to implement new ammo - Properly handle intersections with current hedgehog
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);
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    41
     TGameType  = (gmtLocal, gmtDemo, gmtNet);
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,
14
81f125629b25 - Mine checks whether a hedgehog is near less frequently
unc0rr
parents: 13
diff changeset
    47
                   sprMineOn, sprCase);
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,
37
2b7f2a43b999 - Properly get seed in net game
unc0rr
parents: 35
diff changeset
    50
                   gtSmokeTrace, gtExplosion, gtMine, gtCase, gtDEagleShot);
16
b6f4b413dd41 - Various fixes for ammo cases
unc0rr
parents: 14
diff changeset
    51
     TGearsType = set of TGearType;
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    52
     TSound     = (sndGrenadeImpact, sndExplosion, sndThrowPowerUp, sndThrowRelease, sndSplash,
13
7a5db822fd3f - Show no crosshair when using mine
unc0rr
parents: 10
diff changeset
    53
                   sndShotgunReload, sndShotgunFire, sndGraveImpact, sndMineTick);
10
edf56dca1587 - Mine weapon
unc0rr
parents: 9
diff changeset
    54
     TAmmoType  = (amGrenade, amBazooka, amUFO, amShotgun, amPickHammer, amSkip, amRope,
37
2b7f2a43b999 - Properly get seed in net game
unc0rr
parents: 35
diff changeset
    55
                   amMine, amDEagle);
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    56
     THWFont    = (fnt16, fntBig);
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    57
     THHFont    = record
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    58
                  Handle: PTTF_Font;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    59
                  Height: integer;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    60
                  Name: string[15];
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    61
                  end;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    62
     TAmmo = record
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    63
             Propz: LongWord;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    64
             Count: LongWord;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    65
             NumPerTurn: LongWord;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    66
             Timer: LongWord;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    67
             AmmoType: TAmmoType;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    68
             end;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    69
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
resourcestring
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    72
      errmsgCreateSurface   = 'Error creating DirectDraw7 surface';
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    73
      errmsgNoDesc          = 'Unknown error';
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
      cAppName  = 'hw';
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    87
      cAppTitle = 'hw';
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    88
      cNetProtoVersion = 1;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    89
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    90
      rndfillstr = 'hw';
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    91
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    92
      cTransparentColor: Cardinal = $000000;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    93
22
517be8dc5b76 - Fixed spawning boxes under water
unc0rr
parents: 17
diff changeset
    94
      cMaxHHIndex      = 9;
517be8dc5b76 - Fixed spawning boxes under water
unc0rr
parents: 17
diff changeset
    95
      cMaxHHs          = 20;
517be8dc5b76 - Fixed spawning boxes under water
unc0rr
parents: 17
diff changeset
    96
      cMaxSpawnPoints  = 64;
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    97
      cHHSurfaceWidth     = 512;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
    98
      cHHSurfaceHeigth    = 256;
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
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   102
      cHHHalfHeight = 11;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   103
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   104
      cKeyMaxIndex = 322;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   105
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   106
      cMaxCaptions         = 4;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   107
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   108
      cInactDelay = 1500;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   109
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   110
      gfForts = $00000001;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   111
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   112
      gstDrowning       = $00000001;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   113
      gstHHDriven       = $00000002;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   114
      gstMoving         = $00000004;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   115
      gstAttacked       = $00000008;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   116
      gstAttacking      = $00000010;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   117
      gstCollision      = $00000020;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   118
      gstHHChooseTarget = $00000040;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   119
      gstFalling        = $00000080;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   120
      gstHHJumping      = $00000100;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   121
      gsttmpFlag        = $00000200;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   122
      gstHHThinking     = $00000800;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   123
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   124
      gtsStartGame      = 1;
6
9c1f00e7b43e Smooth change wind bar
unc0rr
parents: 5
diff changeset
   125
      gtsSmoothWindCh   = 2;
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   126
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   127
      gm_Left   = $00000001;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   128
      gm_Right  = $00000002;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   129
      gm_Up     = $00000004;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   130
      gm_Down   = $00000008;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   131
      gm_Switch = $00000010;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   132
      gm_Attack = $00000020;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   133
      gm_LJump  = $00000040;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   134
      gm_HJump  = $00000080;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   135
      gm_Destroy= $00000100;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   136
10
edf56dca1587 - Mine weapon
unc0rr
parents: 9
diff changeset
   137
      cMaxSlotIndex       = 6;
edf56dca1587 - Mine weapon
unc0rr
parents: 9
diff changeset
   138
      cMaxSlotAmmoIndex   = 1;
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   139
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   140
      ammoprop_Timerable    = $00000001;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   141
      ammoprop_Power        = $00000002;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   142
      ammoprop_NeedTarget   = $00000004;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   143
      ammoprop_ForwMsgs     = $00000008;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   144
      ammoprop_AttackInFall = $00000010;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   145
      ammoprop_AttackInJump = $00000020;
13
7a5db822fd3f - Show no crosshair when using mine
unc0rr
parents: 10
diff changeset
   146
      ammoprop_NoCrosshair  = $00000040;
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   147
      AMMO_INFINITE = High(LongWord);
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   148
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   149
      capgrpStartGame     = 0;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   150
      capgrpAmmoinfo      = 1;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   151
      capgrpNetSay        = 2;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   152
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   153
      EXPLAllDamageInRadius = 1;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   154
      EXPLAutoSound         = 2;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   155
      EXPLNoDamage          = 4;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   156
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   157
      cToggleConsoleKey     = 39;
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
      NoPointX = Low(Integer); // êîíñòàíòà äëÿ TargetPoint, ïîêàçûâàåò, ÷òî öåëü íå óêàçàíà
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   160
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   161
      cLandFileName = 'Land.bmp';
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   162
      cHHFileName   = 'Hedgehog.png';
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   163
      cCHFileName   = 'Crosshair.png';
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   164
      cThemeCFGFilename = 'theme.cfg';
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   165
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   166
      Fontz: array[THWFont] of THHFont = (
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   167
                                         (Height: 12;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   168
                                          Name: 'UN1251N.TTF'),
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   169
                                         (Height: 24;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   170
                                          Name: 'UN1251N.TTF')
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   171
                                         );
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   172
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   173
      Pathz: array[TPathType] of string[ 64] = (
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   174
                                               'Data/',                         // ptData
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   175
                                               'Data/Graphics/',                // ptGraphics
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   176
                                               'Data/Themes/',                  // ptThemes
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   177
                                               'Data/Themes/Default/',          // ptThemeCurrent
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   178
                                               'Data/Teams/',                   // ptTeams
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   179
                                               'Data/Maps/',                    // ptMaps
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   180
                                               'Data/Maps/Current/',            // ptMapCurrent
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   181
                                               'Data/Demos/',                   // ptDemos
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   182
                                               'Data/Sounds/',                  // ptSounds
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   183
                                               'Data/Graphics/Graves/',         // ptGraves
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   184
                                               'Data/Fonts/',                   // ptFonts
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   185
                                               'Data/Forts/'                    // ptForts
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   186
                                               );
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   187
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   188
      StuffLoadData: array[TStuff] of record
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   189
                                     FileName: String[31];
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   190
                                     Path    : TPathType;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   191
                                     end = (
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   192
                                     (FileName: 'horizont.png'; Path: ptThemeCurrent ),    // sHorizont
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   193
                                     (FileName:      'Sky.png'; Path: ptThemeCurrent ),    // sSky
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   194
                                     (FileName:  'Console.png'; Path: ptGraphics     ),    // sConsoleBG
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   195
                                     (FileName: 'PowerBar.png'; Path: ptGraphics     ),    // sPowerBar
5
0dafbd19a04c Show wind speed on bar
unc0rr
parents: 4
diff changeset
   196
                                     (FileName: 'thinking.png'; Path: ptGraphics     ),    // sQuestion
0dafbd19a04c Show wind speed on bar
unc0rr
parents: 4
diff changeset
   197
                                     (FileName:  'WindBar.png'; Path: ptGraphics     ),    // sWindBar
0dafbd19a04c Show wind speed on bar
unc0rr
parents: 4
diff changeset
   198
                                     (FileName:    'WindL.png'; Path: ptGraphics     ),    // sWindL
35
9367f246fb5f - New rope
unc0rr
parents: 22
diff changeset
   199
                                     (FileName:    'WindR.png'; Path: ptGraphics     ),    // sWindR
9367f246fb5f - New rope
unc0rr
parents: 22
diff changeset
   200
                                     (FileName: 'RopeNode.png'; Path: ptGraphics     )     // sRopeNode
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   201
                                     );
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   202
      StuffPoz: array[TStuff] of TSDL_Rect = (
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   203
                                      (x:   0; y:   0; w: 512; h: 256), // sHorizont
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   204
                                      (x: 512; y:   0; w:  64; h:1024), // sSky
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];
9367f246fb5f - New rope
unc0rr
parents: 22
diff changeset
   215
                     Path    : TPathType;
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 = (
9367f246fb5f - New rope
unc0rr
parents: 22
diff changeset
   220
                     (FileName: 'BlueWater.png'; Path: ptGraphics; Width: 256; Height: 48; hasAlpha: false),// sprWater
9367f246fb5f - New rope
unc0rr
parents: 22
diff changeset
   221
                     (FileName:    'Clouds.png'; Path: ptGraphics; Width: 256; Height:128; hasAlpha: false),// sprCloud
9367f246fb5f - New rope
unc0rr
parents: 22
diff changeset
   222
                     (FileName:      'Bomb.png'; Path: ptGraphics; Width:  16; Height: 16; hasAlpha: false),// sprBomb
9367f246fb5f - New rope
unc0rr
parents: 22
diff changeset
   223
                     (FileName: 'BigDigits.png'; Path: ptGraphics; Width:  32; Height: 32; hasAlpha:  true),// sprBigDigit
9367f246fb5f - New rope
unc0rr
parents: 22
diff changeset
   224
                     (FileName:     'Frame.png'; Path: ptGraphics; Width:   4; Height: 32; hasAlpha:  true),// sprFrame
9367f246fb5f - New rope
unc0rr
parents: 22
diff changeset
   225
                     (FileName:       'Lag.png'; Path: ptGraphics; Width:  64; Height: 64; hasAlpha: false),// sprLag
9367f246fb5f - New rope
unc0rr
parents: 22
diff changeset
   226
                     (FileName:     'Arrow.png'; Path: ptGraphics; Width:  16; Height: 16; hasAlpha: false),// sprCursor
9367f246fb5f - New rope
unc0rr
parents: 22
diff changeset
   227
                     (FileName:   'Grenade.png'; Path: ptGraphics; Width:  32; Height: 32; hasAlpha: false),// sprGrenade
9367f246fb5f - New rope
unc0rr
parents: 22
diff changeset
   228
                     (FileName:   'Targetp.png'; Path: ptGraphics; Width:  32; Height: 32; hasAlpha: false),// sprTargetP
9367f246fb5f - New rope
unc0rr
parents: 22
diff changeset
   229
                     (FileName:       'UFO.png'; Path: ptGraphics; Width:  32; Height: 32; hasAlpha: false),// sprUFO
9367f246fb5f - New rope
unc0rr
parents: 22
diff changeset
   230
                     (FileName:'SmokeTrace.png'; Path: ptGraphics; Width:  32; Height: 32; hasAlpha:  true),// sprSmokeTrace
9367f246fb5f - New rope
unc0rr
parents: 22
diff changeset
   231
                     (FileName:  'RopeHook.png'; Path: ptGraphics; Width:  32; Height: 32; hasAlpha: false),// sprRopeHook
9367f246fb5f - New rope
unc0rr
parents: 22
diff changeset
   232
                     (FileName:    'Expl50.png'; Path: ptGraphics; Width:  64; Height: 64; hasAlpha: false),// sprExplosion50
9367f246fb5f - New rope
unc0rr
parents: 22
diff changeset
   233
                     (FileName:   'MineOff.png'; Path: ptGraphics; Width:  16; Height: 16; hasAlpha: false),// sprMineOff
9367f246fb5f - New rope
unc0rr
parents: 22
diff changeset
   234
                     (FileName:    'MineOn.png'; Path: ptGraphics; Width:  16; Height: 16; hasAlpha: false),// sprMineOn
9367f246fb5f - New rope
unc0rr
parents: 22
diff changeset
   235
                     (FileName:      'Case.png'; Path: ptGraphics; Width:  32; Height: 32; hasAlpha: false) // sprCase
9367f246fb5f - New rope
unc0rr
parents: 22
diff changeset
   236
                     );
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   237
      Soundz: array[TSound] of record
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   238
                                       FileName: String[31];
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   239
                                       Path    : TPathType;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   240
                                       id      : PMixChunk;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   241
                                       end = (
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   242
                                       (FileName: 'grenadeimpact.ogg'; Path: ptSounds  ),// sndGrenadeImpact
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   243
                                       (FileName:     'explosion.ogg'; Path: ptSounds  ),// sndExplosion
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   244
                                       (FileName:  'throwpowerup.ogg'; Path: ptSounds  ),// sndThrowPowerUp
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   245
                                       (FileName:  'throwrelease.ogg'; Path: ptSounds  ),// sndThrowRelease
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   246
                                       (FileName:        'splash.ogg'; Path: ptSounds  ),// sndSplash
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   247
                                       (FileName: 'shotgunreload.ogg'; Path: ptSounds  ),// sndShotgunReload
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   248
                                       (FileName:   'shotgunfire.ogg'; Path: ptSounds  ),// sndShotgunFire
13
7a5db822fd3f - Show no crosshair when using mine
unc0rr
parents: 10
diff changeset
   249
                                       (FileName:   'graveimpact.ogg'; Path: ptSounds  ),// sndGraveImpact
7a5db822fd3f - Show no crosshair when using mine
unc0rr
parents: 10
diff changeset
   250
                                       (FileName:      'minetick.ogg'; Path: ptSounds  ) // sndMineTicks
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   251
                                       );
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   252
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   253
      Ammoz: array [TAmmoType] of record
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   254
                                  Name: string[32];
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   255
                                  Ammo: TAmmo;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   256
                                  Slot: Longword;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   257
                                  TimeAfterTurn: Longword;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   258
                                  end = (
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   259
                                  (Name: 'Grenade';
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   260
                                   Ammo: (Propz: ammoprop_Timerable or ammoprop_Power;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   261
                                          Count: AMMO_INFINITE;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   262
                                          NumPerTurn: 0;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   263
                                          Timer: 3000;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   264
                                          AmmoType: amGrenade);
10
edf56dca1587 - Mine weapon
unc0rr
parents: 9
diff changeset
   265
                                   Slot: 1;
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   266
                                   TimeAfterTurn: 3000),
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   267
                                  (Name: 'Bazooka';
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   268
                                   Ammo: (Propz: ammoprop_Power;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   269
                                          Count: AMMO_INFINITE;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   270
                                          NumPerTurn: 0;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   271
                                          Timer: 0;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   272
                                          AmmoType: amBazooka);
10
edf56dca1587 - Mine weapon
unc0rr
parents: 9
diff changeset
   273
                                   Slot: 0;
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   274
                                   TimeAfterTurn: 3000),
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   275
                                  (Name: 'UFO';
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   276
                                   Ammo: (Propz: ammoprop_Power or ammoprop_NeedTarget;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   277
                                          Count: 4;
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: 0;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   280
                                          AmmoType: amUFO);
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   281
                                   Slot: 0;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   282
                                   TimeAfterTurn: 3000),
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   283
                                  (Name: 'Shotgun';
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   284
                                   Ammo: (Propz: 0;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   285
                                          Count: AMMO_INFINITE;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   286
                                          NumPerTurn: 1;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   287
                                          Timer: 0;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   288
                                          AmmoType: amShotgun);
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   289
                                   Slot: 2;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   290
                                   TimeAfterTurn: 3000),
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   291
                                  (Name: 'Pneumatic pick';
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   292
                                   Ammo: (Propz: ammoprop_ForwMsgs or ammoprop_AttackInFall or ammoprop_AttackInJump;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   293
                                          Count: 2;
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: amPickHammer);
10
edf56dca1587 - Mine weapon
unc0rr
parents: 9
diff changeset
   297
                                   Slot: 4;
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   298
                                   TimeAfterTurn: 0),
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   299
                                  (Name: 'Skip turn';
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   300
                                   Ammo: (Propz: 0;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   301
                                          Count: AMMO_INFINITE;
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: amSkip);
10
edf56dca1587 - Mine weapon
unc0rr
parents: 9
diff changeset
   305
                                   Slot: 6;
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   306
                                   TimeAfterTurn: 0),
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   307
                                  (Name: 'Rope';
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   308
                                   Ammo: (Propz: ammoprop_ForwMsgs or ammoprop_AttackInFall or ammoprop_AttackInJump;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   309
                                          Count: 5;
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   310
                                          NumPerTurn: 0;
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: amRope);
10
edf56dca1587 - Mine weapon
unc0rr
parents: 9
diff changeset
   313
                                   Slot: 5;
edf56dca1587 - Mine weapon
unc0rr
parents: 9
diff changeset
   314
                                   TimeAfterTurn: 0),
edf56dca1587 - Mine weapon
unc0rr
parents: 9
diff changeset
   315
                                  (Name: 'Mine';
13
7a5db822fd3f - Show no crosshair when using mine
unc0rr
parents: 10
diff changeset
   316
                                   Ammo: (Propz: ammoprop_NoCrosshair;
10
edf56dca1587 - Mine weapon
unc0rr
parents: 9
diff changeset
   317
                                          Count: 5;
edf56dca1587 - Mine weapon
unc0rr
parents: 9
diff changeset
   318
                                          NumPerTurn: 0;
edf56dca1587 - Mine weapon
unc0rr
parents: 9
diff changeset
   319
                                          Timer: 0;
edf56dca1587 - Mine weapon
unc0rr
parents: 9
diff changeset
   320
                                          AmmoType: amMine);
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   321
                                   Slot: 3;
37
2b7f2a43b999 - Properly get seed in net game
unc0rr
parents: 35
diff changeset
   322
                                   TimeAfterTurn: 3000),
2b7f2a43b999 - Properly get seed in net game
unc0rr
parents: 35
diff changeset
   323
                                  (Name: 'Desert Eagle';
2b7f2a43b999 - Properly get seed in net game
unc0rr
parents: 35
diff changeset
   324
                                   Ammo: (Propz: 0;
2b7f2a43b999 - Properly get seed in net game
unc0rr
parents: 35
diff changeset
   325
                                          Count: AMMO_INFINITE;
2b7f2a43b999 - Properly get seed in net game
unc0rr
parents: 35
diff changeset
   326
                                          NumPerTurn: 3;
2b7f2a43b999 - Properly get seed in net game
unc0rr
parents: 35
diff changeset
   327
                                          Timer: 0;
2b7f2a43b999 - Properly get seed in net game
unc0rr
parents: 35
diff changeset
   328
                                          AmmoType: amDEagle);
2b7f2a43b999 - Properly get seed in net game
unc0rr
parents: 35
diff changeset
   329
                                   Slot: 2;
2b7f2a43b999 - Properly get seed in net game
unc0rr
parents: 35
diff changeset
   330
                                   TimeAfterTurn: 3000));
2b7f2a43b999 - Properly get seed in net game
unc0rr
parents: 35
diff changeset
   331
2b7f2a43b999 - Properly get seed in net game
unc0rr
parents: 35
diff changeset
   332
2b7f2a43b999 - Properly get seed in net game
unc0rr
parents: 35
diff changeset
   333
2b7f2a43b999 - Properly get seed in net game
unc0rr
parents: 35
diff changeset
   334
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   335
      Resolutions: array[0..3] of String = (
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   336
                                           '640 480',
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   337
                                           '800 600',
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   338
                                           '1024 768',
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   339
                                           '1280 1024'
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   340
                                           );
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   341
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   342
implementation
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   343
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 2
diff changeset
   344
end.