⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 localhuman.pas

📁 类似文明的游戏源代码。
💻 PAS
字号:
{$INCLUDE switches}

unit LocalHuman;

interface

procedure Client(Command,Player:integer;var Data); stdcall;

implementation

uses
Term,CityScreen,Draft,MessgEx,Select,CityType,Help,UnitStat,log,Diagram,
NatStat,Enhance,

Forms;

var
FormsCreated: boolean;

procedure Client;
begin
if not FormsCreated then
  begin
  FormsCreated:=true;
  Application.CreateForm(TMainScreen, MainScreen);
  Application.CreateForm(TCityDlg, CityDlg);
  Application.CreateForm(TSelectDlg, SelectDlg);
  Application.CreateForm(TCityListDlg, CityListDlg);
  Application.CreateForm(TMessgExDlg, MessgExDlg);
  Application.CreateForm(TDraftDlg, DraftDlg);
  Application.CreateForm(TCityTypeDlg, CityTypeDlg);
  Application.CreateForm(THelpDlg, HelpDlg);
  Application.CreateForm(TUnitStatDlg, UnitStatDlg);
  Application.CreateForm(TDiaDlg, DiaDlg);
  Application.CreateForm(TNatStatDlg, NatStatDlg);
  Application.CreateForm(TEnhanceDlg, EnhanceDlg);
  end;
MainScreen.Client(Command,Player,Data);
end;

initialization
FormsCreated:=false;

end.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -