mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
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: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@294 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
7b2134168b
commit
8315ed0198
1 changed files with 1 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue