mirror of
https://github.com/moparisthebest/Simba
synced 2024-11-11 20:05:03 -05:00
950bf6cfa9
Fixed a bug in cts 0, made cst 1 20% faster. Only cts 2 left to optimise. (Can be optimised a lot!) git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@94 3f818213-9676-44b0-a9b4-5e4c4e03d09d
20 lines
336 B
PHP
20 lines
336 B
PHP
procedure GetClientDimensions(var w, h: integer);
|
|
begin
|
|
CurrThread.Client.MWindow.GetDimensions(w, h);
|
|
end;
|
|
|
|
procedure Wait(t: Integer);
|
|
begin
|
|
Sleep(t);
|
|
end;
|
|
|
|
function Freeze: boolean;
|
|
begin
|
|
result := CurrThread.Client.MWindow.Freeze();
|
|
end;
|
|
|
|
function Unfreeze: boolean;
|
|
begin
|
|
result := CurrThread.Client.MWindow.Unfreeze;
|
|
end;
|