ppebb / isp2

GNU Lesser General Public License v3.0
7 stars 4 forks source link

Task: Use PDCurses instead of NCurses Mingw port #75

Closed ppebb closed 4 months ago

ppebb commented 4 months ago

The NCurses Mingw port is seemingly broken with colors, while PD Curses may be a viable alternative for getting them working, in addition to being open source so modifications can be made to the library if needed.

Addresses story #74

ppebb commented 4 months ago

Branch pdcurses has a preliminary setup for using PDCurses. I would like to setup something in the csproj to compile PDCurses before bundling it as an embedded resource, but this will be significant work because I need to sort out the makefile to allow anything other than linux->windows cross-compilation on my specific setup (I doubt it works elsewhere).

This still needs additional testing and likely bugfixes. One notable issue is that ceiling_panel and ground_panel are unimplemented because they are ncurses, non-posix extensions that are not present in PDCurses.

Note that this overlaps with task #48 as PDCurses properly loads colors.

ppebb commented 4 months ago

Image Loads and runs fine.

Image Fonts are wrong. Don't know if this is because I am running on an ancient win7 vm or if there is something else.

ppebb commented 4 months ago

Fonts are still wrong, but those will be addressed in a separate task. PDCurses itself is working and fine.

ppebb commented 4 months ago

Addressed by PR #78