Commit graph

20 commits

Author SHA1 Message Date
Jason S. Ninneman
1e59d6b476 Clean out some disused variables. 2017-06-20 19:26:55 -04:00
NHOrus
e9aff2568f Even less magic 2017-06-19 20:18:20 +03:00
Jason S. Ninneman
06e8d5a83e Abolish MAXDIE in favor of maximum_deaths. 2017-06-18 20:02:03 -07:00
Eric S. Raymond
83ff9d0c0e Attempt to deconfuse the coverage analyzer. 2017-06-18 20:33:36 -04:00
Eric S. Raymond
fd02259c7f Reindent and cleanup. 2017-06-18 20:24:37 -04:00
Bob Little
04eca720d9 magic numbers, show usage, fixed linty warnings
Show usage when using bad parameter with ./advent
Converted magic numbers to enums for BUG().  Also bug now shows
stringify'ed version of bug enumeration (not just a number).
2017-06-18 19:33:21 -04:00
Eric S. Raymond
b3057f038b Re-format to consistent indent style with "make indent". 2017-06-18 06:18:51 -04:00
Bob Little
d844c2a391 Added 'linty' target for make
"make linty" does lots of error checking while compiling.
Simplified the standard make's CFLAGS.
Cleaned up code to eliminate resulting warnings generated by "make linty".
2017-06-17 22:28:40 -04:00
NHOrus
f1f7cfd4e9 Localizing variables 2017-06-15 16:16:21 +03:00
Bob Little
c4c28e10db dungeon now outputs just database.h
Added macro DEFINE_GLOBALS_FROM_INCLUDES to main.c
Makefile no longer has to deal with database.c and database.o
2017-06-14 21:54:49 -04:00
NHOrus
46bb20deb3 Lowering the scope And cleaning up some warnings from static analysis 2017-06-14 15:17:02 -04:00
Jason S. Ninneman
bfa06be62d Fix all the simple compiler warnings. 2017-06-13 11:19:58 -07:00
Jason S. Ninneman
bc1dd279e2 Don't output disused dungeon data. 2017-06-12 14:44:33 -07:00
Jason S. Ninneman
6b75d87797 Remove some hard-coded array dimensions. Generate CLSSES at compile time.
(How did this ever even work without 'extern'?)
2017-06-12 21:36:07 +00:00
Jason S. Ninneman
a4da53086b Zero-index the lookup tables and the code that references them. 2017-06-10 15:34:21 -07:00
Jason S. Ninneman
1173a9a265 Use a header/source set common to both advent and the dungeon builder. 2017-06-10 13:37:26 -07:00
Eric S. Raymond
ed80d6dd2f Move MAXDIE computation to dungeonmaker. 2017-06-07 15:33:22 -04:00
Eric S. Raymond
844cb05619 Prevent confusion between dungeonmaker and runtime variables. 2017-06-07 09:21:05 -04:00
Eric S. Raymond
2d95c3f4f5 Finish moving state arrays into game structure block. 2017-06-07 07:10:07 -04:00
Eric S. Raymond
3ba084480a Change name of dungeon maker - dual use of "compile" was confusing. 2017-06-07 06:47:01 -04:00
Renamed from compile.c (Browse further)