- Added external nodraw definition

This commit is contained in:
2009-12-18 01:53:09 +01:00
parent 365fa72dc9
commit 1e84b76c63
3 changed files with 63 additions and 5 deletions

View File

@@ -857,6 +857,13 @@ begin
FLandscape.OnStaticHued := @OnStaticHued;
FLandscape.OnStaticInserted := @OnStaticInserted;
if FileExists(FAppDir + 'nodraw.txt') then
begin
acNoDraw.Enabled := True;
FLandscape.LoadNoDrawMap(FAppDir + 'nodraw.txt');
end else
acNoDraw.Enabled := False;
FTextureManager := TLandTextureManager.Create;
FScreenBuffer := TScreenBuffer.Create;
FScreenBufferState := [];