Skip to content

Commit 041e95b

Browse files
committed
Removed redundant protobuf library from the thirdparty folder
- Added missing patch definition - Added missing quotation mark - Updated CS:GO SDK
1 parent 359b64e commit 041e95b

File tree

500 files changed

+918
-309770
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

500 files changed

+918
-309770
lines changed

src/core/modules/usermessage/csgo/usermessage_implementation.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929

3030
#include "../usermessage_implementation_base.h"
3131

32-
#include "common/protobuf-2.3.0/src/google/protobuf/message.h"
33-
#include "common/protobuf-2.3.0/src/google/protobuf/descriptor.h"
32+
#include "google/protobuf/message.h"
33+
#include "google/protobuf/descriptor.h"
3434

3535
class CUserMessageImplementation : public IUsermessageImplementationBase
3636
{

src/core/utility/patches/engine3/patches.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,10 @@
2626

2727
#include "KeyValues.h"
2828
#ifndef PATCH_KEYVALUES_DESTRUCTOR
29-
#error "Make KeyValues::~KeyValues() public.
29+
#error "Make KeyValues::~KeyValues() public."
30+
#endif
31+
32+
#include "eiface.h"
33+
#ifndef PATCH_SEND_USER_MESSAGE
34+
#error "Make IVEngineServer::SendUserMessage pure virtual."
3035
#endif

src/makefiles/shared.cmake

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,6 @@ Set(DYNCALLSDK ${THIRDPARTY_DIR}/dyncall)
3939
Set(DYNCALLSDK_INCLUDE ${DYNCALLSDK}/include)
4040
Set(DYNCALLSDK_LIB ${DYNCALLSDK}/lib)
4141

42-
# ------------------------------------------------------------------
43-
# Protobuf specific.
44-
# ------------------------------------------------------------------
45-
Set(PROTOBUF ${THIRDPARTY_DIR}/protobuf/protobuf-2.3.0)
46-
Set(PROTOBUF_INCLUDE ${PROTOBUF}/src)
47-
4842
# ------------------------------------------------------------------
4943
# AsmJit specific.
5044
# ------------------------------------------------------------------
@@ -63,6 +57,7 @@ Set(DYNAMICHOOKSSDK ${THIRDPARTY_DIR}/DynamicHooks)
6357
Include_Directories(
6458
${SOURCESDK}
6559
${SOURCESDK}/common
60+
${SOURCESDK}/common/protobuf-2.3.0/src
6661
${SOURCESDK}/game/shared
6762
${SOURCESDK}/game/server
6863
${SOURCESDK}/public
@@ -71,7 +66,6 @@ Include_Directories(
7166
${SOURCESDK}/public/engine/protobuf
7267
${DYNCALLSDK_INCLUDE}
7368
${BOOSTSDK_INCLUDE}
74-
${PROTOBUF_INCLUDE}
7569
${ASMJITSDK_INCLUDE}
7670
${DYNAMICHOOKSSDK}
7771
${CMAKE_CURRENT_SOURCE_DIR}/core # Hack but required.

src/sdks/hl2sdk-csgo/.hg_archival.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
repo: 5476a15192a9d365b3bde48690c1b00da494d054
2-
node: c5f7e17249f36210c63cb6834bd8e7cb1bd5d005
2+
node: 49263c6651551ad89e16fc585281bbd1579e1e5e
33
branch: default
44
latesttag: null
5-
latesttagdistance: 90
5+
latesttagdistance: 92
Binary file not shown.
Binary file not shown.

src/sdks/hl2sdk-csgo/mathlib/3dnow.cpp

Lines changed: 0 additions & 193 deletions
This file was deleted.

src/sdks/hl2sdk-csgo/mathlib/3dnow.h

Lines changed: 0 additions & 16 deletions
This file was deleted.

src/sdks/hl2sdk-csgo/public/eiface.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ abstract_class IVEngineServer
208208
// Finish the EntityMessage and dispatch to network layer
209209
virtual void MessageEnd( void ) = 0;
210210

211+
#define PATCH_SEND_USER_MESSAGE
211212
virtual void SendUserMessage( IRecipientFilter &filter, int message, const google::protobuf::Message &msg ) = 0;
212213

213214
// Print szMsg to the client console.

0 commit comments

Comments
 (0)