Q3map2:
* -brightness 0..alot, def 1: mimics q3map_lightmapBrightness, but globally + affects vertexlight * -contrast -255..255, def 0: lighting contrast * packer improvements Radiant: binds... * entity inspector: Tab enters Key field, toggles between key/value fields; Del deletes keys; Esc quits misc... * improved mwheel 2d zoom by Neumond * +makeRoom: like hollow, but extrudes faces outwards; for making rooms * deactivating tex dirs tree after loading dir, so SPACE and ENTER aren't broken for 2D after that * Regular, RegularLeft layouts: smaller console, bigger tex browser * Rotate, Scale dialogs: values aren't erased on Enter, OK, Apply (are on cancel, esc) * Rotate dialog: fix: new value in focused field wasn't taking in account on Enter * +updating texture directories list on 'flush and reload shaders' (reloading shaderlist aswell) * NumLock perspective window fix * ctrl+k(ConnectEntities): friendlier to complex connections, takes in account existing keys (priority: target > targetname > none) * +'all Supported formats' default option in open dialogs * defaulted show light radii * camera fov: 90->110 * cubic clip: off by default; bigger def dist; fixed button's shortcut tip * prefs: Min & Max texture thumbnail size + dependant on scale; def = *scale .5, min 48, max 160 (makes range 96-320 visually differentiated)
This commit is contained in:
@@ -2314,6 +2314,7 @@ void CSG_constructToolbar( GtkToolbar* toolbar ){
|
||||
toolbar_append_button( toolbar, "CSG Subtract (SHIFT + U)", "selection_csgsubtract.bmp", "CSGSubtract" );
|
||||
toolbar_append_button( toolbar, "CSG Merge (CTRL + U)", "selection_csgmerge.bmp", "CSGMerge" );
|
||||
toolbar_append_button( toolbar, "Hollow", "selection_makehollow.bmp", "CSGHollow" );
|
||||
toolbar_append_button( toolbar, "Room", "selection_makeroom.bmp", "CSGroom" );
|
||||
}
|
||||
|
||||
void ComponentModes_constructToolbar( GtkToolbar* toolbar ){
|
||||
@@ -2841,42 +2842,35 @@ void MainFrame::Create(){
|
||||
|
||||
if ( CurrentStyle() == eRegular || CurrentStyle() == eRegularLeft ) {
|
||||
{
|
||||
GtkWidget* vsplit = gtk_vpaned_new();
|
||||
m_vSplit = vsplit;
|
||||
gtk_box_pack_start( GTK_BOX( vbox ), vsplit, TRUE, TRUE, 0 );
|
||||
gtk_widget_show( vsplit );
|
||||
|
||||
// console
|
||||
GtkWidget* console_window = Console_constructWindow( window );
|
||||
gtk_paned_pack2( GTK_PANED( vsplit ), console_window, FALSE, TRUE );
|
||||
|
||||
GtkWidget* hsplit = gtk_hpaned_new();
|
||||
m_hSplit = hsplit;
|
||||
gtk_box_pack_start( GTK_BOX( vbox ), hsplit, TRUE, TRUE, 0 );
|
||||
gtk_widget_show( hsplit );
|
||||
{
|
||||
GtkWidget* hsplit = gtk_hpaned_new();
|
||||
gtk_widget_show( hsplit );
|
||||
m_hSplit = hsplit;
|
||||
gtk_paned_add1( GTK_PANED( vsplit ), hsplit );
|
||||
GtkWidget* vsplit = gtk_vpaned_new();
|
||||
gtk_widget_show( vsplit );
|
||||
m_vSplit = vsplit;
|
||||
GtkWidget* vsplit2 = gtk_vpaned_new();
|
||||
gtk_widget_show( vsplit2 );
|
||||
m_vSplit2 = vsplit2;
|
||||
if ( CurrentStyle() == eRegular ){
|
||||
gtk_paned_add1( GTK_PANED( hsplit ), vsplit );
|
||||
gtk_paned_add2( GTK_PANED( hsplit ), vsplit2 );
|
||||
}
|
||||
else{
|
||||
gtk_paned_add2( GTK_PANED( hsplit ), vsplit );
|
||||
gtk_paned_add1( GTK_PANED( hsplit ), vsplit2 );
|
||||
}
|
||||
// console
|
||||
GtkWidget* console_window = Console_constructWindow( window );
|
||||
gtk_paned_pack2( GTK_PANED( vsplit ), console_window, FALSE, TRUE );
|
||||
|
||||
// xy
|
||||
m_pXYWnd = new XYWnd();
|
||||
m_pXYWnd->SetViewType( XY );
|
||||
GtkWidget* xy_window = GTK_WIDGET( create_framed_widget( m_pXYWnd->GetWidget() ) );
|
||||
|
||||
gtk_paned_add1( GTK_PANED( vsplit ), xy_window );
|
||||
{
|
||||
GtkWidget* vsplit2 = gtk_vpaned_new();
|
||||
gtk_widget_show( vsplit2 );
|
||||
m_vSplit2 = vsplit2;
|
||||
|
||||
if ( CurrentStyle() == eRegular ) {
|
||||
gtk_paned_add1( GTK_PANED( hsplit ), xy_window );
|
||||
gtk_paned_add2( GTK_PANED( hsplit ), vsplit2 );
|
||||
}
|
||||
else
|
||||
{
|
||||
gtk_paned_add1( GTK_PANED( hsplit ), vsplit2 );
|
||||
gtk_paned_add2( GTK_PANED( hsplit ), xy_window );
|
||||
}
|
||||
|
||||
|
||||
// camera
|
||||
m_pCamWnd = NewCamWnd();
|
||||
GlobalCamera_setCamWnd( *m_pCamWnd );
|
||||
@@ -3317,6 +3311,7 @@ void MainFrame_Construct(){
|
||||
GlobalCommands_insert( "CSGSubtract", FreeCaller<CSG_Subtract>(), Accelerator( 'U', (GdkModifierType)GDK_SHIFT_MASK ) );
|
||||
GlobalCommands_insert( "CSGMerge", FreeCaller<CSG_Merge>(), Accelerator( 'U', (GdkModifierType)GDK_CONTROL_MASK ) );
|
||||
GlobalCommands_insert( "CSGHollow", FreeCaller<CSG_MakeHollow>() );
|
||||
GlobalCommands_insert( "CSGroom", FreeCaller<CSG_MakeRoom>() );
|
||||
|
||||
Grid_registerCommands();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user