Skip to content

Commit c492ad0

Browse files
committed
Update RadarClass.h
1 parent a43a256 commit c492ad0

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

RadarClass.h

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,21 @@ class NOVTABLE RadarClass : public DisplayClass
2929
virtual void Init_For_House() RX;
3030

3131
//Non-virtual
32+
Point2D* GetCrdOnRadar(Point2D *pOutBuffer, CoordStruct *pCrd, bool bRestrictToBound)
33+
{
34+
JMP_THIS(0x6557F0);
35+
}
36+
37+
Point2D GetCrdOnRadar(CoordStruct crd, bool bRestrictToBound = true)
38+
{
39+
auto pOutBuffer = new Point2D();
40+
return *GetCrdOnRadar(pOutBuffer, &crd, bRestrictToBound);
41+
}
42+
43+
void RefreshCrd(Point2D* pCrd)
44+
{
45+
JMP_THIS(0x6562D0);
46+
}
3247

3348
protected:
3449
//Constructor

0 commit comments

Comments
 (0)