jgabaut / helapordo

A roguelike terminal game, using ncurses.
https://jgabaut.github.io/helapordo-docs
GNU General Public License v3.0
15 stars 1 forks source link

[FEATURE] build-nc-w64 is WIP #23

Open jgabaut opened 1 year ago

jgabaut commented 1 year ago

Describe the bug With version 1.1.7, the mingw32 build is shipped as non-functional. I will look into debugging the Windows version, but I don't know how hard the problem could be, as of now.

Update:

With version 1.1.8, a mockup gameloop, gameloop_Win(), was put in place for the _WIN32 build. The issue is not to be closed yet, as while investigating I could not find a reason why just calling gameloop() would make the game crash.

To Reproduce Steps to reproduce the behavior:

  1. Run the executable.
  2. Crash.

Expected behavior

Functional run at least up to the first ncurses interaction, which should fail the terminal capability checks on cmd.exe.

Desktop:

jgabaut commented 1 year ago

Update:

With version 1.1.8, a mockup gameloop, gameloop_Win(), was put in place for the _WIN32 build. The issue is not to be closed yet, as while investigating I could not find a reason why just calling gameloop() would make the game crash.

jgabaut commented 8 months ago

Adding a note to remember that any print statements using ASCII colorcodes would be a problem under Windows.

While I think most of them were removed when dropping the legacy color system, it's something to check for since, for example, gameloop_Win() is using custom color-codes in the Rogue map display.

jgabaut commented 6 months ago

Renaming this issue, since 1.4.3 (see PR) refactored the code concerning this into src/build-nc-w64.