From 9751218f594526982877332d6ca0fa90b67bbb7b Mon Sep 17 00:00:00 2001 From: oroborus Date: Thu, 12 Jun 2008 16:36:13 +0000 Subject: - 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 --- src/modules.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules.c') diff --git a/src/modules.c b/src/modules.c index 6ba3234..bf7eec6 100755 --- a/src/modules.c +++ b/src/modules.c @@ -38,7 +38,7 @@ static export_fce_t export_fce = .fce_getNetTypeGame = getNetTypeGame, .fce_getTuxProportion = getTuxProportion, .fce_setTuxProportion = setTuxProportion, - .fce_getTuxID = getTuxID, + //.fce_getTuxID = getTuxID, .fce_getCurrentArena = getCurrentArena, .fce_conflictSpace = conflictSpace, @@ -170,7 +170,7 @@ void cmdModule(char *s) #ifndef PUBLIC_SERVER -void drawModule() +void drawModule(int x, int y, int w, int h) { int i; @@ -178,7 +178,7 @@ void drawModule() { module_t *this; this = (module_t *)listModule->list[i]; - this->fce_draw(); + this->fce_draw(x, y, w, h); } } -- cgit v1.2.3