mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
17 lines
297 B
C
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];
|