VPhysics: add vcollide structure

This commit is contained in:
Kawe Mazidjatari 2024-01-04 16:09:31 +01:00
parent 4df2c83247
commit 96a3bb259c
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,26 @@
//===== Copyright <20> 1996-2005, Valve Corporation, All rights reserved. ======//
//
// Purpose:
//
// $NoKeywords: $
//===========================================================================//
#ifndef VCOLLIDE_H
#define VCOLLIDE_H
#ifdef _WIN32
#pragma once
#endif
class CPhysCollide;
struct vcollide_t
{
unsigned short solidCount; // TODO: count num bits
unsigned short descSize;
// VPhysicsSolids
CPhysCollide** solids;
char* pKeyValues;
void* pUserData;
};
#endif // VCOLLIDE_H

View File

@ -10,6 +10,7 @@ add_sources( SOURCE_GROUP "Private"
)
add_sources( SOURCE_GROUP "Public"
"${ENGINE_SOURCE_DIR}/public/vphysics/vcollide.h"
"${ENGINE_SOURCE_DIR}/public/trace.h"
"${ENGINE_SOURCE_DIR}/public/gametrace.h"
"${ENGINE_SOURCE_DIR}/public/cmodel.h"