Adjust GetImage plumbing in preparation for race-specific sequences.
This commit is contained in:
@@ -289,7 +289,7 @@ namespace OpenRA.Traits
|
||||
WRot QuantizeOrientation(WRot orientation, int facings);
|
||||
}
|
||||
|
||||
public interface IQuantizeBodyOrientationInfo { int QuantizedBodyFacings(SequenceProvider sequenceProvider, ActorInfo ai); }
|
||||
public interface IQuantizeBodyOrientationInfo { int QuantizedBodyFacings(ActorInfo ai, SequenceProvider sequenceProvider, string race); }
|
||||
|
||||
public interface ITargetableInfo
|
||||
{
|
||||
@@ -334,6 +334,6 @@ namespace OpenRA.Traits
|
||||
public interface ILegacyEditorRenderInfo
|
||||
{
|
||||
string EditorPalette { get; }
|
||||
string EditorImage(ActorInfo actor);
|
||||
string EditorImage(ActorInfo actor, SequenceProvider sequenceProvider, string race);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user