From 7055882c93022da3a6a1cf74cebf3d17c44ce6c4 Mon Sep 17 00:00:00 2001 From: oroborus Date: Mon, 12 May 2008 20:39:34 +0000 Subject: - podpora modulov - hra sa musi kompilovat s GUI ako v config.h _zakomenotvane_ #define PUBLIC_SERVER make clean make make mod su make install - hra sa musi ako server kompilovat v config.h _odkomentovane__ #define PUBLIC_SERVER make clean make make mod - pozor, urcite tam je este vela bugov //je to nedoladene zatial to ani nedavajte na server git-svn-id: http://opensvn.csie.org/tuxanci_ng@52 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e --- src/screen_world.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/screen_world.c') diff --git a/src/screen_world.c b/src/screen_world.c index 9858a8b..671a858 100644 --- a/src/screen_world.c +++ b/src/screen_world.c @@ -35,6 +35,8 @@ #include "proto.h" #include "term.h" #include "font.h" +#include "music.h" +#include "modules.h" static arena_t *arena; static int count; @@ -193,6 +195,7 @@ void drawWorld() drawPanel(arena->listTux); } + drawModule(); drawTerm(); } @@ -358,6 +361,7 @@ void eventWorld() eventNetMultiplayer(); eventArena(arena); + eventModule(); eventTerm(); eventEnd(); @@ -372,6 +376,7 @@ void startWorld() count = 0; lastServerLag = LAG_SERVER_UNKNOWN; + initModule(); setGameType(); initTerm(); prepareArena(); @@ -435,6 +440,7 @@ void stoptWorld() stopMusic(); delAllImageInGroup(IMAGE_GROUP_USER); delAllMusicInGroup(MUSIC_GROUP_USER); + quitModule(); } void initWorld() -- cgit v1.2.3