beyond-all-reason / spring

A powerful free cross-platform RTS game engine
https://beyond-all-reason.github.io/spring/
Other
178 stars 95 forks source link

Add `SetUnitIconDraw` as an alias for `UnitIconSetDraw` #1531

Open sprunk opened 4 weeks ago

sprunk commented 4 weeks ago

There's Spring.UnitIconSetDraw which breaks the convention that such interfaces are always called Spring.SetUnitFoo. This is confusing enough to be a real problem (see e.g. https://github.com/beyond-all-reason/Beyond-All-Reason/commit/c2701c0b1a34e77abefe87b8493e513c8278eec0#commitcomment-92166066 ).

harsha-mangena commented 4 weeks ago

Hey @sprunk, Can I pick this issue up?

sprunk commented 4 weeks ago

sure

harsha-mangena commented 4 weeks ago

@sprunk, could you review the above pull request? I searched for inconsistent names but found none in the respective files.