Skip to content

Commit 2011179

Browse files
committed
fix macos and windows builds( maybe )
1 parent 3626803 commit 2011179

File tree

12 files changed

+12
-12
lines changed

12 files changed

+12
-12
lines changed

game/client/cdll_util.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#include <soundflags.h>
1717
#include "mathlib/vector.h"
1818
#include <shareddefs.h>
19-
#include "color.h"
19+
#include "Color.h"
2020

2121
#include "shake.h"
2222
#include "bitmap/imageformat.h"

game/shared/sceneimage.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,8 @@ bool CSceneImage::UpdateSceneImageFile( CUtlBuffer &targetBuffer, char const *pc
698698
scene.crcFileName = pEntry->crcFilename;
699699
scene.compiledBuffer.Put( pData, pEntry->nDataLength );
700700
scene.msecs = pSummary->msecs;
701-
scene.lastspeak_msecs = pSummary->lastspeech_msecs;
701+
// TODO(nillerusr): support for loading other scene image versions?
702+
//scene.lastspeak_msecs = pSummary->lastspeech_msecs;
702703
// Load sounds
703704
for ( int j = 0 ; j < pSummary->numSounds; ++j )
704705
{

header-list.txt

+1
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ public/color.h
77

88
public/igameevents.h
99
public/engine/ICollideable.h
10+
public/datamap.h

public/appframework/iappsystem.h

-1
This file was deleted.

public/color.h

-1
This file was deleted.

public/datacache/iprecachesystem.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#include "tier0/dbg.h"
1818
#include "tier2/tier2.h"
1919
#include "tier2/resourceprecacher.h"
20-
#include "appframework/iappsystem.h"
20+
#include "appframework/IAppSystem.h"
2121

2222
//-----------------------------------------------------------------------------
2323
// Resource access control API

public/datamap.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ typedef void (CBaseEntity::*inputfunc_t)(inputdata_t &data);
249249
struct datamap_t;
250250
struct typedescription_t;
251251

252-
#if 0
252+
#if SOURCE_ASW
253253
enum
254254
{
255255
PC_NON_NETWORKED_ONLY = 0,

public/networkvar.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
#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)
2323

24-
#define MyOffsetOf( type, var ) ( (int)&((type*)0)->var )
24+
#define MyOffsetOf( type, var ) ( (intp)&((type*)0)->var )
2525

2626
#ifdef _DEBUG
2727
#undef new

public/soundsystem/isoundsystem.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#pragma once
1111
#endif
1212

13-
#include "appframework/iappsystem.h"
13+
#include "appframework/IAppSystem.h"
1414

1515

1616
//-----------------------------------------------------------------------------

public/tier0/logging.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#pragma once
1717
#endif
1818

19-
#include "color.h"
19+
#include "Color.h"
2020
#include "icommandline.h"
2121
#include <stdio.h>
2222

@@ -765,4 +765,4 @@ PLATFORM_INTERFACE LoggingResponse_t LoggingSystem_LogAssert( PRINTF_FORMAT_STRI
765765

766766
#endif //#if !defined(__SPU__)
767767

768-
#endif // LOGGING_H
768+
#endif // LOGGING_H

public/vscript/ivscript.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797

9898
#include "platform.h"
9999
#include "datamap.h"
100-
#include "appframework/iappsystem.h"
100+
#include "appframework/IAppSystem.h"
101101
#include "tier1/functors.h"
102102
#include "tier0/memdbgon.h"
103103

wscript

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ projects={
107107
'dedicated_main',
108108
'dmxloader',
109109
'engine',
110-
'game/server',
110+
# 'game/server',
111111
'ivp/havana',
112112
'ivp/havana/havok/hk_base',
113113
'ivp/havana/havok/hk_math',

0 commit comments

Comments
 (0)