additions
This commit is contained in:
@@ -21,6 +21,8 @@ EngineConsts_t *g_pEngineConstants;
|
||||
IPhysics *g_pPhysics;
|
||||
IPhysicsWorld *g_pPhysicsWorld;
|
||||
|
||||
IKotUIManager *g_pKotUI;
|
||||
|
||||
CreateInterfaceFn GetEngineFactory()
|
||||
{
|
||||
return Sys_GetFactory("engine");
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
#include "networkbase.h"
|
||||
#include "iphysics.h"
|
||||
#include "ihumandevice.h"
|
||||
#include "kotgui/kotgui.h"
|
||||
|
||||
class CEngineVars
|
||||
{
|
||||
@@ -39,6 +40,8 @@ extern EngineConsts_t *g_pEngineConstants;
|
||||
extern IPhysics *g_pPhysics;
|
||||
extern IPhysicsWorld *g_pPhysicsWorld;
|
||||
|
||||
extern IKotUIManager *g_pKotUI;
|
||||
|
||||
#define FUNNY_SECURE_PORT 27015
|
||||
#define FUNNY_QUERY_PORT 27016
|
||||
|
||||
|
||||
@@ -26,6 +26,7 @@ enum EMessageType: uint32_t
|
||||
|
||||
k_EMessage_PlayerSetLocalEntity,
|
||||
k_EMessage_ResetEntities,
|
||||
k_EMessage_EntityDeleted,
|
||||
};
|
||||
|
||||
struct PlayerJoined_t
|
||||
@@ -53,6 +54,12 @@ struct EntityClass_t
|
||||
int8_t m_szEntityName[256];
|
||||
};
|
||||
|
||||
struct EntityDelete_t
|
||||
{
|
||||
EMessageType m_eType;
|
||||
CNetworkProtocolUInt32 m_uIndex;
|
||||
};
|
||||
|
||||
struct EntityDataSync_t
|
||||
{
|
||||
EMessageType m_eType;
|
||||
@@ -81,6 +88,7 @@ union PlayerPacket_t
|
||||
EntityClass_t m_entityClass;
|
||||
EntityDataSync_t m_entityData;
|
||||
SetLocalEntity_t m_setLocalEntity;
|
||||
EntityDelete_t m_deleteEntity;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user