mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-24 00:31:16 +00:00
Fix CaveEntity class
This commit is contained in:
parent
475d21f8c8
commit
0a467c56b5
@ -117,6 +117,28 @@ class HospitalEntity : public BuildingEntity {
|
|||||||
// HospitalEntity::`scalar deleting destructor'
|
// HospitalEntity::`scalar deleting destructor'
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// VTABLE: LEGO1 0x100d50c0
|
||||||
|
// SIZE 0x68
|
||||||
|
class CaveEntity : public BuildingEntity {
|
||||||
|
// FUNCTION: LEGO1 0x1000f1e0
|
||||||
|
inline const char* ClassName() const override // vtable+0x0c
|
||||||
|
{
|
||||||
|
// STRING: LEGO1 0x100f0300
|
||||||
|
return "RaceStandsEntity";
|
||||||
|
}
|
||||||
|
|
||||||
|
// FUNCTION: LEGO1 0x1000f1f0
|
||||||
|
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
|
{
|
||||||
|
return !strcmp(p_name, CaveEntity::ClassName()) || BuildingEntity::IsA(p_name);
|
||||||
|
}
|
||||||
|
|
||||||
|
MxLong VTable0x50(MxParam& p_param) override;
|
||||||
|
|
||||||
|
// SYNTHETIC: LEGO1 0x1000fa50
|
||||||
|
// CaveEntity::`scalar deleting destructor'
|
||||||
|
};
|
||||||
|
|
||||||
// VTABLE: LEGO1 0x100d5200
|
// VTABLE: LEGO1 0x100d5200
|
||||||
// SIZE 0x68
|
// SIZE 0x68
|
||||||
class JailEntity : public BuildingEntity {
|
class JailEntity : public BuildingEntity {
|
||||||
@ -133,8 +155,7 @@ class JailEntity : public BuildingEntity {
|
|||||||
return !strcmp(p_name, JailEntity::ClassName()) || BuildingEntity::IsA(p_name);
|
return !strcmp(p_name, JailEntity::ClassName()) || BuildingEntity::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
||||||
// STUB: LEGO1 0x100154f0
|
MxLong VTable0x50(MxParam& p_param) override;
|
||||||
MxLong VTable0x50(MxParam& p_param) override { return 0; }
|
|
||||||
|
|
||||||
// SYNTHETIC: LEGO1 0x1000fac0
|
// SYNTHETIC: LEGO1 0x1000fac0
|
||||||
// JailEntity::`scalar deleting destructor'
|
// JailEntity::`scalar deleting destructor'
|
||||||
|
|||||||
@ -1,10 +0,0 @@
|
|||||||
#ifndef CAVEENTITY_H
|
|
||||||
#define CAVEENTITY_H
|
|
||||||
|
|
||||||
#include "buildings.h"
|
|
||||||
|
|
||||||
// No overrides, uses vtable from RaceStandsEntity
|
|
||||||
// SIZE 0x68
|
|
||||||
class CaveEntity : public RaceStandsEntity {};
|
|
||||||
|
|
||||||
#endif // CAVEENTITY_H
|
|
||||||
@ -174,3 +174,17 @@ MxLong RaceStandsEntity::VTable0x50(MxParam& p_param)
|
|||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// STUB: LEGO1 0x100154f0
|
||||||
|
MxLong JailEntity::VTable0x50(MxParam& p_param)
|
||||||
|
{
|
||||||
|
// TODO
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
// STUB: LEGO1 0x10015520
|
||||||
|
MxLong CaveEntity::VTable0x50(MxParam& p_param)
|
||||||
|
{
|
||||||
|
// TODO
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|||||||
@ -67,7 +67,6 @@
|
|||||||
#include "act3shark.h"
|
#include "act3shark.h"
|
||||||
#include "buildings.h"
|
#include "buildings.h"
|
||||||
#include "bumpbouy.h"
|
#include "bumpbouy.h"
|
||||||
#include "caveentity.h"
|
|
||||||
#include "jukebox.h"
|
#include "jukebox.h"
|
||||||
#include "jukeboxentity.h"
|
#include "jukeboxentity.h"
|
||||||
#include "legometerpresenter.h"
|
#include "legometerpresenter.h"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user