mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 18:51:16 +00:00
Merge branch 'actions-fwd-decl' of https://github.com/Ramen2X/isle into actions-fwd-decl
This commit is contained in:
commit
323f342996
@ -1,6 +1,7 @@
|
||||
#ifndef HOSPITAL_H
|
||||
#define HOSPITAL_H
|
||||
|
||||
#include "actionsfwd.h"
|
||||
#include "decomp.h"
|
||||
#include "hospitalstate.h"
|
||||
#include "legogamestate.h"
|
||||
@ -8,15 +9,6 @@
|
||||
#include "mxstillpresenter.h"
|
||||
#include "radio.h"
|
||||
|
||||
namespace HospitalScript
|
||||
{
|
||||
#ifdef COMPAT_MODE
|
||||
enum Script : int;
|
||||
#else
|
||||
enum Script;
|
||||
#endif
|
||||
} // namespace HospitalScript
|
||||
|
||||
// VTABLE: LEGO1 0x100d9730
|
||||
// SIZE 0x12c
|
||||
class Hospital : public LegoWorld {
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
#ifndef INFOCENTER_H
|
||||
#define INFOCENTER_H
|
||||
|
||||
#include "actionsfwd.h"
|
||||
#include "legogamestate.h"
|
||||
#include "legoworld.h"
|
||||
#include "mxrect32.h"
|
||||
@ -10,15 +11,6 @@ class InfocenterState;
|
||||
class MxStillPresenter;
|
||||
class LegoControlManagerEvent;
|
||||
|
||||
namespace InfomainScript
|
||||
{
|
||||
#ifdef COMPAT_MODE
|
||||
enum Script : int;
|
||||
#else
|
||||
enum Script;
|
||||
#endif
|
||||
} // namespace InfomainScript
|
||||
|
||||
// SIZE 0x18
|
||||
struct InfocenterMapEntry {
|
||||
// FUNCTION: LEGO1 0x1006ec80
|
||||
|
||||
@ -1,17 +1,9 @@
|
||||
#ifndef JUKEBOXENTITY_H
|
||||
#define JUKEBOXENTITY_H
|
||||
|
||||
#include "actionsfwd.h"
|
||||
#include "legoentity.h"
|
||||
|
||||
namespace JukeboxScript
|
||||
{
|
||||
#ifdef COMPAT_MODE
|
||||
enum Script : int;
|
||||
#else
|
||||
enum Script;
|
||||
#endif
|
||||
} // namespace JukeboxScript
|
||||
|
||||
// VTABLE: LEGO1 0x100da8a0
|
||||
// SIZE 0x6c
|
||||
class JukeBoxEntity : public LegoEntity {
|
||||
|
||||
@ -19,9 +19,6 @@ struct LegoCharacterComparator {
|
||||
|
||||
// SIZE 0x08
|
||||
struct LegoCharacter {
|
||||
LegoROI* m_roi; // 0x00
|
||||
MxU32 m_refCount; // 0x04
|
||||
|
||||
LegoCharacter(LegoROI* p_roi)
|
||||
{
|
||||
m_roi = p_roi;
|
||||
@ -29,6 +26,9 @@ struct LegoCharacter {
|
||||
}
|
||||
|
||||
inline void AddRef() { m_refCount++; }
|
||||
|
||||
LegoROI* m_roi; // 0x00
|
||||
MxU32 m_refCount; // 0x04
|
||||
};
|
||||
|
||||
typedef map<const char*, LegoCharacter*, LegoCharacterComparator> LegoCharacterMap;
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
#ifndef LEGOGAMESTATE_H
|
||||
#define LEGOGAMESTATE_H
|
||||
|
||||
#include "actionsfwd.h"
|
||||
#include "decomp.h"
|
||||
#include "legobackgroundcolor.h"
|
||||
#include "legofullscreenmovie.h"
|
||||
@ -17,15 +18,6 @@ struct ColorStringStruct {
|
||||
const char* m_colorName;
|
||||
};
|
||||
|
||||
namespace JukeboxScript
|
||||
{
|
||||
#ifdef COMPAT_MODE
|
||||
enum Script : int;
|
||||
#else
|
||||
enum Script;
|
||||
#endif
|
||||
} // namespace JukeboxScript
|
||||
|
||||
// SIZE 0x430
|
||||
class LegoGameState {
|
||||
public:
|
||||
|
||||
@ -1,9 +1,10 @@
|
||||
#ifndef MISC_H
|
||||
#define MISC_H
|
||||
|
||||
#include "actionsfwd.h"
|
||||
#include "compat.h"
|
||||
#include "decomp.h"
|
||||
// Long include path due to dependency of misc library on LegoOmni
|
||||
#include "lego/legoomni/include/actions/actionsfwd.h"
|
||||
#include "mxtypes.h"
|
||||
|
||||
class IslePathActor;
|
||||
|
||||
@ -1,19 +1,11 @@
|
||||
#ifndef POLICESTATE_H
|
||||
#define POLICESTATE_H
|
||||
|
||||
#include "actionsfwd.h"
|
||||
#include "decomp.h"
|
||||
#include "legostate.h"
|
||||
#include "police.h"
|
||||
|
||||
namespace PoliceScript
|
||||
{
|
||||
#ifdef COMPAT_MODE
|
||||
enum Script : int;
|
||||
#else
|
||||
enum Script;
|
||||
#endif
|
||||
} // namespace PoliceScript
|
||||
|
||||
// VTABLE: LEGO1 0x100d8af0
|
||||
// SIZE 0x10
|
||||
class PoliceState : public LegoState {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user