This allows easily selecting the platform from your compiler definitions. Rather than specifying something like...
-DCUTE_SOUND_PLATFORM=2
... and having to figure out what "2" means, you can use...
-DCUTE_SOUND_PLATFORM_APPLE
The automatic platform detection is still in place, this just makes it easier to define within your compiler definitions. This is similar to CUTE_SOUND_FORCE_SDL, but can be applied to all platforms.
This change introduces three possible defines:
This allows easily selecting the platform from your compiler definitions. Rather than specifying something like...
... and having to figure out what "2" means, you can use...
The automatic platform detection is still in place, this just makes it easier to define within your compiler definitions. This is similar to
CUTE_SOUND_FORCE_SDL
, but can be applied to all platforms.