CleverRaven/Cataclysm-DDA — pull request #10651 by Coolthulhu (2014-12-27 09:09:49+00:00)
Title: [WIP] Remote vehicle controller and control laptop enhancements

Made remote vehicle controller list available vehicles and center on them rather than using clunky look_around-based interface.

Added standard controls' behavior to remote controller: automatic engine startup and "let go of controls" in menu.

Made control laptop center on selected robot (if it's visible). Fixed a bug with control laptop that made it ignore range (10 tiles) restrictions in vast majority of cases.
It was obviously the intended behavior, though it may have been better without this restriction.

The WIP part is purely coding-standards-related: I have a callback for uimenu that does the centering. It's the same callback as the one in vehicle.cpp used to manually aim turrets. I simply copied it from vehicle.cpp to iuse.cpp, because I didn't know where should I put it.
What would be a good place for it? It requires game.h and ui.h.