-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
castle.dpr
35 lines (28 loc) · 1.15 KB
/
castle.dpr
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{ AUTO-GENERATED PROGRAM FILE.
This file is used to build and run the application on desktop (standalone) platforms,
from various tools:
- Castle Game Engine command-line build tool
- Castle Game Engine editor
- Lazarus IDE
- Delphi IDE
You should not modify this file manually.
Regenerate it using CGE editor "Code -> Regenerate Program" menu item
or the command-line: "castle-engine generate-program".
Along with this file, we also generate CastleAutoGenerated unit. }
{ Do not specify program name below.
It is not used anyway, and this way allows developer
to change standalone_source in CastleEngineManifest.xml easier. }
// program castle_standalone;
{$ifdef MSWINDOWS} {$apptype GUI} {$endif}
{ This adds icons and version info for Windows,
automatically created by "castle-engine compile". }
{$ifdef CASTLE_AUTO_GENERATED_RESOURCES} {$R castle-auto-generated-resources.res} {$endif}
uses
{$if defined(FPC) and (not defined(CASTLE_DISABLE_THREADS))}
{$info Thread support enabled.}
{$ifdef UNIX} CThreads, {$endif}
{$endif}
CastleAutoGenerated, CastleWindow, GameInitialize;
begin
Application.MainWindow.OpenAndRun;
end.