https://github.com/rbergen/pdcurses
Visual Studio 2019 project version of PDCurses
https://github.com/rbergen/pdcurses
c pdcurses visual-studio
Last synced: 27 days ago
JSON representation
Visual Studio 2019 project version of PDCurses
- Host: GitHub
- URL: https://github.com/rbergen/pdcurses
- Owner: rbergen
- Created: 2021-01-13T18:29:59.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-10-27T09:08:22.000Z (over 3 years ago)
- Last Synced: 2025-02-14T01:17:34.483Z (3 months ago)
- Topics: c, pdcurses, visual-studio
- Language: C
- Homepage:
- Size: 125 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PDCurses
This is a Visual Studio 2019 project version of PDCurses ([website](https://pdcurses.org/)/[GitHub repo](https://github.com/wmcbrine/PDCurses)).
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](https://github.com/rbergen/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](https://github.com/wmcbrine/PDCurses/releases/tag/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 \/wincon/Makefile.vc were put at the root of the VS 2019 project (original source files locations being \/, \/wincon, \/pdcurses and \/common)
* All global `#include`s of PDCurses headers were converted to local `#include`s
* 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.cFurthermore, 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](https://github.com/rbergen)_