| 1 |
{ |
| 2 |
Copyright 2013-2018 Michalis Kamburelis. |
| 3 |
|
| 4 |
This file is part of "Castle Game Engine". |
| 5 |
|
| 6 |
"Castle Game Engine" is free software; see the file COPYING.txt, |
| 7 |
included in the "Castle Game Engine" distribution, |
| 8 |
for details about the copyright. |
| 9 |
|
| 10 |
"Castle Game Engine" is distributed in the hope that it will be useful, |
| 11 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| 13 |
|
| 14 |
---------------------------------------------------------------------------- |
| 15 |
} |
| 16 |
|
| 17 |
{ Library to run the game on Android. } |
| 18 |
|
| 19 |
library ${NAME_PASCAL}; |
| 20 |
|
| 21 |
uses |
| 22 |
{ CastleAndroidNativeAppGlue must be the 1st unit on uses clause, |
| 23 |
as it uses CThreads that must be loaded before any memory allocation happens. } |
| 24 |
CastleAndroidNativeAppGlue, |
| 25 |
{ CastleAutoGenerated must be used before GAME_UNITS, so that it can do InitializeLog |
| 26 |
before any user unit "initialization" runs. } |
| 27 |
CastleAutoGenerated, |
| 28 |
CastleMessaging, CastleSystemLanguage, |
| 29 |
${GAME_UNITS}; |
| 30 |
|
| 31 |
{ Qualify identifiers by unit names below, |
| 32 |
to prevent GAME_UNITS from changing the meaning of code below. } |
| 33 |
|
| 34 |
exports |
| 35 |
CastleMessaging.Java_io_castleengine_MainActivity_jniMessage, |
| 36 |
CastleSystemLanguage.Java_io_castleengine_MainActivity_jniLanguage, |
| 37 |
CastleAndroidNativeAppGlue.ANativeActivity_onCreate; |
| 38 |
end. |