From bef7d504aeecd6283fc9c9f236d3c439c2425e0f Mon Sep 17 00:00:00 2001 From: Roman Masanin <36927roma@gmail.com> Date: Sun, 25 Jun 2023 01:13:29 +0200 Subject: [PATCH] fix isle.exe build --- LEGO1/legoanimationmanager.cpp | 6 ++++ LEGO1/legobuildingmanager.cpp | 6 ++++ LEGO1/legogamestate.cpp | 22 +++++++++++++++ LEGO1/legoinputmanager.cpp | 7 +++++ LEGO1/legomodelpresenter.cpp | 6 ++++ LEGO1/legoomni.cpp | 45 ++++++++++++++++++++++++++++++ LEGO1/legopartpresenter.cpp | 6 ++++ LEGO1/legoroi.cpp | 6 ++++ LEGO1/legovideomanager.cpp | 23 +++++++++++++++ LEGO1/legoworldpresenter.cpp | 6 ++++ LEGO1/mxbackgroundaudiomanager.cpp | 6 ++++ LEGO1/mxdirectdraw.cpp | 7 +++++ LEGO1/mxdsaction.cpp | 11 ++++++++ LEGO1/mxomni.cpp | 32 +++++++++++++++++++++ LEGO1/mxomni.h | 1 + LEGO1/mxstreamer.cpp | 13 +++++++++ LEGO1/mxtimer.h | 2 +- LEGO1/mxtransitionmanager.cpp | 6 ++++ LEGO1/mxvariabletable.cpp | 6 ++++ LEGO1/viewmanager.cpp | 6 ++++ 20 files changed, 222 insertions(+), 1 deletion(-) create mode 100644 LEGO1/legoanimationmanager.cpp create mode 100644 LEGO1/legobuildingmanager.cpp create mode 100644 LEGO1/legogamestate.cpp create mode 100644 LEGO1/legoinputmanager.cpp create mode 100644 LEGO1/legomodelpresenter.cpp create mode 100644 LEGO1/legopartpresenter.cpp create mode 100644 LEGO1/legoroi.cpp create mode 100644 LEGO1/legovideomanager.cpp create mode 100644 LEGO1/legoworldpresenter.cpp create mode 100644 LEGO1/mxbackgroundaudiomanager.cpp create mode 100644 LEGO1/mxdirectdraw.cpp create mode 100644 LEGO1/mxdsaction.cpp create mode 100644 LEGO1/mxstreamer.cpp create mode 100644 LEGO1/mxtransitionmanager.cpp create mode 100644 LEGO1/mxvariabletable.cpp create mode 100644 LEGO1/viewmanager.cpp diff --git a/LEGO1/legoanimationmanager.cpp b/LEGO1/legoanimationmanager.cpp new file mode 100644 index 00000000..d7ca97d7 --- /dev/null +++ b/LEGO1/legoanimationmanager.cpp @@ -0,0 +1,6 @@ +#include "legoanimationmanager.h" + +void LegoAnimationManager::configureLegoAnimationManager(int param_1) +{ + // FIXME: Stub +} diff --git a/LEGO1/legobuildingmanager.cpp b/LEGO1/legobuildingmanager.cpp new file mode 100644 index 00000000..e077389f --- /dev/null +++ b/LEGO1/legobuildingmanager.cpp @@ -0,0 +1,6 @@ +#include "legobuildingmanager.h" + +void LegoBuildingManager::configureLegoBuildingManager(int param_1) +{ + // FIXME: Stub +} diff --git a/LEGO1/legogamestate.cpp b/LEGO1/legogamestate.cpp new file mode 100644 index 00000000..6c618b6c --- /dev/null +++ b/LEGO1/legogamestate.cpp @@ -0,0 +1,22 @@ +#include "legogamestate.h" + +long LegoGameState::Save(unsigned long p) +{ + // FIXME: Stub + return 0; +} + +void LegoGameState::SerializePlayersInfo(short p) +{ + // FIXME: Stub +} + +void LegoGameState::SerializeScoreHistory(short p) +{ + // FIXME: Stub +} + +void LegoGameState::SetSavePath(char* p) +{ + // FIXME: Stub +} diff --git a/LEGO1/legoinputmanager.cpp b/LEGO1/legoinputmanager.cpp new file mode 100644 index 00000000..395b211c --- /dev/null +++ b/LEGO1/legoinputmanager.cpp @@ -0,0 +1,7 @@ +#include "legoinputmanager.h" + +void LegoInputManager::QueueEvent(NotificationId id, unsigned char p2, long p3, long p4, unsigned char p5) +{ + // FIXME: Stub +} + diff --git a/LEGO1/legomodelpresenter.cpp b/LEGO1/legomodelpresenter.cpp new file mode 100644 index 00000000..cd2c6428 --- /dev/null +++ b/LEGO1/legomodelpresenter.cpp @@ -0,0 +1,6 @@ +#include "legomodelpresenter.h" + +void LegoModelPresenter::configureLegoModelPresenter(int param_1) +{ + // FIXME: Stub +} diff --git a/LEGO1/legoomni.cpp b/LEGO1/legoomni.cpp index ff209e38..1a74b66f 100644 --- a/LEGO1/legoomni.cpp +++ b/LEGO1/legoomni.cpp @@ -144,3 +144,48 @@ unsigned char LegoOmni::vtable40() // FIXME: Stub return 0; } + +void LegoOmni::CreateInstance() +{ + // FIXME: Stub +} + +MxStreamer* Streamer() +{ + // FIXME: Stub + return 0; +} + +MxTickleManager* TickleManager() +{ + // FIXME: Stub + return 0; +} + +MxTransitionManager* TransitionManager() +{ + // FIXME: Stub + return 0; +} + +MxVariableTable* VariableTable() +{ + // FIXME: Stub + return 0; +} + +long Start(MxDSAction* a) +{ + // FIXME: Stub + return 0; +} + +void LegoOmni::CreateBackgroundAudio() +{ + // FIXME: Stub +} + +void LegoOmni::RemoveWorld(const MxAtomId& p1, long p2) +{ + // FIXME: Stub +} diff --git a/LEGO1/legopartpresenter.cpp b/LEGO1/legopartpresenter.cpp new file mode 100644 index 00000000..ed43ef14 --- /dev/null +++ b/LEGO1/legopartpresenter.cpp @@ -0,0 +1,6 @@ +#include "legopartpresenter.h" + +void LegoPartPresenter::configureLegoPartPresenter(int param_1, int param_2) +{ + // FIXME: Stub +} diff --git a/LEGO1/legoroi.cpp b/LEGO1/legoroi.cpp new file mode 100644 index 00000000..f0f50127 --- /dev/null +++ b/LEGO1/legoroi.cpp @@ -0,0 +1,6 @@ +#include "legoroi.h" + +void LegoROI::configureLegoROI(int param_1) +{ + // FIXME: Stub +} diff --git a/LEGO1/legovideomanager.cpp b/LEGO1/legovideomanager.cpp new file mode 100644 index 00000000..216bfcde --- /dev/null +++ b/LEGO1/legovideomanager.cpp @@ -0,0 +1,23 @@ +#include "legovideomanager.h" + +int LegoVideoManager::EnableRMDevice() +{ + // FIXME: Stub + return 0; +} + +int LegoVideoManager::DisableRMDevice() +{ + // FIXME: Stub + return 0; +} + +void LegoVideoManager::EnableFullScreenMovie(unsigned char a, unsigned char b) +{ + // FIXME: Stub +} + +void LegoVideoManager::MoveCursor(int x, int y) +{ + // FIXME: Stub +} diff --git a/LEGO1/legoworldpresenter.cpp b/LEGO1/legoworldpresenter.cpp new file mode 100644 index 00000000..ea3d647b --- /dev/null +++ b/LEGO1/legoworldpresenter.cpp @@ -0,0 +1,6 @@ +#include "legoworldpresenter.h" + +void LegoWorldPresenter::configureLegoWorldPresenter(int param_1) +{ + // FIXME: Stub +} diff --git a/LEGO1/mxbackgroundaudiomanager.cpp b/LEGO1/mxbackgroundaudiomanager.cpp new file mode 100644 index 00000000..5d6a61d7 --- /dev/null +++ b/LEGO1/mxbackgroundaudiomanager.cpp @@ -0,0 +1,6 @@ +#include "mxbackgroundaudiomanager.h" + +void MxBackgroundAudioManager::Enable(unsigned char p) +{ + // FIXME: Stub +} diff --git a/LEGO1/mxdirectdraw.cpp b/LEGO1/mxdirectdraw.cpp new file mode 100644 index 00000000..9f13a9df --- /dev/null +++ b/LEGO1/mxdirectdraw.cpp @@ -0,0 +1,7 @@ +#include "mxdirectdraw.h" + +int MxDirectDraw::GetPrimaryBitDepth() +{ + // FIXME: Stub + return 0; +} \ No newline at end of file diff --git a/LEGO1/mxdsaction.cpp b/LEGO1/mxdsaction.cpp new file mode 100644 index 00000000..e5b4a8e2 --- /dev/null +++ b/LEGO1/mxdsaction.cpp @@ -0,0 +1,11 @@ +#include "mxdsaction.h" + +MxDSAction::MxDSAction() +{ + // FIXME: Stub +} + +MxDSAction::~MxDSAction() +{ + // FIXME: Stub +} diff --git a/LEGO1/mxomni.cpp b/LEGO1/mxomni.cpp index 9752f6ea..d4990566 100644 --- a/LEGO1/mxomni.cpp +++ b/LEGO1/mxomni.cpp @@ -72,3 +72,35 @@ MxTimer *Timer() { return MxOmni::GetInstance()->GetTimer(); } + +void MxOmni::DestroyInstance() +{ + // FIXME: Stub +} + +const char* MxOmni::GetCD() +{ + // FIXME: Stub + return 0; +} + +const char* MxOmni::GetHD() +{ + // FIXME: Stub + return 0; +} + +void MxOmni::SetCD(const char* s) +{ + // FIXME: Stub +} + +void MxOmni::SetHD(const char* s) +{ + // FIXME: Stub +} + +void MxOmni::SetSound3D(unsigned char) +{ + // FIXME: Stub +} diff --git a/LEGO1/mxomni.h b/LEGO1/mxomni.h index 4c7d29e8..d6712d3c 100644 --- a/LEGO1/mxomni.h +++ b/LEGO1/mxomni.h @@ -28,6 +28,7 @@ class MxOmni : public MxCore __declspec(dllexport) static void SetHD(const char *s); __declspec(dllexport) static void SetSound3D(unsigned char); + MxOmni::MxOmni(); virtual ~MxOmni(); virtual long Notify(MxParam &p); // vtable+04 diff --git a/LEGO1/mxstreamer.cpp b/LEGO1/mxstreamer.cpp new file mode 100644 index 00000000..47d27543 --- /dev/null +++ b/LEGO1/mxstreamer.cpp @@ -0,0 +1,13 @@ +#include "mxstreamer.h" + +MxStreamController* MxStreamer::Open(const char* name, unsigned short p) +{ + // FIXME: Stub + return 0; +} + +long MxStreamer::Close(const char* p) +{ + // FIXME: Stub + return 0; +} diff --git a/LEGO1/mxtimer.h b/LEGO1/mxtimer.h index 8f35d205..d54a1da6 100644 --- a/LEGO1/mxtimer.h +++ b/LEGO1/mxtimer.h @@ -13,7 +13,7 @@ class MxTimer : public MxCore __declspec(dllexport) long GetRealTime(); - long GetTime() inline + inline long GetTime() { if (this->m_isRunning) return s_LastTimeCalculated; diff --git a/LEGO1/mxtransitionmanager.cpp b/LEGO1/mxtransitionmanager.cpp new file mode 100644 index 00000000..eb01b33a --- /dev/null +++ b/LEGO1/mxtransitionmanager.cpp @@ -0,0 +1,6 @@ +#include "mxtransitionmanager.h" + +void MxTransitionManager::SetWaitIndicator(MxVideoPresenter* videoPresenter) +{ + // FIXME: Stub +} diff --git a/LEGO1/mxvariabletable.cpp b/LEGO1/mxvariabletable.cpp new file mode 100644 index 00000000..58869fa4 --- /dev/null +++ b/LEGO1/mxvariabletable.cpp @@ -0,0 +1,6 @@ +#include "mxvariabletable.h" + +void MxVariableTable::SetVariable(const char* key, const char* value) +{ + // FIXME: Stub +} diff --git a/LEGO1/viewmanager.cpp b/LEGO1/viewmanager.cpp new file mode 100644 index 00000000..dd97a666 --- /dev/null +++ b/LEGO1/viewmanager.cpp @@ -0,0 +1,6 @@ +#include "viewmanager.h" + +void ViewManager::RemoveAll(ViewROI*) +{ + // FIXME: Stub +}