-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add gamerules header and cleanup some headers
Also use CCSGameRules
- Loading branch information
Showing
14 changed files
with
147 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ | |
|
||
#pragma once | ||
|
||
#include "../schema.h" | ||
#include "cbaseentity.h" | ||
|
||
struct VPhysicsCollisionAttribute_t | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ | |
|
||
#pragma once | ||
|
||
#include "schema.h" | ||
#include "cbaseentity.h" | ||
|
||
class CEconItemView | ||
{ | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
/** | ||
* ============================================================================= | ||
* CS2Fixes | ||
* Copyright (C) 2023 Source2ZE | ||
* ============================================================================= | ||
* | ||
* This program is free software; you can redistribute it and/or modify it under | ||
* the terms of the GNU General Public License, version 3.0, as published by the | ||
* Free Software Foundation. | ||
* | ||
* This program is distributed in the hope that it will be useful, but WITHOUT | ||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS | ||
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more | ||
* details. | ||
* | ||
* You should have received a copy of the GNU General Public License along with | ||
* this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
#pragma once | ||
#include <platform.h> | ||
#include "schema.h" | ||
|
||
struct GameTime_t | ||
{ | ||
public: | ||
DECLARE_SCHEMA_CLASS_INLINE(GameTime_t) | ||
|
||
SCHEMA_FIELD(float, m_Value) | ||
}; | ||
|
||
class CNetworkTransmitComponent | ||
{ | ||
public: | ||
DECLARE_SCHEMA_CLASS_INLINE(CNetworkTransmitComponent) | ||
}; | ||
|
||
class CNetworkVelocityVector | ||
{ | ||
public: | ||
DECLARE_SCHEMA_CLASS_INLINE(CNetworkVelocityVector) | ||
|
||
SCHEMA_FIELD(float, m_vecX) | ||
SCHEMA_FIELD(float, m_vecY) | ||
SCHEMA_FIELD(float, m_vecZ) | ||
}; | ||
|
||
class CNetworkOriginCellCoordQuantizedVector | ||
{ | ||
public: | ||
DECLARE_SCHEMA_CLASS_INLINE(CNetworkOriginCellCoordQuantizedVector) | ||
|
||
SCHEMA_FIELD(uint16, m_cellX) | ||
SCHEMA_FIELD(uint16, m_cellY) | ||
SCHEMA_FIELD(uint16, m_cellZ) | ||
SCHEMA_FIELD(uint16, m_nOutsideWorld) | ||
|
||
// These are actually CNetworkedQuantizedFloat but we don't have the definition for it... | ||
SCHEMA_FIELD(float, m_vecX) | ||
SCHEMA_FIELD(float, m_vecY) | ||
SCHEMA_FIELD(float, m_vecZ) | ||
}; | ||
|
||
class CInButtonState | ||
{ | ||
public: | ||
DECLARE_SCHEMA_CLASS_INLINE(CInButtonState) | ||
|
||
// m_pButtonStates[3] | ||
SCHEMA_FIELD_POINTER(uint64_t, m_pButtonStates) | ||
}; | ||
|
||
class CGlowProperty | ||
{ | ||
public: | ||
DECLARE_SCHEMA_CLASS_INLINE(CGlowProperty) | ||
|
||
SCHEMA_FIELD(Vector, m_fGlowColor) | ||
SCHEMA_FIELD(int, m_iGlowType) | ||
SCHEMA_FIELD(int, m_nGlowRange) | ||
SCHEMA_FIELD(Color, m_glowColorOverride) | ||
SCHEMA_FIELD(bool, m_bFlashing) | ||
SCHEMA_FIELD(bool, m_bGlowing) | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters