32- and 64-bit LEGO1.dll export different symbol names

This commit is contained in:
Anonymous Maarten 2024-06-26 00:39:02 +02:00
parent 2f25748dec
commit 5ebbf0b3a9
2 changed files with 69 additions and 1 deletions

View File

@ -449,7 +449,11 @@ if (MINGW)
endif() endif()
if (MSVC) if (MSVC)
if(CMAKE_SIZEOF_VOID_P EQUAL 4)
target_sources(lego1 PRIVATE LEGO1/LegoOmni.def) target_sources(lego1 PRIVATE LEGO1/LegoOmni.def)
else()
target_sources(lego1 PRIVATE LEGO1/LegoOmni64.def)
endif()
else() else()
target_sources(lego1 PRIVATE LEGO1/LegoOmni.mingw.def) target_sources(lego1 PRIVATE LEGO1/LegoOmni.mingw.def)
endif() endif()

64
LEGO1/LegoOmni64.def Normal file
View File

@ -0,0 +1,64 @@
; LegoOmni64.def : Declares the module paarameters for the LEGO1.DLL.
; DESCRIPTION "Lego OMNI Windows Dynamic Link Library"
EXPORTS
; EXPORTs really required only.
?SetCD@MxOmni@@SAXPEBD@Z
?VariableTable@@YAPEAVMxVariableTable@@XZ
?SetVariable@MxVariableTable@@QEAAXPEBD0@Z
?CreateInstance@LegoOmni@@SAXXZ
?TickleManager@@YAPEAVMxTickleManager@@XZ
??1MxVideoParam@@QEAA@XZ
?configureLegoModelPresenter@LegoModelPresenter@@SAXH@Z
?SetHD@MxOmni@@SAXPEBD@Z
?QueueEvent@LegoInputManager@@QEAAXW4NotificationId@@EJJE@Z
?TransitionManager@@YAPEAVMxTransitionManager@@XZ
??1MxString@@UEAA@XZ
??0MxOmniCreateParam@@QEAA@PEBDPEAUHWND__@@AEAVMxVideoParam@@VMxOmniCreateFlags@@@Z
?configureLegoAnimationManager@LegoAnimationManager@@SAXH@Z
?GetCD@MxOmni@@SAPEBDXZ
?configureLegoWorldPresenter@LegoWorldPresenter@@SAXH@Z
?GameState@@YAPEAVLegoGameState@@XZ
?Streamer@@YAPEAVMxStreamer@@XZ
??1MxOmniCreateParam@@UEAA@XZ
?configureLegoROI@LegoROI@@SAXH@Z
?Lego@@YAPEAVLegoOmni@@XZ
??0MxVideoParamFlags@@QEAA@XZ
??0MxDSAction@@QEAA@XZ
?VideoManager@@YAPEAVLegoVideoManager@@XZ
?Timer@@YAPEAVMxTimer@@XZ
?RemoveAll@ViewManager@@QEAAXPEAVViewROI@@@Z
??4MxAtomId@@QEAAAEAV0@AEBV0@@Z
?Enable@MxBackgroundAudioManager@@QEAAXE@Z
?SetDeviceName@MxVideoParam@@QEAAXPEAD@Z
??0MxVideoParam@@QEAA@XZ
?SetSavePath@LegoGameState@@QEAAXPEAD@Z
?MoveCursor@LegoVideoManager@@QEAAXHH@Z
?SetWaitIndicator@MxTransitionManager@@QEAAXPEAVMxVideoPresenter@@@Z
?Save@LegoGameState@@QEAAJK@Z
??1MxDSAction@@UEAA@XZ
?RemoveWorld@LegoOmni@@QEAAXAEBVMxAtomId@@J@Z
?GetPrimaryBitDepth@MxDirectDraw@@SAHXZ
?CreateBackgroundAudio@LegoOmni@@QEAAXXZ
?SerializePlayersInfo@LegoGameState@@QEAAXF@Z
?GetInstance@LegoOmni@@SAPEAV1@XZ
?BackgroundAudioManager@@YAPEAVMxBackgroundAudioManager@@XZ
?configureLegoPartPresenter@LegoPartPresenter@@SAXHH@Z
?EnableRMDevice@LegoVideoManager@@QEAAHXZ
?GetRealTime@MxTimer@@QEAAJXZ
?SetAtomId@MxDSObject@@UEAAXVMxAtomId@@@Z
?DestroyInstance@MxOmni@@SAXXZ
?InputManager@@YAPEAVLegoInputManager@@XZ
?Open@MxStreamer@@QEAAPEAVMxStreamController@@PEBDG@Z
?Start@@YAJPEAVMxDSAction@@@Z
??4MxVideoParam@@QEAAAEAV0@AEBV0@@Z
?EnableFullScreenMovie@LegoVideoManager@@QEAAXEE@Z
?configureLegoBuildingManager@LegoBuildingManager@@SAXH@Z
?SerializeScoreHistory@LegoGameState@@QEAAXF@Z
?Close@MxStreamer@@QEAAJPEBD@Z
??0MxOmniCreateFlags@@QEAA@XZ
??1MxAtomId@@QEAA@XZ
?SetSound3D@MxOmni@@SAXE@Z