OpenTTD for Windows NT RISC
4 points by raymii
4 points by raymii
There is basically no content for the reader here. The commit history is unusable, so you can't actually see easily which changes were needed to make it CPU architecture-independent. I'd downvote it if I could.
Indeed. What a weird way to port a game. Did they just download a copy of the source code and create a new git repository? Lmao
EDIT: As long as it is still the same layout as the OpenTTD source, you could copy the port's contents on top of the upstream repo to see what was changed.
This is also an older version of the game (0.2.0) (it's in C) while newer versions of OpenTTD have been ported to C++ the C++ versions of OpenTTD could not be used because they are using Visual C 4.0.
I don't think the issue was in CPU architecture-specific code, but rather the available compilers for RISC NT are all ancient.
For Alpha you're limited to Visual C++ 6.0 (there is also an early pre-release Visual C++ 7.0, but its mostly for targeting the never officially released 64bit Windows for Alpha). And for MIPS and PowerPC the best you've got is Visual C++ 4.0. These were quite old compilers even when the very first release of OpenTTD came out in 2004.
So I expect the actual changes will have been fairly uninteresting in nature - replacing bools with some other data type, etc.