mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-22 15:37:55 -05:00
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:
parent
a93e2ae0d3
commit
3897e9c015
3 changed files with 34 additions and 5 deletions
29
LEGO1/lego/legoomni/include/jailentity.h
Normal file
29
LEGO1/lego/legoomni/include/jailentity.h
Normal 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
|
|
@ -94,7 +94,7 @@
|
|||
X(JukeBoxEntity) \
|
||||
X(RadioState) \
|
||||
X(CaveEntity) \
|
||||
/*X(JailEntity)*/ \
|
||||
X(JailEntity) \
|
||||
X(MxCompositeMediaPresenter) \
|
||||
X(JukeBox) \
|
||||
X(JukeBoxState) \
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue