git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1321 993157c7-ee19-0410-b2c4-bb4e9862e678

This commit is contained in:
(no author)
2007-07-23 05:25:57 +00:00
parent d4f72cb5c3
commit a6502022e9
24 changed files with 839 additions and 76 deletions

View File

@@ -29,7 +29,7 @@ namespace OpenRa.Game
double lastTime = Environment.TickCount / 1000.0;
void Draw()
void Draw( Game game )
{
double t = Environment.TickCount / 1000.0;
double dt = t - lastTime;
@@ -39,7 +39,7 @@ namespace OpenRa.Game
foreach (Actor a in actors)
{
a.Tick( this, dt );
a.Tick( game, dt );
Sprite[] images = a.CurrentImages;
float2 loc = a.RenderLocation;