RXXPacker project doesn't compile
Danjb1 opened this issue · 6 comments
Following the instructions here:
https://github.com/reyandme/kam_remake/wiki/ProjectCompilation
I get a whole bunch of compile errors when trying to compile and run RXXPacker:
Checking project dependencies...
Compiling RXXPacker.dproj (Debug, Win32)
dcc32 command line for "RXXPacker.dpr"
d:\program files (x86)\embarcadero\studio\20.0\bin\dcc32.exe -$W+ -$YD --no-config -M -Q -TX.exe -AGenerics.Collections=System.Generics.Collections;
Generics.Defaults=System.Generics.Defaults;WinTypes=Winapi.Windows;WinProcs=Winapi.Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE -DDEBUG -I..\..;
..\..\src\ext;"..\..\src\ext\Overbyte ICS 8";..\..\src\ext\pascalscript\Source;..\..\src;..\..\src\ai;..\..\src\gui;..\..\src\gui\pages_game;
..\..\src\gui\pages_maped;..\..\src\gui\pages_menu;..\..\src\hands;..\..\src\houses;..\..\src\net;..\..\src\render;..\..\src\res;..\..\src\terrain;
..\..\src\units;..\..\src\units\actions;..\..\src\units\tasks;..\..\src\common;..\..\src\missionscript;..\..\src\utils;..\..\src\game;
..\..\src\navmesh;..\..\src\pathfinding;..\..\src\gui\pages_maped\menu;..\..\src\gui\pages_maped\town;..\..\src\gui\pages_maped\player;
..\..\src\gui\pages_maped\mission;..\..\src\gui\pages_maped\terrain;..\..\src\net\other;..\..\src\net\http;"d:\program files
(x86)\embarcadero\studio\20.0\lib\Win32\release";D:\Danjb\Documents\Embarcadero\Studio\20.0\Imports;"d:\program files
(x86)\embarcadero\studio\20.0\Imports";C:\Users\Public\Documents\Embarcadero\Studio\20.0\Dcp;"d:\program files (x86)\embarcadero\studio\20.0\include"
-LEC:\Users\Public\Documents\Embarcadero\Studio\20.0\Bpl -LNC:\Users\Public\Documents\Embarcadero\Studio\20.0\Dcp -NU..\..\dcu -NSWinapi;System.Win;
Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell;System;Xml;Data;Datasnap;Web;Soap; -O..\..;
..\..\src\ext;"..\..\src\ext\Overbyte ICS 8";..\..\src\ext\pascalscript\Source;..\..\src;..\..\src\ai;..\..\src\gui;..\..\src\gui\pages_game;
..\..\src\gui\pages_maped;..\..\src\gui\pages_menu;..\..\src\hands;..\..\src\houses;..\..\src\net;..\..\src\render;..\..\src\res;..\..\src\terrain;
..\..\src\units;..\..\src\units\actions;..\..\src\units\tasks;..\..\src\common;..\..\src\missionscript;..\..\src\utils;..\..\src\game;
..\..\src\navmesh;..\..\src\pathfinding;..\..\src\gui\pages_maped\menu;..\..\src\gui\pages_maped\town;..\..\src\gui\pages_maped\player;
..\..\src\gui\pages_maped\mission;..\..\src\gui\pages_maped\terrain;..\..\src\net\other;..\..\src\net\http;"d:\program files
(x86)\embarcadero\studio\20.0\lib\Win32\release";D:\Danjb\Documents\Embarcadero\Studio\20.0\Imports;"d:\program files
(x86)\embarcadero\studio\20.0\Imports";C:\Users\Public\Documents\Embarcadero\Studio\20.0\Dcp;"d:\program files (x86)\embarcadero\studio\20.0\include"
-R..\..;..\..\src\ext;"..\..\src\ext\Overbyte ICS 8";..\..\src\ext\pascalscript\Source;..\..\src;..\..\src\ai;..\..\src\gui;..\..\src\gui\pages_game;
..\..\src\gui\pages_maped;..\..\src\gui\pages_menu;..\..\src\hands;..\..\src\houses;..\..\src\net;..\..\src\render;..\..\src\res;..\..\src\terrain;
..\..\src\units;..\..\src\units\actions;..\..\src\units\tasks;..\..\src\common;..\..\src\missionscript;..\..\src\utils;..\..\src\game;
..\..\src\navmesh;..\..\src\pathfinding;..\..\src\gui\pages_maped\menu;..\..\src\gui\pages_maped\town;..\..\src\gui\pages_maped\player;
..\..\src\gui\pages_maped\mission;..\..\src\gui\pages_maped\terrain;..\..\src\net\other;..\..\src\net\http;"d:\program files
(x86)\embarcadero\studio\20.0\lib\Win32\release";D:\Danjb\Documents\Embarcadero\Studio\20.0\Imports;"d:\program files
(x86)\embarcadero\studio\20.0\Imports";C:\Users\Public\Documents\Embarcadero\Studio\20.0\Dcp;"d:\program files (x86)\embarcadero\studio\20.0\include"
-U..\..;..\..\src\ext;"..\..\src\ext\Overbyte ICS 8";..\..\src\ext\pascalscript\Source;..\..\src;..\..\src\ai;..\..\src\gui;..\..\src\gui\pages_game;
..\..\src\gui\pages_maped;..\..\src\gui\pages_menu;..\..\src\hands;..\..\src\houses;..\..\src\net;..\..\src\render;..\..\src\res;..\..\src\terrain;
..\..\src\units;..\..\src\units\actions;..\..\src\units\tasks;..\..\src\common;..\..\src\missionscript;..\..\src\utils;..\..\src\game;
..\..\src\navmesh;..\..\src\pathfinding;..\..\src\gui\pages_maped\menu;..\..\src\gui\pages_maped\town;..\..\src\gui\pages_maped\player;
..\..\src\gui\pages_maped\mission;..\..\src\gui\pages_maped\terrain;..\..\src\net\other;..\..\src\net\http;"d:\program files
(x86)\embarcadero\studio\20.0\lib\Win32\release";D:\Danjb\Documents\Embarcadero\Studio\20.0\Imports;"d:\program files
(x86)\embarcadero\studio\20.0\Imports";C:\Users\Public\Documents\Embarcadero\Studio\20.0\Dcp;"d:\program files (x86)\embarcadero\studio\20.0\include"
-V -VN -K00400000 -NBC:\Users\Public\Documents\Embarcadero\Studio\20.0\Dcp -NHC:\Users\Public\Documents\Embarcadero\Studio\20.0\hpp\Win32
-NO..\..\dcu RXXPacker.dpr
[dcc32 Error] KM_CommonUtils.pas(426): E2267 Previous declaration of 'MapSizeText' was not marked with the 'overload' directive
[dcc32 Error] KM_CommonUtils.pas(945): E2254 Overloaded procedure 'KaMRandomWSeed' must be marked with the 'overload' directive
[dcc32 Error] KM_CommonUtils.pas(962): E2267 Previous declaration of 'KaMRandom' was not marked with the 'overload' directive
[dcc32 Error] KM_CommonUtils.pas(981): E2267 Previous declaration of 'KaMRandomS' was not marked with the 'overload' directive
[dcc32 Error] KM_CommonUtils.pas(1038): E2035 Not enough actual parameters
[dcc32 Error] KM_CommonUtils.pas(1042): E2267 Previous declaration of 'GetAllPathsInDir' was not marked with the 'overload' directive
[dcc32 Error] KM_CommonUtils.pas(1064): E2254 Overloaded procedure 'GetAllPathsInDir' must be marked with the 'overload' directive
[dcc32 Error] KM_CommonUtils.pas(1157): E2267 Previous declaration of 'StrSubstring' was not marked with the 'overload' directive
[dcc32 Error] KM_CommonUtils.pas(1293): E2267 Previous declaration of 'DeleteFromArray' was not marked with the 'overload' directive
[dcc32 Error] KM_CommonUtils.pas(1362): E2267 Previous declaration of 'TryExecuteMethodProc' was not marked with the 'overload' directive
[dcc32 Error] KM_CommonUtils.pas(1392): E2029 ';' expected but '.' found
[dcc32 Error] KM_CommonUtils.pas(1394): E2029 Declaration expected but end of file found
[dcc32 Error] KM_CommonUtils.pas(19): E2065 Unsatisfied forward or external declaration: 'KMGetCursorDirection'
[dcc32 Error] KM_CommonUtils.pas(21): E2065 Unsatisfied forward or external declaration: 'GetPositionInGroup2'
[dcc32 Error] KM_CommonUtils.pas(22): E2065 Unsatisfied forward or external declaration: 'GetPositionFromIndex'
[dcc32 Error] KM_CommonUtils.pas(24): E2065 Unsatisfied forward or external declaration: 'FixDelim'
[dcc32 Error] KM_CommonUtils.pas(26): E2065 Unsatisfied forward or external declaration: 'RGB2BGR'
[dcc32 Error] KM_CommonUtils.pas(27): E2065 Unsatisfied forward or external declaration: 'BGR2RGB'
[dcc32 Error] KM_CommonUtils.pas(28): E2065 Unsatisfied forward or external declaration: 'ApplyColorCoef'
[dcc32 Error] KM_CommonUtils.pas(29): E2065 Unsatisfied forward or external declaration: 'GetGreyColor'
[dcc32 Error] KM_CommonUtils.pas(30): E2065 Unsatisfied forward or external declaration: 'ConvertRGB2HSB'
[dcc32 Error] KM_CommonUtils.pas(31): E2065 Unsatisfied forward or external declaration: 'ConvertHSB2RGB'
[dcc32 Error] KM_CommonUtils.pas(32): E2065 Unsatisfied forward or external declaration: 'EnsureBrightness'
[dcc32 Error] KM_CommonUtils.pas(33): E2065 Unsatisfied forward or external declaration: 'MultiplyBrightnessByFactor'
[dcc32 Error] KM_CommonUtils.pas(34): E2065 Unsatisfied forward or external declaration: 'ReduceBrightness'
[dcc32 Error] KM_CommonUtils.pas(35): E2065 Unsatisfied forward or external declaration: 'GetColorDistance'
[dcc32 Error] KM_CommonUtils.pas(36): E2065 Unsatisfied forward or external declaration: 'GetPingColor'
[dcc32 Error] KM_CommonUtils.pas(37): E2065 Unsatisfied forward or external declaration: 'GetFPSColor'
[dcc32 Error] KM_CommonUtils.pas(38): E2065 Unsatisfied forward or external declaration: 'FlagColorToTextColor'
[dcc32 Error] KM_CommonUtils.pas(39): E2065 Unsatisfied forward or external declaration: 'TimeToString'
[dcc32 Error] KM_CommonUtils.pas(40): E2065 Unsatisfied forward or external declaration: 'WrapColor'
[dcc32 Error] KM_CommonUtils.pas(41): E2065 Unsatisfied forward or external declaration: 'WrapColorA'
[dcc32 Error] KM_CommonUtils.pas(42): E2065 Unsatisfied forward or external declaration: 'StripColor'
[dcc32 Error] KM_CommonUtils.pas(43): E2065 Unsatisfied forward or external declaration: 'FindMPColor'
[dcc32 Error] KM_CommonUtils.pas(45): E2065 Unsatisfied forward or external declaration: 'ParseDelimited'
[dcc32 Error] KM_CommonUtils.pas(47): E2065 Unsatisfied forward or external declaration: 'SetKaMSeed'
[dcc32 Error] KM_CommonUtils.pas(48): E2065 Unsatisfied forward or external declaration: 'GetKaMSeed'
[dcc32 Error] KM_CommonUtils.pas(49): E2065 Unsatisfied forward or external declaration: 'KaMRandomWSeed'
[dcc32 Error] KM_CommonUtils.pas(50): E2065 Unsatisfied forward or external declaration: 'KaMRandomWSeed'
[dcc32 Error] KM_CommonUtils.pas(51): E2065 Unsatisfied forward or external declaration: 'KaMRandom'
[dcc32 Error] KM_CommonUtils.pas(52): E2065 Unsatisfied forward or external declaration: 'KaMRandom'
[dcc32 Error] KM_CommonUtils.pas(53): E2065 Unsatisfied forward or external declaration: 'KaMRandomS'
[dcc32 Error] KM_CommonUtils.pas(54): E2065 Unsatisfied forward or external declaration: 'KaMRandomS'
[dcc32 Error] KM_CommonUtils.pas(61): E2065 Unsatisfied forward or external declaration: 'MapSizeIndex'
[dcc32 Error] KM_CommonUtils.pas(62): E2065 Unsatisfied forward or external declaration: 'MapSizeText'
[dcc32 Error] KM_CommonUtils.pas(63): E2065 Unsatisfied forward or external declaration: 'MapSizeText'
[dcc32 Error] KM_CommonUtils.pas(88): E2065 Unsatisfied forward or external declaration: 'GetFileDirName'
[dcc32 Error] KM_CommonUtils.pas(90): E2065 Unsatisfied forward or external declaration: 'GetNoColorMarkupText'
[dcc32 Error] KM_CommonUtils.pas(92): E2065 Unsatisfied forward or external declaration: 'GetAllPathsInDir'
[dcc32 Error] KM_CommonUtils.pas(93): E2065 Unsatisfied forward or external declaration: 'GetAllPathsInDir'
[dcc32 Error] KM_CommonUtils.pas(94): E2065 Unsatisfied forward or external declaration: 'GetAllPathsInDir'
[dcc32 Error] KM_CommonUtils.pas(96): E2065 Unsatisfied forward or external declaration: 'DeleteDoubleSpaces'
[dcc32 Error] KM_CommonUtils.pas(98): E2065 Unsatisfied forward or external declaration: 'CountOccurrences'
[dcc32 Error] KM_CommonUtils.pas(99): E2065 Unsatisfied forward or external declaration: 'IntToBool'
[dcc32 Error] KM_CommonUtils.pas(102): E2065 Unsatisfied forward or external declaration: 'StrIndexOf'
[dcc32 Error] KM_CommonUtils.pas(103): E2065 Unsatisfied forward or external declaration: 'StrLastIndexOf'
[dcc32 Error] KM_CommonUtils.pas(104): E2065 Unsatisfied forward or external declaration: 'StrSubstring'
[dcc32 Error] KM_CommonUtils.pas(105): E2065 Unsatisfied forward or external declaration: 'StrSubstring'
[dcc32 Error] KM_CommonUtils.pas(106): E2065 Unsatisfied forward or external declaration: 'StrContains'
[dcc32 Error] KM_CommonUtils.pas(107): E2065 Unsatisfied forward or external declaration: 'StrTrimRight'
[dcc32 Error] KM_CommonUtils.pas(108): E2065 Unsatisfied forward or external declaration: 'StrTrimChar'
[dcc32 Error] KM_CommonUtils.pas(109): E2065 Unsatisfied forward or external declaration: 'StringSplit'
[dcc32 Error] KM_CommonUtils.pas(113): E2065 Unsatisfied forward or external declaration: 'StrSplitA'
[dcc32 Error] KM_CommonUtils.pas(115): E2065 Unsatisfied forward or external declaration: 'DeleteFromArray'
[dcc32 Error] KM_CommonUtils.pas(116): E2065 Unsatisfied forward or external declaration: 'DeleteFromArray'
[dcc32 Error] KM_CommonUtils.pas(122): E2065 Unsatisfied forward or external declaration: 'TryExecuteMethod'
[dcc32 Error] KM_CommonUtils.pas(125): E2065 Unsatisfied forward or external declaration: 'TryExecuteMethodProc'
[dcc32 Error] KM_CommonUtils.pas(128): E2065 Unsatisfied forward or external declaration: 'TryExecuteMethodProc'
[dcc32 Fatal Error] KM_Points.pas(212): F2063 Could not compile used unit 'KM_CommonUtils.pas'
Failed
Elapsed time: 00:00:00.6
I am using Delphi 10.3 Community Edition (32-bit).
Trying to compile on Lazarus v2.0.0 (32-bit) gives different errors:
Hint: (11030) Start of reading config file D:\lazarus\fpc\3.0.4\bin\i386-win32\fpc.cfg
Hint: (11031) End of reading config file D:\lazarus\fpc\3.0.4\bin\i386-win32\fpc.cfg
Free Pascal Compiler version 3.0.4 [2019/02/03] for i386
Copyright (c) 1993-2017 by Florian Klaempfl and others
(1002) Target OS: Win32 for i386
(3104) Compiling RXXPacker.dpr
(3104) Compiling RXXPackerForm.pas
(3104) Compiling RXXPackerProc.pas
(3104) Compiling ..\..\src\utils\KM_Pics.pas
(3104) Compiling ..\..\src\res\KM_ResPalettes.pas
(3104) Compiling ..\..\src\common\KM_CommonClasses.pas
(3104) Compiling ..\..\src\common\KM_Points.pas
(3104) Compiling ..\..\src\utils\KM_CommonUtils.pas
(3104) Compiling ..\..\src\common\KM_Defaults.pas
(3104) Compiling ..\..\src\common\KM_CommonTypes.pas
(3104) Compiling D:\Danjb\Stuff\kam_remake\src\KM_Log.pas
D:\Danjb\Stuff\kam_remake\src\KM_Log.pas(123,40) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "RawByteString"
D:\Danjb\Stuff\kam_remake\src\KM_Log.pas(125,43) Warning: (4104) Implicit string type conversion from "RawByteString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\src\KM_Log.pas(128,41) Warning: (4104) Implicit string type conversion from "RawByteString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\src\KM_Log.pas(381,29) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\src\KM_Log.pas(389,29) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\src\KM_Log.pas(397,29) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\src\KM_Log.pas(419,48) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\src\KM_Log.pas(428,66) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(341,19) Hint: (5057) Local variable "st" does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(378,44) Hint: (5057) Local variable "TZInfo" does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(422,22) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(428,22) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(529,34) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(529,13) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(803,55) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(810,54) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(870,16) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(903,81) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(910,141) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(1001,24) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(1002,51) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(1023,42) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(1046,56) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "RawByteString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(1052,60) Warning: (4104) Implicit string type conversion from "RawByteString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(1052,65) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(1056,67) Warning: (4104) Implicit string type conversion from "RawByteString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(1068,56) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "RawByteString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(1074,60) Warning: (4104) Implicit string type conversion from "RawByteString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(1074,65) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(1078,67) Warning: (4104) Implicit string type conversion from "RawByteString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(1318,22) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(1324,18) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(1349,22) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(1355,18) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(1380,22) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(1386,18) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(132,13) Hint: (5023) Unit "Types" not used in KM_CommonUtils
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_Points.pas(635,45) Hint: (4079) Converting the operands to "Int64" before doing the add could prevent overflow errors.
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_CommonClasses.pas(226,24) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_CommonClasses.pas(246,9) Hint: (5057) Local variable "I" does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_CommonClasses.pas(264,9) Hint: (5057) Local variable "I" does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_CommonClasses.pas(282,9) Hint: (5057) Local variable "I" does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_CommonClasses.pas(319,9) Hint: (5057) Local variable "I" does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_CommonClasses.pas(393,9) Hint: (5057) Local variable "I" does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_CommonClasses.pas(407,37) Hint: (5058) Variable "Value" does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_CommonClasses.pas(410,37) Hint: (5058) Variable "Value" does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_CommonClasses.pas(413,37) Hint: (5058) Variable "Value" does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_CommonClasses.pas(416,37) Hint: (5058) Variable "Value" does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_CommonClasses.pas(419,37) Hint: (5058) Variable "Value" does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_CommonClasses.pas(422,37) Hint: (5058) Variable "Value" does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_CommonClasses.pas(425,37) Hint: (5058) Variable "Value" does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_CommonClasses.pas(428,37) Hint: (5058) Variable "Value" does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_CommonClasses.pas(431,37) Hint: (5058) Variable "Value" does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_CommonClasses.pas(434,37) Hint: (5058) Variable "Value" does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_CommonClasses.pas(437,37) Hint: (5058) Variable "Value" does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_CommonClasses.pas(440,37) Hint: (5058) Variable "Value" does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_CommonClasses.pas(443,37) Hint: (5058) Variable "Value" does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_CommonClasses.pas(446,37) Hint: (5058) Variable "Value" does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_CommonClasses.pas(449,37) Hint: (5058) Variable "Value" does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_CommonClasses.pas(452,37) Hint: (5058) Variable "Value" does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_CommonClasses.pas(797,21) Hint: (4035) Mixing signed expressions and longwords gives a 64bit result
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_CommonClasses.pas(799,16) Hint: (4035) Mixing signed expressions and longwords gives a 64bit result
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_CommonClasses.pas(971,46) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_CommonClasses.pas(987,22) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\res\KM_ResPalettes.pas(106,29) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\res\KM_ResPalettes.pas(159,57) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\res\KM_ResPalettes.pas(167,49) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\res\KM_ResPalettes.pas(173,21) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
(3104) Compiling D:\Danjb\Stuff\kam_remake\src\res\KM_ResHouses.pas
(3104) Compiling D:\Danjb\Stuff\kam_remake\src\res\KM_ResWares.pas
(3104) Compiling D:\Danjb\Stuff\kam_remake\src\res\KM_ResTexts.pas
(3104) Compiling ..\..\src\ext\KromUtils.pas
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\KromUtils.pas(253,25) Hint: (4055) Conversion between ordinals and pointers is not portable
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\KromUtils.pas(253,19) Hint: (4055) Conversion between ordinals and pointers is not portable
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\KromUtils.pas(253,59) Hint: (4055) Conversion between ordinals and pointers is not portable
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\KromUtils.pas(253,53) Hint: (4055) Conversion between ordinals and pointers is not portable
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\KromUtils.pas(52,43) Hint: (5024) Parameter "RunAsFunction" not used
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\KromUtils.pas(489,18) Hint: (4055) Conversion between ordinals and pointers is not portable
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\KromUtils.pas(489,44) Hint: (4079) Converting the operands to "Int64" before doing the add could prevent overflow errors.
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\KromUtils.pas(489,12) Warning: (4056) Conversion between ordinals and pointers is not portable
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\KromUtils.pas(527,20) Hint: (4055) Conversion between ordinals and pointers is not portable
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\KromUtils.pas(527,14) Hint: (4055) Conversion between ordinals and pointers is not portable
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\KromUtils.pas(8,24) Hint: (5023) Unit "UTF8Process" not used in KromUtils
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\KromUtils.pas(8,37) Hint: (5023) Unit "LazHelpHTML" not used in KromUtils
(3104) Compiling ..\..\src\utils\KM_FileIO.pas
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_FileIO.pas(50,30) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_FileIO.pas(52,17) Hint: (5057) Local variable "Head" does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_FileIO.pas(99,32) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_FileIO.pas(100,19) Hint: (5057) Local variable "Head" does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_FileIO.pas(128,23) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_FileIO.pas(128,16) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_FileIO.pas(142,23) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_FileIO.pas(142,16) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_FileIO.pas(153,39) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_FileIO.pas(186,70) Hint: (5091) Local variable "ErrorStr" of a managed type does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_FileIO.pas(187,65) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_FileIO.pas(214,46) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "RawByteString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_FileIO.pas(225,49) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_FileIO.pas(226,73) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_FileIO.pas(227,52) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
(3104) Compiling D:\Danjb\Stuff\kam_remake\src\res\KM_ResLocales.pas
D:\Danjb\Stuff\kam_remake\src\res\KM_ResLocales.pas(103,38) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\src\res\KM_ResLocales.pas(104,55) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\src\res\KM_ResLocales.pas(105,63) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\src\res\KM_ResLocales.pas(106,55) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\src\res\KM_ResLocales.pas(128,42) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\src\res\KM_ResLocales.pas(128,49) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\src\res\KM_ResLocales.pas(131,23) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\src\res\KM_ResLocales.pas(185,47) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\src\res\KM_ResLocales.pas(185,89) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\src\res\KM_ResTexts.pas(107,31) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\src\res\KM_ResTexts.pas(115,55) Warning: (4105) Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\src\res\KM_ResTexts.pas(132,64) Warning: (4105) Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\src\res\KM_ResTexts.pas(144,43) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\src\res\KM_ResTexts.pas(158,47) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\src\res\KM_ResTexts.pas(217,47) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\src\res\KM_ResTexts.pas(227,47) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\src\res\KM_ResTexts.pas(259,53) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\src\res\KM_ResTexts.pas(284,58) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\src\res\KM_ResTexts.pas(284,68) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\src\res\KM_ResWares.pas(287,44) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\src\res\KM_ResWares.pas(287,77) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
(3104) Compiling ..\..\src\navmesh\KM_Outline.pas
(3104) Compiling ..\..\src\navmesh\KM_PolySimplify.pas
(3104) Compiling ..\..\src\ext\PolyTriangulate.pas
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\PolyTriangulate.pas(256,4) Warning: (5014) Label not defined "end1"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\PolyTriangulate.pas(213,21) Hint: (5028) Local label "end1" is not used
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\navmesh\KM_PolySimplify.pas(729,27) Warning: (5089) Local variable "Tmp" of a managed type does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\navmesh\KM_Outline.pas(48,14) Hint: (4035) Mixing signed expressions and longwords gives a 64bit result
(3104) Compiling D:\Danjb\Stuff\kam_remake\src\res\KM_ResUnits.pas
D:\Danjb\Stuff\kam_remake\src\res\KM_ResUnits.pas(364,76) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\src\res\KM_ResUnits.pas(545,25) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\src\res\KM_ResHouses.pas(712,88) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\src\res\KM_ResHouses.pas(858,34) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
(3104) Compiling ..\..\src\res\KM_ResSprites.pas
(3104) Compiling ..\..\src\utils\KM_PNG.pas
(3104) Compiling ..\..\src\ext\BGRABitmap\bgrabitmap.pas
(3104) Compiling ..\..\src\ext\BGRABitmap\bgrawinbitmap.pas
(3104) Compiling ..\..\src\ext\BGRABitmap\bgradefaultbitmap.pas
(3104) Compiling ..\..\src\ext\BGRABitmap\bgrabitmaptypes.pas
(3104) Compiling ..\..\src\ext\BGRABitmap\bgracanvas.pas
(3104) Compiling ..\..\src\ext\BGRABitmap\bgrapen.pas
(3104) Compiling ..\..\src\ext\BGRABitmap\bgrapolygon.pas
(3104) Compiling ..\..\src\ext\BGRABitmap\bgrafillinfo.pas
(3104) Compiling ..\..\src\ext\BGRABitmap\bgrablend.pas
(3104) Compiling ..\..\src\ext\BGRABitmap\bgragradientscanner.pas
(3104) Compiling ..\..\src\ext\BGRABitmap\bgratransform.pas
(3104) Compiling ..\..\src\ext\BGRABitmap\bgraresample.pas
(3104) Compiling ..\..\src\ext\BGRABitmap\bgrapolygonaliased.pas
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgracanvas.pas(649,23) Error: (4001) Incompatible types: got "ArrayOfTPointF" expected "{Dynamic} Array Of TPointF"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgracanvas.pas(650,45) Error: (4025) Incompatible type for arg no. 2: Got "TBGRAPixel", expected "IBGRAScanner"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgrabitmaptypes.pas(297,16) Hint: (5039) Found declaration: FillPoly(const {Open} Array Of TPointF;IBGRAScanner;TDrawMode);
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgrabitmaptypes.pas(296,16) Hint: (5039) Found declaration: FillPoly(const {Open} Array Of TPointF;TBGRAPixel;TDrawMode);
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgracanvas.pas(716,13) Error: (4001) Incompatible types: got "ArrayOfTPointF" expected "{Dynamic} Array Of TPointF"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgracanvas.pas(720,29) Error: (4001) Incompatible types: got "BGRABITMAPTYPES.TPointF" expected "TYPES.TPointF"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgracanvas.pas(726,30) Error: (4025) Incompatible type for arg no. 1: Got "{Dynamic} Array Of TPointF", expected "{Open} Array Of TPointF"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgrapolygon.pas(601,33) Hint: (5039) Found declaration: AddPolygon(const {Open} Array Of TPointF;IBGRAScanner);
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgrapolygon.pas(594,33) Hint: (5039) Found declaration: AddPolygon(const {Open} Array Of TPointF;TBGRAPixel);
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgracanvas.pas(727,48) Error: (4025) Incompatible type for arg no. 2: Got "TBGRAPixel", expected "IBGRAScanner"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgrapolygon.pas(601,33) Hint: (5039) Found declaration: AddPolygon(const {Open} Array Of TPointF;IBGRAScanner);
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgrapolygon.pas(594,33) Hint: (5039) Found declaration: AddPolygon(const {Open} Array Of TPointF;TBGRAPixel);
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgracanvas.pas(733,50) Error: (4025) Incompatible type for arg no. 1: Got "{Dynamic} Array Of TPointF", expected "{Open} Array Of TPointF"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgrabitmaptypes.pas(363,15) Hint: (5039) Found declaration: ComputeWidePolygon(const {Open} Array Of TPointF;Single):{Dynamic} Array Of TPointF;
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgracanvas.pas(735,51) Error: (4025) Incompatible type for arg no. 1: Got "{Dynamic} Array Of TPointF", expected "{Open} Array Of TPointF"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgrabitmaptypes.pas(361,15) Hint: (5039) Found declaration: ComputeWidePolyline(const {Open} Array Of TPointF;Single):{Dynamic} Array Of TPointF;
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgracanvas.pas(736,47) Error: (4025) Incompatible type for arg no. 2: Got "TBGRAPixel", expected "IBGRAScanner"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgrapolygon.pas(601,33) Hint: (5039) Found declaration: AddPolygon(const {Open} Array Of TPointF;IBGRAScanner);
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgrapolygon.pas(594,33) Hint: (5039) Found declaration: AddPolygon(const {Open} Array Of TPointF;TBGRAPixel);
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgracanvas.pas(1196,24) Error: (4001) Incompatible types: got "BGRABITMAPTYPES.TPointF" expected "TYPES.TPointF"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgracanvas.pas(1196,54) Error: (4001) Incompatible types: got "BGRABITMAPTYPES.TPointF" expected "TYPES.TPointF"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgracanvas.pas(1200,43) Error: (3284) Operator is not overloaded: "TPointF" + "TPointF"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgracanvas.pas(1228,31) Error: (4025) Incompatible type for arg no. 1: Got "{Open} Array Of TPointF", expected "{Open} Array Of TPointF"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgrapolygon.pas(601,33) Hint: (5039) Found declaration: AddPolygon(const {Open} Array Of TPointF;IBGRAScanner);
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgrapolygon.pas(594,33) Hint: (5039) Found declaration: AddPolygon(const {Open} Array Of TPointF;TBGRAPixel);
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgracanvas.pas(1230,49) Error: (4025) Incompatible type for arg no. 2: Got "TBGRAPixel", expected "IBGRAScanner"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgrapolygon.pas(601,33) Hint: (5039) Found declaration: AddPolygon(const {Open} Array Of TPointF;IBGRAScanner);
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgrapolygon.pas(594,33) Hint: (5039) Found declaration: AddPolygon(const {Open} Array Of TPointF;TBGRAPixel);
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgracanvas.pas(1236,56) Error: (4025) Incompatible type for arg no. 1: Got "{Open} Array Of TPointF", expected "{Open} Array Of TPointF"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgrabitmaptypes.pas(363,15) Hint: (5039) Found declaration: ComputeWidePolygon(const {Open} Array Of TPointF;Single):{Dynamic} Array Of TPointF;
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgracanvas.pas(1278,16) Error: (4001) Incompatible types: got "BGRABITMAPTYPES.TPointF" expected "TYPES.TPointF"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgracanvas.pas(1290,46) Error: (4025) Incompatible type for arg no. 1: Got "{Open} Array Of TPointF", expected "{Open} Array Of TPointF"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgrabitmaptypes.pas(361,15) Hint: (5039) Found declaration: ComputeWidePolyline(const {Open} Array Of TPointF;Single):{Dynamic} Array Of TPointF;
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgracanvas.pas(1292,42) Error: (4025) Incompatible type for arg no. 2: Got "TBGRAPixel", expected "IBGRAScanner"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgrabitmaptypes.pas(297,16) Hint: (5039) Found declaration: FillPoly(const {Open} Array Of TPointF;IBGRAScanner;TDrawMode);
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgrabitmaptypes.pas(296,16) Hint: (5039) Found declaration: FillPoly(const {Open} Array Of TPointF;TBGRAPixel;TDrawMode);
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgracanvas.pas(1293,51) Error: (4025) Incompatible type for arg no. 2: Got "TBGRAPixel", expected "IBGRAScanner"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgrabitmaptypes.pas(299,16) Hint: (5039) Found declaration: FillPolyAntialias(const {Open} Array Of TPointF;IBGRAScanner);
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgrabitmaptypes.pas(298,16) Hint: (5039) Found declaration: FillPolyAntialias(const {Open} Array Of TPointF;TBGRAPixel);
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgracanvas.pas(1309,15) Error: (4001) Incompatible types: got "BGRABITMAPTYPES.TPointF" expected "TYPES.TPointF"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgracanvas.pas(1313,24) Error: (4001) Incompatible types: got "TYPES.TPointF" expected "BGRABITMAPTYPES.TPointF"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgracanvas.pas(1320,24) Error: (4001) Incompatible types: got "BGRABITMAPTYPES.TPointF" expected "TYPES.TPointF"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgracanvas.pas(1338,13) Error: (4001) Incompatible types: got "ArrayOfTPointF" expected "{Dynamic} Array Of TPointF"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgracanvas.pas(1473,47) Error: (4025) Incompatible type for arg no. 1: Got "{Array Of Const/Constant Open} Array of TPointF", expected "{Open} Array Of TPointF"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgracanvas.pas(1211,23) Hint: (5039) Found declaration: PolygonF(const {Open} Array Of TPointF;Boolean;Boolean="FALSE");
bgracanvas.pas(1520) Fatal: (10026) There were 24 errors compiling module, stopping
Fatal: (1018) Compilation aborted
Error: D:\lazarus\fpc\3.0.4\bin\i386-win32\ppc386.exe returned an error exitcode
Hi.
I added support for Delphi 10.3 Rio, please update to the last commit.
Lazarus compilation should be fine, but not on the last version unfortunally - compilation is fine on Lazarus 1.6.2, or newer, but with FPC version 3.0.0.
Feel free to ask any questions on our Discord channel: https://discord.gg/tTmmf2
Hi @reyandme, thanks so much for the quick response!
RXXPacker runs fine now using Delphi, but I still get a handful of errors when trying to compile the game itself:
Checking project dependencies...
Compiling KaM_Remake.dproj (Release, Win32)
dcc32 command line for "KaM_Remake.dpr"
d:\program files (x86)\embarcadero\studio\20.0\bin\dcc32.exe -$W+ -$R+ -$Q+ true -$Y- --no-config -M -Q -TX.exe
-AGenerics.Collections=System.Generics.Collections;Generics.Defaults=System.Generics.Defaults;WinTypes=Winapi.Windows;WinProcs=Winapi.Windows;
DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE -DmadExcept;RELEASE -I.\src\common;.\src\common\BGRABitmap;".\src\common\Overbyte ICS 8";
.\src\common\pascalscript\source;"d:\program files (x86)\embarcadero\studio\20.0\lib\Win32\release";
D:\Danjb\Documents\Embarcadero\Studio\20.0\Imports;"d:\program files (x86)\embarcadero\studio\20.0\Imports";
C:\Users\Public\Documents\Embarcadero\Studio\20.0\Dcp;"d:\program files (x86)\embarcadero\studio\20.0\include"
-LEC:\Users\Public\Documents\Embarcadero\Studio\20.0\Bpl -LNC:\Users\Public\Documents\Embarcadero\Studio\20.0\Dcp -NUdcu -NSSystem.Win;Data.Win;
Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell;System;Xml;Data;Datasnap;Web;Soap;Winapi; -O.\src\common;
.\src\common\BGRABitmap;".\src\common\Overbyte ICS 8";.\src\common\pascalscript\source;"d:\program files
(x86)\embarcadero\studio\20.0\lib\Win32\release";D:\Danjb\Documents\Embarcadero\Studio\20.0\Imports;"d:\program files
(x86)\embarcadero\studio\20.0\Imports";C:\Users\Public\Documents\Embarcadero\Studio\20.0\Dcp;"d:\program files (x86)\embarcadero\studio\20.0\include"
-R.\src\common;.\src\common\BGRABitmap;".\src\common\Overbyte ICS 8";.\src\common\pascalscript\source;"d:\program files
(x86)\embarcadero\studio\20.0\lib\Win32\release";D:\Danjb\Documents\Embarcadero\Studio\20.0\Imports;"d:\program files
(x86)\embarcadero\studio\20.0\Imports";C:\Users\Public\Documents\Embarcadero\Studio\20.0\Dcp;"d:\program files (x86)\embarcadero\studio\20.0\include"
-U.\src\common;.\src\common\BGRABitmap;".\src\common\Overbyte ICS 8";.\src\common\pascalscript\source;"d:\program files
(x86)\embarcadero\studio\20.0\lib\Win32\release";D:\Danjb\Documents\Embarcadero\Studio\20.0\Imports;"d:\program files
(x86)\embarcadero\studio\20.0\Imports";C:\Users\Public\Documents\Embarcadero\Studio\20.0\Dcp;"d:\program files (x86)\embarcadero\studio\20.0\include"
-K00400000 -GD -NBC:\Users\Public\Documents\Embarcadero\Studio\20.0\Dcp -NHC:\Users\Public\Documents\Embarcadero\Studio\20.0\hpp\Win32 -NOdcu
-W-COMPARING_SIGNED_UNSIGNED -W-COMBINING_SIGNED_UNSIGNED -$M16384,2097152 KaM_Remake.dpr
[dcc32 Warning] W1030 Invalid compiler directive: 'true'
[dcc32 Error] KM_RenderControl.pas(28): E2003 Undeclared identifier: 'TWmEraseBkgnd'
[dcc32 Error] KM_RenderControl.pas(28): E2003 Undeclared identifier: 'WM_ERASEBKGND'
[dcc32 Error] KM_RenderControl.pas(28): E2139 Illegal message method index
[dcc32 Error] KM_RenderControl.pas(29): E2003 Undeclared identifier: 'TWMSize'
[dcc32 Error] KM_RenderControl.pas(29): E2003 Undeclared identifier: 'WM_SIZE'
[dcc32 Error] KM_RenderControl.pas(30): E2003 Undeclared identifier: 'TWMPaint'
[dcc32 Error] KM_RenderControl.pas(30): E2003 Undeclared identifier: 'WM_PAINT'
[dcc32 Error] KM_RenderControl.pas(54): E2005 'TWmEraseBkgnd' is not a type identifier
[dcc32 Error] KM_RenderControl.pas(58): E2066 Missing operator or semicolon
[dcc32 Error] KM_RenderControl.pas(62): E2005 'TWMPaint' is not a type identifier
[dcc32 Error] KM_RenderControl.pas(88): E2005 'TWMSize' is not a type identifier
[dcc32 Error] KM_RenderControl.pas(92): E2035 Not enough actual parameters
[dcc32 Fatal Error] KM_FormMain.pas(44): F2063 Could not compile used unit 'KM_RenderControl.pas'
Failed
Elapsed time: 00:00:00.4
I'll give Lazarus a try, if I can figure out how to downgrade FPC :)
The above errors were after opening "KaMProjectGroup.groupproj", but actually "KaM_Remake.dpr" seems fine - it compiles! 🎉 🎈
EDIT: Ok, it compiles, but when I try to play the game it spits out errors continuously: 1 about a Range Check Error, and 1 about the game only supporting power-of-two textures.
Yep, I did a full build and the errors from before went away. Thanks again Rey!