raze/source/core/coreplayer.h
2023-10-02 17:00:50 +11:00

17 lines
297 B
C

#pragma once
#include "d_net.h"
#include "packet.h"
#include "gameinput.h"
struct CorePlayer
{
ticcmd_t cmd;
PlayerAngles Angles;
DCoreActor* actor;
virtual ~CorePlayer() { if (actor) actor->Destroy(); };
virtual DCoreActor* GetActor() = 0;
};
extern CorePlayer* PlayerArray[MAXPLAYERS];