shithub: musw

ref: bdaa63a1a4604ada3539aeb50e4af144da3ba6f0
dir: /fns.h/

View raw version
/*
 * alloc
 */
void *emalloc(ulong);
void *erealloc(void*, ulong);
//Image *eallocimage(Display*, Rectangle, ulong, int, ulong);

/*
 * physics
 */
void integrate(GameState*, double, double);

/*
 * nanosec
 */
uvlong nanosec(void);

/*
 * pack
 */
int pack(uchar*, int, char*, ...);
int unpack(uchar*, int, char*, ...);

/*
 * lobby
 */
Lobby *newlobby(void);
void dellobby(Lobby*);

/*
 * lobby
 */
void inittheparty(void);
Party *newparty(Player[2]);
void delparty(Party*);
void addparty(Party*);