This is a Visual Studio 2019 project version of PDCurses (website/GitHub repo). I created it from the original PDCurses sources as retrieved from the PDCurses GitHub repo, to be able to properly debug an issue I ran into when trying to use PDCurses to marginally improve the college-time hobby project that is R136. As it yielded a working version of PDCurses in the Visual Studio 2019 context that's familiar to many, I decided to create a repo for it, as well.
This incarnation of PDCurses is based on PDCurses release 3.9.
To make PDCurses build in this form, the following changes were made to the original sources:
- All the source files built by <pdcurses>/wincon/Makefile.vc were put at the root of the VS 2019 project (original source files locations being <pdcurses>/, <pdcurses>/wincon, <pdcurses>/pdcurses and <pdcurses>/common)
- All global
#include
s of PDCurses headers were converted to local#include
s - The
is_nt
variable is fixed toTRUE
in pdcscrn.c; Visual Studio has long stopped building for non NT-based versions of Windows anyway - A
#pragma warning
was used to disable warning C28159 concerning the use ofGetTickCount()
in pdcscrn.c
Furthermore, changes were made to the VS 2019 project property defaults to make the project build.
All credits go to the original PDCurses authors/maintainers.
- Rutger van Bergen - github.com/rbergen