index e2c706e18bd74aade01faf3e562208fa707cc4c2..a8446312d03a6a6d66180ae16bf656de4e14eedc 100644 (file)
uses
{$INCLUDE ../nogl/noGLuses.inc}
SysUtils, Classes, Math,
- e_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