From 74296b5f2f8b572d3037a9de23c2e8dd1c372a7b Mon Sep 17 00:00:00 2001 From: oroborus Date: Mon, 23 Jun 2008 14:52:45 +0000 Subject: - popora AI v moduloch - zjednodusenie sietoveho protokolu - oprava chyb git-svn-id: http://opensvn.csie.org/tuxanci_ng@68 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e --- include/modules.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'include/modules.h') diff --git a/include/modules.h b/include/modules.h index 085e476..0b31292 100644 --- a/include/modules.h +++ b/include/modules.h @@ -7,6 +7,7 @@ #include "shot.h" #include "arena.h" #include "proto.h" +#include "myTimer.h" #ifndef PUBLIC_SERVER #include "image.h" @@ -29,7 +30,8 @@ typedef struct export_fce_s void (*fce_getTuxProportion)(tux_t *tux, int *x,int *y, int *w, int *h); void (*fce_setTuxProportion)(tux_t *tux, int x, int y); tux_t* (*fce_getTuxID)(list_t *listTux, int id); - + void (*fce_actionTux)(tux_t *tux, int action); + arena_t* (*fce_getCurrentArena)(); int (*fce_conflictSpace)(int x1,int y1,int w1,int h1,int x2,int y2,int w2,int h2); int (*fce_isFreeSpace)(arena_t *arena, int x, int y, int w, int h); @@ -37,6 +39,8 @@ typedef struct export_fce_s void (*fce_proto_send_newtux_server)(int type, client_t *client, tux_t *tux); void (*fce_proto_send_shot_server)(int type, client_t *client, shot_t *p); + my_time_t (*fce_getMyTime)(); + void (*fce_destroyShot)(shot_t *p); void (*fce_boundBombBall)(shot_t *shot); void (*fce_transformOnlyLasser)(shot_t *shot); -- cgit v1.2.3