Skip to content

ANSI-fying - #250

Closed
MaddTheSane wants to merge 62 commits into
NetHack:NetHack-3.6from
MaddTheSane:ansi3.6.3
Closed

MaddTheSane wants to merge 62 commits into
NetHack:NetHack-3.6from
MaddTheSane:ansi3.6.3

Conversation

@MaddTheSane

Copy link
Copy Markdown
Contributor

This moves NetHack away from K&R to ANSI C calling conventions.

This also replaces #10

From mondata.c to oinit.c, including hack.c that got overlooked.
From vision.c to zap.c.

All of the main NetHack source code should be looked over now.
It now builds on OS X when -Werror=knr-promoted-parameter is set.
This updates the code from the current HEAD.
Some of them conflicted with earlier declarations, others had boolean being compared/set to a non-bool value.
@nhmall nhmall added the 3.6 label Jan 20, 2022
@nhmall

nhmall commented Nov 11, 2023

Copy link
Copy Markdown
Contributor

Similar changes were done for NetHack-3.7 work-in-progress.

@nhmall nhmall closed this Nov 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants