AFAIK I would need to rename the function in smart.simba in order to use the real iskeydown method, which would break scripts that use simba with the normal iskeydown in smart.
Renaming the method did work. I may have misunderstood what you said about seting a function to the old one.
this was my interpretation:
Code:
function IsRealKeyDown(key:word):Boolean;
begin
result := IsKeyDown(key);
end;
{$DEFINE SMART}
{$i srl/srl.simba}
{$i srl/srl/misc/paintsmart.simba}
This gives the error '[Error] (181:8): Unknown identifier 'IsRealKeyDown' at line 180' in smart.simba. Line 180 is the declaration of iskeydown.