diff --git a/LEGO1/lego/legoomni/include/hospital.h b/LEGO1/lego/legoomni/include/hospital.h index 50fb8a8f..73585c64 100644 --- a/LEGO1/lego/legoomni/include/hospital.h +++ b/LEGO1/lego/legoomni/include/hospital.h @@ -10,8 +10,12 @@ namespace HospitalScript { +#ifdef COMPAT_MODE +enum Script : int; +#else enum Script; -} +#endif +} // namespace HospitalScript // VTABLE: LEGO1 0x100d9730 // SIZE 0x12c diff --git a/LEGO1/lego/legoomni/include/infocenter.h b/LEGO1/lego/legoomni/include/infocenter.h index 40048919..c2dd079c 100644 --- a/LEGO1/lego/legoomni/include/infocenter.h +++ b/LEGO1/lego/legoomni/include/infocenter.h @@ -12,8 +12,12 @@ class LegoControlManagerEvent; namespace InfomainScript { +#ifdef COMPAT_MODE +enum Script : int; +#else enum Script; -} +#endif +} // namespace InfomainScript // SIZE 0x18 struct InfocenterMapEntry { diff --git a/LEGO1/lego/legoomni/include/isle.h b/LEGO1/lego/legoomni/include/isle.h index 8a39144a..ba219794 100644 --- a/LEGO1/lego/legoomni/include/isle.h +++ b/LEGO1/lego/legoomni/include/isle.h @@ -21,13 +21,21 @@ class Act1State; namespace IsleScript { +#ifdef COMPAT_MODE +enum Script : int; +#else enum Script; -} +#endif +} // namespace IsleScript namespace JukeboxScript { +#ifdef COMPAT_MODE +enum Script : int; +#else enum Script; -} +#endif +} // namespace JukeboxScript // VTABLE: LEGO1 0x100d6fb8 // SIZE 0x140 diff --git a/LEGO1/lego/legoomni/include/misc.h b/LEGO1/lego/legoomni/include/misc.h index 0ff0af1a..b8d4a085 100644 --- a/LEGO1/lego/legoomni/include/misc.h +++ b/LEGO1/lego/legoomni/include/misc.h @@ -28,8 +28,12 @@ class ViewManager; namespace JukeboxScript { +#ifdef COMPAT_MODE +enum Script : int; +#else enum Script; -} +#endif +} // namespace JukeboxScript extern MxBool g_isWorldActive; diff --git a/LEGO1/lego/legoomni/include/policestate.h b/LEGO1/lego/legoomni/include/policestate.h index 60f3507e..3deaff35 100644 --- a/LEGO1/lego/legoomni/include/policestate.h +++ b/LEGO1/lego/legoomni/include/policestate.h @@ -7,8 +7,12 @@ namespace PoliceScript { +#ifdef COMPAT_MODE +enum Script : int; +#else enum Script; -} +#endif +} // namespace PoliceScript // VTABLE: LEGO1 0x100d8af0 // SIZE 0x10