Repository navigation
ANSI-fying - #250
Closed
MaddTheSane wants to merge 62 commits into
Closed
ANSI-fying#250MaddTheSane wants to merge 62 commits into
MaddTheSane wants to merge 62 commits into
Conversation
From bones.c to do_wear.c
From dog.c to end.c
From engrave.c to hacklib.c
From invent.c to mkmap.c
From mkmaze.c to mon.c
From mondata.c to oinit.c, including hack.c that got overlooked.
From objnam.c to pager.c.
From pickup.c to read.c.
From rect.c to rnd.c.
From role.c to sp_lev.c.
From spell.c to timeout.c.
From topten.c to version.c.
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.
Also removal of new K&R-style code.
Also fixed commas.
…3.6.2 Also convert additions to ANSI C.
…3.6.2 And more ANSIfy-ing.
…commit of 3.6.2, into ansi3.6.2
Well, on OS X.
Contributor
|
Similar changes were done for NetHack-3.7 work-in-progress. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This moves NetHack away from K&R to ANSI C calling conventions.
This also replaces #10