Skip to content

Visual Studio 2019 project version of PDCurses

Notifications You must be signed in to change notification settings

rbergen/PDCurses

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PDCurses

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.

Version

This incarnation of PDCurses is based on PDCurses release 3.9.

Changes applied

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 #includes of PDCurses headers were converted to local #includes
  • The is_nt variable is fixed to TRUE 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 of GetTickCount() in pdcscrn.c

Furthermore, changes were made to the VS 2019 project property defaults to make the project build.

Credits

All credits go to the original PDCurses authors/maintainers.

- Rutger van Bergen - github.com/rbergen

About

Visual Studio 2019 project version of PDCurses

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages