best way of removing duplication?? *delete*

git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1184 993157c7-ee19-0410-b2c4-bb4e9862e678
This commit is contained in:
chrisf
2007-07-13 01:30:46 +00:00
parent 9a6182bb17
commit b62619b34c
18 changed files with 82 additions and 639 deletions

View File

@@ -28,12 +28,15 @@ namespace OpenRa.Game
actors.Add(a); //todo: protect from concurrent modification
}
// assumption: there is only one sheet!
// some noob needs to fix this!
// assumption: its not going to hurt, to draw *all* units.
// in reality, 500 tanks is going to hurt our perf.
// assumption: we dont skip around between sheets much. otherwise, our perf is going to SUCK.
// this can be fixed by pooling vertex/index lists, except that breaks z-ordering
// across sheets.
// assumption: when people fix these items, they might update the warning comment?
public void Draw(Renderer renderer)
{
int sprites = 0;