Changeset 364 for trunk/Direct.pas


Ignore:
Timestamp:
Apr 12, 2021, 11:55:20 PM (4 years ago)
Author:
chronos
Message:
  • Added: Partial network game play implementation.
  • Modified: Code cleanup.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Direct.pas

    r354 r364  
    4343
    4444uses
    45   ScreenTools, Protocol, Start, LocalPlayer, NoTerm, Back, Global;
     45  ScreenTools, Protocol, Start, LocalPlayer, NoTerm, Back, Global, UNetworkServer,
     46  UNetworkClient;
    4647
    4748{$R *.lfm}
     
    185186  BrainTerm.Client := LocalPlayer.Client;
    186187  BrainTerm.Name := Phrases.Lookup('HUMAN');
     188  BrainNetworkServer.Client := UNetworkServer.Client;
     189  BrainNetworkServer.Name := Phrases.Lookup('NETWORK_SERVER');
     190  BrainNetworkClient.Client := UNetworkClient.Client;
     191  BrainNetworkClient.Name := Phrases.Lookup('NETWORK_CLIENT');
    187192  BrainRandom.Name := Phrases.Lookup('RANDOMAI');
    188193  Canvas.Font.Assign(UniFont[ftNormal]);
Note: See TracChangeset for help on using the changeset viewer.