From a76d5b483a4f07459b71f9cce46c93c3f7ed8f96 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 28 Sep 2006 10:18:52 +0000 Subject: [PATCH] More cleanup towards automated Python translation. --- src/sst.h | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/src/sst.h b/src/sst.h index e4eb9d3..daf97ac 100644 --- a/src/sst.h +++ b/src/sst.h @@ -20,13 +20,15 @@ #define min(x, y) ((x)<(y)?(x):(y)) #define max(x, y) ((x)>(y)?(x):(y)) -#define PHASEFAC (2.0) -#define GALSIZE (8) -#define NINHAB (GALSIZE * GALSIZE / 2) -#define MAXUNINHAB (10) -#define PLNETMAX (NINHAB + MAXUNINHAB) -#define QUADSIZE (10) -#define BASEMAX (5) +#define PHASEFAC 2.0 +#define GALSIZE 8 +#define NINHAB (GALSIZE * GALSIZE / 2) +#define MAXUNINHAB 10 +#define PLNETMAX (NINHAB + MAXUNINHAB) +#define QUADSIZE 10 +#define BASEMAX (GALSIZE * GALSIZE / 12) +#define MAXKLGAME 127 +#define MAXKLQUAD 9 /* * These macros hide the difference between 0-origin and 1-origin addressing. @@ -118,9 +120,6 @@ typedef struct { } chart[GALSIZE+1][GALSIZE+1]; // the starchart (subscript 0 not used) } snapshot; // Data that is snapshot -#define MAXKLGAME 127 -#define MAXKLQUAD 9 - #define NKILLK (game.inkling - game.state.remkl) #define NKILLC (game.incom - game.state.remcom) #define NKILLSC (game.inscom - game.state.nscrem) -- 2.31.1