mirror of
https://github.com/celisej567/source-engine.git
synced 2025-12-31 21:48:22 +03:00
fix windows build scripts, add windows opus support
This commit is contained in:
@@ -2312,7 +2312,7 @@ bool CBasePanel::IsPromptableCommand( const char *command )
|
||||
//-------------------------
|
||||
// Purpose: Job wrapper
|
||||
//-------------------------
|
||||
static unsigned PanelJobWrapperFn( void *pvContext )
|
||||
static uintp PanelJobWrapperFn( void *pvContext )
|
||||
{
|
||||
CBasePanel::CAsyncJobContext *pAsync = reinterpret_cast< CBasePanel::CAsyncJobContext * >( pvContext );
|
||||
|
||||
|
||||
@@ -20,6 +20,8 @@
|
||||
#include "MouseMessageForwardingPanel.h"
|
||||
#include "TGAImagePanel.h"
|
||||
|
||||
#include <time.h>
|
||||
|
||||
// memdbgon must be the last include file in a .cpp file!!!
|
||||
#include "tier0/memdbgon.h"
|
||||
|
||||
@@ -364,7 +366,7 @@ bool CBaseSaveGameDialog::ParseSaveData( char const *pszFileName, char const *ps
|
||||
Q_strncpy( save.szElapsedTime, szElapsedTime, sizeof(save.szElapsedTime) );
|
||||
|
||||
// Now get file time stamp.
|
||||
long fileTime = g_pFullFileSystem->GetFileTime(pszFileName);
|
||||
time_t fileTime = g_pFullFileSystem->GetFileTime(pszFileName);
|
||||
char szFileTime[32];
|
||||
g_pFullFileSystem->FileTimeToString(szFileTime, sizeof(szFileTime), fileTime);
|
||||
char *newline = strstr(szFileTime, "\n");
|
||||
|
||||
@@ -22,6 +22,8 @@
|
||||
#include "GameUI_Interface.h"
|
||||
#include "vstdlib/random.h"
|
||||
|
||||
#include <time.h>
|
||||
|
||||
#include "SaveGameBrowserDialog.h"
|
||||
|
||||
extern const char *COM_GetModDirectory( void );
|
||||
@@ -1273,7 +1275,7 @@ bool CSaveGameBrowserDialog::ParseSaveData( char const *pszFileName, char const
|
||||
Q_strncpy( save->szElapsedTime, szElapsedTime, sizeof(save->szElapsedTime) );
|
||||
|
||||
// Now get file time stamp.
|
||||
long fileTime = g_pFullFileSystem->GetFileTime(pszFileName);
|
||||
time_t fileTime = g_pFullFileSystem->GetFileTime(pszFileName);
|
||||
char szFileTime[32];
|
||||
g_pFullFileSystem->FileTimeToString(szFileTime, sizeof(szFileTime), fileTime);
|
||||
char *newline = strstr(szFileTime, "\n");
|
||||
|
||||
@@ -93,11 +93,11 @@ def build(bld):
|
||||
'OptionsSubPortal.cpp',
|
||||
'OptionsSubVideo.cpp',
|
||||
'OptionsSubVoice.cpp',
|
||||
'../public/tier0/memoverride.cpp',
|
||||
]
|
||||
|
||||
if bld.env.DEST_OS == 'win32':
|
||||
source += [
|
||||
'../public/tier0/memoverride.cpp',
|
||||
'LogoFile.cpp',
|
||||
'ChangeGameDialog.cpp',
|
||||
'OptionsSubHaptics.cpp'
|
||||
|
||||
Reference in New Issue
Block a user