Does this compile any better with dedicated servers?
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@170 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
74a28bc472
commit
fbe070f46d
1 changed files with 6 additions and 6 deletions
|
@ -4,7 +4,7 @@
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
void strlwr(char *s)
|
void strlwr(char *s)
|
||||||
{
|
{
|
||||||
while(s)
|
while(*s)
|
||||||
{
|
{
|
||||||
if (*s >= 'A' && *s <= 'Z')
|
if (*s >= 'A' && *s <= 'Z')
|
||||||
*s -= 'A' + 'a';
|
*s -= 'A' + 'a';
|
||||||
|
@ -930,7 +930,7 @@ static void Triangulate_Sectors(dsector_t *sectorl, qboolean glbspinuse)
|
||||||
sectorm[i].floorheight = sectorl[i].floorheight;
|
sectorm[i].floorheight = sectorl[i].floorheight;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#ifndef SERVERONLY
|
||||||
static void *textures1;
|
static void *textures1;
|
||||||
static void *textures2;
|
static void *textures2;
|
||||||
static char *pnames;
|
static char *pnames;
|
||||||
|
@ -1082,7 +1082,7 @@ static int Doom_LoadPatch(char *name)
|
||||||
//all else failed.
|
//all else failed.
|
||||||
return Mod_LoadHiResTexture(name, true, false);
|
return Mod_LoadHiResTexture(name, true, false);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
static void CleanWalls(dsidedef_t *sidedefsl)
|
static void CleanWalls(dsidedef_t *sidedefsl)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
@ -1484,7 +1484,7 @@ qboolean Mod_LoadDoomLevel(model_t *mod)
|
||||||
COM_StripExtension(mod->name, name);
|
COM_StripExtension(mod->name, name);
|
||||||
|
|
||||||
if (!COM_LoadTempFile(va("%s", mod->name)))
|
if (!COM_LoadTempFile(va("%s", mod->name)))
|
||||||
Host_EndGame("Wad map %s does not exist\n", mod->name);
|
Sys_Error("Wad map %s does not exist\n", mod->name);
|
||||||
|
|
||||||
gl_nodes = (void *)COM_LoadMallocFile (va("%s.gl_nodes", name));
|
gl_nodes = (void *)COM_LoadMallocFile (va("%s.gl_nodes", name));
|
||||||
if (gl_nodes && com_filesize>0)
|
if (gl_nodes && com_filesize>0)
|
||||||
|
@ -1514,9 +1514,9 @@ qboolean Mod_LoadDoomLevel(model_t *mod)
|
||||||
sidedefsc = com_filesize/sizeof(*sidedefsl);
|
sidedefsc = com_filesize/sizeof(*sidedefsl);
|
||||||
blockmapl = (void *)COM_LoadMallocFile (va("%s.blockmap", name));
|
blockmapl = (void *)COM_LoadMallocFile (va("%s.blockmap", name));
|
||||||
// blockmaps = com_filesize;
|
// blockmaps = com_filesize;
|
||||||
|
#ifndef SERVERONLY
|
||||||
Doom_LoadTextureInfos();
|
Doom_LoadTextureInfos();
|
||||||
|
#endif
|
||||||
blockmapofs = (unsigned short*)(blockmapl+1);
|
blockmapofs = (unsigned short*)(blockmapl+1);
|
||||||
|
|
||||||
if (!nodel || !sectorl || !segsl || !ssectorsl || !thingsl || !linedefsl || !sidedefsl || !vertexesl)
|
if (!nodel || !sectorl || !segsl || !ssectorsl || !thingsl || !linedefsl || !sidedefsl || !vertexesl)
|
||||||
|
|
Loading…
Reference in a new issue