Commit graph

13 commits

Author SHA1 Message Date
Braden Obrzut
95e6bfcd8c Better support for vendoring
- Allow ZLIB::ZLIB target to be provided by a unified build
- Added ZMUSIC_INSTALL variable to allow disabling of install rules (mostly due to how install(EXPORT) works)
- Static libraries don't need dllimport/dllexport on Windows
- Fixed: INTERFACE include directory was missing from zmusic/zmusiclite targets when using with add_subdirectory
- use_fast_math CMake function updated to allow source files to be passed (for GZDoom/Raze)
2021-05-31 22:22:57 +02:00
Christoph Oelckers
ecad4aaf06 - added ZMusic_GetDeviceType function to return the currently active MIDI synth. 2021-03-13 23:53:07 +01:00
Cacodemon345
5bfa76c948 Add MIDS music format playback support 2020-09-14 00:58:12 +06:00
Christoph Oelckers
55921d0d34 - the last bit of needed exports for GZDoom.
The ADL banks must be accessible to the menu for properly setting up this player.
2020-02-08 14:23:29 +01:00
Christoph Oelckers
ee291e37d0 - CD_Enable is also needed to implement ZDoom's CD player. 2020-02-08 13:55:30 +01:00
Christoph Oelckers
00bc98db2d - exported the CD utility functions used by ZDoom's CCMD interface.
Do not use unless handling some legacy CD Audio support!
2020-02-08 13:37:33 +01:00
Christoph Oelckers
2566f9007f - added a run-time loading interface to the public header. 2020-02-08 12:19:49 +01:00
Christoph Oelckers
17d7942d02 - made the global interface c compatible. Added an empty C source so that incompatibilities immediately trigger compile errors.
- simplified the message printing interface to a single function.
2020-01-11 12:47:07 +01:00
Christoph Oelckers
778d0c8faa - added a configuration record that can be used by the client to set up the needed data structures, allowing to deal with internal changes without having to recompile against a more recent version.
Also added the missing defaults for the Dumb config and renamed a few things.
2020-01-04 19:03:42 +01:00
alexey.lysiuk
8e66bb2df8 - zmusic.h is now usable with GCC/Clang and C++98 2020-01-04 17:23:48 +02:00
alexey.lysiuk
eb7d20d0d2 - fixed compilation on macOS and Linux 2020-01-04 14:42:22 +01:00
Christoph Oelckers
c1bbdcc849 - conditionalize the configuration depending on available content, so that the lite variant also builds successfully. 2020-01-04 12:20:56 +01:00
Christoph Oelckers
a4eae42ec5 - initial commit 2020-01-02 17:52:30 +01:00