mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-03 12:31:15 +00:00
* Refactor JukeBox, add enum for music (#988) * Refactor JukeBox, add enum for music * add BETA annotation * Fix BETA annotation * Fix BETA annotation * Fix * Consolidate state and building entity classes (#989) * Match LegoCacheSoundManager::FindSoundByKey (#991) * Match LegoCacheSoundManager::FindSoundByKey * Remove space * Implement/match LegoActor::Mute (#992) * Add more annotations to ISLE (#990) * Minor improvements in ISLE.EXE * Add more annotations * Fix * Comment out * Fix lint * Add enum for actor IDs (#993) * Implement/match LegoEntity::ClickAnimation (#994) * Implement/match LegoEntity::VTable0x38 * Update names * Implement/match LegoEntity::SwitchSound / SwitchMove / SwitchColor / SwitchMood (#995) * Implement/match LegoEntity::SwitchSound * Name * Name * Implement/match LegoEntity::SwitchMove * Mood * Implement/match LegoCharacterManager::SwitchColor (#996) * Implement/match IslePathActor::Exit (#997) * Implement/match IslePathActor::Exit * Name * Name * Partially fix vector interface * Revert "Partially fix vector interface" This reverts commit 6e7a1e2b08fd82012b28be3054eeff65428eb4d1. * Revert "Revert "Partially fix vector interface"" This reverts commit e3860e3c9fa1f8937b702d6c81d6e3bb4dadecc6. * Fix * Remove some COMPAT_MODE * Implement/match Ambulance::Notify (#998) * Update isleapp.cpp * Streamline MxVideoParamFlags (#999) * Streamline MxVideoParamFlags * Remove this-> from MxOmniCreateFlags --------- Co-authored-by: MS <disinvite@users.noreply.github.com>
167 lines
4.1 KiB
C++
167 lines
4.1 KiB
C++
#ifndef BUILDINGS_H
|
|
#define BUILDINGS_H
|
|
|
|
#include "buildingentity.h"
|
|
|
|
// VTABLE: LEGO1 0x100d48a8
|
|
// SIZE 0x68
|
|
class RaceStandsEntity : public BuildingEntity {
|
|
// FUNCTION: LEGO1 0x1000efa0
|
|
inline const char* ClassName() const override // vtable+0x0c
|
|
{
|
|
// STRING: LEGO1 0x100f0300
|
|
return "RaceStandsEntity";
|
|
}
|
|
|
|
// FUNCTION: LEGO1 0x1000efb0
|
|
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
|
{
|
|
return !strcmp(p_name, RaceStandsEntity::ClassName()) || BuildingEntity::IsA(p_name);
|
|
}
|
|
|
|
MxLong VTable0x50(MxParam& p_param) override;
|
|
|
|
// SYNTHETIC: LEGO1 0x1000f9e0
|
|
// RaceStandsEntity::`scalar deleting destructor'
|
|
};
|
|
|
|
// VTABLE: LEGO1 0x100d4a18
|
|
// SIZE 0x68
|
|
class BeachHouseEntity : public BuildingEntity {
|
|
public:
|
|
// FUNCTION: LEGO1 0x1000ee80
|
|
inline const char* ClassName() const override // vtable+0x0c
|
|
{
|
|
// STRING: LEGO1 0x100f0314
|
|
return "BeachHouseEntity";
|
|
}
|
|
|
|
// FUNCTION: LEGO1 0x1000ee90
|
|
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
|
{
|
|
return !strcmp(p_name, BeachHouseEntity::ClassName()) || BuildingEntity::IsA(p_name);
|
|
}
|
|
|
|
MxLong VTable0x50(MxParam& p_param) override;
|
|
|
|
// SYNTHETIC: LEGO1 0x1000f970
|
|
// BeachHouseEntity::`scalar deleting destructor'
|
|
};
|
|
|
|
// VTABLE: LEGO1 0x100d4ab0
|
|
// SIZE 0x68
|
|
class PoliceEntity : public BuildingEntity {
|
|
public:
|
|
// FUNCTION: LEGO1 0x1000ed60
|
|
inline const char* ClassName() const override // vtable+0x0c
|
|
{
|
|
// STRING: LEGO1 0x100f0328
|
|
return "PoliceEntity";
|
|
}
|
|
|
|
// FUNCTION: LEGO1 0x1000ed70
|
|
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
|
{
|
|
return !strcmp(p_name, PoliceEntity::ClassName()) || BuildingEntity::IsA(p_name);
|
|
}
|
|
|
|
MxLong VTable0x50(MxParam& p_param) override; // vtable+0x50
|
|
|
|
// SYNTHETIC: LEGO1 0x1000f900
|
|
// PoliceEntity::`scalar deleting destructor'
|
|
};
|
|
|
|
// VTABLE: LEGO1 0x100d4b90
|
|
// SIZE 0x68
|
|
class InfoCenterEntity : public BuildingEntity {
|
|
public:
|
|
// FUNCTION: LEGO1 0x1000ea00
|
|
inline const char* ClassName() const override // vtable+0x0c
|
|
{
|
|
// STRING: LEGO1 0x100f035c
|
|
return "InfoCenterEntity";
|
|
}
|
|
|
|
// FUNCTION: LEGO1 0x1000ea10
|
|
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
|
{
|
|
return !strcmp(p_name, InfoCenterEntity::ClassName()) || BuildingEntity::IsA(p_name);
|
|
}
|
|
|
|
MxLong VTable0x50(MxParam& p_param) override; // vtable+0x50
|
|
|
|
// SYNTHETIC: LEGO1 0x1000f7b0
|
|
// InfoCenterEntity::`scalar deleting destructor'
|
|
};
|
|
|
|
// VTABLE: LEGO1 0x100d5068
|
|
// SIZE 0x68
|
|
class HospitalEntity : public BuildingEntity {
|
|
public:
|
|
// FUNCTION: LEGO1 0x1000ec40
|
|
inline const char* ClassName() const override // vtable+0x0c
|
|
{
|
|
// STRING: LEGO1 0x100f0338
|
|
return "HospitalEntity";
|
|
}
|
|
|
|
// FUNCTION: LEGO1 0x1000ec50
|
|
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
|
{
|
|
return !strcmp(p_name, HospitalEntity::ClassName()) || BuildingEntity::IsA(p_name);
|
|
}
|
|
|
|
MxLong VTable0x50(MxParam& p_param) override; // vtable+0x50
|
|
|
|
// SYNTHETIC: LEGO1 0x1000f820
|
|
// HospitalEntity::`scalar deleting destructor'
|
|
};
|
|
|
|
// 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'
|
|
};
|
|
|
|
// VTABLE: LEGO1 0x100d5258
|
|
// SIZE 0x68
|
|
class GasStationEntity : public BuildingEntity {
|
|
public:
|
|
// FUNCTION: LEGO1 0x1000eb20
|
|
inline const char* ClassName() const override // vtable+0x0c
|
|
{
|
|
// STRING: LEGO1 0x100f0348
|
|
return "GasStationEntity";
|
|
}
|
|
|
|
// FUNCTION: LEGO1 0x1000eb30
|
|
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
|
{
|
|
return !strcmp(p_name, GasStationEntity::ClassName()) || BuildingEntity::IsA(p_name);
|
|
}
|
|
|
|
MxLong VTable0x50(MxParam& p_param) override;
|
|
|
|
// SYNTHETIC: LEGO1 0x1000f890
|
|
// GasStationEntity::`scalar deleting destructor'
|
|
};
|
|
|
|
#endif // BUILDINGS_H
|