#include <header.h>Typedefs | |
| typedef void *(* | pthread_function_t )(void *) |
Fonctions | |
| void | fight (caze *c, int me, int other, bool attack) |
| void | move (caze *o, caze *d, int opponent, bool imove, bool fightifnecessary) |
| static void | thr () |
| void | game (bool server) |
Variables | |
| int | turn |
| int * | p_turn = &turn |
| pid_t | mpid = getpid() |
| Uint32 | pdata [2] |
| pthread_t | tid |
| pthread_attr_t | attr |
| void * | stack_a |
| unsigned int | stack_s = 4096 |
|
|
|
|
||||||||||||||||||||
|
|
|
|
|
|
||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|