| 207 * @return unicode character sequence for the specified piece |
207 * @return unicode character sequence for the specified piece |
| 208 */ |
208 */ |
| 209 char* getpieceunicode(uint8_t piece); |
209 char* getpieceunicode(uint8_t piece); |
| 210 |
210 |
| 211 /** |
211 /** |
| |
212 * Returns the color of the player who is next to move. |
| |
213 * |
| |
214 * @param gamestate the current game state |
| |
215 * @return the color of the player who is next to move |
| |
216 */ |
| |
217 uint8_t current_color(GameState *gamestate); |
| |
218 |
| |
219 /** |
| 212 * Checks, if a specified field is covered by a piece of a certain color. |
220 * Checks, if a specified field is covered by a piece of a certain color. |
| 213 * |
221 * |
| 214 * The out-parameters may both be NULL, but if any of them is set, the other |
222 * The out-parameters may both be NULL, but if any of them is set, the other |
| 215 * must be set, too. |
223 * must be set, too. |
| 216 * |
224 * |