Sectors mode: added "View Tags and Effects" button.

Sectors mode: effect and tag overlay can now be toggled separately from selection numbers.
Sectors mode: "View Tags and Effects" and "View Selection Numbering" settings are now saved to program configuration.
Sectors mode: removed "Lower Floor by 8 mp", "Raise Floor by 8 mp", "Lower Ceiling by 8 mp" and "Raise Ceiling by 8 mp" actions.
"Increase Brightness by 8" and "Decrease Brightness by 8" actions now work in Sectors mode.
Moved "Increase Brightness by 8" and "Decrease Brightness by 8" actions to "Edit" category. 
"Toggle Highlight" action now works in Sectors mode.
Moved "Toggle Highlight" action to "Tools" category.
Removed Brightness mode.
Updated documentation.
This commit is contained in:
MaxED 2013-09-16 11:44:47 +00:00
parent ed75933d60
commit e2802b2712
17 changed files with 380 additions and 1499 deletions

View file

@ -103,10 +103,6 @@
<param name="Name" value="About Editing Modes">
<param name="Local" value="editingmodes.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Brightness Mode">
<param name="Local" value="e_brightness.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Curve Linedefs Mode">
<param name="Local" value="e_curvelinedefs.html">

View file

@ -1,26 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>Brightness Mode</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" type="text/css" href="default.css" media="screen" title="Default" />
<script type="text/javascript" src="scripts.js"></script>
</head>
<body>
<object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e">
<param name="keyword" value="Brightness Mode">
</object>
<div id="title"><h1>Brightness Mode</h1></div>
<div id="contents">
<p>
With this mode you can easily change the brightness levels in your map. Make a selection of sectors with <b title="Left Mouse Button">LMB</b>. Then hold <b title="Right Mouse Button">RMB</b> and drag up or down to increase or decrease the brightness levels of the selected sectors. The brightness changes to the nearest supported brightness level (according to the chosen game configuration), but you can hold Shift to override this behavior.<br />
<br />
The order in which you select the sectors is important to the <b>Make Brightness Gradient</b> feature as it creates a gradient from the first selected sector to the last selected sector (the first and last are not modified). When you select the sectors, the order will be displayed with numbers in the sectors.<br />
</p>
</div>
</body>

View file

