Kornel, have you broken something fundamentally with the latest Valkyrie?
I cannot compile 0.8.5 Berserk with it.
\\\
procedure TInput.Load(INIFile : TINI; CommandReader : TTokenReader);
begin
INICallbackProcedureReader := CommandReader;
INIFile.QuerySection(@INICallbackProcedure); {this line outputs error}
end;
***
E:\Elwin\Yhacking\Pascal\Valk\vrltools.pas(383,47) Error: Incompatible type for arg no. 1: Got "<address of procedure(const ShortString,const ShortString);Register>", expected "<procedure variable type of procedure(const AnsiString,const AnsiString);Register>"
***
If we look into
vini.pas
<...>
procedure QuerySection(inicallback : TINIFileCallbackProcedure);
<..>
type TINIFileCallbackProcedure = procedure (const nkey,nvalue : string);
<...>
\\\
Okay, I comment all the stuff. Then:
bruichar.pas
Menu := TTextMenu.Create(67,12,1);
bruichar.pas(162,35) Error: Incompatible type for arg no. 3: Got "ShortInt", expected "<procedure variable type of procedure(Byte) of object;Register>"
\\\
And it goes on and on and on...
\\\
Why is it important to have BRL compiling in spite of all the changes (as in "keeping up-to-date")? Well, since I use BerserkRL as a reference material for applying Valkyrie; and if it doesn't work, my Valkyrion project is effectively stalled :). Not that it's high priority or anything (you have DoomRL 0.9.8.9 to take care of), but still it'd be nice if you could have a look at it some day.
p. s. Do you use jedi SDL for SDL?
p. p. s. Have you received my letter? It's not that I expect any answer, but usually you make some kind of a gesture indicating the letter was not lost in delivery stage.