forked from ValveSoftware/source-sdk-2013
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from Planimeter/feature/port
Feature/port Signed-off-by: Andrew McWatters <andrew@planimeter.org> Co-authored-by: luttje <2738114+luttje@users.noreply.github.com> Helped-by: @ItzVladik Helped-by: @YourPixelMoon Helped-by: @Jacobdeanr
- Loading branch information
Showing
429 changed files
with
131,572 additions
and
180 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
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
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
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,19 @@ | ||
diff a/mp/src/game/client/c_baseviewmodel.cpp b/mp/src/game/client/c_baseviewmodel.cpp (rejected hunks) | ||
@@ -23,7 +23,7 @@ | ||
#include "tier0/memdbgon.h" | ||
|
||
//Tony; modified so that the sdk view models are right handed out of the box. | ||
-#if defined( CSTRIKE_DLL ) || defined( SDK_DLL ) | ||
+#if defined( CSTRIKE_DLL ) || defined( SDK_DLL ) || defined( LUA_SDK ) | ||
ConVar cl_righthand( "cl_righthand", "1", FCVAR_ARCHIVE, "Use right-handed view models." ); | ||
#endif | ||
|
||
@@ -175,7 +175,7 @@ bool C_BaseViewModel::Interpolate( float currentTime ) | ||
inline bool C_BaseViewModel::ShouldFlipViewModel() | ||
{ | ||
//Tony; changed for SDK so that the CSS models can be flipped out of the box. | ||
-#if defined( CSTRIKE_DLL ) || defined ( SDK_DLL ) | ||
+#if defined( CSTRIKE_DLL ) || defined ( SDK_DLL ) || defined ( LUA_SDK ) | ||
//Tony; move this up here. | ||
if (!cl_righthand.GetBool()) | ||
return false; |
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,12 @@ | ||
diff a/mp/src/game/client/c_playerresource.cpp b/mp/src/game/client/c_playerresource.cpp (rejected hunks) | ||
@@ -128,7 +128,10 @@ const char *C_PlayerResource::GetPlayerName( int iIndex ) | ||
{ | ||
if ( iIndex < 1 || iIndex > MAX_PLAYERS ) | ||
{ | ||
+ // Andrew; In HL2SB, we could be an NPC calling into this code | ||
+#ifndef HL2SB | ||
Assert( false ); | ||
+#endif | ||
return "ERRORNAME"; | ||
} | ||
|
Oops, something went wrong.