hedgewars/uTypes.pas
changeset 14611 3cf7799e04b5
parent 14538 1dab5d92aca7
child 14736 8563cc40fc1e
equal deleted inserted replaced
14610:de34abf040ed 14611:3cf7799e04b5
   444             AttackBar: LongWord;
   444             AttackBar: LongWord;
   445             HedgehogsNumber: Longword;
   445             HedgehogsNumber: Longword;
   446             voicepack: PVoicepack;
   446             voicepack: PVoicepack;
   447             PlayerHash: shortstring;   // md5 hash of player name. For temporary enabling of hats as thank you. Hashed for privacy of players
   447             PlayerHash: shortstring;   // md5 hash of player name. For temporary enabling of hats as thank you. Hashed for privacy of players
   448             stats: TTeamStats;
   448             stats: TTeamStats;
       
   449             Passive: boolean; // if true, team will not participate in game. It is treated as if all its hedgehogs are frozen.
       
   450                               // updating this value requires updating Passive in TClan as well!
   449             hasKing: boolean; // true if team has a living king
   451             hasKing: boolean; // true if team has a living king
   450             hasGone: boolean;
   452             hasGone: boolean;
   451             skippedTurns: Longword;
   453             skippedTurns: Longword;
   452             isGoneFlagPendingToBeSet, isGoneFlagPendingToBeUnset: boolean;
   454             isGoneFlagPendingToBeSet, isGoneFlagPendingToBeUnset: boolean;
   453             luaTeamValue: ansistring;
   455             luaTeamValue: ansistring;
   465             ClanIndex: LongInt;
   467             ClanIndex: LongInt;
   466             TurnNumber: LongWord;
   468             TurnNumber: LongWord;
   467             DeathLogged: boolean; // true if clan is dead and its latest death has been logged in the clan death log
   469             DeathLogged: boolean; // true if clan is dead and its latest death has been logged in the clan death log
   468             StatsHandled : boolean; // true if clan's rank has been handled for stats screen
   470             StatsHandled : boolean; // true if clan's rank has been handled for stats screen
   469             Flawless: boolean;
   471             Flawless: boolean;
       
   472             Passive: boolean; // informational. Must be set to true if all of the teams are passive
   470             end;
   473             end;
   471 
   474 
   472      cdeclPtr = procedure; cdecl;
   475      cdeclPtr = procedure; cdecl;
   473      cdeclIntPtr = procedure(num: LongInt); cdecl;
   476      cdeclIntPtr = procedure(num: LongInt); cdecl;
   474      funcDoublePtr = function: Double;
   477      funcDoublePtr = function: Double;