summaryrefslogtreecommitdiff
path: root/src/modules.c
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 /src/modules.c
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 'src/modules.c')
-rwxr-xr-xsrc/modules.c6
1 files changed, 3 insertions, 3 deletions
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);
}
}