re3/src/render/Occlusion.h

27 lines
536 B
C
Raw Normal View History

2020-05-11 15:03:32 +00:00
#pragma once
class COccluder
{
public:
int16 width, length, height;
int16 x, y, z;
uint16 angle;
int16 listIndex;
};
2020-05-11 15:03:32 +00:00
class COcclusion
{
public:
static int32 NumOccludersOnMap;
static int16 FarAwayList;
static int16 NearbyList;
static int16 ListWalkThroughFA;
static int16 PreviousListWalkThroughFA;
static COccluder aOccluders[NUMOCCLUSIONVOLUMES];
static void Init(void);
static void AddOne(float x, float y, float z, float width, float length, float height, float angle);
2020-05-11 15:03:32 +00:00
static void ProcessBeforeRendering(void);
};