This is the doxygen documentation for gtkboard.
.#include <stdio.h>#include <glib.h>Go to the source code of this file.
Defines | |
| #define | byte gint8 |
Functions | |
| void | stack_free () |
| void | movstack_init () |
| int | movstack_get_num_moves () |
| void | movstack_push (byte *, byte *) |
| byte* | movstack_pop () |
| void | movstack_trunc () |
| Truncates a stack to the current poisition. More... | |
| byte* | movstack_forw () |
| byte* | movstack_back () |
| void | movstack_free () |
| void | statestack_push (void *state) |
| void* | statestack_peek () |
| void* | statestack_pop () |
| void | statestack_trunc () |
| void* | statestack_forw () |
| void* | statestack_back () |
| void | statestack_free () |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 68 of file stack.c. Referenced by engine_make_move(), and engine_take_move(). |
|
|
Truncates a stack to the current poisition. This will be called when the user makes a move when it is not the final poisition. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 136 of file stack.c. Referenced by engine_make_move(), and engine_take_move(). |
|
|
|