35 lines
839 B
C
35 lines
839 B
C
//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
|
|
//
|
|
// Purpose:
|
|
//
|
|
// $NoKeywords: $
|
|
//=============================================================================//
|
|
|
|
#ifndef SV_PACKEDENTITIES_H
|
|
#define SV_PACKEDENTITIES_H
|
|
#ifdef _WIN32
|
|
#pragma once
|
|
#endif
|
|
|
|
|
|
#include "server.h"
|
|
#include "framesnapshot.h"
|
|
#include "server_class.h"
|
|
|
|
|
|
void SV_ComputeClientPacks(
|
|
int clientCount,
|
|
CGameClient** clients,
|
|
CFrameSnapshot *snapshot );
|
|
|
|
void SV_WriteSendTables( ServerClass *pClasses, bf_write &pBuf );
|
|
void SV_WriteClassInfos( ServerClass *pClasses, bf_write &pBuf );
|
|
|
|
void SV_ComputeClassInfosCRC( CRC32_t* crc );
|
|
void SV_EnsureInstanceBaseline( ServerClass *pServerClass, int iEdict, SerializedEntityHandle_t handle );
|
|
|
|
void SV_EnableChangeFrames( bool state );
|
|
|
|
|
|
#endif // SV_PACKEDENTITIES_H
|