marpis
2009-10-02 16:12:45
I think there should be an array of TVariantArray in TUser
procedure DeclarePlayers;
begin
HowManyPlayers := 1;
CurrentPlayer := 0;
NumberOfPlayers(HowManyPlayers);
Players[0].Name := 'Killerer';
Players[0].Pass := 'Pass123';
Players[0].Arrays[0] := ['illow', 'Oak']; // Trees to cut
Players[0].Arrays[1] := [5, 60]; // [LoadsBeforeSwitch, TotalLoads]
Players[0].Active := True;
end;
{ type TUser;
Description: The User Record. }
type
TUser = record
Name: string; // * User Name
Pass: string; // * User Pass
Pin: string; // * Current Users Pin Number
Nick: string; // * Screen Name for random detection
NickTPA: TPointArray; // * TPA Of Player Name
Level: array[0..24] of Word; // * Levels of all skills.
Active: Boolean; // * Set to True if Ok, False if Lost.
Loc: string; // * User Location
Skill: string; // * User Action to Perform
Worked: Integer; // * Time User has worked
Banked: Integer; // * Number of Banks User has done
Rand: string; // * Current Random
Booleans: array of Boolean; // * For reports, etc.
Integers: array of Integer; // * For reports, etc.
Strings: array of string; // * For reports, etc.
Extendeds: array of Extended; // * For reports, etc.
BoxRewards: TStringArray; // * Partial texts for rewards, place in order of want.
Arrays: array of TVariantArray; // * For all types of arrays
end;