@ -15,10 +15,14 @@
<div id="gz_title"><h1>GZDoom Builder Actions Reference</h1>
</div>
<div id="contents"><table bgcolor="#FFFFFF" width="100%" border="1" cellspacing="0" cellpadding="6" style="font-family: 'Trebuchet MS',georgia,Verdana,Sans-serif; border-collapse:collapse;">
<tr><td colspan="4" bgcolor="#333333"><strong style="color:#FFFFFF">Classic Modes</strong></td></tr>
<tr><td width="240px;"><strong>Action</strong></td><td width="120px;"><div align="center"><strong>Shortcut</strong></div></td><td width="120px;"><div align="center"><strong>Modifiers</strong></div></td><td><strong>Description</strong></td></tr>
<div id="contents">
<p><strong><a name="top" id="top"></a>Jump to:</strong> <a href="#classicmodes">Classic Modes</a> | <a href="#drawing">Drawing</a> | <a href="#edit">Edit</a> | <a href="#lines">Lines</a> | <a href="#file">File</a> | <a href="#modes">Modes</a> | <a href="#prefabs">Prefabs</a> | <a href="#rendering">Rendering</a> | <a href="#sectors">Sectors</a> | <a href="#selecting">Selecting</a> | <a href="#things">Things</a> | <a href="#tools">Tools</a> | <a href="#transform">Transform</a> | <a href="#view">View</a> | <a href="#visualmodes">Visual Modes</a></p>
<table bgcolor="#FFFFFF" width="100%" border="1" cellspacing="0" cellpadding="6" style="font-family: 'Trebuchet MS',georgia,Verdana,Sans-serif; border-collapse:collapse;">
<tr>
<td colspan="4" bgcolor="#333333"><div style="float:left"><strong style="color:#FFFFFF"><a name="classicmodes" id="classicmodes"></a>Classic Modes </strong></div><div style="text-align:right; float:right"><a style="color:#FFFFFF; text-decoration:underline" href="#top">[to top]</a></div></td>
</tr>
<tr><td width="260"><strong>Action</strong></td><td width="120"><div align="center"><strong>Shortcut</strong></div></td><td width="120"><div align="center"><strong>Modifiers</strong></div></td><td><strong>Description</strong></td></tr>
<tr>
<td>Accept Action</td>
<td><div align="center">Enter</div></td>
@ -128,8 +132,8 @@
<td>Zooms out on the map from the current mouse location.</td>
</tr>
<tr><td colspan="4"></td></tr>
<tr><td colspan="4" bgcolor="#333333"><strong style="color:#FFFFFF">Selecting</strong></td></tr>
<tr><td width="240px;"><strong>Action</strong></td><td width="120px;"><div align="center"><strong>Shortcut</strong></div></td><td width="120px;"><div align="center"><strong>Modifiers</strong></div></td><td><strong>Description</strong></td></tr>
<tr><td colspan="4" bgcolor="#333333"><div style="float:left"><strong style="color:#FFFFFF"><a name="selecting" id="selecting"></a>Selecting</strong></div><div style="text-align:right; float:right"><a style="color:#FFFFFF; text-decoration:underline" href="#top">[to top]</a></div></td></tr>
<tr><td width="260"><strong>Action</strong></td><td><div align="center"><strong>Shortcut</strong></div></td><td><div align="center"><strong>Modifiers</strong></div></td><td><strong>Description</strong></td></tr>
<tr>
<td>Assign Group 1</td>
<td><div align="center">Ctrl+1</div></td>
@ -311,8 +315,8 @@
<td>Selects all geometry that was assigned to group 10</td>
</tr>
<tr><td colspan="4"></td></tr>
<tr><td colspan="4" bgcolor="#333333"><strong style="color:#FFFFFF">Tools</strong></td></tr>
<tr><td width="240px;"><strong>Action</strong></td><td width="120px;"><div align="center"><strong>Shortcut</strong></div></td><td width="120px;"><div align="center"><strong>Modifiers</strong></div></td><td><strong>Description</strong></td></tr>
<tr><td colspan="4" bgcolor="#333333"><div style="float:left"><strong style="color:#FFFFFF"><a name="tools" id="tools"></a>Tools</strong></div><div style="text-align:right; float:right"><a style="color:#FFFFFF; text-decoration:underline" href="#top">[to top]</a></div></td></tr>
<tr><td width="260"><strong>Action</strong></td><td><div align="center"><strong>Shortcut</strong></div></td><td><div align="center"><strong>Modifiers</strong></div></td><td><strong>Description</strong></td></tr>
<tr>
<td>Configure Things Filters</td>
<td><div align="center"></div></td>
@ -409,10 +413,16 @@
<td><div align="center"></div></td>
<td>Toggles the use of sector brightness on and off. When sector brightness is off, the world is displayed fully bright, without lighting effects.</td>
</tr>
<tr><td colspan="4"></td></tr>
<tr><td colspan="4" bgcolor="#333333"><strong style="color:#FFFFFF"><a name="rendering" id="rendering"></a>Rendering</strong></td>
<tr>
<td><a name="togglehighlight" id="togglehighlight"></a>Toggle Highlight</td>
<td><div align="center">H</div></td>
<td><div align="center"></div></td>
<td>Toggles the highlight of the targeted and selected objects in Visual and Sectors modes.</td>
</tr>
<tr><td width="240px;"><strong>Action</strong></td><td width="120px;"><div align="center"><strong>Shortcut</strong></div></td><td width="120px;"><div align="center"><strong>Modifiers</strong></div></td><td><strong>Description</strong></td></tr>
<tr><td colspan="4"></td></tr>
<tr><td colspan="4" bgcolor="#333333"><div style="float:left"><strong style="color:#FFFFFF"><a name="rendering" id="rendering"></a>Rendering</strong></div><div style="text-align:right; float:right"><a style="color:#FFFFFF; text-decoration:underline" href="#top">[to top]</a></div></td>
</tr>
<tr><td width="260"><strong>Action</strong></td><td><div align="center"><strong>Shortcut</strong></div></td><td><div align="center"><strong>Modifiers</strong></div></td><td><strong>Description</strong></td></tr>
<tr>
<td>Render selected/all models</td>
<td><div align="center"></div></td>
@ -450,8 +460,8 @@
<td>Toggles models rendering.</td>
</tr>
<tr><td colspan="4"></td></tr>
<tr><td colspan="4" bgcolor="#333333"><strong style="color:#FFFFFF">Visual Modes</strong></td></tr>
<tr><td width="240px;"><strong>Action</strong></td><td width="120px;"><div align="center"><strong>Shortcut</strong></div></td><td width="120px;"><div align="center"><strong>Modifiers</strong></div></td><td><strong>Description</strong></td></tr>
<tr><td colspan="4" bgcolor="#333333"><div style="float:left"><strong style="color:#FFFFFF"><a name="visualmodes" id="visualmodes"></a>Visual Modes</strong></div><div style="text-align:right; float:right"><a style="color:#FFFFFF; text-decoration:underline" href="#top">[to top]</a></div></td></tr>
<tr><td width="260"><strong>Action</strong></td><td><div align="center"><strong>Shortcut</strong></div></td><td><div align="center"><strong>Modifiers</strong></div></td><td><strong>Description</strong></td></tr>
<tr>
<td><a name="autoaligntoselection" id="autoaligntoselection"></a><a href="features/visual_mode/autoalign_to_selection.html">Auto-align Textures to Selection</a> (X)</td>
<td><div align="center"></div></td>
@ -506,12 +516,7 @@
<td><div align="center"></div></td>
<td>Copies the targeted texture or flat for pasting.</td>
</tr>
<tr>
<td>Decrease Brightness by 8</td>
<td><div align="center">Ctrl+ScrollDown</div></td>
<td><div align="center"></div></td>
<td>Decreases the targeted or selected sector brightness level by 8.</td>
</tr>
<tr>
<td>Edit</td>
<td><div align="center">RButton</div></td>
@ -536,12 +541,7 @@
<td><div align="center"></div></td>
<td>Scales width of a texture to match width of selected surface.</td>
</tr>
<tr>
<td>Increase Brightness by 8</td>
<td><div align="center">Ctrl+ScrollUp</div></td>
<td><div align="center"></div></td>
<td>Increases the targeted or selected sector brightness level by 8.</td>
</tr>
<tr>
<td><a name="lookthroughthing" id="lookthroughthing"></a>Look Through Selection</td>
<td><div align="center">Y</div></td>
@ -794,12 +794,7 @@
<td><div align="center"></div></td>
<td>Toggles rendering of (G)ZDoom geometry effects (slopes, 3D-floors etc.) in Visual mode.</td>
</tr>
<tr>
<td>Toggle Highlight</td>
<td><div align="center">H</div></td>
<td><div align="center"></div></td>
<td>Toggles the highlight of the targeted object in visual mode.</td>
</tr>
<tr>
<td>Toggle Lower Unpegged</td>
<td><div align="center">L</div></td>
@ -825,8 +820,8 @@
<td>When enabled, shows vertices, which heights can be changed, in Visual mode (UDMF only).</td>
</tr>
<tr><td colspan="4"></td></tr>
<tr><td colspan="4" bgcolor="#333333"><strong style="color:#FFFFFF">Edit</strong></td></tr>
<tr><td width="240px;"><strong>Action</strong></td><td width="120px;"><div align="center"><strong>Shortcut</strong></div></td><td width="120px;"><div align="center"><strong>Modifiers</strong></div></td><td><strong>Description</strong></td></tr>
<tr><td colspan="4" bgcolor="#333333"><div style="float:left"><strong style="color:#FFFFFF"><a name="edit" id="edit"></a>Edit</strong></div><div style="text-align:right; float:right"><a style="color:#FFFFFF; text-decoration:underline" href="#top">[to top]</a></div></td></tr>
<tr><td width="260"><strong>Action</strong></td><td><div align="center"><strong>Shortcut</strong></div></td><td><div align="center"><strong>Modifiers</strong></div></td><td><strong>Description</strong></td></tr>
<tr>
<td>Clear Selection</td>
<td><div align="center">C</div></td>
@ -845,6 +840,12 @@
<td><div align="center"></div></td>
<td>Copies the current selection to the clipboard and removes it from the map.</td>
</tr>
<tr>
<td><a name="decreasebrightness8" id="decreasebrightness8"></a>Decrease Brightness by 8</td>
<td><div align="center">Ctrl+ScrollDown</div></td>
<td><div align="center"></div></td>
<td>Decreases the targeted or selected sector brightness level by 8.</td>
</tr>
<tr>
<td>Delete Item</td>
<td><div align="center">Del</div></td>
@ -875,6 +876,12 @@
<td><div align="center"></div></td>
<td>Increases the grid size, decreasing the grid density.</td>
</tr>
<tr>
<td><a name="increasebrightness8" id="increasebrightness"></a>Increase Brightness by 8</td>
<td><div align="center">Ctrl+ScrollUp</div></td>
<td><div align="center"></div></td>
<td>Increases the targeted or selected sector brightness level by 8.</td>
</tr>
<tr>
<td>Insert Item</td>
<td><div align="center">Ins</div></td>
@ -948,8 +955,8 @@
<td>Opens Tag Statistics form, which shows all tags, which are used in current map, and allows to create and edit tag labels.</td>
</tr>
<tr><td colspan="4"></td></tr>
<tr><td colspan="4" bgcolor="#333333"><strong style="color:#FFFFFF">File</strong></td></tr>
<tr><td width="240px;"><strong>Action</strong></td><td width="120px;"><div align="center"><strong>Shortcut</strong></div></td><td width="120px;"><div align="center"><strong>Modifiers</strong></div></td><td><strong>Description</strong></td></tr>
<tr><td colspan="4" bgcolor="#333333"><div style="float:left"><strong style="color:#FFFFFF"><a name="file" id="file"></a>File</strong></div><div style="text-align:right; float:right"><a style="color:#FFFFFF; text-decoration:underline" href="#top">[to top]</a></div></td></tr>
<tr><td width="260"><strong>Action</strong></td><td><div align="center"><strong>Shortcut</strong></div></td><td><div align="center"><strong>Modifiers</strong></div></td><td><strong>Description</strong></td></tr>
<tr>
<td>Close Map</td>
<td><div align="center"></div></td>
@ -993,8 +1000,8 @@
<td>Saves the current map without any other resources into an existing or new WAD file.</td>
</tr>
<tr><td colspan="4"></td></tr>
<tr><td colspan="4" bgcolor="#333333"><strong style="color:#FFFFFF">View</strong></td></tr>
<tr><td width="240px;"><strong>Action</strong></td><td width="120px;"><div align="center"><strong>Shortcut</strong></div></td><td width="120px;"><div align="center"><strong>Modifiers</strong></div></td><td><strong>Description</strong></td></tr>
<tr><td colspan="4" bgcolor="#333333"><div style="float:left"><strong style="color:#FFFFFF"><a name="view" id="view"></a>View</strong></div><div style="text-align:right; float:right"><a style="color:#FFFFFF; text-decoration:underline" href="#top">[to top]</a></div></td></tr>
<tr><td width="260"><strong>Action</strong></td><td><div align="center"><strong>Shortcut</strong></div></td><td><div align="center"><strong>Modifiers</strong></div></td><td><strong>Description</strong></td></tr>
<tr>
<td>Script Editor</td>
<td><div align="center">F10</div></td>
@ -1038,8 +1045,8 @@
<td>This sets the view mode to Wireframe. This shows only the map elements without any sector filling.</td>
</tr>
<tr><td colspan="4"></td></tr>
<tr><td colspan="4" bgcolor="#333333"><strong style="color:#FFFFFF">Prefabs</strong></td></tr>
<tr><td width="240px;"><strong>Action</strong></td><td width="120px;"><div align="center"><strong>Shortcut</strong></div></td><td width="120px;"><div align="center"><strong>Modifiers</strong></div></td><td><strong>Description</strong></td></tr>
<tr><td colspan="4" bgcolor="#333333"><div style="float:left"><strong style="color:#FFFFFF"><a name="prefabs" id="prefabs"></a>Prefabs</strong></div><div style="text-align:right; float:right"><a style="color:#FFFFFF; text-decoration:underline" href="#top">[to top]</a></div></td></tr>
<tr><td width="260"><strong>Action</strong></td><td><div align="center"><strong>Shortcut</strong></div></td><td><div align="center"><strong>Modifiers</strong></div></td><td><strong>Description</strong></td></tr>
<tr>
<td>Create Prefab</td>
<td><div align="center"></div></td>
@ -1059,8 +1066,8 @@
<td>Inserts the previously opened Prefab file again.</td>
</tr>
<tr><td colspan="4"></td></tr>
<tr><td colspan="4" bgcolor="#333333"><strong style="color:#FFFFFF">Sectors</strong></td></tr>
<tr><td width="240px;"><strong>Action</strong></td><td width="120px;"><div align="center"><strong>Shortcut</strong></div></td><td width="120px;"><div align="center"><strong>Modifiers</strong></div></td><td><strong>Description</strong></td></tr>
<tr><td colspan="4" bgcolor="#333333"><div style="float:left"><strong style="color:#FFFFFF"><a name="sectors" id="sectors"></a>Sectors</strong></div><div style="text-align:right; float:right"><a style="color:#FFFFFF; text-decoration:underline" href="#top">[to top]</a></div></td></tr>
<tr><td width="260"><strong>Action</strong></td><td><div align="center"><strong>Shortcut</strong></div></td><td><div align="center"><strong>Modifiers</strong></div></td><td><strong>Description</strong></td></tr>
<tr>
<td>Copy sector properties</td>
<td><div align="center"></div></td>
@ -1073,18 +1080,7 @@
<td><div align="center"></div></td>
<td>Joins two or more selected sectors together and keeps all linedefs.</td>
</tr>
<tr>
<td>Lower Ceiling by 8 mp</td>
<td><div align="center">Shift+ScrollDown</div></td>
<td><div align="center"></div></td>
<td>Lowers the highlighted or selected ceiling heights by 8 mp.</td>
</tr>
<tr>
<td>Lower Floor by 8 mp</td>
<td><div align="center">Ctrl+ScrollDown</div></td>
<td><div align="center"></div></td>
<td>Lowers the highlighted or selected floor heights by 8 mp.</td>
</tr>
<tr>
<td>Make Brightness Gradient</td>
<td><div align="center">G</div></td>
@ -1121,18 +1117,7 @@
<td><div align="center"></div></td>
<td>Pastes sector properties.</td>
</tr>
<tr>
<td>Raise Ceiling by 8 mp</td>
<td><div align="center">Shift+ScrollUp</div></td>
<td><div align="center"></div></td>
<td>Raises the highlighted or selected ceiling heights by 8 mp.</td>
</tr>
<tr>
<td>Raise Floor by 8 mp</td>
<td><div align="center">Ctrl+ScrollUp</div></td>
<td><div align="center"></div></td>
<td>Raises the highlighted or selected floor heights by 8 mp.</td>
</tr>
<tr>
<td>Select Sectors Outline</td>
<td><div align="center"></div></td>
@ -1140,8 +1125,8 @@
<td>Selects the outline of all marked sectors, deselecting lines that are shared.</td>
</tr>
<tr><td colspan="4"></td></tr>
<tr><td colspan="4" bgcolor="#333333"><strong style="color:#FFFFFF">Drawing</strong></td></tr>
<tr><td width="240px;"><strong>Action</strong></td><td width="120px;"><div align="center"><strong>Shortcut</strong></div></td><td width="120px;"><div align="center"><strong>Modifiers</strong></div></td><td><strong>Description</strong></td></tr>
<tr><td colspan="4" bgcolor="#333333"><div style="float:left"><strong style="color:#FFFFFF"><a name="drawing" id="drawing"></a>Drawing</strong></div><div style="text-align:right; float:right"><a style="color:#FFFFFF; text-decoration:underline" href="#top">[to top]</a></div></td></tr>
<tr><td width="260"><strong>Action</strong></td><td><div align="center"><strong>Shortcut</strong></div></td><td><div align="center"><strong>Modifiers</strong></div></td><td><strong>Description</strong></td></tr>
<tr>
<td><a href="features/classic_modes/mode_drawbridge.html">Bridge Mode</a></td>
<td><div align="center">Ctrl+B</div></td>
@ -1215,8 +1200,8 @@
<td>Starts drawing rectangle. Increase/Decrease Subdivision Level and Increase/Decrease Corners Bevel actions are avaliable in this mode.</td>
</tr>
<tr><td colspan="4"></td></tr>
<tr><td colspan="4" bgcolor="#333333"><strong style="color:#FFFFFF">Things</strong></td></tr>
<tr><td width="240px;"><strong>Action</strong></td><td width="120px;"><div align="center"><strong>Shortcut</strong></div></td><td width="120px;"><div align="center"><strong>Modifiers</strong></div></td><td><strong>Description</strong></td></tr>
<tr><td colspan="4" bgcolor="#333333"><div style="float:left"><strong style="color:#FFFFFF"><a name="things" id="things"></a>Things</strong></div><div style="text-align:right; float:right"><a style="color:#FFFFFF; text-decoration:underline" href="#top">[to top]</a></div></td></tr>
<tr><td width="260"><strong>Action</strong></td><td><div align="center"><strong>Shortcut</strong></div></td><td><div align="center"><strong>Modifiers</strong></div></td><td><strong>Description</strong></td></tr>
<tr>
<td><a name="aligntingtoline" id="aligntingtoline"></a>Align Things To Linedef</td>
<td><div align="center">Ctrl+Shift+A</div></td>
@ -1236,8 +1221,8 @@
<td>Selects Things in Selected Sectors.</td>
</tr>
<tr><td colspan="4"></td></tr>
<tr><td colspan="4" bgcolor="#333333"><strong style="color:#FFFFFF">Modes</strong></td></tr>
<tr><td width="240px;"><strong>Action</strong></td><td width="120px;"><div align="center"><strong>Shortcut</strong></div></td><td width="120px;"><div align="center"><strong>Modifiers</strong></div></td><td><strong>Description</strong></td></tr>
<tr><td colspan="4" bgcolor="#333333"><div style="float:left"><strong style="color:#FFFFFF"><a name="modes" id="modes"></a>Modes</strong></div><div style="text-align:right; float:right"><a style="color:#FFFFFF; text-decoration:underline" href="#top">[to top]</a></div></td></tr>
<tr><td width="260"><strong>Action</strong></td><td><div align="center"><strong>Shortcut</strong></div></td><td><div align="center"><strong>Modifiers</strong></div></td><td><strong>Description</strong></td></tr>
<tr>
<td>Ceiling Align Mode</td>
<td><div align="center"></div></td>
@ -1292,12 +1277,7 @@
<td><div align="center"></div></td>
<td>Switches to the Nodes Viewer mode.</td>
</tr>
<tr>
<td>Sectors Brightness Mode</td>
<td><div align="center">Shift+B</div></td>
<td><div align="center"></div></td>
<td>Switches to sectors brightness editing mode.</td>
</tr>
<tr>
<td>Sectors Mode</td>
<td><div align="center">S</div></td>
@ -1329,8 +1309,8 @@
<td>Switches to the Visplane Explorer viewing mode.</td>
</tr>
<tr><td colspan="4"></td></tr>
<tr><td colspan="4" bgcolor="#333333"><strong style="color:#FFFFFF">Lines</strong></td></tr>
<tr><td width="240px;"><strong>Action</strong></td><td width="120px;"><div align="center"><strong>Shortcut</strong></div></td><td width="120px;"><div align="center"><strong>Modifiers</strong></div></td><td><strong>Description</strong></td></tr>
<tr><td colspan="4" bgcolor="#333333"><div style="float:left"><strong style="color:#FFFFFF"><a name="lines" id="lines"></a>Lines</strong></div><div style="text-align:right; float:right"><a style="color:#FFFFFF; text-decoration:underline" href="#top">[to top]</a></div></td></tr>
<tr><td width="260"><strong>Action</strong></td><td><div align="center"><strong>Shortcut</strong></div></td><td><div align="center"><strong>Modifiers</strong></div></td><td><strong>Description</strong></td></tr>
<tr>
<td>Align Ceiling Texture to Back Side</td>
<td><div align="center"></div></td>
@ -1392,8 +1372,8 @@
<td>Splits the selected linedefs in the middle, or splits the highlighted linedef at the mouse position.</td>
</tr>
<tr><td colspan="4"></td></tr>
<tr><td colspan="4" bgcolor="#333333"><strong style="color:#FFFFFF">Transform</strong></td></tr>
<tr><td width="240px;"><strong>Action</strong></td><td width="120px;"><div align="center"><strong>Shortcut</strong></div></td><td width="120px;"><div align="center"><strong>Modifiers</strong></div></td><td><strong>Description</strong></td></tr>
<tr><td colspan="4" bgcolor="#333333"><div style="float:left"><strong style="color:#FFFFFF"><a name="transform" id="transform"></a>Transform</strong></div><div style="text-align:right; float:right"><a style="color:#FFFFFF; text-decoration:underline" href="#top">[to top]</a></div></td></tr>
<tr><td width="260"><strong>Action</strong></td><td><div align="center"><strong>Shortcut</strong></div></td><td><div align="center"><strong>Modifiers</strong></div></td><td><strong>Description</strong></td></tr>
<tr>
<td>Jitter</td>
<td><div align="center">Ctrl+J</div></td>

