#define PLAYGROUND_HEIGHT_MM 2100
#define PLAYGROUND_HEIGHT_M (PLAYGROUND_HEIGHT_MM/1000.0)
+#define ACROPOLIS_RADIUS 0.35
+
/**
* PUCK DISPENSERS (= COLUMN ELEMENT DISPENSERS)
*/
//ShmapSetRectangleFlag(2.8, 0.0, 3.0, 0.6, MAP_FLAG_IGNORE_OBST, 0); /* right basket */
/* Construction areas (Building zones) */
- double RADIUS = 0.35;
- ShmapSetRectangleFlag(1.5 - RADIUS, 1.05 - RADIUS, 1.5 + RADIUS, 1.05 + RADIUS, MAP_FLAG_WALL, 0); /* Central construction area */
+ double x_center = (PLAYGROUND_WIDTH_M/2.0);
+ double y_center = (PLAYGROUND_HEIGHT_M/2.0);
+ ShmapSetRectangleFlag(x_center - ACROPOLIS_RADIUS, y_center - ACROPOLIS_RADIUS, x_center + ACROPOLIS_RADIUS, y_center + ACROPOLIS_RADIUS, MAP_FLAG_WALL, 0); /* Central construction area */
//ShmapSetRectangleFlag(1.35, 0.9, 1.65, 1.2, MAP_FLAG_WALL, 0); /* Central construction area */
}