MI's unimportant code cleanup

Just removing a bunch of unused variables/function prototypes from the source code and similarly minor stuff, nothing here should change gameplay much (if at all).

Another backport of commits I made for 2.2.

Merge request reports

Loading