Add HAVE_STEAM switch

This commit is contained in:
twinaphex 2019-11-18 08:04:29 +01:00
parent a46027bed7
commit 9d0356dd73
3 changed files with 12 additions and 0 deletions

View File

@ -203,7 +203,13 @@
/* Fullscreen */
/* To start in Fullscreen, or not. */
#ifdef HAVE_STEAM
/* Start in fullscreen mode for Steam build */
#define DEFAULT_FULLSCREEN true
#else
#define DEFAULT_FULLSCREEN false
#endif
/* To use windowed mode or not when going fullscreen. */
#define DEFAULT_WINDOWED_FULLSCREEN true

View File

@ -524,6 +524,11 @@ if [ "$HAVE_MENU" != 'no' ]; then
fi
fi
if [ "$HAVE_STEAM" = 'yes' ]; then
add_opt ONLINE_UPDATER no
die : 'Notice: Steam build enabled, disabling online updater as well.'
fi
check_enabled CXX SLANG slang 'The C++ compiler is' false
check_enabled CXX GLSLANG glslang 'The C++ compiler is' false
check_enabled CXX SPIRV_CROSS SPIRV-Cross 'The C++ compiler is' false

View File

@ -164,3 +164,4 @@ C89_SPIRV_CROSS=no
HAVE_METAL=no # Metal support (macOS-only)
C89_METAL=no
HAVE_NETWORK_VIDEO=no
HAVE_STEAM=no # Enable Steam build