projects
/
open-adventure.git
/ history
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
first
⋅
prev
⋅ next
magic numbers, show usage, fixed linty warnings
[open-adventure.git]
/
main.c
2017-06-09
Eric S. Raymond
Eliminate a global variable.
blob
|
commitdiff
|
raw
2017-06-09
Eric S. Raymond
Abolish global variable L.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-09
Eric S. Raymond
Abolish global variable J.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-09
Eric S. Raymond
Eliminate objectionable use of global.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-08
Eric S. Raymond
One more goto gone.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-08
Eric S. Raymond
Factor out the croak() function for player death.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-08
Eric S. Raymond
Yet more gotoectomy.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-08
Eric S. Raymond
De-gotoize hint machine.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-08
Eric S. Raymond
Factor out the state machine for hints.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-08
Eric S. Raymond
Resolve a particularly gnarly foto in dwarfmove.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-08
Eric S. Raymond
Refactor of dwarfmove logic.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-08
Eric S. Raymond
More gotoectomies.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-08
Eric S. Raymond
Clean up dwarfmove()
blob
|
commitdiff
|
raw
|
diff to current
2017-06-08
Eric S. Raymond
Gotoectomy.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-08
Eric S. Raymond
More main.c cleanup.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-08
Eric S. Raymond
De-gotoifying main.c
blob
|
commitdiff
|
raw
|
diff to current
2017-06-08
Eric S. Raymond
Localize V1 and V2 in main.c
blob
|
commitdiff
|
raw
|
diff to current
2017-06-08
Eric S. Raymond
Abolish funcs.h.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-08
Eric S. Raymond
Attempt to repair GitLab build breakage.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-07
Eric S. Raymond
Move MAXDIE computation to dungeonmaker.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-07
Eric S. Raymond
Global-variable elimination.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-07
Eric S. Raymond
Eliminate globals.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-07
Eric S. Raymond
Localize TK.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-07
Eric S. Raymond
Narrow the scope of IGO.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-07
Eric S. Raymond
Localize K2.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-07
Eric S. Raymond
Localize KK.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-07
Eric S. Raymond
Fully localize VERB.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-07
Eric S. Raymond
Further narrow the scope of VERB.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-07
Eric S. Raymond
Localize a variable.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-07
Eric S. Raymond
OBJ is completely localized.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-07
Eric S. Raymond
OBJ has become local in actions1.c and diesn't have...
blob
|
commitdiff
|
raw
|
diff to current
2017-06-07
Eric S. Raymond
LOC pulled into game structure block.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-07
Eric S. Raymond
Global LL becomes local to command interpreter toplevel...
blob
|
commitdiff
|
raw
|
diff to current
2017-06-07
Eric S. Raymond
Finish moving state arrays into game structure block.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-07
Eric S. Raymond
More collecting of globals.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-07
Eric S. Raymond
Magic-number cleanup.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-07
Eric S. Raymond
Bring SETUP variable into game state block
blob
|
commitdiff
|
raw
|
diff to current
2017-06-07
Eric S. Raymond
Pull more globals into the game state block.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-07
Eric S. Raymond
Move more globals into the game state block.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-07
Eric S. Raymond
Pack more globals into the game block structure.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-07
Eric S. Raymond
Capture clock variables into the game-state block.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-07
Eric S. Raymond
More more globals into the game state block.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-07
Eric S. Raymond
First step in game state encapsulation: the dwarf ...
blob
|
commitdiff
|
raw
|
diff to current
2017-06-07
Eric S. Raymond
Gotoectomy+.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-07
Eric S. Raymond
Gotoectomy.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-06
Eric S. Raymond
Magic-number elimination.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-06
Eric S. Raymond
Abstract out NOBJECTS (formerly magic number 100).
blob
|
commitdiff
|
raw
|
diff to current
2017-06-06
Eric S. Raymond
Replace homebrew IABS() with C kubrary labs(3).
blob
|
commitdiff
|
raw
|
diff to current
2017-06-02
Eric S. Raymond
Header consolidation - main.h, misc.h, and share.h...
blob
|
commitdiff
|
raw
|
diff to current
2017-06-01
Michael Jarvis
use char, not signed char
30/head
blob
|
commitdiff
|
raw
|
diff to current
2017-05-31
Jason S. Ninneman
Remove erroneous comment about PRNG usage.
26/head
blob
|
commitdiff
|
raw
|
diff to current
2017-05-31
Eric S. Raymond
Fix things so seed doesn't cost clock time.
seed
blob
|
commitdiff
|
raw
|
diff to current
2017-05-30
Jason S. Ninneman
Launder seed generation through rand() to ensure seed...
25/head
blob
|
commitdiff
|
raw
|
diff to current
2017-05-29
Jason S. Ninneman
Remove an obfuscation scheme for the reservoir magic...
blob
|
commitdiff
|
raw
|
diff to current
2017-05-29
Jason S. Ninneman
Really mean it about strict C99 compliance.
21/head
blob
|
commitdiff
|
raw
|
diff to current
2017-05-29
Eric S. Raymond
Simplify build: nested makefiles considered harmful.
blob
|
commitdiff
|
raw
|
diff to current
2017-05-29
Jason S. Ninneman
Move database compilation out into its own tool (for...
15/head
blob
|
commitdiff
|
raw
|
diff to current
2017-05-29
Jason S. Ninneman
Apply further polish and add in a couple of missing...
blob
|
commitdiff
|
raw
|
diff to current
2017-05-28
Jason S. Ninneman
Factor out handling of variables populated from the...
14/head
blob
|
commitdiff
|
raw
|
diff to current
2017-05-26
Jason S. Ninneman
Ensure the ZZZZ magic word is reproducible.
12/head
blob
|
commitdiff
|
raw
|
diff to current
2017-05-26
Eric S. Raymond
Flush log on interrupt, just for convenience.
blob
|
commitdiff
|
raw
|
diff to current
2017-05-25
Eric S. Raymond
Repeatable seeding is working.
blob
|
commitdiff
|
raw
|
diff to current
2017-05-25
Eric S. Raymond
Implement fallback handler that looks at the raw comman...
blob
|
commitdiff
|
raw
|
diff to current
2017-05-25
Eric S. Raymond
Once again, take srand()/random() out of the initializa...
blob
|
commitdiff
|
raw
|
diff to current
2017-05-25
Eric S. Raymond
Reapply "Clean up logic for exiting input loop and...
blob
|
commitdiff
|
raw
|
diff to current
2017-05-24
Jason S. Ninneman
Remove disused label.
7/head
blob
|
commitdiff
|
raw
|
diff to current
2017-05-24
Eric S. Raymond
Revert SEED handling and comment orocessing. It broke...
blob
|
commitdiff
|
raw
|
diff to current
2017-05-24
Eric S. Raymond
Clean up logic for exiting input loop and scoring.
blob
|
commitdiff
|
raw
|
diff to current
2017-05-24
Eric S. Raymond
Seed command fully implemented but apparently buggy.
blob
|
commitdiff
|
raw
|
diff to current
2017-05-24
Eric S. Raymond
Implement stub handler for SEED command. Not hooked...
blob
|
commitdiff
|
raw
|
diff to current
2017-05-24
Jason S. Ninneman
Add seedable PRNG using an adaptation the original...
blob
|
commitdiff
|
raw
|
diff to current
2017-05-24
Eric S. Raymond
Revert structurization changes, they broke database...
blob
|
commitdiff
|
raw
|
diff to current
2017-05-24
Eric S. Raymond
Revert a variable name previously changed to be out...
blob
|
commitdiff
|
raw
|
diff to current
2017-05-24
Eric S. Raymond
More structurization.
blob
|
commitdiff
|
raw
|
diff to current
2017-05-24
Eric S. Raymond
More globals to the game structure.
blob
|
commitdiff
|
raw
|
diff to current
2017-05-24
Eric S. Raymond
More global-to-structure moves.
blob
|
commitdiff
|
raw
|
diff to current
2017-05-23
Eric S. Raymond
More comment cleanup.
blob
|
commitdiff
|
raw
|
diff to current
2017-05-23
Eric S. Raymond
Fixed case in a comment.
blob
|
commitdiff
|
raw
|
diff to current
2017-05-23
Eric S. Raymond
Move more globals into the state structure.
blob
|
commitdiff
|
raw
|
diff to current
2017-05-23
Eric S. Raymond
Begin gathering saveable game state into a structure...
blob
|
commitdiff
|
raw
|
diff to current
2017-05-23
Eric S. Raymond
Input source is parametrized all the way down.
blob
|
commitdiff
|
raw
|
diff to current
2017-05-23
Eric S. Raymond
Begin factoring out the command interpreter.
blob
|
commitdiff
|
raw
|
diff to current
2017-05-23
Eric S. Raymond
Added oldstyle option.
blob
|
commitdiff
|
raw
|
diff to current
2017-05-23
Eric S. Raymond
Fix capitalization glitches.
blob
|
commitdiff
|
raw
|
diff to current
2017-05-23
Eric S. Raymond
Add -l option to enable command logging.
blob
|
commitdiff
|
raw
|
diff to current
2017-05-23
Eric S. Raymond
Fix strange inside-out organization of the input routines.
blob
|
commitdiff
|
raw
|
diff to current
2017-05-23
Eric S. Raymond
More magic-number elimination.
blob
|
commitdiff
|
raw
|
diff to current
2017-05-21
Eric S. Raymond
Fix up case on all comments to make them more readable...
blob
|
commitdiff
|
raw
|
diff to current
2017-05-18
Eric S. Raymond
More boolification.
blob
|
commitdiff
|
raw
|
diff to current
2017-05-18
Eric S. Raymond
Replace fDATIME with ANSI/POSIX clock_gettime(). Rip...
blob
|
commitdiff
|
raw
|
diff to current
2017-05-18
Eric S. Raymond
Remove a remnant of the old non-licensing.
blob
|
commitdiff
|
raw
|
diff to current
2017-05-18
Eric S. Raymond
Use prototypes and bools.
blob
|
commitdiff
|
raw
|
diff to current
2017-05-18
Eric S. Raymond
Partially ANSIfy C, fix compiler warnings.
blob
|
commitdiff
|
raw
|
diff to current
2017-02-16
Eric S. Raymond
Minimal forward-port to modern C - just enough to get...
blob
|
commitdiff
|
raw
|
diff to current
2017-02-16
Eric S. Raymond
Don Wood's 430-point Adventure 2.5 from 1995, from...
blob
|
commitdiff
|
raw
|
diff to current