mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-19 03:56:10 +08:00
* Added support for building shaders in your mod
* Added nav mesh support * fixed many warnings and misc bugs * Fixed the create*projects scripts in mp * Added a bunch of stuff to .gitignore
This commit is contained in:
@ -32,6 +32,7 @@ enum MaterialSystem_Config_Flags_t
|
||||
MATSYS_VIDCFG_FLAGS_LIMIT_WINDOWED_SIZE = ( 1 << 13 ),
|
||||
MATSYS_VIDCFG_FLAGS_SCALE_TO_OUTPUT_RESOLUTION = ( 1 << 14 ),
|
||||
MATSYS_VIDCFG_FLAGS_USING_MULTIPLE_WINDOWS = ( 1 << 15 ),
|
||||
MATSYS_VIDCFG_FLAGS_DISABLE_PHONG = ( 1 << 16 ),
|
||||
};
|
||||
|
||||
struct MaterialSystemHardwareIdentifier_t
|
||||
@ -62,6 +63,7 @@ struct MaterialSystem_Config_t
|
||||
bool LimitWindowedSize() const { return ( m_Flags & MATSYS_VIDCFG_FLAGS_LIMIT_WINDOWED_SIZE ) != 0; }
|
||||
bool ScaleToOutputResolution() const { return ( m_Flags & MATSYS_VIDCFG_FLAGS_SCALE_TO_OUTPUT_RESOLUTION ) != 0; }
|
||||
bool UsingMultipleWindows() const { return ( m_Flags & MATSYS_VIDCFG_FLAGS_USING_MULTIPLE_WINDOWS ) != 0; }
|
||||
bool UsePhong() const { return ( m_Flags & MATSYS_VIDCFG_FLAGS_DISABLE_PHONG ) == 0; }
|
||||
bool ShadowDepthTexture() const { return m_bShadowDepthTexture; }
|
||||
bool MotionBlur() const { return m_bMotionBlur; }
|
||||
bool SupportFlashlight() const { return m_bSupportFlashlight; }
|
||||
@ -157,6 +159,7 @@ struct MaterialSystem_Config_t
|
||||
SetFlag( MATSYS_VIDCFG_FLAGS_LIMIT_WINDOWED_SIZE, false );
|
||||
SetFlag( MATSYS_VIDCFG_FLAGS_SCALE_TO_OUTPUT_RESOLUTION, false );
|
||||
SetFlag( MATSYS_VIDCFG_FLAGS_USING_MULTIPLE_WINDOWS, false );
|
||||
SetFlag( MATSYS_VIDCFG_FLAGS_DISABLE_PHONG, false );
|
||||
|
||||
m_VideoMode.m_Width = 640;
|
||||
m_VideoMode.m_Height = 480;
|
||||
|
Reference in New Issue
Block a user