Main Page | Namespace List | Class List | File List | Namespace Members | Class Members | File Members

game.cpp File Reference

#include <header.h>

Typedefs

typedef void *(* pthread_function_t )(void *)

Functions

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

Typedef Documentation

typedef void*(* pthread_function_t)(void *)
 


Function Documentation

void fight caze c,
int  me,
int  other,
bool  attack
 

void game bool  server  ) 
 

void move caze o,
caze d,
int  opponent,
bool  imove,
bool  fightifnecessary
 

static void thr  )  [static]
 


Variable Documentation

pthread_attr_t attr
 

pid_t mpid = getpid()
 

int* p_turn = &turn
 

Uint32 pdata[2]
 

void* stack_a
 

unsigned int stack_s = 4096
 

pthread_t tid
 

int turn
 




Little Neo, 2005 (+ doxygen)

  xtratego

  Home