summaryrefslogtreecommitdiff
path: root/include/modules.h
diff options
context:
space:
mode:
authororoborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-06-12 16:36:13 +0000
committeroroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-06-12 16:36:13 +0000
commit9751218f594526982877332d6ca0fa90b67bbb7b (patch)
tree2acbc70e3d8432bb80ef70470bda75ba93bc2593 /include/modules.h
parent4919e623c6695a80aaf96187253756dcbb72bf87 (diff)
- prva cast prepisu kodu pre pozuivanie space_t a space_t API, ktore je optimalizovany pre ukladanie informacii o
objektoch vo velkych mapach. POZOR: nie je vhodne kompilovat ako gameserver ( pre istotu to ani nejde ) // este to msusim doorbit :) git-svn-id: http://opensvn.csie.org/tuxanci_ng@63 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'include/modules.h')
-rw-r--r--include/modules.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/modules.h b/include/modules.h
index f05234f..085e476 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -52,7 +52,7 @@ typedef struct module_s
int (*fce_init)(export_fce_t *p);
#ifndef PUBLIC_SERVER
- int (*fce_draw)();
+ int (*fce_draw)(int x, int y,int w, int h);
#endif
int (*fce_event)();
int (*fce_isConflict)(int x, int y, int w, int h);
@@ -64,7 +64,7 @@ typedef struct module_s
extern void initModule();
extern int loadModule(char *name);
#ifndef PUBLIC_SERVER
-extern void drawModule();
+extern void drawModule(int x, int y, int w, int h);
#endif
extern void eventModule();
extern void cmdModule(char *s);