OpenSWE1R / openswe1r

An Open-Source port of the 1999 Game "Star Wars Episode 1: Racer"
https://openswe1r.github.io/
GNU General Public License v2.0
313 stars 26 forks source link

Prefix Windows names / types #58

Closed JayFoxRox closed 6 years ago

JayFoxRox commented 6 years ago

Currently, it's not easy to compile on Windows. Basically all windows types will be redefined. I suggest prefixing those with MS_, W_ or WIN_ through (a macro of the same name?).

A lot of those types could also be redefined to use a proper C type (as already happened for some types). However, it's probably better to keep the original type name so we can make wrappers to original MS types more easily (if we ever add a native compilation mode)