More origin-hiding.
[super-star-trek.git] / sst.h
diff --git a/sst.h b/sst.h
index 203a1690473f8b777861e89c5da8a7ca7ea3297c..d9ed121d3de13dbcce6d335adf5d453df933f12a 100644 (file)
--- a/sst.h
+++ b/sst.h
  */
 #define VALID_QUADRANT(x, y)   ((x)>=1 && (x)<=GALSIZE && (y)>=1 && (y)<=GALSIZE)
 #define VALID_SECTOR(x, y)     ((x)>=1 && (x)<=QUADSIZE && (y)>=1 && (y)<=QUADSIZE)
-#define for_quadrants(i)       for (i = 1; i < GALSIZE+1; i++)
-#define for_sectors(i)         for (i = 1; i < QUADSIZE+1; i++)
+#define for_quadrants(i)       for (i = 1; i <= GALSIZE; i++)
+#define for_sectors(i)         for (i = 1; i <= QUADSIZE; i++)
+#define for_commanders(i)      for (i = 1; i <= game.state.remcom; i++)
+#define for_local_enemies(i)   for (i = 1; i <= nenhere; i++)
+#define for_starbases(i)       for (i = 1; i <= game.state.rembase; i++)
 
 typedef struct {
     int x;     /* Quadrant location of planet */