Skip to content

Commit

Permalink
FPC Compilation patch Kromster80#1
Browse files Browse the repository at this point in the history
- Upgrade BGRABitmap to 9.6.1
- Rewrite KaM_Remake.lpi
- Add bugfix flag to KaM_Remake.inc
- Add bugfix by flag to OBJLoader.pas
- Add bugfix to KM_CommonUtils.pas
- Add KM_FormLogistics.lfm
- Remove WDC flag check from SwapInt(NativeUInt) KromUtils.pas
  • Loading branch information
LauraRozier committed Mar 29, 2018
1 parent 1dc46c8 commit c8d688e
Show file tree
Hide file tree
Showing 141 changed files with 86,067 additions and 9,166 deletions.
5 changes: 5 additions & 0 deletions KaM_Remake.inc
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
//Set FPC to work in Delphi mode
{$MODE Delphi}

{$IF FPC_FULLVERSION >= 20701}
{$DEFINE USE_FORMATSETTINGS}
{$ENDIF}

//Currently FPC does not define UNICODE define because in Delphi it means more than just a
//default string type but a full RTL implementation : using Windows 'W' functions instead of 'A',
//another class declarations(TStringStream for example).
Expand All @@ -32,6 +36,7 @@
{$IFDEF WDC}
//Project can be compiled without madExcept features (if you dont have madExcept installed)
{$DEFINE USE_MAD_EXCEPT}
{$DEFINE USE_FORMATSETTINGS}
{$ENDIF}

//Use secure authentication unit (KM_NetAuthSecure)
Expand Down
Loading

0 comments on commit c8d688e

Please sign in to comment.