I accidentally disabled dsound.

also, 'cmd setinfo' without extra args was spamming the server's console instead of the client's.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5231 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2018-03-31 19:47:03 +00:00
parent be555f7375
commit 8003ba3c6c
6 changed files with 14 additions and 3 deletions

View file

@ -127,6 +127,7 @@
// Audio Drivers
#define AVAIL_OPENAL
#define AVAIL_WASAPI //windows advanced sound api
#define AVAIL_DSOUND
#define HAVE_MIXER //support non-openal audio drivers
// Audio Formats

View file

@ -129,6 +129,7 @@
// Audio Drivers
//#define AVAIL_OPENAL
//#define AVAIL_WASAPI //windows advanced sound api
#define AVAIL_DSOUND
//#define HAVE_MIXER //support non-openal audio drivers
// Audio Formats

View file

@ -126,6 +126,7 @@
// Audio Drivers
#define AVAIL_OPENAL
#define AVAIL_WASAPI //windows advanced sound api
#define AVAIL_DSOUND
#define HAVE_MIXER //support non-openal audio drivers
// Audio Formats

View file

@ -89,6 +89,7 @@
// What do we NOT want to use
#undef AVAIL_FREETYPE //for truetype font rendering
#undef AVAIL_WASAPI //windows advanced sound api
#undef AVAIL_DSOUND
#undef BOTLIB_STATIC //q3 botlib
#undef AVAIL_XZDEC //.xz decompression
#undef AVAIL_GZDEC //.gz decompression

View file

@ -1578,7 +1578,7 @@ qboolean SV_MVD_Record (mvddest_t *dest)
if (sv_demoExtensions.ival == 2 || !*sv_demoExtensions.string)
{ /*more limited subset supported by ezquake*/
demo.recorder.fteprotocolextensions = PEXT_CHUNKEDDOWNLOADS|PEXT_256PACKETENTITIES|/*PEXT_FLOATCOORDS|*/PEXT_MODELDBL|PEXT_ENTITYDBL|PEXT_ENTITYDBL2|PEXT_SPAWNSTATIC2;
demo.recorder.fteprotocolextensions = /*PEXT_CHUNKEDDOWNLOADS|*/PEXT_256PACKETENTITIES|/*PEXT_FLOATCOORDS|*/PEXT_MODELDBL|PEXT_ENTITYDBL|PEXT_ENTITYDBL2|PEXT_SPAWNSTATIC2;
// demo.recorder.fteprotocolextensions |= PEXT_HLBSP; /*ezquake DOES have this, but it is pointless and should have been in some feature mask rather than protocol extensions*/
// demo.recorder.fteprotocolextensions |= PEXT_ACCURATETIMINGS; /*ezquake does not support this any more*/
// demo.recorder.fteprotocolextensions |= PEXT_TRANS; /*ezquake has no support for .alpha*/
@ -1607,7 +1607,7 @@ qboolean SV_MVD_Record (mvddest_t *dest)
}
//pointless extensions that are redundant with mvds
demo.recorder.fteprotocolextensions &= ~PEXT_ACCURATETIMINGS | PEXT_HLBSP;
demo.recorder.fteprotocolextensions &= ~PEXT_ACCURATETIMINGS | PEXT_HLBSP | PEXT_CHUNKEDDOWNLOADS;
#ifdef PEXT_Q2BSP
demo.recorder.fteprotocolextensions &= ~PEXT_Q2BSP;
#endif

View file

@ -4264,6 +4264,13 @@ qboolean SV_UserInfoIsBasic(const char *infoname)
return false;
}
static void SV_SetInfo_PrintCB (void *ctx, const char *key, const char *value)
{
client_t *cl = ctx;
SV_ClientPrintf(cl, PRINT_HIGH, "\t%-20s%s\n", key, value);
}
/*
==================
SV_SetInfo_f
@ -4279,7 +4286,7 @@ void SV_SetInfo_f (void)
if (Cmd_Argc() == 1)
{
SV_ClientPrintf(host_client, PRINT_HIGH, "User info settings:\n");
Info_Print (host_client->userinfo, "");
Info_Enumerate(host_client->userinfo, (void*)host_client, SV_SetInfo_PrintCB);
return;
}