equal
deleted
inserted
replaced
127 printf("Platforms: %i, BoxesInPlatform: %i\n", Temp.NumPlatforms, |
127 printf("Platforms: %i, BoxesInPlatform: %i\n", Temp.NumPlatforms, |
128 Temp.NumBoxesInPlatform); |
128 Temp.NumBoxesInPlatform); |
129 |
129 |
130 } |
130 } |
131 |
131 |
132 void PrintMove(struct BoxMove b) |
132 void PrintMove(const struct BoxMove b) |
133 { |
133 { |
134 printf("Box: %i, Direction: {%i,%i}\n", b.box, b.dir.x, b.dir.y); |
134 printf("Box: %i, Direction: {%i,%i}\n", b.box, b.dir.x, b.dir.y); |
135 } |
135 } |
136 |
136 |
137 static void show_percent_callback(int parameter) |
137 static void show_percent_callback(const int parameter) |
138 { |
138 { |
139 fprintf(stderr, "Percent: %2.12f, depth: %i-%i\n", percent_to_show, |
139 fprintf(stderr, "Percent: %2.12f, depth: %i-%i\n", percent_to_show, |
140 min_depth_period, max_depth_period); |
140 min_depth_period, max_depth_period); |
141 ShowMap(actual_map); |
141 ShowMap(actual_map); |
142 fflush(stderr); |
142 fflush(stderr); |