-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update autogenerated project files, to have fast GPU
- Loading branch information
1 parent
329c214
commit ade55e2
Showing
8 changed files
with
394 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ 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 "Code -> Regenerate Project" menu item | ||
(or command-line: "castle-engine generate-program"). | ||
Note: This file has UTF-8 BOM, which makes sure that string literals | ||
are interpreted as UTF-8. This is important, as CGE build tool will | ||
place here caption encoded in UTF-8. | ||
Without the BOM, right now both FPC and Delphi | ||
would interpret the file as having ANSI encoding on Windows (see | ||
https://blogs.embarcadero.com/the-delphi-compiler-and-utf-8-encoded-source-code-files-with-no-bom/ , | ||
https://wiki.freepascal.org/FPC_Unicode_support#Source_file_codepage ) } | ||
unit CastleAutoGenerated; | ||
|
||
interface | ||
|
||
implementation | ||
|
||
uses CastleApplicationProperties, CastleWindow, CastleLog; | ||
|
||
initialization | ||
ApplicationProperties.ApplicationName := 'not-quake-server'; | ||
ApplicationProperties.Caption := 'not-quake-server'; | ||
ApplicationProperties.Version := '0.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. |
Oops, something went wrong.