projects
/
super-star-trek.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
74121a2
)
More cleanup towards automated Python translation.
author
Eric S. Raymond
<esr@thyrsus.com>
Thu, 28 Sep 2006 10:18:52 +0000
(10:18 +0000)
committer
Eric S. Raymond
<esr@thyrsus.com>
Thu, 28 Sep 2006 10:18:52 +0000
(10:18 +0000)
src/sst.h
patch
|
blob
|
history
diff --git
a/src/sst.h
b/src/sst.h
index e4eb9d3fa97274efa0111059e7ded26b90f5d497..daf97ac7a7a8a32b1d5253288ec1ef6d599bcca1 100644
(file)
--- 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 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.
/*
* 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
} 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)
#define NKILLK (game.inkling - game.state.remkl)
#define NKILLC (game.incom - game.state.remcom)
#define NKILLSC (game.inscom - game.state.nscrem)