mirror of
https://github.com/moparisthebest/Simba
synced 2024-11-27 19:42:22 -05:00
commit
c1051efbeb
@ -1233,6 +1233,11 @@ type
|
||||
PMDTM = ^TMDTM;
|
||||
PMDTMPoint = ^TMDTMPoint;
|
||||
PSDTM = ^TSDTM;
|
||||
|
||||
procedure lp_WriteLn(Params: PParamArray);
|
||||
begin
|
||||
psWriteLn(PlpString(Params^[0])^);
|
||||
end;
|
||||
|
||||
//Generate these wrappers with a script -Dg
|
||||
//{$I LPInc/Wrappers/other.inc}
|
||||
@ -1266,6 +1271,8 @@ begin
|
||||
Fonts := Client.MOCR.Fonts;
|
||||
with Compiler do
|
||||
begin
|
||||
addGlobalFunc('procedure _writeln; override;', @lp_WriteLn);
|
||||
|
||||
for I := Fonts.Count - 1 downto 0 do
|
||||
addGlobalVar(Fonts[I].Name, Fonts[I].Name);
|
||||
|
||||
@ -1310,6 +1317,7 @@ function TLPThread.OnHandleDirective(Sender: TLapeCompiler; Directive, Argument:
|
||||
var
|
||||
plugin_idx: integer;
|
||||
begin
|
||||
Result := False;
|
||||
if (Directive = 'loadlib') then
|
||||
begin
|
||||
if (Argument <> '') then
|
||||
|
Loading…
Reference in New Issue
Block a user