water anim in shader
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Windows.Forms;
|
||||
using System.Windows.Forms;
|
||||
using OpenRa.Game.Graphics;
|
||||
|
||||
namespace OpenRa.Game
|
||||
{
|
||||
@@ -19,8 +20,6 @@ namespace OpenRa.Game
|
||||
|
||||
int lastTime = Environment.TickCount + 2000;
|
||||
|
||||
|
||||
|
||||
public void Update()
|
||||
{
|
||||
int t = Environment.TickCount;
|
||||
@@ -30,7 +29,9 @@ namespace OpenRa.Game
|
||||
lastTime += 40;
|
||||
|
||||
foreach( Actor a in actors )
|
||||
a.Tick( game, 40 );
|
||||
a.Tick( game, 40 );
|
||||
|
||||
Renderer.waterFrame += 0.05f;
|
||||
}
|
||||
|
||||
foreach (Action<World> a in frameEndActions) a(this);
|
||||
|
||||
Reference in New Issue
Block a user