mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-05-31 09:01:22 +00:00
Default sector brightness can now be set in Preferences.
Default sector ceiling height can now be set in Preferences. Default sector floor height can now be set in Preferences. Maximum number of recent files can now be changed in Preferences. UDMF, Custom fields: a warning is now shown when a user tries to manually add a managed filed. UDMF: "Translucent" linedef flag is now marked as obsolete.
This commit is contained in:
parent
e2802b2712
commit
735447edbe
13 changed files with 575 additions and 367 deletions
|
@ -104,6 +104,7 @@ namespace CodeImp.DoomBuilder.Windows
|
|||
vertexScale.Value = General.Clamp((int)(General.Settings.GZVertexScale2D), vertexScale.Minimum, vertexScale.Maximum);
|
||||
vertexScaleLabel.Text = vertexScale.Value * 100 + "%" + (vertexScale.Value == 1 ? " (default)" : "");
|
||||
cbMarkExtraFloors.Checked = General.Settings.GZMarkExtraFloors;
|
||||
recentFiles.Value = General.Settings.MaxRecentFiles;
|
||||
|
||||
// Fill fonts list
|
||||
scriptfontname.BeginUpdate();
|
||||
|
@ -241,6 +242,7 @@ namespace CodeImp.DoomBuilder.Windows
|
|||
General.Settings.ToolbarTesting = toolbar_testing.Checked;
|
||||
General.Settings.GZToolbarGZDoom = toolbar_gzdoom.Checked; //mxd
|
||||
General.Settings.ShowTextureSizes = showtexturesizes.Checked;
|
||||
General.Settings.MaxRecentFiles = recentFiles.Value; //mxd
|
||||
|
||||
// Script font size
|
||||
int fontsize = 8;
|
||||
|
@ -402,6 +404,11 @@ namespace CodeImp.DoomBuilder.Windows
|
|||
vertexScaleLabel.Text = vertexScale.Value * 100 + "%" + (vertexScale.Value == 1 ? " (default)" : "");
|
||||
}
|
||||
|
||||
//mxd
|
||||
private void recentFiles_ValueChanged(object sender, EventArgs e) {
|
||||
labelRecentFiles.Text = recentFiles.Value.ToString();
|
||||
}
|
||||
|
||||
// This updates the script font preview label
|
||||
private void updateScriptFontPreview()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue