fix macos and windows builds( maybe )

This commit is contained in:
nillerusr 2023-10-03 20:17:12 +03:00
parent 3626803e24
commit 2011179696
12 changed files with 12 additions and 12 deletions

View File

@ -16,7 +16,7 @@
#include <soundflags.h>
#include "mathlib/vector.h"
#include <shareddefs.h>
#include "color.h"
#include "Color.h"
#include "shake.h"
#include "bitmap/imageformat.h"

View File

@ -698,7 +698,8 @@ bool CSceneImage::UpdateSceneImageFile( CUtlBuffer &targetBuffer, char const *pc
scene.crcFileName = pEntry->crcFilename;
scene.compiledBuffer.Put( pData, pEntry->nDataLength );
scene.msecs = pSummary->msecs;
scene.lastspeak_msecs = pSummary->lastspeech_msecs;
// TODO(nillerusr): support for loading other scene image versions?
//scene.lastspeak_msecs = pSummary->lastspeech_msecs;
// Load sounds
for ( int j = 0 ; j < pSummary->numSounds; ++j )
{

View File

@ -7,3 +7,4 @@ public/color.h
public/igameevents.h
public/engine/ICollideable.h
public/datamap.h

View File

@ -1 +0,0 @@
IAppSystem.h

View File

@ -1 +0,0 @@
Color.h

View File

@ -17,7 +17,7 @@
#include "tier0/dbg.h"
#include "tier2/tier2.h"
#include "tier2/resourceprecacher.h"
#include "appframework/iappsystem.h"
#include "appframework/IAppSystem.h"
//-----------------------------------------------------------------------------
// Resource access control API

View File

@ -249,7 +249,7 @@ typedef void (CBaseEntity::*inputfunc_t)(inputdata_t &data);
struct datamap_t;
struct typedescription_t;
#if 0
#if SOURCE_ASW
enum
{
PC_NON_NETWORKED_ONLY = 0,

View File

@ -21,7 +21,7 @@
#pragma warning( disable : 4284 ) // warning C4284: return type for 'CNetworkVarT<int>::operator ->' is 'int *' (ie; not a UDT or reference to a UDT. Will produce errors if applied using infix notation)
#define MyOffsetOf( type, var ) ( (int)&((type*)0)->var )
#define MyOffsetOf( type, var ) ( (intp)&((type*)0)->var )
#ifdef _DEBUG
#undef new

View File

@ -10,7 +10,7 @@
#pragma once
#endif
#include "appframework/iappsystem.h"
#include "appframework/IAppSystem.h"
//-----------------------------------------------------------------------------

View File

@ -16,7 +16,7 @@
#pragma once
#endif
#include "color.h"
#include "Color.h"
#include "icommandline.h"
#include <stdio.h>
@ -765,4 +765,4 @@ PLATFORM_INTERFACE LoggingResponse_t LoggingSystem_LogAssert( PRINTF_FORMAT_STRI
#endif //#if !defined(__SPU__)
#endif // LOGGING_H
#endif // LOGGING_H

View File

@ -97,7 +97,7 @@
#include "platform.h"
#include "datamap.h"
#include "appframework/iappsystem.h"
#include "appframework/IAppSystem.h"
#include "tier1/functors.h"
#include "tier0/memdbgon.h"

View File

@ -107,7 +107,7 @@ projects={
'dedicated_main',
'dmxloader',
'engine',
'game/server',
# 'game/server',
'ivp/havana',
'ivp/havana/havok/hk_base',
'ivp/havana/havok/hk_math',