forked from Phobos-developers/YRpp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBeaconClass.h
More file actions
25 lines (21 loc) · 697 Bytes
/
BeaconClass.h
File metadata and controls
25 lines (21 loc) · 697 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include <GeneralStructures.h>
#include <Surface.h>
class BeaconClass
{
public:
BeaconClass() JMP_THIS(0x430210)
void Draw(Surface* pSurface, RectangleStruct bounds) JMP_THIS(0x430250)
void SetCoordAndHouse(CoordStruct coord, int houseId) JMP_THIS(0x430590)
// TODO bitfield functions
void SetText(const wchar_t* pText) JMP_THIS(0x430620)
void DrawRadar(Surface* pSurface, RectangleStruct bounds, bool toClear = false) JMP_THIS(0x430650)
bool VisibleToPlayer() const JMP_THIS(0x4308B0)
CoordStruct Coord;
byte Bitfield;
byte gapD[1];
wchar_t Text[128];
byte field_10E;
byte field_10F;
int HouseID;
};
static_assert(sizeof(BeaconClass) == 0x114, "BeaconClass size is incorrect");