| 1 |
{ |
| 2 |
Copyright 2013-2018 Jan Adamec, 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 iOS. } |
| 18 |
library ${NAME_PASCAL}; |
| 19 |
|
| 20 |
uses |
| 21 |
{$ifndef CASTLE_DISABLE_THREADS} |
| 22 |
{$info Thread support enabled.} |
| 23 |
{$ifdef UNIX} CThreads, {$endif} |
| 24 |
{$endif} |
| 25 |
Math, |
| 26 |
CastleAutoGenerated, CastleWindow, CastleMessaging, ${GAME_UNITS}; |
| 27 |
|
| 28 |
{ Qualify identifiers by unit names below, |
| 29 |
to prevent GAME_UNITS from changing the meaning of code below. } |
| 30 |
|
| 31 |
exports |
| 32 |
CastleWindow.CGEApp_Initialize, |
| 33 |
CastleWindow.CGEApp_Finalize, |
| 34 |
CastleWindow.CGEApp_Open, |
| 35 |
CastleWindow.CGEApp_Close, |
| 36 |
CastleWindow.CGEApp_Render, |
| 37 |
CastleWindow.CGEApp_Resize, |
| 38 |
CastleWindow.CGEApp_SetLibraryCallbackProc, |
| 39 |
CastleWindow.CGEApp_Update, |
| 40 |
CastleWindow.CGEApp_MouseDown, |
| 41 |
CastleWindow.CGEApp_Motion, |
| 42 |
CastleWindow.CGEApp_MouseUp, |
| 43 |
CastleWindow.CGEApp_KeyDown, |
| 44 |
CastleWindow.CGEApp_KeyUp, |
| 45 |
CastleWindow.CGEApp_HandleOpenUrl, |
| 46 |
CastleMessaging.CGEApp_SetReceiveMessageFromPascalCallback, |
| 47 |
CastleMessaging.CGEApp_SendMessageToPascal; |
| 48 |
|
| 49 |
begin |
| 50 |
Math.SetExceptionMask([exInvalidOp, exDenormalized, exZeroDivide, |
| 51 |
exOverflow, exUnderflow, exPrecision]); |
| 52 |
end. |