Abolish HNTMAX and HNTSIZ in favor of HINT_COUNT.

This change necessitated include guards on newdb.h.
This commit is contained in:
Jason S. Ninneman 2017-06-21 10:01:16 -07:00
parent deb61e3dcd
commit c8f6ff3701
7 changed files with 12 additions and 14 deletions

View file

@ -3,6 +3,7 @@
#include <stdbool.h>
#include "common.h"
#include "newdb.h"
#define LINESIZE 100
#define NDWARVES 6 /* number of dwarves */
@ -70,8 +71,8 @@ struct game_t {
long fixed[NOBJECTS + 1];
long link[NOBJECTS * 2 + 1];
long place[NOBJECTS + 1];
long hinted[HNTSIZ + 1];
long hintlc[HNTSIZ + 1];
long hinted[HINT_COUNT];
long hintlc[HINT_COUNT];
long prop[NOBJECTS + 1];
};