diff options
| author | Jørgen P. Tjernø <[email protected]> | 2013-12-02 19:31:46 -0800 |
|---|---|---|
| committer | Jørgen P. Tjernø <[email protected]> | 2013-12-02 19:46:31 -0800 |
| commit | f56bb35301836e56582a575a75864392a0177875 (patch) | |
| tree | de61ddd39de3e7df52759711950b4c288592f0dc /mp/src/vpc_scripts/source_video_base.vpc | |
| parent | Mark some more files as text. (diff) | |
| download | source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.tar.xz source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.zip | |
Fix line endings. WHAMMY.
Diffstat (limited to 'mp/src/vpc_scripts/source_video_base.vpc')
| -rw-r--r-- | mp/src/vpc_scripts/source_video_base.vpc | 100 |
1 files changed, 50 insertions, 50 deletions
diff --git a/mp/src/vpc_scripts/source_video_base.vpc b/mp/src/vpc_scripts/source_video_base.vpc index 4ccafb63..9ba5be6a 100644 --- a/mp/src/vpc_scripts/source_video_base.vpc +++ b/mp/src/vpc_scripts/source_video_base.vpc @@ -1,50 +1,50 @@ -//-----------------------------------------------------------------------------
-// AVI_BASE.VPC
-//
-// Controls selection (and compilation) of various video subsystems
-//
-// Defines to add or remove to the preprocessor definitions:
-//
-// AVI_VIDEO - controls availability of IAvi interface, playing of AVI Video files in Engine
-// BINK_VIDEO - controls availability of IBik interface
-// QUICKTIME_VIDEO - controls availability of IQuickTime interface
-// WMV_VIDEO - controls availability of playing WMV MPEG video files in Engine
-//
-// FORCE_QUICKTIME - causes engine to force change ".bik" ".wmv" ".avi" extensions to ".mov" and
-// look for Quicktime playback *IF* the same file exists in .mov form
-//
-//-----------------------------------------------------------------------------
-
-
-// We use Quicktime exclusively (and only quicktime) on the Mac
-//
-// We have two configurations for Win32.
-//
-// 1) Comment out the following $macro line out to enable BINK (and AVI and WMV) playback of videos
-// 2) Uncomment the following $macro line out to enable Quicktime (and AVI and WMV) playback of videos and
-// - the Quicktime file override ( the Quicktime .mov is played if present even if a .bnk, .avi or .wmv file was specified )
-
-// $macro QUICKTIME_WIN32 1
-
-$Macro GL "1" [!$DEDICATED && !$WIN32 && !$WIN64]
-// If we're using OpenGL, we're implicitly using SDL.
-$Macro SDL "1" [$GL && !$DEDICATED]
-
-$Configuration
-{
- $Compiler
- {
- $PreprocessorDefinitions "$BASE;QUICKTIME_VIDEO;FORCE_QUICKTIME" [$OSXALL]
-
- // Windows PC, without Quicktime, and with Quicktime
-
- $PreprocessorDefinitions "$BASE;BINK_VIDEO;AVI_VIDEO;WMV_VIDEO" [$WIN32&&!$QUICKTIME_WIN32]
- $PreprocessorDefinitions "$BASE;AVI_VIDEO;WMV_VIDEO;QUICKTIME_VIDEO" [$WIN32&&$QUICKTIME_WIN32]
- $PreprocessorDefinitions "$BASE;BINK_VIDEO" [$X360]
- $PreprocessorDefinitions "$BASE;BINK_VIDEO" [$LINUXALL]
-
- $PreprocessorDefinitions "$BASE;GL_GLEXT_PROTOTYPES;DX_TO_GL_ABSTRACTION" [$GL]
- $PreprocessorDefinitions "$BASE;USE_SDL" [$SDL]
- $AdditionalIncludeDirectories "$BASE;$SRCDIR\thirdparty\SDL2" [$SDL || $DEDICATED]
- }
-}
+//----------------------------------------------------------------------------- +// AVI_BASE.VPC +// +// Controls selection (and compilation) of various video subsystems +// +// Defines to add or remove to the preprocessor definitions: +// +// AVI_VIDEO - controls availability of IAvi interface, playing of AVI Video files in Engine +// BINK_VIDEO - controls availability of IBik interface +// QUICKTIME_VIDEO - controls availability of IQuickTime interface +// WMV_VIDEO - controls availability of playing WMV MPEG video files in Engine +// +// FORCE_QUICKTIME - causes engine to force change ".bik" ".wmv" ".avi" extensions to ".mov" and +// look for Quicktime playback *IF* the same file exists in .mov form +// +//----------------------------------------------------------------------------- + + +// We use Quicktime exclusively (and only quicktime) on the Mac +// +// We have two configurations for Win32. +// +// 1) Comment out the following $macro line out to enable BINK (and AVI and WMV) playback of videos +// 2) Uncomment the following $macro line out to enable Quicktime (and AVI and WMV) playback of videos and +// - the Quicktime file override ( the Quicktime .mov is played if present even if a .bnk, .avi or .wmv file was specified ) + +// $macro QUICKTIME_WIN32 1 + +$Macro GL "1" [!$DEDICATED && !$WIN32 && !$WIN64] +// If we're using OpenGL, we're implicitly using SDL. +$Macro SDL "1" [$GL && !$DEDICATED] + +$Configuration +{ + $Compiler + { + $PreprocessorDefinitions "$BASE;QUICKTIME_VIDEO;FORCE_QUICKTIME" [$OSXALL] + + // Windows PC, without Quicktime, and with Quicktime + + $PreprocessorDefinitions "$BASE;BINK_VIDEO;AVI_VIDEO;WMV_VIDEO" [$WIN32&&!$QUICKTIME_WIN32] + $PreprocessorDefinitions "$BASE;AVI_VIDEO;WMV_VIDEO;QUICKTIME_VIDEO" [$WIN32&&$QUICKTIME_WIN32] + $PreprocessorDefinitions "$BASE;BINK_VIDEO" [$X360] + $PreprocessorDefinitions "$BASE;BINK_VIDEO" [$LINUXALL] + + $PreprocessorDefinitions "$BASE;GL_GLEXT_PROTOTYPES;DX_TO_GL_ABSTRACTION" [$GL] + $PreprocessorDefinitions "$BASE;USE_SDL" [$SDL] + $AdditionalIncludeDirectories "$BASE;$SRCDIR\thirdparty\SDL2" [$SDL || $DEDICATED] + } +} |