-
Notifications
You must be signed in to change notification settings - Fork 3
/
castleautogenerated.pas
34 lines (25 loc) · 1.14 KB
/
castleautogenerated.pas
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
{ Auto-generated unit with information about the project.
The information set here reflects the CastleEngineManifest.xml properties.
You should not modify this file manually.
Regenerate it using CGE editor "Regenerate Program" menu item
(or command-line: "castle-engine generate-program").
Along with this file, we also generate lpi and lpr files of the project. }
unit CastleAutoGenerated;
interface
implementation
uses CastleApplicationProperties, CastleWindow, CastleLog;
initialization
ApplicationProperties.ApplicationName := 'wyrd-forest';
ApplicationProperties.Caption := 'wyrd-forest';
ApplicationProperties.Version := '1.1';
if not IsLibrary then
Application.ParseStandardParameters;
{ Start logging.
Should be done after setting ApplicationProperties.ApplicationName/Version,
since they are recorded in the first automatic log messages.
Should be done after basic command-line parameters are parsed
for standalone programs (when "not IsLibrary").
This allows to handle --version and --help command-line parameters
without any extra output on Unix, and to set --log-file . }
InitializeLog;
end.