From cfcd6217113e586b5b5be10866683ba53859df24 Mon Sep 17 00:00:00 2001 From: sezero Date: Tue, 24 Aug 2010 09:11:57 +0000 Subject: [PATCH] main_sdl.c: removed dedicated setup TODO notes. added a new TODO note about setting up the dedicated server with less memory. git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@294 af15c1b1-3010-417e-b628-4374ebc0bcbd --- quakespasm/Quake/main_sdl.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/quakespasm/Quake/main_sdl.c b/quakespasm/Quake/main_sdl.c index 6455e9e0..66fa54a7 100644 --- a/quakespasm/Quake/main_sdl.c +++ b/quakespasm/Quake/main_sdl.c @@ -46,6 +46,7 @@ int main(int argc, char *argv[]) Sys_Init(); // default memory size + // TODO: less mem, eg. 16 mb, for dedicated server?? parms.memsize = DEFAULT_MEMORY; if (COM_CheckParm("-heapsize")) @@ -55,8 +56,6 @@ int main(int argc, char *argv[]) parms.memsize = Q_atoi(com_argv[t]) * 1024; } - // TODO: dedicated server setup - parms.membase = malloc (parms.memsize); if (!parms.membase) @@ -91,8 +90,6 @@ int main(int argc, char *argv[]) else while (!done) { - // TODO: dedicated server loop - while (!done && SDL_PollEvent (&event)) { switch (event.type)