Ignore:
Timestamp:
May 19, 2022, 10:39:34 PM (2 years ago)
Author:
chronos
Message:
  • Modified: Use first capital letter in identifiers.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/LocalPlayer.pas

    r364 r447  
    44interface
    55
    6 procedure Client(Command, Player: integer; var Data); stdcall;
    7 procedure SetAIName(p: integer; Name: string);
     6procedure Client(Command, Player: Integer; var Data); stdcall;
     7procedure SetAIName(P: Integer; Name: string);
    88
    99implementation
     
    1414
    1515var
    16   FormsCreated: boolean;
     16  FormsCreated: Boolean;
    1717
    18 procedure Client(Command, Player: integer; var Data);
     18procedure Client(Command, Player: Integer; var Data);
    1919begin
    2020  if not FormsCreated then
    2121  begin
    22     FormsCreated := true;
     22    FormsCreated := True;
    2323    // TODO: Changing application name in runtime will cause change of Linux XML registry file path
    2424//    Application.MainForm := MainScreen;
     
    4545end;
    4646
    47 procedure SetAIName(p: integer; Name: string);
     47procedure SetAIName(P: Integer; Name: string);
    4848begin
    49   MainScreen.SetAIName(p, Name);
     49  MainScreen.SetAIName(P, Name);
    5050end;
    5151
    5252initialization
    5353
    54 FormsCreated := false;
     54FormsCreated := False;
    5555
    5656end.
Note: See TracChangeset for help on using the changeset viewer.