Having trouble using SMART_paint
trying to just do a simple
Simba Code:
if (findDTM(water,x,y,11,12,508,327)) then
begin
SMART_ClearCanvas;
SMART_DrawBoxEx(true, intToBox(x-5,y-5,x+5,y+5), clGreen);
end;
but I kept getting the error
Quote:
Compiling failed.
[Error] (26:5): Unknown identifier 'SMART_ClearCanvas' at line 25
I figured that I didn't include the file, so I added
Simba Code:
{$i srl/srl/misc/paintsmart.simba}
now I'm getting the following error within paintsmart.simba
Quote:
[Error] C:\Simba\Includes\srl/srl/misc/paintsmart.simba(44:33): Unknown identifier 'SmartGetDebugDC' at line 43
Compiling failed.