program fpPS4;

{$mode objfpc}{$H+}

uses
  {$IFDEF UNIX}
  cthreads,
  {$ENDIF}
  Interfaces, // this includes the LCL widgetset
  Forms,
  main,
  game_edit,
  cfg_edit,
  game_find,
  sys_crt_gui,
  md_systm_fork,
  md_systm_reserve;

{$R *.res}

begin
  md_systm_fork.md_run_forked;
  Application.Tag:=md_systm_reserve.md_map_reserve().error;
  //
  RequireDerivedFormResource:=True;
  Application.Scaled:=True;
  Application.Initialize;
  Application.CreateForm(TfrmMain, frmMain);
  Application.CreateForm(TFrmFind, FrmFind);
  //Application.CreateForm(TfrmCfgEditor, frmCfgEditor);
  //Application.CreateForm(TfrmGameEditor, frmGameEditor);
  Application.Run;
end.

