Updated the SDK with the latest code from the TF and HL2 branches
* Adds support for Visual Studio 2012 and 2013 * VR Mode: . Switches from headtrack.dll to sourcevr.dll . Improved readability of the UI in VR . Removed the IPD calibration tool. TF2 will now obey the Oculus configuration file. Use the Oculus calibration tool in your SDK or install and run "OpenVR" under Tools in Steam to calibrate your IPD. . Added dropdown to enable VR mode in the Video options. Removed the -vr command line option. . Added the ability to switch in and out of VR mode without quitting the game . By default VR mode will run full screen. To switch back to a borderless window set the vr_force_windowed convar. . Added support for VR mode on Linux * Many assorted bug fixes and other changes from Team Fortress in various shared files
This commit is contained in:
@@ -25,7 +25,7 @@ public:
|
||||
const char *GetTypeString( void ); // Connection between console command and specific type of issue
|
||||
virtual const char *GetDetailsString();
|
||||
virtual void SetIssueDetails( const char *pszDetails ); // We need to know the details part of the con command for later
|
||||
virtual void OnVoteFailed( void ); // The moment the vote fails, also has some time for feedback before the window goes away
|
||||
virtual void OnVoteFailed( int iEntityHoldingVote ); // The moment the vote fails, also has some time for feedback before the window goes away
|
||||
virtual void OnVoteStarted( void ) {} // Called as soon as the vote starts
|
||||
virtual bool IsEnabled( void ) { return false; } // Query the issue to see if it's enabled
|
||||
virtual bool CanTeamCallVote( int iTeam ) const; // Can someone on the given team call this vote?
|
||||
@@ -40,6 +40,7 @@ public:
|
||||
virtual bool IsYesNoVote( void );
|
||||
virtual void SetYesNoVoteCount( int iNumYesVotes, int iNumNoVotes, int iNumPotentialVotes );
|
||||
virtual bool GetVoteOptions( CUtlVector <const char*> &vecNames ); // We use this to generate options for voting
|
||||
virtual bool BRecordVoteFailureEventForEntity( int iVoteCallingEntityIndex ) const { return iVoteCallingEntityIndex != DEDICATED_SERVER; }
|
||||
|
||||
protected:
|
||||
static void ListStandardNoArgCommand( CBasePlayer *forWhom, const char *issueString ); // List a Yes vote command
|
||||
|
||||
Reference in New Issue
Block a user