View file

@ -69,6 +69,9 @@
<li>
<h3><a name="allmodes" id="allmodes"></a>Classic and Visual modes:</h3>
<ul>
<li><span class="style3">[changed]</span> &quot;<strong><a href="../actions.html#togglefullbrightness">Toggle Full Brightness</a>&quot; </strong>action works in Classic modes.</li>
<li><span class="style3">[changed]</span> &quot;<strong><a href="../actions.html#togglehighlight">Toggle Highlight</a>&quot; </strong>action works in Classic modes.</li>
<li><span class="style3">[changed]</span> &quot;<a href="../actions.html#increasebrightness8"><strong>Increase Brightness by 8</strong></a>&quot; and &quot;<a href="../actions.html#decreasebrightness8"><strong>Decrease Brightness by 8</strong></a>&quot; actions work in Sectors mode.</li>
<li><span class="style1"><strong>[new]</strong></span> <a href="all_modes/tag_support.html">Enhanced Tag support</a>.</li>
<li><a href="all_modes/event_lines.html">Event lines</a>.</li>
<li>Map can be tested from camera position in Visual mode and from cursor position in Classic modes. <a href="all_modes/test_from_view.html">More info</a>.</li>
@ -115,16 +118,18 @@
<input class="spoilerbutton" type="button" onclick="ToggleSpoiler(this);" href="javascript:void(0);" value="Show image"/>
<div style="display: none; margin: 0px; padding: 6px; border: 1px inset;"><img src="general/menu_selectiongroups.jpg" alt="" /></div>
</li>
<li><span class="style1"><strong>[new]</strong></span> &quot;<strong><a href="../actions.html#togglefullbrightness">Toggle Full Brightness</a>&quot; </strong>action works in Classic modes.</li>
<li>Center of map is shown in Classic modes using Highlight color.</li>
</ul>
</li>
<li><h3><a name="sectors" id="sectors"></a>Sectors mode:</h3>
<ul>
<li><span class="style3">[changed]</span> Removed &quot;<strong>Lower Floor by 8 mp</strong>&quot;, &quot;<strong>Raise Floor by 8 mp</strong>&quot;, &quot;<strong>Lower Ceiling by 8 mp</strong>&quot; and &quot;<strong>Raise Ceiling by 8 mp</strong>&quot; actions.</li>
<li><span class="style1"><strong>[new]</strong></span> Sector Tag and Effect can now be shown on top of sectors. You can use &quot;<strong>View Tags and Effects</strong>&quot; button to toggle this overlay. <input class="spoilerbutton" type="button" onclick="ToggleSpoiler(this);" href="javascript:void(0);" value="Show image"/>
<div style="display: none; margin: 0px; padding: 6px; border: 1px inset;"><img src="sectors_mode/toggle_effect_overlay.jpg" alt="" /></div></li>
<li><span class="style1"><strong>[new]</strong></span> <strong>[UDMF]</strong> Create Brightness Gradient option can work in 5 modes:
<input class="spoilerbutton" type="button" onclick="ToggleSpoiler(this);" href="javascript:void(0);" value="Show image"/>
<div style="display: none; margin: 0px; padding: 6px; border: 1px inset;"><img src="sectors_mode/gradientmodes.jpg" alt="" /></div>
<div style="display: none; margin: 0px; padding: 6px; border: 1px inset;"><img src="sectors_mode/gradientmodes.jpg" alt="" /></div>
</li>
<li><span class="style1"><strong>[new]</strong></span><strong> </strong>Sector Info panel shows the number of sector's sidedefs as well as light and fade colors (UDMF only): <input class="spoilerbutton" type="button" onclick="ToggleSpoiler(this);" href="javascript:void(0);" value="Show image"/>
<div style="display: none; margin: 0px; padding: 6px; border: 1px inset;"><img src="sectors_mode/sector_info.jpg" alt="" /></div></li>

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

