NSEntity: add empty DebugDraw method for listen servers.
This commit is contained in:
parent
0f96e635b0
commit
37ab385bcf
2 changed files with 9 additions and 2 deletions
|
@ -120,10 +120,11 @@ public:
|
||||||
virtual void Input(entity,string,string);
|
virtual void Input(entity,string,string);
|
||||||
virtual void Save(float);
|
virtual void Save(float);
|
||||||
virtual void Restore(string,string);
|
virtual void Restore(string,string);
|
||||||
|
|
||||||
/** Called when we need to re-align the entity to our parent entity. */
|
|
||||||
virtual void ParentUpdate(void);
|
virtual void ParentUpdate(void);
|
||||||
|
|
||||||
|
/* Server-side rendering function. Expensive, but useful. */
|
||||||
|
virtual void DebugDraw(void);
|
||||||
|
|
||||||
/** Run each tic after physics are run to determine if we need to send updates over the network. */
|
/** Run each tic after physics are run to determine if we need to send updates over the network. */
|
||||||
virtual void EvaluateEntity(void);
|
virtual void EvaluateEntity(void);
|
||||||
|
|
||||||
|
|
|
@ -189,6 +189,12 @@ void NSEntity::postdraw( void ) {
|
||||||
|
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
void
|
||||||
|
NSEntity::DebugDraw(void)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
/* Make sure StartFrame calls this */
|
/* Make sure StartFrame calls this */
|
||||||
float NSEntity::SendEntity( entity ePEnt, float flChanged ) {
|
float NSEntity::SendEntity( entity ePEnt, float flChanged ) {
|
||||||
if ( !modelindex )
|
if ( !modelindex )
|
||||||
|
|
Loading…
Reference in a new issue