FolkertVanVerseveld / aoe

Re-implementation of Age of Empires and the Rise of Rome expansion
Apache License 2.0
86 stars 9 forks source link

Port to windows #25

Closed FolkertVanVerseveld closed 5 years ago

FolkertVanVerseveld commented 5 years ago

Lately, I've been developing a lot on windows due to hw and OS stability issues... and since the game is originally written for windows anyway, it makes no sense to drop windows support. Therefore, while I am refactoring the project, I am going to port the game to windows while doing so.

Tools may or may not be ported to windows, because they are not as important.

FolkertVanVerseveld commented 5 years ago

The good news is that the new empires.exe compiles successfully using MinGW (with some changes to the Makefile, these are not committed yet). The bad news is that the application fails to start with error code 0xc0000022. I am not sure what is causing this problem...

FolkertVanVerseveld commented 5 years ago

Apparently 0xc0000022 means the application failed to initialize which makes me conclude there's still a dependency problem... I guess I can try to compile everything with the exact same environment to rule out any arch and ABI conflicts.

FolkertVanVerseveld commented 5 years ago

As of a8f8c7c1f89126bf45a67154243f2028d60d86d9 a 32 bit windows game can be built, but the user interface is messed up during gameplay and the ttf rendering is also as bad as on linux since we are also using libfreetype on windows...

FolkertVanVerseveld commented 5 years ago

Forgot to close this one (I think 1ad28a09e1bfe1be82f468b1e34927469aa4dc1e fixed this).