mirror of
https://github.com/moparisthebest/Simba
synced 2025-02-27 08:51:51 -05:00

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@100 3f818213-9676-44b0-a9b4-5e4c4e03d09d
21 lines
449 B
PHP
21 lines
449 B
PHP
function FindDTM(DTM: Integer; var x, y: Integer; x1, y1, x2, y2: Integer): Boolean;
|
|
begin
|
|
Result := CurrThread.Client.MDTM.FindDTM(DTM, x, y, x1, y1, x2, y2);
|
|
end;
|
|
|
|
function ps_DTMFromString(DTMString: String): Integer;
|
|
var
|
|
dtm: pDTM;
|
|
begin
|
|
With CurrThread.Client.MDTM do
|
|
begin
|
|
dtm := StringToDTM(DTMString);
|
|
Result := AddpDTM(dtm);
|
|
end;
|
|
end;
|
|
|
|
procedure ps_FreeDTM(DTM: Integer);
|
|
begin
|
|
CurrThread.Client.MDTM.FreeDTM(DTM);
|
|
end;
|