centerprints with links now show cursors.
q2 temp entity tweaks. still more work to be done. support sRGB (mostly)properly in gl+vk+d3d9+d3d11. vulkan tweaks - multisample works under certain conditions. additional other changes to comply... cvars to enable some other device extensions. removed r_viewleaf. now using clusters for q1 too. improved compat with quakespasm's sky command. Added vid_winthread cvar, to handle window messages on a separate thread. When set this allows the game to keep redrawing when the user is resizing the window etc. Finally added renderers option to menusys. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5130 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
d66db9930d
commit
db2c378fa0
67 changed files with 6083 additions and 2281 deletions
|
@ -543,7 +543,7 @@ static void IPLog_Identify_f(void)
|
|||
else
|
||||
Con_Printf("%s: not connected, nor raw address\n", Cmd_Argv(0));
|
||||
}
|
||||
static qboolean IPLog_Dump(const char *fname)
|
||||
static int IPLog_Dump(const char *fname)
|
||||
{
|
||||
size_t i;
|
||||
vfsfile_t *f;
|
||||
|
@ -551,6 +551,9 @@ static qboolean IPLog_Dump(const char *fname)
|
|||
if (!*fname)
|
||||
fname = "iplog.txt";
|
||||
|
||||
if (!iplog_num && !COM_FCheckExists(fname))
|
||||
return 2; //no entries, nothing to overwrite
|
||||
|
||||
f = FS_OpenVFS(fname, "wb", FS_PUBBASEGAMEONLY);
|
||||
if (!f)
|
||||
return false;
|
||||
|
@ -590,11 +593,18 @@ static void IPLog_Dump_f(void)
|
|||
if (FS_NativePath(fname, FS_GAMEONLY, native, sizeof(native)))
|
||||
Q_strncpyz(native, fname, sizeof(native));
|
||||
IPLog_Merge_File(fname); //merge from the existing file, so that we're hopefully more robust if multiple processes are poking the same file.
|
||||
if (!IPLog_Dump(fname))
|
||||
Con_Printf("unable to write %s\n", fname);
|
||||
else
|
||||
switch (IPLog_Dump(fname))
|
||||
{
|
||||
case 0:
|
||||
Con_Printf("unable to write %s\n", fname);
|
||||
break;
|
||||
default:
|
||||
case 1:
|
||||
Con_Printf("wrote %s\n", native);
|
||||
break;
|
||||
case 2:
|
||||
Con_Printf("nothing to write\n");
|
||||
break;
|
||||
}
|
||||
}
|
||||
static void IPLog_Merge_f(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue