index a2ba6e0a89323a3c34409c05a59a81538d1da96d..a8446312d03a6a6d66180ae16bf656de4e14eedc 100644 (file)
uses
{$INCLUDE ../nogl/noGLuses.inc}
SysUtils, Classes, Math,
- r_graphics,
- g_basic, g_textures
+ r_graphics, g_options, r_animations, r_textures,
+ g_base, g_basic
;
// TODO: remove WITH operator
Exit;
for xx := 0 to Width div TextureWidth - 1 do
for yy := 0 to Height div TextureHeight - 1 do
- TextureIDs[FCurTexture].AnTex.Draw(X + xx * TextureWidth, Y + yy * TextureHeight, TMirrorType.None);
+ r_Animation_Draw(TextureIDs[FCurTexture].AnTex, X + xx * TextureWidth, Y + yy * TextureHeight, TMirrorType.None);
end
else
begin