| 254 * always returns zero |
254 * always returns zero |
| 255 */ |
255 */ |
| 256 uint16_t remaining_movetime(GameInfo *gameinfo, GameState *gamestate, |
256 uint16_t remaining_movetime(GameInfo *gameinfo, GameState *gamestate, |
| 257 uint8_t color); |
257 uint8_t color); |
| 258 |
258 |
| |
259 /** |
| |
260 * Converts clock time to string. |
| |
261 * |
| |
262 * @param time the time to format |
| |
263 * @param str the target buffer (should be at least 10 chars large) |
| |
264 * @param always_hours if hours should always be printed |
| |
265 */ |
| |
266 void print_clk(uint16_t time, char *str, bool always_hours); |
| |
267 |
| 259 #endif /* RULES_H */ |
268 #endif /* RULES_H */ |
| 260 |
269 |