rename ore to the more generic name resources everywhere

This commit is contained in:
Matthias Mailänder
2014-05-17 14:38:07 +02:00
parent 30fa8f35d8
commit 3e627d2eba
24 changed files with 107 additions and 93 deletions

4
OpenRA.Mods.RA/Render/WithResources.cs Executable file → Normal file
View File

@@ -37,8 +37,8 @@ namespace OpenRA.Mods.RA.Render
anim = new Animation(self.World, rs.GetImage(self));
anim.PlayFetchIndex(info.Sequence,
() => playerResources.OreCapacity != 0
? ((10 * anim.CurrentSequence.Length - 1) * playerResources.Ore) / (10 * playerResources.OreCapacity)
() => playerResources.ResourceCapacity != 0
? ((10 * anim.CurrentSequence.Length - 1) * playerResources.Resources) / (10 * playerResources.ResourceCapacity)
: 0);
rs.Add("resources_{0}".F(info.Sequence), new AnimationWithOffset(