very basic file-based server logger (no syslog yet) / WIP

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1941 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2008-05-12 20:41:24 +00:00
parent 77fe513222
commit 9bb83edae7
9 changed files with 348 additions and 216 deletions
+1 -2
View File
@@ -84,8 +84,7 @@ void renderscore(void *menu, playerent *d)
{
const char *status = "";
static color localplayerc(0.2f, 0.2f, 0.2f, 0.2f);
if(d->clientrole==CR_MASTER) status = "\f0";
else if(d->clientrole==CR_ADMIN) status = "\f3";
if(d->clientrole==CR_ADMIN) status = "\f3";
else if(d->state==CS_DEAD) status = "\f4";
s_sprintfd(lag)("%d", d->plag);
sline &line = scorelines.add();