misc fixes/tweaks/stuff intended to get the emscripten port working better.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4456 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2013-08-07 14:20:24 +00:00
parent cf893a1921
commit 3b51dae2c9
21 changed files with 1303 additions and 135 deletions

View file

@ -1686,11 +1686,13 @@ void SV_AcceptMessage(int protocol)
#include <sys/stat.h>
static void SV_CheckRecentCrashes(client_t *tellclient)
{
#ifndef FTE_TARGET_WEB
struct stat sb;
if (-1 != stat("crash.log", &sb))
{
SV_ClientPrintf(tellclient, PRINT_HIGH, "\1WARNING: crash.log exists, dated %s\n", ctime(&sb.st_mtime));
}
#endif
}
#else
static void SV_CheckRecentCrashes(client_t *tellclient)

View file

@ -651,6 +651,9 @@ int Rank_Enumerate (unsigned int first, unsigned int last, void (*callback) (con
void Rank_RankingList_f (void)
{
#if 1
Con_Printf("Fixme\n");
#else
rankinfo_t ri;
int id;
int num;
@ -680,6 +683,7 @@ void Rank_RankingList_f (void)
}
fclose(outfile);
#endif
}
void Rank_Remove_f (void)