Changeset 423 for trunk/Network/UNetworkClient.pas
- Timestamp:
- Apr 25, 2022, 6:01:01 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Network/UNetworkClient.pas
r382 r423 1 1 unit UNetworkClient; 2 3 {$mode delphi}4 2 5 3 interface 6 4 7 5 uses 8 Classes, SysUtils{$IFDEF LINUX}, fpAsync, fpsock{$ENDIF}, Protocol;6 Classes, SysUtils{$IFDEF UNIX}, fpAsync, fpsock{$ENDIF}, Protocol; 9 7 10 {$IFDEF LINUX}8 {$IFDEF UNIX} 11 9 type 12 10 { TTCPClientThread } … … 48 46 49 47 uses 50 LocalPlayer{$IFDEF LINUX}, Global, UNetworkCommon{$ENDIF};48 LocalPlayer{$IFDEF UNIX}, Global, UNetworkCommon{$ENDIF}; 51 49 52 50 procedure Client(Command, Player: Integer; var Data); 53 {$IFDEF LINUX}51 {$IFDEF UNIX} 54 52 var 55 53 Cmd: TCommand; 56 54 {$ENDIF} 57 55 begin 58 {$IFDEF LINUX}56 {$IFDEF UNIX} 59 57 Cmd := TCommand(Command); 60 58 case Cmd of … … 73 71 end; 74 72 75 {$IFDEF LINUX}73 {$IFDEF UNIX} 76 74 function LocalServer(Command, Player, Subject: Integer; var Data): Integer; stdcall; 77 75 begin
Note:
See TracChangeset
for help on using the changeset viewer.