Add JailEntity class (#630)

* Add JailEntity class

* Update legoobjectfactory.h

* Update jailentity.h

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
Misha 2024-03-05 16:05:38 -05:00 committed by GitHub
parent a93e2ae0d3
commit 3897e9c015
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 34 additions and 5 deletions

View file

@ -0,0 +1,29 @@
#ifndef JAILENTITY_H
#define JAILENTITY_H
#include "buildingentity.h"
// VTABLE: LEGO1 0x100d5200
// SIZE 0x68
class JailEntity : public BuildingEntity {
// FUNCTION: LEGO1 0x1000f0c0
inline const char* ClassName() const override // vtable+0x0c
{
// STRING: LEGO1 0x100f0300
return "RaceStandsEntity";
}
// FUNCTION: LEGO1 0x1000f0d0
inline MxBool IsA(const char* p_name) const override // vtable+0x10
{
return !strcmp(p_name, JailEntity::ClassName()) || BuildingEntity::IsA(p_name);
}
// STUB: LEGO1 0x100154f0
MxLong VTable0x50(MxParam& p_param) override { return 0; }
// SYNTHETIC: LEGO1 0x1000fac0
// JailEntity::`scalar deleting destructor'
};
#endif // JAILENTITY_H

View file

@ -94,7 +94,7 @@
X(JukeBoxEntity) \
X(RadioState) \
X(CaveEntity) \
/*X(JailEntity)*/ \
X(JailEntity) \
X(MxCompositeMediaPresenter) \
X(JukeBox) \
X(JukeBoxState) \

View file

@ -84,17 +84,17 @@
#include "gasstationentity.h"
#include "hospitalentity.h"
#include "infocenterentity.h"
#include "jailentity.h"
#include "jetskiracestate.h"
#include "jukebox.h"
#include "jukeboxentity.h"
#include "jukeboxstate.h"
#include "mxcompositemediapresenter.h"
#include "pizzeria.h"
#include "pizzeriastate.h"
#include "policeentity.h"
#include "racestandsentity.h"
#include "radiostate.h"
// #include "jailentity.h"
#include "jukebox.h"
#include "jukeboxstate.h"
#include "mxcompositemediapresenter.h"
// #include "raceskel.h"
#include "animstate.h"