Created attachment 15860 [details] [review]
Remove dependency on cfb.
This also removes the 8/24 overlay code as it relies on cfb.
Untested, only guaranteed to compile and not have run time
unresolved symbols (other than MGAGetClientPointer that is from
Created attachment 15861 [details] [review]
Compile warning fixes.
Cast types and removed/disable unused variables/functions.
Also some minor changes to avoid warnings about mixed declarations and code,
i.e. move declarations to block of code that actually use it, and don't
add an ending semicollon to a macro that declares a local variable, as
another semicollon was added when the macro was used.
Ian removed the 8+24 overlay code 9ee7b04b1fe57834a541ef27b4e25acffd3ac1c5.