Radiant:
binds... * m2 drag in cam = sideways+updownways strafemode; do not enter/quit freelook, if long button press (>300ms) * m1 drag in freelook = sideways+updownways strafemode (mainly for visual editing) * ctrl + m3/drag = seamless brush face to face texture paste; works for any faces in BP mode, only axial ones in AP * ctrl + shift + a: select all visible brush faces and curves, textured by selected shader (more obvious way, than existing ones: components mode::faces->shift+a and find/replace to empty) * shift during creating brush = quadratic brush * drag clipper point + shift = constrain to axis with biggest move amount misc... * -gamedetect command line option to enable game detection * don't disable aero by default; -aero command line option disables one * "Don't show" (during session) checkbox in Light Intensity dialog * fix: show-grid toggle hides grid, when snap-to-grid is off too * region mode: draw out of region part of grid in subtle style texbro tags button png icon
This commit is contained in:
@@ -564,25 +564,26 @@ int main( int argc, char* argv[] ){
|
||||
streams_init();
|
||||
|
||||
#ifdef WIN32
|
||||
HMODULE lib;
|
||||
lib = LoadLibrary( "dwmapi.dll" );
|
||||
if ( lib != 0 ) {
|
||||
void ( WINAPI *qDwmEnableComposition )( bool bEnable ) = ( void (WINAPI *) ( bool bEnable ) )GetProcAddress( lib, "DwmEnableComposition" );
|
||||
if ( qDwmEnableComposition ) {
|
||||
bool Aero = false;
|
||||
for ( int i = 1; i < argc; ++i ){
|
||||
if ( !stricmp( argv[i], "-aero" ) ){
|
||||
Aero = true;
|
||||
qDwmEnableComposition( TRUE );
|
||||
break;
|
||||
}
|
||||
}
|
||||
// disable Aero
|
||||
if ( !Aero ){
|
||||
qDwmEnableComposition( FALSE );
|
||||
{
|
||||
bool aero = true;
|
||||
for ( int i = 1; i < argc; ++i ){
|
||||
if ( !stricmp( argv[i], "-aero" ) ){
|
||||
aero = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if( !aero ){
|
||||
HMODULE lib;
|
||||
lib = LoadLibrary( "dwmapi.dll" );
|
||||
if ( lib != 0 ) {
|
||||
void ( WINAPI *qDwmEnableComposition )( bool bEnable ) = ( void (WINAPI *) ( bool bEnable ) )GetProcAddress( lib, "DwmEnableComposition" );
|
||||
if ( qDwmEnableComposition ) {
|
||||
// disable Aero
|
||||
qDwmEnableComposition( FALSE );
|
||||
}
|
||||
FreeLibrary( lib );
|
||||
}
|
||||
}
|
||||
FreeLibrary( lib );
|
||||
}
|
||||
_setmaxstdio(2048);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user