Skip to content

Commit bcaf84b

Browse files
committed
Update DisplayClass
- Add building proximity check function definition
1 parent c492ad0 commit bcaf84b

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

DisplayClass.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ class NOVTABLE DisplayClass : public MapClass
2020
void SetActiveFoundation(const CellStruct *Coords)
2121
{ JMP_THIS(0x4A8BF0); }
2222

23+
// Building Adjacent etc. check. Pretty much always called with:
24+
// foundationData = DisplayClass::CurrentFoundation_Data
25+
// currentPosition = DisplayClass::CurrentFoundation_CenterCell + DisplayClass::CurrentFoundation_TopLeftOffset
26+
bool PassesProximityCheck(ObjectTypeClass* pType, int houseArrayIndex, CellStruct* foundationData, CellStruct* currentPosition)
27+
{ JMP_THIS(0x4A8EB0); }
28+
2329
//Destructor
2430
virtual ~DisplayClass() RX;
2531

0 commit comments

Comments
 (0)