aboutsummaryrefslogtreecommitdiff
path: root/mp/src/game/shared/multiplay_gamerules.h
diff options
context:
space:
mode:
authorJohn Schoenick <[email protected]>2015-09-09 18:35:41 -0700
committerJohn Schoenick <[email protected]>2015-09-09 18:35:41 -0700
commit0d8dceea4310fde5706b3ce1c70609d72a38efdf (patch)
treec831ef32c2c801a5c5a80401736b52c7b5a528ec /mp/src/game/shared/multiplay_gamerules.h
parentUpdated the SDK with the latest code from the TF and HL2 branches. (diff)
downloadsource-sdk-2013-master.tar.xz
source-sdk-2013-master.zip
Updated the SDK with the latest code from the TF and HL2 branches.HEADmaster
Diffstat (limited to 'mp/src/game/shared/multiplay_gamerules.h')
-rw-r--r--mp/src/game/shared/multiplay_gamerules.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/mp/src/game/shared/multiplay_gamerules.h b/mp/src/game/shared/multiplay_gamerules.h
index 08e06e4a..b74dd34f 100644
--- a/mp/src/game/shared/multiplay_gamerules.h
+++ b/mp/src/game/shared/multiplay_gamerules.h
@@ -239,20 +239,26 @@ public:
virtual void GetNextLevelName( char *szNextMap, int bufsize, bool bRandom = false );
static void DetermineMapCycleFilename( char *pszResult, int nSizeResult, bool bForceSpew );
- static void LoapMapCycleFileIntoVector ( const char *pszMapCycleFile, CUtlVector<char *> &mapList );
+ virtual void LoadMapCycleFileIntoVector ( const char *pszMapCycleFile, CUtlVector<char *> &mapList );
static void FreeMapCycleFileVector ( CUtlVector<char *> &mapList );
+ // LoadMapCycleFileIntoVector without the fixups inherited versions of gamerules may provide
+ static void RawLoadMapCycleFileIntoVector ( const char *pszMapCycleFile, CUtlVector<char *> &mapList );
+
bool IsMapInMapCycle( const char *pszName );
+ virtual bool IsManualMapChangeOkay( const char **pszReason ) OVERRIDE;
+
protected:
virtual bool UseSuicidePenalty() { return true; } // apply point penalty for suicide?
+ virtual float GetLastMajorEventTime( void ){ return -1.0f; }
public:
virtual void ChangeLevel( void );
protected:
virtual void GoToIntermission( void );
- void LoadMapCycleFile( void );
+ virtual void LoadMapCycleFile( void );
void ChangeLevelToMap( const char *pszMap );
float m_flIntermissionEndTime;