TalonBraveInfo / OpenHoW

Open-source reimplementation of Gremlin's Hogs of War (PC/PSX).
http://talonbrave.info
GNU General Public License v3.0
166 stars 12 forks source link

Refactor (Pig) Actor input handling. #89

Closed solemnwarning closed 5 years ago

solemnwarning commented 5 years ago

Separate input processing from position/angle updating and tidy up controls.

Movement is to be handled by simulation as part of multiplayer architecture.

NOTE: Not yet tested with a controller/analog input.

hogsy commented 5 years ago

Lots of room for improvement (e.g. forward should be taken from actor rather than camera) but otherwise doesn't break anything.

I'm not too concerned whether analogue input works 100% or not here; it's all placeholder code anyway and will be overhauled.

hogsy commented 5 years ago

Yeah let's not use squash again.