View file

@ -46,7 +46,6 @@
</ItemGroup>
<ItemGroup>
<Compile Include="ClassicModes\BaseClassicMode.cs" />
<Compile Include="ClassicModes\BrightnessMode.cs" />
<Compile Include="ClassicModes\ErrorCheckMode.cs" />
<Compile Include="ClassicModes\EditSelectionMode.cs" />
<Compile Include="ClassicModes\CurveLinedefsMode.cs" />
@ -164,9 +163,6 @@
<Private>False</Private>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Resources\BrightnessMode.png" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Interface\ErrorCheckForm.resx">
<SubType>Designer</SubType>
@ -410,6 +406,9 @@
<ItemGroup>
<None Include="Resources\TextureLock.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\AnnotationsMode.png" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.

View file

@ -316,6 +316,16 @@ namespace CodeImp.DoomBuilder.BuilderModes
General.Interface.RedrawDisplay();
}
//mxd
[BeginAction("togglehighlight")]
public void ToggleHighlight() {
BuilderPlug.Me.UseHighlight = !BuilderPlug.Me.UseHighlight;
General.Interface.DisplayStatus(StatusType.Action, "Highlight is now " + (BuilderPlug.Me.UseHighlight ? "ON" : "OFF") + ".");
// Redraw display to show changes
General.Interface.RedrawDisplay();
}
#endregion
}
}

