mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-11-18 06:07:45 +00:00
26 lines
455 B
C
26 lines
455 B
C
|
#pragma once
|
||
|
|
||
|
class CAntenna
|
||
|
{
|
||
|
public:
|
||
|
bool active;
|
||
|
bool updatedLastFrame;
|
||
|
uint32 id;
|
||
|
float segmentLength;
|
||
|
CVector pos[6];
|
||
|
CVector speed[6];
|
||
|
|
||
|
void Update(CVector dir, CVector pos);
|
||
|
};
|
||
|
|
||
|
class CAntennas
|
||
|
{
|
||
|
// no need to use game's array
|
||
|
static CAntenna aAntennas[NUMANTENNAS];
|
||
|
public:
|
||
|
static void Init(void);
|
||
|
static void Update(void);
|
||
|
static void RegisterOne(uint32 id, CVector dir, CVector position, float length);
|
||
|
static void Render(void);
|
||
|
};
|