hedgewars/uTeams.pas
changeset 95 1ef5e2c41115
parent 92 0c359a7a2356
child 105 e7cb9bb4a9de
equal deleted inserted replaced
94:c6eec0bdb630 95:1ef5e2c41115
    39      PTeam     = ^TTeam;
    39      PTeam     = ^TTeam;
    40      PHHAmmo   = ^THHAmmo;
    40      PHHAmmo   = ^THHAmmo;
    41      THedgehog = record
    41      THedgehog = record
    42                  Name: string[MAXNAMELEN];
    42                  Name: string[MAXNAMELEN];
    43                  Gear: PGear;
    43                  Gear: PGear;
    44                  NameRect, HealthRect, HealthTagRect: TSDL_Rect;
    44                  NameTag, HealthTag: PSDL_Surface;
    45                  Ammo: PHHAmmo;
    45                  Ammo: PHHAmmo;
    46                  CurSlot, CurAmmo: LongWord;
    46                  CurSlot, CurAmmo: LongWord;
    47                  AltSlot, AltAmmo: LongWord;
    47                  AltSlot, AltAmmo: LongWord;
    48                  Team: PTeam;
    48                  Team: PTeam;
    49                  AttacksNum: Longword;
    49                  AttacksNum: Longword;
    58              ExtDriven: boolean;
    58              ExtDriven: boolean;
    59              Aliases: array[0..cKeyMaxIndex] of shortstring;
    59              Aliases: array[0..cKeyMaxIndex] of shortstring;
    60              Hedgehogs: array[0..cMaxHHIndex] of THedgehog;
    60              Hedgehogs: array[0..cMaxHHIndex] of THedgehog;
    61              Ammos: array[0..cMaxHHIndex] of THHAmmo;
    61              Ammos: array[0..cMaxHHIndex] of THHAmmo;
    62              CurrHedgehog: integer;
    62              CurrHedgehog: integer;
    63              NameRect, CrossHairRect,
    63              NameTag: PSDL_Surface;
       
    64              CrossHairRect,
    64              GraveRect, HealthRect: TSDL_Rect;
    65              GraveRect, HealthRect: TSDL_Rect;
    65              GraveName: string;
    66              GraveName: string;
    66              FortName: string;
    67              FortName: string;
    67              TeamHealth: integer;
    68              TeamHealth: integer;
    68              DrawHealthY: integer;
    69              DrawHealthY: integer;