mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-12-07 02:28:22 +00:00
Touchups.
This commit is contained in:
parent
6f083f6412
commit
f863133047
@ -82,7 +82,8 @@ namespace vgui
|
|||||||
typedef struct player_info_s
|
typedef struct player_info_s
|
||||||
{
|
{
|
||||||
DECLARE_BYTESWAP_DATADESC();
|
DECLARE_BYTESWAP_DATADESC();
|
||||||
uint64 unknown;
|
// version for future compatibility
|
||||||
|
uint64 version;
|
||||||
// network xuid
|
// network xuid
|
||||||
uint64 xuid;
|
uint64 xuid;
|
||||||
// scoreboard information
|
// scoreboard information
|
||||||
|
|||||||
@ -217,7 +217,7 @@ public:
|
|||||||
virtual void ReloadVCollide( MDLHandle_t handle ) = 0;
|
virtual void ReloadVCollide( MDLHandle_t handle ) = 0;
|
||||||
|
|
||||||
virtual bool ReleaseAnimBlockAllocator() = 0;
|
virtual bool ReleaseAnimBlockAllocator() = 0;
|
||||||
virtual void RestoreHardwareData(MDLHandle_t handle, FSAsyncControl_t* unk2, FSAsyncControl_t* unk3) = 0;
|
virtual bool RestoreHardwareData( MDLHandle_t handle, FSAsyncControl_t *pAsyncVTXControl, FSAsyncControl_t *pAsyncVVDControl ) = 0;
|
||||||
virtual void DisableVCollideLoad() = 0;
|
virtual void DisableVCollideLoad() = 0;
|
||||||
virtual void EnableVCollideLoad() = 0;
|
virtual void EnableVCollideLoad() = 0;
|
||||||
virtual void DisableFileNotFoundWarnings() = 0;
|
virtual void DisableFileNotFoundWarnings() = 0;
|
||||||
@ -225,19 +225,19 @@ public:
|
|||||||
virtual void ProcessPendingHardwareRestore() = 0;
|
virtual void ProcessPendingHardwareRestore() = 0;
|
||||||
virtual void UnloadQueuedHardwareData() = 0;
|
virtual void UnloadQueuedHardwareData() = 0;
|
||||||
virtual void DumpDictionaryState() = 0;
|
virtual void DumpDictionaryState() = 0;
|
||||||
virtual MDLHandle_t CreateCombinedModel(char const* name) = 0;
|
virtual MDLHandle_t CreateCombinedModel( const char *name ) = 0;
|
||||||
virtual bool CreateCombinedModel(MDLHandle_t handle) = 0;
|
virtual bool CreateCombinedModel( MDLHandle_t handle ) = 0;
|
||||||
virtual bool SetCombineModels(MDLHandle_t handle, CUtlVector<SCombinerModelInput_t> const& unk2) = 0;
|
virtual bool SetCombineModels( MDLHandle_t handle, const CUtlVector<SCombinerModelInput_t> &unk2 ) = 0;
|
||||||
virtual bool FinishCombinedModel(MDLHandle_t handle, void* unk2, void* unk3) = 0;
|
virtual bool FinishCombinedModel( MDLHandle_t handle, void *unk2, void *unk3 ) = 0;
|
||||||
virtual bool IsCombinedPlaceholder(MDLHandle_t handle) = 0;
|
virtual bool IsCombinedPlaceholder( MDLHandle_t handle ) = 0;
|
||||||
virtual bool IsCombinedModel(MDLHandle_t handle) = 0;
|
virtual bool IsCombinedModel( MDLHandle_t handle ) = 0;
|
||||||
virtual int GetNumCombinedSubModels(MDLHandle_t handle) = 0;
|
virtual int GetNumCombinedSubModels( MDLHandle_t handle ) = 0;
|
||||||
virtual void GetCombinedSubModelFilename(MDLHandle_t handle, int iSubModel, char* szOutput, int iOutputBufferLength) = 0;
|
virtual void GetCombinedSubModelFilename( MDLHandle_t handle, int iSubModel, char *szOutput, int iOutputBufferLength ) = 0;
|
||||||
virtual KeyValues* GetCombinedMaterialKV(MDLHandle_t handle, int unk2) = 0;
|
virtual KeyValues *GetCombinedMaterialKV( MDLHandle_t handle, int unk2) = 0;
|
||||||
virtual void UpdateCombiner() = 0;
|
virtual void UpdateCombiner() = 0;
|
||||||
virtual void GetCombinedInternalAsset(ECombinedAsset combinedAsset, char const* unk2, int * unk3) = 0;
|
virtual void GetCombinedInternalAsset( ECombinedAsset combinedAsset, const char *unk2, int *unk3 ) = 0;
|
||||||
virtual void SetCombinerFlags(MDLHandle_t handle) = 0;
|
virtual void SetCombinerFlags( MDLHandle_t handle ) = 0;
|
||||||
virtual void ClearCombinerFlags(MDLHandle_t handle) = 0;
|
virtual void ClearCombinerFlags( MDLHandle_t handle ) = 0;
|
||||||
virtual void DebugCombinerInfo() = 0;
|
virtual void DebugCombinerInfo() = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -83,6 +83,8 @@
|
|||||||
|
|
||||||
#define SPROP_CHANGES_OFTEN (1<<18) // this is an often changed field, moved to head of sendtable so it gets a small index
|
#define SPROP_CHANGES_OFTEN (1<<18) // this is an often changed field, moved to head of sendtable so it gets a small index
|
||||||
|
|
||||||
|
#define SPROP_VARINT (1<<19) // use var int encoded (google protobuf style), note you want to include SPROP_UNSIGNED if needed, its more efficient
|
||||||
|
|
||||||
#define SPROP_NUMFLAGBITS_NETWORKED 19
|
#define SPROP_NUMFLAGBITS_NETWORKED 19
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -434,7 +434,7 @@ public:
|
|||||||
virtual CGamestatsData *GetGamestatsData() = 0;
|
virtual CGamestatsData *GetGamestatsData() = 0;
|
||||||
|
|
||||||
// Returns the SteamID of the specified player. It'll be NULL if the player hasn't authenticated yet.
|
// Returns the SteamID of the specified player. It'll be NULL if the player hasn't authenticated yet.
|
||||||
virtual const CSteamID *GetClientSteamID( edict_t *pPlayerEdict ) = 0;
|
virtual const CSteamID *GetClientSteamID( const edict_t *pPlayerEdict ) = 0;
|
||||||
|
|
||||||
// Returns the SteamID of the game server
|
// Returns the SteamID of the game server
|
||||||
virtual const CSteamID *GetGameServerSteamID() = 0;
|
virtual const CSteamID *GetGameServerSteamID() = 0;
|
||||||
|
|||||||
@ -90,7 +90,6 @@ public:
|
|||||||
virtual void SetFileTransmissionMode(bool bBackgroundMode) = 0;
|
virtual void SetFileTransmissionMode(bool bBackgroundMode) = 0;
|
||||||
virtual void SetCompressionMode( bool bUseCompression ) = 0;
|
virtual void SetCompressionMode( bool bUseCompression ) = 0;
|
||||||
virtual unsigned int RequestFile(const char *filename, bool isReplayDemoFile) = 0;
|
virtual unsigned int RequestFile(const char *filename, bool isReplayDemoFile) = 0;
|
||||||
virtual float GetTimeSinceLastReceived( void ) const = 0; // get time since last received packet in seconds
|
|
||||||
|
|
||||||
virtual void SetMaxBufferSize(bool bReliable, int nBytes, bool bVoice = false ) = 0;
|
virtual void SetMaxBufferSize(bool bReliable, int nBytes, bool bVoice = false ) = 0;
|
||||||
|
|
||||||
@ -109,8 +108,9 @@ public:
|
|||||||
virtual void DetachSplitPlayer( int nSplitPlayerSlot ) = 0;
|
virtual void DetachSplitPlayer( int nSplitPlayerSlot ) = 0;
|
||||||
|
|
||||||
virtual bool IsRemoteDisconnected() const = 0;
|
virtual bool IsRemoteDisconnected() const = 0;
|
||||||
|
|
||||||
virtual bool WasLastMessageReliable() const = 0;
|
virtual bool WasLastMessageReliable() const = 0;
|
||||||
|
virtual unsigned int GetChannelEncryptionKey( void ) const = 0;
|
||||||
|
virtual bool EnqueueVeryLargeAsyncTransfer(INetMessage &msg) = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user