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:
Garux
2017-08-02 09:42:58 +03:00
parent 7e36f12449
commit 9613511560
18 changed files with 393 additions and 132 deletions

View File

@@ -171,7 +171,7 @@ void bsp_init(){
build_set_variable( "BspFile", name.c_str() );
}
if( region_active ){
if( g_region_active ){
StringOutputStream name( 256 );
name << StringRange( mapname, path_get_filename_base_end( mapname ) ) << ".reg";
build_set_variable( "MapFile", name.c_str() );
@@ -240,7 +240,7 @@ bool Region_cameraValid(){
for ( int i = 0 ; i < 3 ; i++ )
{
if ( vOrig[i] > region_maxs[i] || vOrig[i] < region_mins[i] ) {
if ( vOrig[i] > g_region_maxs[i] || vOrig[i] < g_region_mins[i] ) {
return false;
}
}
@@ -251,7 +251,7 @@ bool Region_cameraValid(){
void RunBSP( const char* name ){
// http://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=503
// make sure we don't attempt to region compile a map with the camera outside the region
if ( region_active && !Region_cameraValid() ) {
if ( g_region_active && !Region_cameraValid() ) {
globalErrorStream() << "The camera must be in the region to start a region compile.\n";
return;
}
@@ -267,7 +267,7 @@ void RunBSP( const char* name ){
Map_Snapshot();
}
if ( region_active ) {
if ( g_region_active ) {
const char* mapname = Map_Name( g_map );
StringOutputStream name( 256 );
name << StringRange( mapname, path_get_filename_base_end( mapname ) ) << ".reg";