[go: up one dir, main page]

Menu

[r9]: / src / rfrl.lpr  Maximize  Restore  History

Download this file

108 lines (100 with data), 2.8 kB

{   This file is a part of Rising Force Roguelike, the roguelike game.
    Copyright (C) 2010 Konovod Andrey (kipar@front.ru).

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see http://www.gnu.org/licenses/
}
program rfrl;

{$mode objfpc}{$H+}

uses {$IFDEF UNIX} {$IFDEF UseCThreads}
  cthreads, {$ENDIF} {$ENDIF}
  Interfaces, // this includes the LCL widgetset
  Forms,
  uMain,
  uClass,
  uRender,
  uInv,
  uChara,
  uChoice,
  uMoney,
  uCreate,
  uSelectChar,
  uLevel,
  uData,
  uSkills,
  uOneSkill,
  uText,
  uInfo,
  uMapGen,
  uProgress,
  uLearn,
  uLOS,
  uLearnPT,
  uSymGraph,
  uSpecEffects,
  uCraft,
  uCraftComponent,
  uSplit,
  uTactics,
  uOneStrike,
  uLogger,
  uOptions,
  uGenerators,
  uTextAnswer,
  uRWFile,
  uJournal,
  ufrQuest,
  uMapList,
  uGlobalMap,
  uAI,
  uQuests,
  uTerritories,
  uTerrains,
  uNPCs,
  uCells,
  uBuffs,
  uPotions,
  uRecipes,
  uMiscItems,
  uEnchants,
  uFOV,
  uParty,
  uOneMember,
  uAStar,
  uGlobalConfig,
  uGrammar,
  uMyFrames,
  uMyReal;

{$IFDEF WINDOWS}{ $R rfrl.rc}{$ENDIF}

begin
  //  SetHeapTraceOutput('heap.txt');
  Application.Title := 'RFRL';
  Application.Initialize;
  Application.CreateForm(TfmMain, fmMain);
  Application.OnException := @fmMain.MyException;
  Application.CreateForm(TfmChara, fmChara);
  Application.CreateForm(TfmChoice, fmChoice);
  Application.CreateForm(TfmCreate, fmCreate);
  Application.CreateForm(TfmSelectChar, fmSelectChar);
  Application.CreateForm(TfmSkills, fmSkills);
  Application.CreateForm(TfmText, fmText);
  Application.CreateForm(TfmInfo, fmInfo);
  Application.CreateForm(TfmProgress, fmProgress);
  Application.CreateForm(TfmLearn, fmLearn);
  Application.CreateForm(TfmLearnPT, fmLearnPT);
  Application.CreateForm(TfmCraft, fmCraft);
  Application.CreateForm(TfmSplit, fmSplit);
  Application.CreateForm(TfmTactics, fmTactics);
  Application.CreateForm(TfmOptions, fmOptions);
  Application.CreateForm(TfmJournal, fmJournal);
  Application.CreateForm(TfmGlobalMap, fmGlobalMap);
  Application.CreateForm(TfmParty, fmParty);
  Application.Run;
end.