File diff suppressed because it is too large Load diff

View file

@ -155,97 +155,107 @@ namespace CodeImp.DoomBuilder.BuilderModes
if(renderer.StartOverlay(true))
{
//mxd. Render highlighted sector
if(highlighted != null) {
int highlightedColor = General.Colors.Highlight.WithAlpha(64).ToInt();
FlatVertex[] verts = new FlatVertex[highlighted.FlatVertices.Length];
highlighted.FlatVertices.CopyTo(verts, 0);
for(int i = 0; i < verts.Length; i++) verts[i].c = highlightedColor;
renderer.RenderGeometry(verts, null, true);
if (BuilderPlug.Me.UseHighlight) {
if (highlighted != null) {
int highlightedColor = General.Colors.Highlight.WithAlpha(64).ToInt();
FlatVertex[] verts = new FlatVertex[highlighted.FlatVertices.Length];
highlighted.FlatVertices.CopyTo(verts, 0);
for (int i = 0; i < verts.Length; i++)
verts[i].c = highlightedColor;
renderer.RenderGeometry(verts, null, true);
}
}
// Go for all selected sectors
ICollection<Sector> orderedselection = General.Map.Map.GetSelectedSectors(true);
//mxd. Render selected sectors
int selectedColor = General.Colors.Selection.WithAlpha(64).ToInt(); //mxd
foreach (Sector s in orderedselection) {
if (s != highlighted) {
FlatVertex[] verts = new FlatVertex[s.FlatVertices.Length];
s.FlatVertices.CopyTo(verts, 0);
for (int i = 0; i < verts.Length; i++)
verts[i].c = selectedColor;
renderer.RenderGeometry(verts, null, true);
if (BuilderPlug.Me.UseHighlight) {
int selectedColor = General.Colors.Selection.WithAlpha(64).ToInt(); //mxd
foreach (Sector s in orderedselection) {
if (s != highlighted) {
FlatVertex[] verts = new FlatVertex[s.FlatVertices.Length];
s.FlatVertices.CopyTo(verts, 0);
for (int i = 0; i < verts.Length; i++)
verts[i].c = selectedColor;
renderer.RenderGeometry(verts, null, true);
}
}
}
if(BuilderPlug.Me.ViewSelectionNumbers)
{
foreach(Sector s in orderedselection)
{
if (BuilderPlug.Me.ViewSelectionNumbers) {
foreach (Sector s in orderedselection) {
// Render labels
TextLabel[] labelarray = labels[s];
for(int i = 0; i < s.Labels.Count; i++)
{
for (int i = 0; i < s.Labels.Count; i++) {
TextLabel l = labelarray[i];
// Render only when enough space for the label to see
float requiredsize = (l.TextSize.Height / 2) / renderer.Scale;
if(requiredsize < s.Labels[i].radius) renderer.RenderText(l);
if (requiredsize < s.Labels[i].radius) renderer.RenderText(l);
}
}
}
if (BuilderPlug.Me.ViewSelectionEffects) {
//mxd. Render effect labels
orderedselection = General.Map.Map.GetSelectedSectors(false);
foreach(Sector s in orderedselection) {
string label = string.Empty;
string labelShort = string.Empty;
if (s.Effect != 0) {
if (effects.ContainsKey(s.Effect)) {
if(s.Tag != 0) {
label = "Tag " + s.Tag + ", " + effects[s.Effect][0];
labelShort = "T" + s.Tag + " " + "E" + s.Effect;
} else {
label = effects[s.Effect][0];
labelShort = "E" + s.Effect;
}
} else {
if(s.Tag != 0) {
label = "Tag " + s.Tag + ", Effect " + s.Effect;
labelShort = "T" + s.Tag + " " + "E" + s.Effect;
} else {
label = "Effect " + s.Effect;
labelShort = "E" + s.Effect;
}
}
} else if(s.Tag != 0) {
label = "Tag " + s.Tag;
labelShort = "T" + s.Tag;
}
if(!string.IsNullOrEmpty(label)) {
TextLabel[] labelarray = labels[s];
for (int i = 0; i < s.Labels.Count; i++) {
TextLabel l = labelarray[i];
l.Color = General.Colors.InfoLine;
float requiredsize = (General.Map.GetTextSize(label, l.Scale).Width) / renderer.Scale;
if (requiredsize > s.Labels[i].radius) {
requiredsize = (General.Map.GetTextSize(labelShort, l.Scale).Width) / renderer.Scale;
l.Text = (requiredsize > s.Labels[i].radius ? "+" : labelShort);
} else {
l.Text = label;
}
renderer.RenderText(l);
}
}
}
if(!BuilderPlug.Me.ViewSelectionNumbers)
renderEffectLabels(orderedselection);
renderEffectLabels(General.Map.Map.GetSelectedSectors(false));
}
renderer.Finish();
}
}
//mxd
private void renderEffectLabels(ICollection<Sector> selection) {
foreach(Sector s in selection) {
string label = string.Empty;
string labelShort = string.Empty;
if(s.Effect != 0) {
if(effects.ContainsKey(s.Effect)) {
if(s.Tag != 0) {
label = "Tag " + s.Tag + ", " + effects[s.Effect][0];
labelShort = "T" + s.Tag + " " + "E" + s.Effect;
} else {
label = effects[s.Effect][0];
labelShort = "E" + s.Effect;
}
} else {
if(s.Tag != 0) {
label = "Tag " + s.Tag + ", Effect " + s.Effect;
labelShort = "T" + s.Tag + " " + "E" + s.Effect;
} else {
label = "Effect " + s.Effect;
labelShort = "E" + s.Effect;
}
}
} else if(s.Tag != 0) {
label = "Tag " + s.Tag;
labelShort = "T" + s.Tag;
}
if (string.IsNullOrEmpty(label)) continue;
TextLabel[] labelarray = labels[s];
for(int i = 0; i < s.Labels.Count; i++) {
TextLabel l = labelarray[i];
l.Color = General.Colors.InfoLine;
float requiredsize = (General.Map.GetTextSize(label, l.Scale).Width) / renderer.Scale;
if(requiredsize > s.Labels[i].radius) {
requiredsize = (General.Map.GetTextSize(labelShort, l.Scale).Width) / renderer.Scale;
l.Text = (requiredsize > s.Labels[i].radius ? "+" : labelShort);
} else {
l.Text = label;
}
renderer.RenderText(l);
}
}
}
// Support function for joining and merging sectors
private void JoinMergeSectors(bool removelines)
@ -487,6 +497,7 @@ namespace CodeImp.DoomBuilder.BuilderModes
General.Interface.AddButton(BuilderPlug.Me.MenusForm.PasteProperties);
General.Interface.AddButton(BuilderPlug.Me.MenusForm.SeparatorCopyPaste);
General.Interface.AddButton(BuilderPlug.Me.MenusForm.ViewSelectionNumbers);
General.Interface.AddButton(BuilderPlug.Me.MenusForm.ViewSelectionEffects);
General.Interface.AddButton(BuilderPlug.Me.MenusForm.SeparatorSectors1);
General.Interface.AddButton(BuilderPlug.Me.MenusForm.MakeGradientBrightness);
if(General.Map.UDMF) General.Interface.AddButton(BuilderPlug.Me.MenusForm.BrightnessGradientMode); //mxd
@ -517,6 +528,7 @@ namespace CodeImp.DoomBuilder.BuilderModes
General.Interface.RemoveButton(BuilderPlug.Me.MenusForm.PasteProperties);
General.Interface.RemoveButton(BuilderPlug.Me.MenusForm.SeparatorCopyPaste);
General.Interface.RemoveButton(BuilderPlug.Me.MenusForm.ViewSelectionNumbers);
General.Interface.RemoveButton(BuilderPlug.Me.MenusForm.ViewSelectionEffects);
General.Interface.RemoveButton(BuilderPlug.Me.MenusForm.SeparatorSectors1);
General.Interface.RemoveButton(BuilderPlug.Me.MenusForm.MakeGradientBrightness);
if(General.Map.UDMF) General.Interface.RemoveButton(BuilderPlug.Me.MenusForm.BrightnessGradientMode); //mxd
@ -1452,7 +1464,6 @@ namespace CodeImp.DoomBuilder.BuilderModes
UpdateSelectedLabels();
// Redraw screen
//General.Map.Renderer2D.Update3dFloorIndicators(); //mxd
General.Interface.RedrawDisplay();
}
}
@ -1539,13 +1550,13 @@ namespace CodeImp.DoomBuilder.BuilderModes
//get total brightness of start sector
if(start.Fields.GetValue(lightAbsKey, false))
startbrightness = (float)start.Fields.GetValue(lightKey, 0);
startbrightness = start.Fields.GetValue(lightKey, 0);
else
startbrightness = Math.Min(255, Math.Max(0, (float)start.Brightness + start.Fields.GetValue(lightKey, 0)));
//get total brightness of end sector
if(end.Fields.GetValue(lightAbsKey, false))
endbrightness = (float)end.Fields.GetValue(lightKey, 0);
endbrightness = end.Fields.GetValue(lightKey, 0);
else
endbrightness = Math.Min(255, Math.Max(0, (float)end.Brightness + end.Fields.GetValue(lightKey, 0)));
@ -1555,7 +1566,7 @@ namespace CodeImp.DoomBuilder.BuilderModes
int index = 0;
foreach(Sector s in orderedselection) {
s.Fields.BeforeFieldsChange();
float u = (float)index / (float)(orderedselection.Count - 1);
float u = index / (float)(orderedselection.Count - 1);
float b = startbrightness + delta * u;
//absolute flag set?
@ -1595,12 +1606,9 @@ namespace CodeImp.DoomBuilder.BuilderModes
int index = 0;
foreach(Sector s in orderedselection) {
s.Fields.BeforeFieldsChange();
float u = (float)index / (float)(orderedselection.Count - 1);
float u = index / (float)(orderedselection.Count - 1);
Color c = Color.FromArgb(0, General.Clamp((int)(startColor.R + dr * u), 0, 255), General.Clamp((int)(startColor.G + dg * u), 0, 255), General.Clamp((int)(startColor.B + db * u), 0, 255));
//dbg
//Console.WriteLine("Color is "+c.ToString() + "; dr=" + dr + "; dg="+dg+"; db="+db);
UDMFTools.SetInteger(s.Fields, key, c.ToArgb(), defaultValue);
s.UpdateNeeded = true;
index++;
@ -1608,14 +1616,14 @@ namespace CodeImp.DoomBuilder.BuilderModes
}
} else {
float startbrightness = (float)start.Brightness;
float endbrightness = (float)end.Brightness;
float startbrightness = start.Brightness;
float endbrightness = end.Brightness;
float delta = endbrightness - startbrightness;
// Go for all sectors in between first and last
int index = 0;
foreach(Sector s in orderedselection) {
float u = (float)index / (float)(orderedselection.Count - 1);
float u = index / (float)(orderedselection.Count - 1);
float b = startbrightness + delta * u;
s.Brightness = (int)b;
index++;
@ -1645,14 +1653,14 @@ namespace CodeImp.DoomBuilder.BuilderModes
General.Interface.DisplayStatus(StatusType.Action, "Created gradient floor heights over selected sectors.");
General.Map.UndoRedo.CreateUndo("Gradient floor heights");
float startlevel = (float)General.GetByIndex(orderedselection, 0).FloorHeight;
float endlevel = (float)General.GetByIndex(orderedselection, orderedselection.Count - 1).FloorHeight;
float startlevel = General.GetByIndex(orderedselection, 0).FloorHeight;
float endlevel = General.GetByIndex(orderedselection, orderedselection.Count - 1).FloorHeight;
float delta = endlevel - startlevel;
// Go for all sectors in between first and last
int index = 0;
foreach(Sector s in orderedselection) {
float u = (float)index / (float)(orderedselection.Count - 1);
float u = index / (float)(orderedselection.Count - 1);
float b = startlevel + delta * u;
s.FloorHeight = (int)b;
index++;
@ -1697,85 +1705,52 @@ namespace CodeImp.DoomBuilder.BuilderModes
General.Interface.RefreshInfo();
General.Map.IsChanged = true;
}
// Change heights
[BeginAction("lowerfloor8")]
public void LowerFloors8()
{
General.Interface.DisplayStatus(StatusType.Action, "Lowered floor heights by 8mp.");
General.Map.UndoRedo.CreateUndo("Floor heights change", this, UndoGroup.FloorHeightChange, CreateSelectionCRC());
//mxd. Raise brightness
[BeginAction("raisebrightness8")]
public void RaiseBrightness8() {
General.Interface.DisplayStatus(StatusType.Action, "Raised sector brightness by 8.");
General.Map.UndoRedo.CreateUndo("Sector brightness change", this, UndoGroup.SectorBrightnessChange, CreateSelectionCRC());
// Change heights
ICollection<Sector> selected = General.Map.Map.GetSelectedSectors(true);
if((selected.Count == 0) && (highlighted != null) && !highlighted.IsDisposed) selected.Add(highlighted);
foreach(Sector s in selected)
{
s.FloorHeight -= 8;
foreach(Sector s in selected) {
s.Brightness = General.Map.Config.BrightnessLevels.GetNextHigher(s.Brightness);
s.UpdateNeeded = true;
s.UpdateCache();
}
// Update
General.Interface.RefreshInfo();
General.Map.IsChanged = true;
// Redraw
General.Interface.RedrawDisplay();
}
// Change heights
[BeginAction("raisefloor8")]
public void RaiseFloors8()
{
General.Interface.DisplayStatus(StatusType.Action, "Raised floor heights by 8mp.");
General.Map.UndoRedo.CreateUndo("Floor heights change", this, UndoGroup.FloorHeightChange, CreateSelectionCRC());
//mxd. Lower brightness
[BeginAction("lowerbrightness8")]
public void LowerBrightness8() {
General.Interface.DisplayStatus(StatusType.Action, "Lowered sector brightness by 8.");
General.Map.UndoRedo.CreateUndo("Sector brightness change", this, UndoGroup.SectorBrightnessChange, CreateSelectionCRC());
// Change heights
ICollection<Sector> selected = General.Map.Map.GetSelectedSectors(true);
if((selected.Count == 0) && (highlighted != null) && !highlighted.IsDisposed) selected.Add(highlighted);
foreach(Sector s in selected)
{
s.FloorHeight += 8;
if((selected.Count == 0) && (highlighted != null) && !highlighted.IsDisposed)
selected.Add(highlighted);
foreach(Sector s in selected) {
s.Brightness = General.Map.Config.BrightnessLevels.GetNextLower(s.Brightness);
s.UpdateNeeded = true;
s.UpdateCache();
}
// Update
General.Interface.RefreshInfo();
General.Map.IsChanged = true;
}
// Change heights
[BeginAction("lowerceiling8")]
public void LowerCeilings8()
{
General.Interface.DisplayStatus(StatusType.Action, "Lowered ceiling heights by 8mp.");
General.Map.UndoRedo.CreateUndo("Ceiling heights change", this, UndoGroup.CeilingHeightChange, CreateSelectionCRC());
// Change heights
ICollection<Sector> selected = General.Map.Map.GetSelectedSectors(true);
if((selected.Count == 0) && (highlighted != null) && !highlighted.IsDisposed) selected.Add(highlighted);
foreach(Sector s in selected)
{
s.CeilHeight -= 8;
}
// Update
General.Interface.RefreshInfo();
General.Map.IsChanged = true;
}
// Change heights
[BeginAction("raiseceiling8")]
public void RaiseCeilings8()
{
General.Interface.DisplayStatus(StatusType.Action, "Raised ceiling heights by 8mp.");
General.Map.UndoRedo.CreateUndo("Ceiling heights change", this, UndoGroup.CeilingHeightChange, CreateSelectionCRC());
// Change heights
ICollection<Sector> selected = General.Map.Map.GetSelectedSectors(true);
if((selected.Count == 0) && (highlighted != null) && !highlighted.IsDisposed) selected.Add(highlighted);
foreach(Sector s in selected)
{
s.CeilHeight += 8;
}
// Update
General.Interface.RefreshInfo();
General.Map.IsChanged = true;
// Redraw
General.Interface.RedrawDisplay();
}
// This clears the selection

View file

@ -104,6 +104,7 @@ namespace CodeImp.DoomBuilder.BuilderModes
private LinedefProperties copiedlinedefprops;
private ThingProperties copiedthingprops;
private bool viewselectionnumbers;
private bool viewselectioneffects; //mxd
private float stitchrange;
private float highlightrange;
private float highlightthingsrange;
@ -157,6 +158,7 @@ namespace CodeImp.DoomBuilder.BuilderModes
public LinedefProperties CopiedLinedefProps { get { return copiedlinedefprops; } set { copiedlinedefprops = value; } }
public ThingProperties CopiedThingProps { get { return copiedthingprops; } set { copiedthingprops = value; } }
public bool ViewSelectionNumbers { get { return viewselectionnumbers; } set { viewselectionnumbers = value; } }
public bool ViewSelectionEffects { get { return viewselectioneffects; } set { viewselectioneffects = value; } } //mxd
public float StitchRange { get { return stitchrange; } internal set { stitchrange = value; } }
public float HighlightRange { get { return highlightrange; } }
public float HighlightThingsRange { get { return highlightthingsrange; } }
@ -318,6 +320,7 @@ namespace CodeImp.DoomBuilder.BuilderModes
autoclearselection = General.Settings.ReadPluginSetting("autoclearselection", false);
visualmodeclearselection = General.Settings.ReadPluginSetting("visualmodeclearselection", false);
viewselectionnumbers = General.Settings.ReadPluginSetting("viewselectionnumbers", true);
viewselectioneffects = General.Settings.ReadPluginSetting("viewselectioneffects", true); //mxd
stitchrange = General.Settings.ReadPluginSetting("stitchrange", 20);
highlightrange = General.Settings.ReadPluginSetting("highlightrange", 20);
highlightthingsrange = General.Settings.ReadPluginSetting("highlightthingsrange", 10);
@ -333,6 +336,13 @@ namespace CodeImp.DoomBuilder.BuilderModes
lockSectorTextureOffsetsWhileDragging = General.Settings.ReadPluginSetting("locktextureoffsets", false); //mxd
}
//mxd
private void saveSettings() {
General.Settings.WritePluginSetting("locktextureoffsets", lockSectorTextureOffsetsWhileDragging);
General.Settings.WritePluginSetting("viewselectionnumbers", viewselectionnumbers);
General.Settings.WritePluginSetting("viewselectioneffects", viewselectioneffects);
}
#endregion
#region ================== Events
@ -485,7 +495,8 @@ namespace CodeImp.DoomBuilder.BuilderModes
drawRectModeMenuItem.Enabled = false;
drawEllipseModeMenuItem.Enabled = false;
General.Settings.WritePluginSetting("locktextureoffsets", lockSectorTextureOffsetsWhileDragging);
//mxd. Save settings
saveSettings();
}
// Redo performed

View file

@ -64,6 +64,7 @@ namespace CodeImp.DoomBuilder.BuilderModes
this.buttonpasteproperties = new System.Windows.Forms.ToolStripButton();
this.seperatorcopypaste = new System.Windows.Forms.ToolStripSeparator();
this.buttonselectionnumbers = new System.Windows.Forms.ToolStripButton();
this.buttonselectioneffects = new System.Windows.Forms.ToolStripButton();
this.separatorsectors1 = new System.Windows.Forms.ToolStripSeparator();
this.buttonbrightnessgradient = new System.Windows.Forms.ToolStripButton();
this.buttonfloorgradient = new System.Windows.Forms.ToolStripButton();
@ -329,7 +330,7 @@ namespace CodeImp.DoomBuilder.BuilderModes
// placethingsv
//
this.placethingsv.Name = "placethingsv";
this.placethingsv.Size = new System.Drawing.Size(150, 22);
this.placethingsv.Size = new System.Drawing.Size(152, 22);
this.placethingsv.Tag = "placethings";
this.placethingsv.Text = "&Place Things...";
this.placethingsv.Click += new System.EventHandler(this.InvokeTaggedAction);
@ -349,6 +350,7 @@ namespace CodeImp.DoomBuilder.BuilderModes
this.buttonpasteproperties,
this.seperatorcopypaste,
this.buttonselectionnumbers,
this.buttonselectioneffects,
this.separatorsectors1,
this.buttonbrightnessgradient,
this.buttonfloorgradient,
@ -402,9 +404,20 @@ namespace CodeImp.DoomBuilder.BuilderModes
this.buttonselectionnumbers.ImageTransparentColor = System.Drawing.Color.Magenta;
this.buttonselectionnumbers.Name = "buttonselectionnumbers";
this.buttonselectionnumbers.Size = new System.Drawing.Size(23, 22);
this.buttonselectionnumbers.Text = "View Effects and Selection Numbering";
this.buttonselectionnumbers.Text = "View Selection Numbering";
this.buttonselectionnumbers.Click += new System.EventHandler(this.buttonselectionnumbers_Click);
//
// buttonselectioneffects
//
this.buttonselectioneffects.CheckOnClick = true;
this.buttonselectioneffects.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.buttonselectioneffects.Image = global::CodeImp.DoomBuilder.BuilderModes.Properties.Resources.ViewSelectionEffects;
this.buttonselectioneffects.ImageTransparentColor = System.Drawing.Color.Magenta;
this.buttonselectioneffects.Name = "buttonselectioneffects";
this.buttonselectioneffects.Size = new System.Drawing.Size(23, 22);
this.buttonselectioneffects.Text = "View Tags and Effects";
this.buttonselectioneffects.Click += new System.EventHandler(this.buttonselectioneffects_Click);
//
// separatorsectors1
//
this.separatorsectors1.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
@ -597,5 +610,6 @@ namespace CodeImp.DoomBuilder.BuilderModes
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
private System.Windows.Forms.ToolStripMenuItem placethingss;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
private System.Windows.Forms.ToolStripButton buttonselectioneffects;
}
}

View file

@ -51,6 +51,7 @@ namespace CodeImp.DoomBuilder.BuilderModes
public ToolStripMenuItem LinedefsMenu { get { return linedefsmenu; } }
public ToolStripMenuItem SectorsMenu { get { return sectorsmenu; } }
public ToolStripButton ViewSelectionNumbers { get { return buttonselectionnumbers; } }
public ToolStripButton ViewSelectionEffects { get { return buttonselectioneffects; } }
public ToolStripSeparator SeparatorSectors1 { get { return separatorsectors1; } }
public ToolStripButton MakeGradientBrightness { get { return buttonbrightnessgradient; } }
public ToolStripButton MakeGradientFloors { get { return buttonfloorgradient; } }
@ -78,9 +79,10 @@ namespace CodeImp.DoomBuilder.BuilderModes
// Apply settings
buttonselectionnumbers.Checked = BuilderPlug.Me.ViewSelectionNumbers;
buttonselectioneffects.Checked = BuilderPlug.Me.ViewSelectionEffects; //mxd
//mxd
brightnessGradientMode.Items.AddRange(new string[] { BrightnessGradientModes.Sectors, BrightnessGradientModes.Light, BrightnessGradientModes.Fade, BrightnessGradientModes.Ceilings, BrightnessGradientModes.Floors });
brightnessGradientMode.Items.AddRange(new[] { BrightnessGradientModes.Sectors, BrightnessGradientModes.Light, BrightnessGradientModes.Fade, BrightnessGradientModes.Ceilings, BrightnessGradientModes.Floors });
brightnessGradientMode.SelectedIndex = 0;
// List all menus
@ -166,6 +168,12 @@ namespace CodeImp.DoomBuilder.BuilderModes
General.Interface.RedrawDisplay();
}
//mxd
private void buttonselectioneffects_Click(object sender, EventArgs e) {
BuilderPlug.Me.ViewSelectionEffects = buttonselectioneffects.Checked;
General.Interface.RedrawDisplay();
}
//mxd
private void buttonMarqueSelectTouching_Click(object sender, EventArgs e) {
BuilderPlug.Me.MarqueSelectTouching = buttonMarqueSelectTouching.Checked;
@ -175,10 +183,6 @@ namespace CodeImp.DoomBuilder.BuilderModes
private void buttonTextureOffsetLock_Click(object sender, EventArgs e) {
BuilderPlug.Me.LockSectorTextureOffsetsWhileDragging = buttonTextureOffsetLock.Checked;
}
#endregion
#region Events
//mxd
private void linedefsmenu_DropDownOpening(object sender, EventArgs e) {

View file

@ -235,6 +235,13 @@ namespace CodeImp.DoomBuilder.BuilderModes.Properties {
}
}
internal static System.Drawing.Bitmap ViewSelectionEffects {
get {
object obj = ResourceManager.GetObject("ViewSelectionEffects", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
internal static System.Drawing.Bitmap ViewSelectionIndex {
get {
object obj = ResourceManager.GetObject("ViewSelectionIndex", resourceCulture);

View file

@ -1,202 +1,205 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="DrawEllipseMode" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\DrawEllipseMode.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<value>..\Resources\DrawEllipseMode.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="AlignThings" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\AlignThings.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<value>..\Resources\AlignThings.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="SelectTouching" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\SelectTouching.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<value>..\Resources\SelectTouching.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="PasteProperties" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\PasteProperties.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<value>..\Resources\PasteProperties.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="FlipSelectionH" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\FlipSelectionH.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<value>..\Resources\FlipSelectionH.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="ColorPick" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\ColorPick.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<value>..\Resources\ColorPick.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="FlipSelectionV" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\FlipSelectionV.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<value>..\Resources\FlipSelectionV.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Text" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Text.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<value>..\Resources\Text.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="treeview" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\treeview.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<value>..\Resources\treeview.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="BrightnessGradient" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\BrightnessGradient.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<value>..\Resources\BrightnessGradient.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="DrawRectMode" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\DrawRectMode.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<value>..\Resources\DrawRectMode.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="CeilsGradient" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\CeilsGradient.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<value>..\Resources\CeilsGradient.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="ViewSelectionIndex" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\ViewSelectionIndex.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<value>..\Resources\ViewSelectionIndex.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="CeilingAlign" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\CeilingAlign.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<value>..\Resources\CeilingAlign.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="CurveLines" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\CurveLines.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<value>..\Resources\CurveLines.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Angle" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Angle.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<value>..\Resources\Angle.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="SnapVerts" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\SnapVerts.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<value>..\Resources\SnapVerts.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="VisualModeGZ" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\VisualModeGZ.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<value>..\Resources\VisualModeGZ.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="CopyProperties" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\CopyProperties.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<value>..\Resources\CopyProperties.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="List" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\List.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<value>..\Resources\List.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="DrawLinesMode" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\DrawLinesMode.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<value>..\Resources\DrawLinesMode.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="FloorAlign" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\FloorAlign.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<value>..\Resources\FloorAlign.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="FloorsGradient" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\FloorsGradient.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<value>..\Resources\FloorsGradient.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="DrawCurveMode" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\DrawCurveMode.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<value>..\Resources\DrawCurveMode.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="List_Images" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\List_Images.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<value>..\Resources\List_Images.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="ThingPointAtCursor" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\ThingPointAtCursor.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<value>..\Resources\ThingPointAtCursor.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="TextureLock" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\TextureLock.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<value>..\Resources\TextureLock.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="ViewSelectionEffects" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\ViewSelectionEffects.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>

View file

@ -484,54 +484,6 @@ makedoor
allowscroll = true;
}
lowerfloor8
{
title = "Lower Floor by 8 mp";
category = "sectors";
description = "Lowers the highlighted or selected floor heights by 8 mp.";
allowkeys = true;
allowmouse = true;
allowscroll = true;
repeat = true;
default = 131067;
}
raisefloor8
{
title = "Raise Floor by 8 mp";
category = "sectors";
description = "Raises the highlighted or selected floor heights by 8 mp.";
allowkeys = true;
allowmouse = true;
allowscroll = true;
repeat = true;
default = 131066;
}
lowerceiling8
{
title = "Lower Ceiling by 8 mp";
category = "sectors";
description = "Lowers the highlighted or selected ceiling heights by 8 mp.";
allowkeys = true;
allowmouse = true;
allowscroll = true;
repeat = true;
default = 196603;
}
raiseceiling8
{
title = "Raise Ceiling by 8 mp";
category = "sectors";
description = "Raises the highlighted or selected ceiling heights by 8 mp.";
allowkeys = true;
allowmouse = true;
allowscroll = true;
repeat = true;
default = 196602;
}
errorcheckmode
{
title = "Map Analysis Mode";
@ -625,7 +577,7 @@ showvisualthings
raisebrightness8
{
title = "Increase Brightness by 8";
category = "visual";
category = "edit";
description = "Increases the targeted or selected sector brightness level by 8.";
allowkeys = true;
allowmouse = true;
@ -636,7 +588,7 @@ raisebrightness8
lowerbrightness8
{
title = "Decrease Brightness by 8";
category = "visual";
category = "edit";
description = "Decreases the targeted or selected sector brightness level by 8.";
allowkeys = true;
allowmouse = true;
@ -962,8 +914,8 @@ togglebrightness
togglehighlight
{
title = "Toggle Highlight";
category = "visual";
description = "Toggles the highlight of the targeted object in visual mode.";
category = "tools"; //mxd
description = "Toggles the highlight of the targeted and selected objects in Visual and Sectors modes.";
allowkeys = true;
allowmouse = true;
allowscroll = true;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 362 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 336 B