more compile fixes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5062 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
1c90422226
commit
459c3dcb5d
3 changed files with 3 additions and 4 deletions
|
@ -1,7 +1,6 @@
|
||||||
#include "quakedef.h"
|
#include "quakedef.h"
|
||||||
|
|
||||||
#ifdef HAVE_CDPLAYER
|
#ifdef HAVE_CDPLAYER
|
||||||
//nothing
|
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
//not really needed, but nice none-the-less.
|
//not really needed, but nice none-the-less.
|
||||||
|
|
|
@ -38,7 +38,7 @@ static void Headless_R_DeInit (void)
|
||||||
static void Headless_R_RenderView (void)
|
static void Headless_R_RenderView (void)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
#ifdef _WIN32
|
#if defined(_WIN32) && !defined(FTE_SDL)
|
||||||
//tray icon crap, so the user can still restore the game.
|
//tray icon crap, so the user can still restore the game.
|
||||||
LRESULT CALLBACK HeadlessWndProc(HWND wnd, UINT msg, WPARAM wparam, LPARAM lparam)
|
LRESULT CALLBACK HeadlessWndProc(HWND wnd, UINT msg, WPARAM wparam, LPARAM lparam)
|
||||||
{
|
{
|
||||||
|
|
|
@ -155,7 +155,7 @@ vfsfile_t *VFSOS_Open(const char *osname, const char *mode)
|
||||||
qboolean needsflush;
|
qboolean needsflush;
|
||||||
f = VFSWEB_Open(osname, mode, &needsflush);
|
f = VFSWEB_Open(osname, mode, &needsflush);
|
||||||
if (needsflush)
|
if (needsflush)
|
||||||
FS_FlushFSHash();
|
FS_FlushFSHashFull();
|
||||||
return f;
|
return f;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -233,7 +233,7 @@ static qboolean QDECL FSWEB_FLocate(searchpathfuncs_t *handle, flocation_t *loc,
|
||||||
{
|
{
|
||||||
loc->len = len;
|
loc->len = len;
|
||||||
loc->offset = 0;
|
loc->offset = 0;
|
||||||
loc->index = 0;
|
loc->fhandle = NULL;
|
||||||
Q_strncpyz(loc->rawname, netpath, sizeof(loc->rawname));
|
Q_strncpyz(loc->rawname, netpath, sizeof(loc->rawname));
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue