Commit graph

208 commits

Author SHA1 Message Date
Eric S. Raymond
4e1ab63322 Semantic types. 2017-06-06 18:22:24 -04:00
Eric S. Raymond
c1ee521f73 Begin to split undifferentiated longs into semantic types. 2017-06-06 14:28:27 -04:00
Eric S. Raymond
978168523a Magic-number elimination. 2017-06-06 11:12:00 -04:00
Eric S. Raymond
4d6078d8a8 Replace homebrew IABS() with C kubrary labs(3). 2017-06-06 09:21:46 -04:00
Jason S. Ninneman
83048ee832 Remove a disused function, thereby upping the code coverage. 2017-06-04 08:58:43 -07:00
Eric S. Raymond
aef609291d Simplify bitmask test/set from FORTRANish to actual C. 2017-06-02 16:40:29 -04:00
Eric S. Raymond
63f53c026d Macro elimination - easy cases first. No logic changes. 2017-06-02 16:20:40 -04:00
Eric S. Raymond
d402e09411 Header consolidation - main.h, misc.h, and share.h merge to advent.h.
For a project this small size with a small type ontology, it's better
C style to have one header where all the assumptions about types and
structures are immediately visible.

This is a first step towards turning all that global state into a handful
of structures - probably just two, one saveable as a binary game state.
2017-06-02 15:06:33 -04:00
Renamed from misc.h (Browse further)