isle-portable/LEGO1/omni/include
Anonymous Maarten e7fb67bb9f
Fix mingw build + copy d3drm from wine (#25)
* Fix engineConfig declaration crossing jump

This fixes the following error:
```
/src/isle-portable/LEGO1/omni/src/audio/mxsoundmanager.cpp: In member function 'virtual MxResult MxSoundManager::Create(MxU32, MxBool)':
/src/isle-portable/LEGO1/omni/src/audio/mxsoundmanager.cpp:119:1: error: jump to label 'done'
  119 | done:
      | ^~~~
/src/isle-portable/LEGO1/omni/src/audio/mxsoundmanager.cpp:78:22: note:   from here
   78 |                 goto done;
      |                      ^~~~
/src/isle-portable/LEGO1/omni/src/audio/mxsoundmanager.cpp:84:26: note:   crosses initialization of 'ma_engine_config engineConfig'
   84 |         ma_engine_config engineConfig = ma_engine_config_init();
      |                          ^~~~~~~~~~~~
```

* Fix 'invalid conversion from 'SDL_FunctionPointer' {aka 'void (*)()'} to 'void*'

* /SAFESEH:NO is a VC thing

* SDL3 is still instable

* Cannot forward declare and use enum

* Remove MusicManager from public LEGO1.DLL interface

* Copy d3d from wine git 6c5d17af07a318d754c0c21023b2d162a0d3725d

* Build d3drm-wine with 32-bit mingw

* cmake: move 3rd party targets to cmake script in 3rdparty directory

* cmake: bump minimum required CMake version to 3.25 to allow adding a subproject with SYSTEM automatically applied

An alternative would be to use SYSTEM in target_include_directories in the 3rd party cmake script.

* Add a minimal Findiniparser.cmake (not all distributions carry the upstream iniparser-config.cmake files)

* Add wine's d3drm headers

* cmake: merge ISLE_USE_DX5_LIBS into ISLE_USE_DX5

* cmake: Build all shared libraries in the binary output directory (to avoid PATH issues)

* ci: enable msys2 mingw32 build

* Disable clang-tidy on d3drm wine

* Thread functions must have SDLCALL call convention

* cmake: disable clang-tidy for miniaudio and libsmacker as well

* Hopefully fix c++ format and skip ncc naming violation

* clang-format violations keep up popping out of nowhere

* No need for lego/legoomni/include

* ncc: define SDLCALL as empty instead
2024-06-24 07:25:51 -07:00
..
flic.h initial commit 2024-05-16 19:42:54 -04:00
mxactionnotificationparam.h initial commit 2024-05-16 19:42:54 -04:00
mxatom.h initial commit 2024-05-16 19:42:54 -04:00
mxaudiomanager.h Rename InitPresenters to Create, remove this keyword (#1000) (#20) 2024-06-07 22:17:20 +02:00
mxaudiopresenter.h Updates from isledecomp/isle (#3) 2024-05-30 19:20:36 +02:00
mxautolock.h Updates from isledecomp/isle (#5) 2024-05-30 21:23:21 +02:00
mxbitmap.h Updates from isledecomp/isle (#3) 2024-05-30 19:20:36 +02:00
mxbitset.h initial commit 2024-05-16 19:42:54 -04:00
mxcollection.h initial commit 2024-05-16 19:42:54 -04:00
mxcompositepresenter.h Updates from isledecomp/isle (#3) 2024-05-30 19:20:36 +02:00
mxcore.h initial commit 2024-05-16 19:42:54 -04:00
mxcriticalsection.h Replace Windows CriticalSection with SDL Mutex (#7) 2024-05-30 22:38:42 +02:00
mxdiskstreamcontroller.h initial commit 2024-05-16 19:42:54 -04:00
mxdiskstreamprovider.h initial commit 2024-05-16 19:42:54 -04:00
mxdisplaysurface.h initial commit 2024-05-16 19:42:54 -04:00
mxdsaction.h initial commit 2024-05-16 19:42:54 -04:00
mxdsactionlist.h initial commit 2024-05-16 19:42:54 -04:00
mxdsanim.h initial commit 2024-05-16 19:42:54 -04:00
mxdsbuffer.h initial commit 2024-05-16 19:42:54 -04:00
mxdschunk.h initial commit 2024-05-16 19:42:54 -04:00
mxdsevent.h initial commit 2024-05-16 19:42:54 -04:00
mxdsfile.h initial commit 2024-05-16 19:42:54 -04:00
mxdsmediaaction.h Updates from isledecomp/isle (#18) 2024-06-02 17:26:15 +02:00
mxdsmultiaction.h initial commit 2024-05-16 19:42:54 -04:00
mxdsobject.h Updates from isledecomp/isle (#3) 2024-05-30 19:20:36 +02:00
mxdsobjectaction.h initial commit 2024-05-16 19:42:54 -04:00
mxdsparallelaction.h initial commit 2024-05-16 19:42:54 -04:00
mxdsselectaction.h initial commit 2024-05-16 19:42:54 -04:00
mxdsserialaction.h initial commit 2024-05-16 19:42:54 -04:00
mxdssound.h Updates from isledecomp/isle (#18) 2024-06-02 17:26:15 +02:00
mxdssource.h initial commit 2024-05-16 19:42:54 -04:00
mxdsstill.h initial commit 2024-05-16 19:42:54 -04:00
mxdsstreamingaction.h initial commit 2024-05-16 19:42:54 -04:00
mxdssubscriber.h initial commit 2024-05-16 19:42:54 -04:00
mxentity.h initial commit 2024-05-16 19:42:54 -04:00
mxeventmanager.h initial commit 2024-05-16 19:42:54 -04:00
mxeventpresenter.h Updates from isledecomp/isle (#3) 2024-05-30 19:20:36 +02:00
mxflcpresenter.h Updates from isledecomp/isle (#3) 2024-05-30 19:20:36 +02:00
mxhashtable.h initial commit 2024-05-16 19:42:54 -04:00
mxio.h initial commit 2024-05-16 19:42:54 -04:00
mxlist.h initial commit 2024-05-16 19:42:54 -04:00
mxloopingflcpresenter.h Updates from isledecomp/isle (#3) 2024-05-30 19:20:36 +02:00
mxloopingsmkpresenter.h Updates from isledecomp/isle (#3) 2024-05-30 19:20:36 +02:00
mxmediamanager.h Rename InitPresenters to Create, remove this keyword (#1000) (#20) 2024-06-07 22:17:20 +02:00
mxmediapresenter.h Updates from isledecomp/isle (#3) 2024-05-30 19:20:36 +02:00
mxmemorypool.h initial commit 2024-05-16 19:42:54 -04:00
mxmisc.h Replace DirectSound with miniaudio (#21) 2024-06-16 15:26:04 +02:00
mxnextactiondatastart.h initial commit 2024-05-16 19:42:54 -04:00
mxnotificationmanager.h initial commit 2024-05-16 19:42:54 -04:00
mxnotificationparam.h Updates from isledecomp/isle (#23) 2024-06-16 15:15:03 +02:00
mxobjectfactory.h Replace DirectSound with miniaudio (#21) 2024-06-16 15:26:04 +02:00
mxomni.h Replace DirectSound with miniaudio (#21) 2024-06-16 15:26:04 +02:00
mxomnicreateflags.h Updates from isledecomp/isle (#19) 2024-06-07 21:32:27 +02:00
mxomnicreateparam.h initial commit 2024-05-16 19:42:54 -04:00
mxpalette.h Updates from isledecomp/isle (#3) 2024-05-30 19:20:36 +02:00
mxparam.h initial commit 2024-05-16 19:42:54 -04:00
mxpoint32.h initial commit 2024-05-16 19:42:54 -04:00
mxpresenter.h Updates from isledecomp/isle (#3) 2024-05-30 19:20:36 +02:00
mxpresenterlist.h initial commit 2024-05-16 19:42:54 -04:00
mxqueue.h initial commit 2024-05-16 19:42:54 -04:00
mxramstreamcontroller.h initial commit 2024-05-16 19:42:54 -04:00
mxramstreamprovider.h initial commit 2024-05-16 19:42:54 -04:00
mxrect16.h Updates from isledecomp/isle (#3) 2024-05-30 19:20:36 +02:00
mxrect32.h initial commit 2024-05-16 19:42:54 -04:00
mxrectlist.h initial commit 2024-05-16 19:42:54 -04:00
mxregion.h initial commit 2024-05-16 19:42:54 -04:00
mxregioncursor.h Updates from isledecomp/isle (#1) 2024-05-23 18:09:49 +02:00
mxregionlist.h Updates from isledecomp/isle (#1) 2024-05-23 18:09:49 +02:00
mxscheduler.h Updates from isledecomp/isle (#5) 2024-05-30 21:23:21 +02:00
mxsemaphore.h Replace Windows CriticalSection with SDL Mutex (#7) 2024-05-30 22:38:42 +02:00
mxsize32.h initial commit 2024-05-16 19:42:54 -04:00
mxsmack.h Add libsmacker to replace smack.lib 2024-05-16 22:11:33 -04:00
mxsmkpresenter.h Updates from isledecomp/isle (#3) 2024-05-30 19:20:36 +02:00
mxsoundmanager.h Replace DirectSound with miniaudio (#21) 2024-06-16 15:26:04 +02:00
mxsoundpresenter.h Updates from isledecomp/isle (#3) 2024-05-30 19:20:36 +02:00
mxstillpresenter.h Updates from isledecomp/isle (#3) 2024-05-30 19:20:36 +02:00
mxstreamchunk.h initial commit 2024-05-16 19:42:54 -04:00
mxstreamchunklist.h initial commit 2024-05-16 19:42:54 -04:00
mxstreamcontroller.h initial commit 2024-05-16 19:42:54 -04:00
mxstreamer.h initial commit 2024-05-16 19:42:54 -04:00
mxstreamlist.h initial commit 2024-05-16 19:42:54 -04:00
mxstreamprovider.h initial commit 2024-05-16 19:42:54 -04:00
mxstring.h initial commit 2024-05-16 19:42:54 -04:00
mxstringlist.h initial commit 2024-05-16 19:42:54 -04:00
mxthread.h Fix mingw build + copy d3drm from wine (#25) 2024-06-24 07:25:51 -07:00
mxticklemanager.h initial commit 2024-05-16 19:42:54 -04:00
mxticklethread.h Updates from isledecomp/isle (#5) 2024-05-30 21:23:21 +02:00
mxtimer.h initial commit 2024-05-16 19:42:54 -04:00
mxtypes.h initial commit 2024-05-16 19:42:54 -04:00
mxutilities.h initial commit 2024-05-16 19:42:54 -04:00
mxvariable.h initial commit 2024-05-16 19:42:54 -04:00
mxvariabletable.h initial commit 2024-05-16 19:42:54 -04:00
mxvideomanager.h initial commit 2024-05-16 19:42:54 -04:00
mxvideoparam.h Updates from isledecomp/isle (#19) 2024-06-07 21:32:27 +02:00
mxvideoparamflags.h Updates from isledecomp/isle (#19) 2024-06-07 21:32:27 +02:00
mxvideopresenter.h Updates from isledecomp/isle (#3) 2024-05-30 19:20:36 +02:00
mxwavepresenter.h Replace DirectSound with miniaudio (#21) 2024-06-16 15:26:04 +02:00