Things, Sectors, Liedefs mode, UDMF: map element comments are now shown when highlighting them.

Changed, Edit Text window: the form is no longer accepted when pressing the Enter key, so line breaks can now be added easily.
Versioning: GZDB version is now determined by the first 2 revision digits, so now it's GZDB 2.3, not 1.14.
This commit is contained in:
MaxED 2015-07-14 09:02:48 +00:00
parent 643460efa6
commit 1424950d8d
10 changed files with 164 additions and 104 deletions

View file

@ -32,39 +32,39 @@
<li>
<h3><a name="general" id="general"></a>General interface:</h3>
<ul>
<li><span class="red">[new]</span> <strong>Help</strong> side panel, which shows most of actions, available in current mode.</li>
<li><span class="red">[new]</span> Maps can now be loaded by dragging wad files on top of GZDB's main window.</li>
<li><span class="red">[new]</span> Open Map Options, Map Options and Game Configurations forms: resources can be added by dragging them on top of resources list.</li>
<li><span class="red">[new]</span> <strong>Game Configurations form</strong>: game configurations can be disabled. This setting is mostly cosmetic. When a game configuration is disabled, it won't be shown in the &quot;game configuration&quot; drop downs in New\Open Map Options and Map Options windows. If a map's .dbs file specifies a disabled configuration, it will be picked as a map configuration anyway.</li>
<li><span class="red">[new]</span> <strong>Game Configurations form</strong>: game configurations can be copied and pasted (a context menu is now available in the game configurations list).</li>
<li><span class="red">[new]</span> Numeric textboxes: in addition to '++NN' and '--NN' to increment or decrement by given value, you can use '*NN' and '/NN' to multiply or divide by given value.</li>
<li><span class="red">[new]</span> Toolbar button groups can be toggled using context menu. Hold &quot;Shift&quot; to toggle several button groups at once.
<li><strong>Help</strong> side panel, which shows most of actions, available in current mode.</li>
<li>Maps can now be loaded by dragging wad files on top of GZDB's main window.</li>
<li>Open Map Options, Map Options and Game Configurations forms: resources can be added by dragging them on top of resources list.</li>
<li><strong>Game Configurations form</strong>: game configurations can be disabled. This setting is mostly cosmetic. When a game configuration is disabled, it won't be shown in the &quot;game configuration&quot; drop downs in New\Open Map Options and Map Options windows. If a map's .dbs file specifies a disabled configuration, it will be picked as a map configuration anyway.</li>
<li><strong>Game Configurations form</strong>: game configurations can be copied and pasted (a context menu is now available in the game configurations list).</li>
<li>Numeric textboxes: in addition to '++NN' and '--NN' to increment or decrement by given value, you can use '*NN' and '/NN' to multiply or divide by given value.</li>
<li>Toolbar button groups can be toggled using context menu. Hold &quot;Shift&quot; to toggle several button groups at once.
<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/toolbarmenu.jpg" alt="" /></div>
</li>
<li><span class="red">[new]</span> You can save screenshots using <strong>Tools -&gt; Save Screenshot</strong> (default key is F12) and <strong>Tools -&gt; Save Screenshot (editing area)</strong> (default key is Ctrl-F12) menu commands.</li>
<li><span class="red">[new]</span> You can save shortcut reference to html file using <strong>Help -&gt; Export Shortcut Reference</strong> menu command.</li>
<li><span class="red">[new]</span> New action: &quot;<strong>Open Map in current WAD</strong>&quot;, available as <strong>File -&gt; Open Map in current WAD</strong> and via Ctrl-Shift-O shortcut.</li>
<li><strong><span class="style1">[new]</span></strong> New action: &quot;Export to Wavefront .obj&quot;, available as <strong>File -&gt; Export -&gt; Selection to Wavefront .obj</strong>. It will export selected sectors (or the whole map, if no sectors are selected) to Wavefront .obj model.</li>
<li>You can save screenshots using <strong>Tools -&gt; Save Screenshot</strong> (default key is F12) and <strong>Tools -&gt; Save Screenshot (editing area)</strong> (default key is Ctrl-F12) menu commands.</li>
<li>You can save shortcut reference to html file using <strong>Help -&gt; Export Shortcut Reference</strong> menu command.</li>
<li>New action: &quot;<strong>Open Map in current WAD</strong>&quot;, available as <strong>File -&gt; Open Map in current WAD</strong> and via Ctrl-Shift-O shortcut.</li>
<li></strong>New action: &quot;Export to Wavefront .obj&quot;, available as <strong>File -&gt; Export -&gt; Selection to Wavefront .obj</strong>. It will export selected sectors (or the whole map, if no sectors are selected) to Wavefront .obj model.</li>
<li>New action: &quot;<strong>Reload MODELDEF/VOXELDEF</strong>&quot; (<strong>Tools -&gt; Reload MODELDEF/VOXELDEF</strong>).</li>
<li>New action: &quot;<strong>Reload GLDEFS</strong>&quot; (<strong>Tools -&gt; Reload GLDEFS</strong>).</li>
<li><span class="red">[new]</span> Info about current selection is shown at the bottom of program's window.
<li>Info about current selection is shown at the bottom of program's window.
<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/selection_info.jpg" alt="" /></div>
</li>
<li><span class="red">[new]</span> Texture size is now shown in texture previews. You can disable this feature by unchecking &quot;<strong>Preferences -&gt; Interface -&gt; Show texture and flat sizes in browsers</strong>&quot; checkbox.
<li>Texture size is now shown in texture previews. You can disable this feature by unchecking &quot;<strong>Preferences -&gt; Interface -&gt; Show texture and flat sizes in browsers</strong>&quot; checkbox.
<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/texturesize_preview.jpg" alt="" /></div>
</li>
<li><a href="general/multi_engines.html">Several game engines can be used per game configuration</a>.</li>
<li>Size of vertex handles in 2D modes can be changed in <a href="../preferences.html">preferences</a>.</li>
<li><span class="red">[new]</span> <strong>Script editor</strong>: pressing &quot;F1&quot; opens keyword help instead of program manual.</li>
<li><span class="red">[new]</span> Side panel auto hiding can be now toggled much easier.
<li><strong>Script editor</strong>: pressing &quot;F1&quot; opens keyword help instead of program manual.</li>
<li>Side panel auto hiding can be now toggled much easier.
<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/pinsidepanel.jpg" alt="" /></div>
</li>
<li><span class="red">[new]</span> Things can be filtered in Thing Edit form.</li>
<li><span class="red">[new]</span> Added &quot;<strong>Hints</strong>&quot; side panel, which shows the list of actions, available in current editing mode.</li>
<li>Things can be filtered in Thing Edit form.</li>
<li>Added &quot;<strong>Hints</strong>&quot; side panel, which shows the list of actions, available in current editing mode.</li>
<li>Actions and Effects can be filtered (useful when you remember action/effect name, but don't remember it's number or category).
<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/actions_filter.jpg" alt="" /></div>
@ -77,10 +77,10 @@
<h3><a name="scripting" id="scripting"></a>Scripting:</h3>
<ul>
<li><a href="scripting/acs.html">Enhanced scripting workflow</a>.</li>
<li><span class="red">[new]</span> <a href="scripting/snippets.html">Code snippets.</a></li>
<li><span class="red">[new]</span> Added support for multiple ACC compilers.</li>
<li><span class="red">[new]</span> BCC script compiler (<a href="https://github.com/wormt/bcc/">https://github.com/wormt/bcc/</a>) is bundled with GZDB.</li>
<li><span class="red">[new]</span> Script type can be chosen when creating or opening a map, and can be changed in Map Options form.</li>
<li><a href="scripting/snippets.html">Code snippets.</a></li>
<li>Added support for multiple ACC compilers.</li>
<li>BCC script compiler (<a href="https://github.com/wormt/bcc/">https://github.com/wormt/bcc/</a>) is bundled with GZDB.</li>
<li>Script type can be chosen when creating or opening a map, and can be changed in Map Options form.</li>
</ul>
</li>
<li>
@ -89,21 +89,21 @@
<li><span class="style3">[changed]</span> &quot;<strong>Toggle Full Brightness&quot; </strong>action works in Classic modes.</li>
<li><span class="style3">[changed]</span> &quot;<strong>Toggle Highlight&quot; </strong>action works in Classic modes.</li>
<li><span class="style3">[changed]</span> &quot;<strong>Increase Brightness by 8</strong>&quot; and &quot;<strong>Decrease Brightness by 8</strong>&quot; actions work in Sectors mode.</li>
<li><span class="red">[new]</span> <a href="all_modes/tag_support.html">Enhanced Tag support</a>.</li>
<li><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>
<li><span class="red">[new]</span> Selection can be synchronized between Classic and Visual modes. <a href="all_modes/synch_selection.html">More info</a>.</li>
<li>Selection can be synchronized between Classic and Visual modes. <a href="all_modes/synch_selection.html">More info</a>.</li>
<li>Camera position can be synchronized between Classic and Visual modes. <a href="all_modes/synch_camera.html">More info</a>.</li>
<li>You can use <a href="all_modes/colorpicker.html">Color Picker plugin </a> to edit dynamic light properties and sector's fog and tint colors in Classic and Visual modes.</li>
<li>You can use <a href="all_modes/tagexplorer.html">Tag Explorer plugin</a> to view all tags and actions used in current map.</li>
<li><span class="red">[new]</span> You can pick, which properties are pasted by &quot;<strong>Paste Properties</strong>&quot; action using &quot;Paste Properties Options&quot; window.
<li>You can pick, which properties are pasted by &quot;<strong>Paste Properties</strong>&quot; action using &quot;Paste Properties Options&quot; window.
<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="all_modes/paste_properties_options.jpg" alt="" /></div>
</li>
<li><span class="red">[new]</span> You can apply <a href="all_modes/jitter.html">randomized transformations</a> to any map element.</li>
<li>You can apply <a href="all_modes/jitter.html">randomized transformations</a> to any map element.</li>
<li>Image browser shows directory structure of Folder, PK3 and PK7 resources and can filter images by texture type and size. <a href="all_modes/texture_browser.html">More info</a>.</li>
<li><span class="red">[new]</span> Most controls of Edit Sector/Linedef/Thing forms now work in realtime (e.g. you can immediately see texture offset/scale/rotation changes while you are changing appropriate values). Action and Tag changes are still applied only after you press &quot;OK&quot; button.</li>
<li><span class="red">[new]</span><strong> [UDMF] </strong>All UDMF properties (except &quot;comment&quot;) can be edited using Edit Sector/Linedef/Thing/Vertex forms user interface.</li>
<li>Most controls of Edit Sector/Linedef/Thing forms now work in realtime (e.g. you can immediately see texture offset/scale/rotation changes while you are changing appropriate values). Action and Tag changes are still applied only after you press &quot;OK&quot; button.</li>
<li><strong>[UDMF] </strong>All UDMF properties (except &quot;comment&quot;) can be edited using Edit Sector/Linedef/Thing/Vertex forms user interface.</li>
<li>Thing Edit Form has &quot;Random angle&quot; checkbox.</li>
<li><strong>[UDMF] </strong>Sector, Linedef and Vertex info panels show additional info if a map is in UDMF format.</li>
</ul>
@ -115,38 +115,38 @@
<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_drawmodes.jpg" alt="" /></div>
</li>
<li><span class="red">[new]</span><a href="classic_modes/selection.html"> </a>Thing sprites are rendered in classic modes.</li>
<li><a href="classic_modes/selection.html"> </a>Thing sprites are rendered in classic modes.</li>
<li>You can assign custom color to any combination of linedef flags, actions and/or activation. <a href="classic_modes/linedef_color_presets.html">More info</a>.</li>
<li><span class="red">[new]</span><a href="classic_modes/selection.html"> Enhanced rectangular selection</a>.</li>
<li><span class="red">[new]</span> New action: &quot;<strong>Go To Coordinates</strong>&quot;, available in <strong>View</strong> menu and by clicking on cursor coordinates in the lower-right corner of UI.</li>
<li><span class="red">[new]</span> You can use <strong>Paint selection </strong>action to select map elements easier.</li>
<li><a href="classic_modes/selection.html"> Enhanced rectangular selection</a>.</li>
<li>New action: &quot;<strong>Go To Coordinates</strong>&quot;, available in <strong>View</strong> menu and by clicking on cursor coordinates in the lower-right corner of UI.</li>
<li>You can use <strong>Paint selection </strong>action to select map elements easier.</li>
<li><a href="classic_modes/mode_drawrect.html">Draw Rectangle mode</a>.</li>
<li><a href="classic_modes/mode_drawellipse.html">Draw Ellipse mode</a>.</li>
<li><a href="classic_modes/mode_drawcurve.html"><span class="red">[new]</span> Draw Curve mode</a>.</li>
<li><a href="classic_modes/mode_drawgrid.html"><span class="red">[new]</span> Draw Grid mode</a>.</li>
<li><a href="classic_modes/mode_drawcurve.html"><span class="red">[new]</span> </a><a href="../classic_modes/mode_importterrain.html">Terrain Importer mode</a>.</li>
<li><a href="classic_modes/mode_drawcurve.html">Draw Curve mode</a>.</li>
<li><a href="classic_modes/mode_drawgrid.html">Draw Grid mode</a>.</li>
<li><a href="classic_modes/mode_drawcurve.html"></a><a href="../classic_modes/mode_importterrain.html">Terrain Importer mode</a>.</li>
<li><a href="classic_modes/mode_drawbridge.html">Bridge mode</a>.</li>
<li><a href="classic_modes/mode_snapelements.html">Snap map elements mode</a>.</li>
<li><span class="red">[new]</span> Selected things are now dragged while dragging vertices, linedefs and sectors.</li>
<li><span class="red">[new]</span> You can hold the <strong>Alt</strong> key while dragging map elements to snap them to grid increments relative to their initial position.</li>
<li><span class="red">[new]</span> You can place things on top of selected vertices in Vertices and Linedefs modes and inside of selected sectors in Sectors mode using &quot;<strong>Place Things</strong>&quot; action.</li>
<li><span class="red">[new]</span> You can view all loaded thing types and some additional info using Thing Statistics form (<strong>Edit -&gt; View Thing Types...</strong>).
<li>Selected things are now dragged while dragging vertices, linedefs and sectors.</li>
<li>You can hold the <strong>Alt</strong> key while dragging map elements to snap them to grid increments relative to their initial position.</li>
<li>You can place things on top of selected vertices in Vertices and Linedefs modes and inside of selected sectors in Sectors mode using &quot;<strong>Place Things</strong>&quot; action.</li>
<li>You can view all loaded thing types and some additional info using Thing Statistics form (<strong>Edit -&gt; View Thing Types...</strong>).
<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="classic_modes/thing_statistics.jpg" alt="" /></div>
</li>
<li><span class="red">[new]</span> You can override default sector properties, which are used to create new geometry, using &quot;<strong><a href="classic_modes/drawsettingspanel.html">Draw Settings</a></strong>&quot; panel (by default, when the new sector overlaps or touches existing sector, the editor uses textures, brighntess and floor/ceiling heights from that sector when drawing the new one).</li>
<li><span class="red">[new]</span> You can disable Doom Builder's auto-clear textures behaviour by using this button in the toolbar: <img src="general/autoclear_textures.jpg"/></li>
<li><span class="red">[new]</span> You can change default sector brightness and floor/ceiling height (<strong>Preferences -&gt; Editing -&gt; Default sector settings</strong>). These settings are used when the new sector doesn't touch or overlap already existing sectors.</li>
<li><span class="red">[new]</span> 3D floor indication (color can be changed in <strong>Preferences -&gt; Appearance -&gt; 3D Floors</strong>, the setting can be disabled in <a href="../preferences.html#markextrafloors">Preferences</a>).
<li>You can override default sector properties, which are used to create new geometry, using &quot;<strong><a href="classic_modes/drawsettingspanel.html">Draw Settings</a></strong>&quot; panel (by default, when the new sector overlaps or touches existing sector, the editor uses textures, brighntess and floor/ceiling heights from that sector when drawing the new one).</li>
<li>You can disable Doom Builder's auto-clear textures behaviour by using this button in the toolbar: <img src="general/autoclear_textures.jpg"/></li>
<li>You can change default sector brightness and floor/ceiling height (<strong>Preferences -&gt; Editing -&gt; Default sector settings</strong>). These settings are used when the new sector doesn't touch or overlap already existing sectors.</li>
<li>3D floor indication (color can be changed in <strong>Preferences -&gt; Appearance -&gt; 3D Floors</strong>, the setting can be disabled in <a href="../preferences.html#markextrafloors">Preferences</a>).
<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="classic_modes/3dfloor_marks.jpg" alt="" /></div>
</li>
<li>Line angle and front side direction are displayed when a line is drawn in Draw Geometry mode.</li>
<li><span class="red">[new]</span> <strong>[UDMF]</strong> Floor/ceiling texture offsets can be pinned using this button in the toolbar: <img src="general/pin_textures.jpg"/>. When pinned, textures will be aligned to a sector while it is dragged.</li>
<li><span class="red">[new]</span> <strong>Tag Range plugin</strong>: custom increment can now be set.</li>
<li><span class="red">[new]</span> <strong>Tag Range plugin:</strong> tags can be set in relative mode (when this mode is enabled, generated values are added to existing tags instead of replacing them).</li>
<li><span class="red">[new]</span> You can clear selection groups (default shortcuts are Ctrl-Shift-1 ... 0).</li>
<li><span class="red">[new]</span> You can add selection to groups, select and clear groups using <strong>Edit</strong> menu.
<li><strong>[UDMF]</strong> Floor/ceiling texture offsets can be pinned using this button in the toolbar: <img src="general/pin_textures.jpg"/>. When pinned, textures will be aligned to a sector while it is dragged.</li>
<li><strong>Tag Range plugin</strong>: custom increment can now be set.</li>
<li><strong>Tag Range plugin:</strong> tags can be set in relative mode (when this mode is enabled, generated values are added to existing tags instead of replacing them).</li>
<li>You can clear selection groups (default shortcuts are Ctrl-Shift-1 ... 0).</li>
<li>You can add selection to groups, select and clear groups using <strong>Edit</strong> menu.
<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>
@ -156,45 +156,45 @@
<li>
<h3><a name="sectors" id="sectors"></a>Sectors mode:</h3>
<ul>
<li><span class="red">[new]</span> <strong>[UDMF]</strong> Sector Edit Form now has "<strong>Slopes</strong>" tab.</li>
<li><span class="red">[new]</span> Things inside of selected Sectors can be moved when dragging Sectors. This toolbar button toggles this mode: <img src="sectors_mode/drag_things.jpg"/>. When enabled, all things inside of selected sectors will be dragged when dragging sectors. Otherwise, selected things will be dragged.</li>
<li><span class="red">[new]</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.
<li><strong>[UDMF]</strong> Sector Edit Form now has "<strong>Slopes</strong>" tab.</li>
<li>Things inside of selected Sectors can be moved when dragging Sectors. This toolbar button toggles this mode: <img src="sectors_mode/drag_things.jpg"/>. When enabled, all things inside of selected sectors will be dragged when dragging sectors. Otherwise, selected things will be dragged.</li>
<li>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="red">[new]</span> <strong>[UDMF]</strong> Create Brightness Gradient option can work in 5 modes:
<li><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>
</li>
<li><span class="red">[new]</span> Sector Info panel shows the number of sector's sidedefs as well as light and fade colors (UDMF only):
<li>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>
<li><span class="red">[new]</span> &quot;<strong>Flip Linedefs</strong>&quot; action is now available from Sectors mode. It will try to align linedefs, so their front (or back) point towards the same sector.</li>
<li>&quot;<strong>Flip Linedefs</strong>&quot; action is now available from Sectors mode. It will try to align linedefs, so their front (or back) point towards the same sector.</li>
</ul>
</li>
<li>
<h3><a name="linedefs" id="linedefs"></a>Linedefs mode:</h3>
<ul>
<li><span class="red">[new]</span> <strong>[UDMF]</strong> New actions: &quot;<strong>Align Ceiling Texture to Back Side</strong>&quot;, &quot;<strong>Align Ceiling Texture to Front Side</strong>&quot;, &quot;<strong>Align Floor Texture to Back Side</strong>&quot; and &quot;<strong>Align Floor Texture to Front Side</strong>&quot; (available in <strong>Linedefs -&gt; Align Textures</strong> menu).</li>
<li><span class="red">[new]</span> <strong>[UDMF]</strong> &quot;<strong>Make brightness gradient</strong>&quot; command is available in Linedefs mode.</li>
<li><strong>[UDMF]</strong> New actions: &quot;<strong>Align Ceiling Texture to Back Side</strong>&quot;, &quot;<strong>Align Ceiling Texture to Front Side</strong>&quot;, &quot;<strong>Align Floor Texture to Back Side</strong>&quot; and &quot;<strong>Align Floor Texture to Front Side</strong>&quot; (available in <strong>Linedefs -&gt; Align Textures</strong> menu).</li>
<li><strong>[UDMF]</strong> &quot;<strong>Make brightness gradient</strong>&quot; command is available in Linedefs mode.</li>
<li><strong>[UDMF]</strong> Linedef info panel: relative UDMF light values are shown like this: <span class="style7">16</span> (<span class="style9">128</span>), which means &quot;<span class="style7">UDMF light value</span>&quot; (&quot;<span class="style9">total surface brightness</span>&quot;). Total surface brightness is UDMF light value + sector brightness.</li>
<li><span class="red">[new]</span> Split Linedefs preview (a rectangle, colored using Info line color) is shown in this mode.</li>
<li><span class="red">[new]</span> &quot;<strong>Flip Linedefs</strong>&quot; action will try to align linedefs, so their front (or back) point towards the same sector.</li>
<li>Split Linedefs preview (a rectangle, colored using Info line color) is shown in this mode.</li>
<li>&quot;<strong>Flip Linedefs</strong>&quot; action will try to align linedefs, so their front (or back) point towards the same sector.</li>
</ul>
</li>
<li>
<h3><a name="things" id="things"></a>Things mode:</h3>
<ul>
<li><span class="red">[new]</span> Several thing types can now be selected at once in Thing Edit form. If you do so, a type randomly chosen from selected ones will be assigned to each selected thing. <a href="things_mode/multiple_thing_types.html">More info</a>.</li>
<li><span class="red">[new]</span> You can filter selected things by type using Filter Things form (<strong>Things -&gt; Filter Things...</strong>).
<li>Several thing types can now be selected at once in Thing Edit form. If you do so, a type randomly chosen from selected ones will be assigned to each selected thing. <a href="things_mode/multiple_thing_types.html">More info</a>.</li>
<li>You can filter selected things by type using Filter Things form (<strong>Things -&gt; Filter Things...</strong>).
<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="things_mode/filter_selection.jpg" alt="" /></div>
</li>
<li><span class="red">[new]</span> You can clone selected/highlighted things by holding &quot;Shift&quot; before starting to drag them.</li>
<li><span class="red">[new]</span> New action: &quot;<strong>Point Thing to cursor</strong>&quot;. <a href="things_mode/pointthing.html">More info</a>.</li>
<li><span class="red">[new]</span> New action: &quot;<strong>Select Things in Selected Sectors</strong>&quot; (Default key is Shift+T).</li>
<li><span class="red">[new]</span> New action: &quot;<strong>Align Things To Linedef</strong>&quot;.</li>
<li>You can clone selected/highlighted things by holding &quot;Shift&quot; before starting to drag them.</li>
<li>New action: &quot;<strong>Point Thing to cursor</strong>&quot;. <a href="things_mode/pointthing.html">More info</a>.</li>
<li>New action: &quot;<strong>Select Things in Selected Sectors</strong>&quot; (Default key is Shift+T).</li>
<li>New action: &quot;<strong>Align Things To Linedef</strong>&quot;.</li>
<li>Z-height of a thing can be changed in absolute and relative mode in Thing Edit form.</li>
<li>Thing's X and Y position can be edited in Edit Thing form.</li>
</ul>
@ -203,7 +203,7 @@
<h3><a name="vertices" id="vertices"></a>Vertices mode:</h3>
<ul>
<li><strong>[UDMF]</strong> Vertical offsets of a vertex can be edited in Vertex Edit form and are shown in Vertex Info panel.</li>
<li><span class="red">[new]</span> Split Linedefs preview (a rectangle, colored using Info line color) is shown in this mode.</li>
<li>Split Linedefs preview (a rectangle, colored using Info line color) is shown in this mode.</li>
</ul>
</li>
<li>
@ -240,34 +240,34 @@
<li style="list-style-type:none;"><strong><br />
New editing features available in this mode:</strong>
<ul>
<li><span class="red">[new]</span> You can <strong>Shift-Select</strong> (usually Select action = LMB) to select all adjacent surfaces with same texture, <strong>Ctrl-Select</strong> to select all adjacent surfaces with same height. <strong>Ctrl-Shift-Select</strong> will also work as expected.</li>
<li>You can <strong>Shift-Select</strong> (usually Select action = LMB) to select all adjacent surfaces with same texture, <strong>Ctrl-Select</strong> to select all adjacent surfaces with same height. <strong>Ctrl-Shift-Select</strong> will also work as expected.</li>
<li><strong>[UDMF]</strong> Vertex height offsets (&quot;zfloor&quot; and &quot;zceiling&quot;) <a href="visual_mode/visual_verts.html">can be edited</a>.</li>
<li><strong>[UDMF]</strong> Using &quot;<strong>Increase/Decrease brightness</strong>&quot; actions (bound to Ctrl+Mouse Wheel by default) on walls and ceilings will change sidedef/ceiling brightness, using them on floors will change sector brightness, using them on 3D floors will change brightness of 3D floor.</li>
<li>You can use &quot;<strong>Toggle geometry effects</strong>&quot; action (default key is Tab) to toggle GZDoom's geometry effects, such as slopes, 3D floors, transfer brightness effects etc.</li>
<li><span class="red">[new]</span> You can hold <strong>Shift</strong> while dragging a texture to lock movement to horizontal axis, and <strong>Ctrl</strong> to lock it to vertical axis.</li>
<li><span class="red">[new]</span> You can hold <strong>Ctrl-Shift</strong> while dragging a texture to snap texture offsets to current grid size.</li>
<li><span class="red">[new]</span> New action: &quot;<strong>Align Textures X and Y</strong>&quot; (default key is Ctrl-A).</li>
<li><span class="red">[new]</span> &quot;Auto-align Textures Y&quot; action takes surface peg type into account. It also applies vertical scale of first (highlighted) surface to the rest of aligned surfaces (<strong>UDMF</strong> only).</li>
<li>You can hold <strong>Shift</strong> while dragging a texture to lock movement to horizontal axis, and <strong>Ctrl</strong> to lock it to vertical axis.</li>
<li>You can hold <strong>Ctrl-Shift</strong> while dragging a texture to snap texture offsets to current grid size.</li>
<li>New action: &quot;<strong>Align Textures X and Y</strong>&quot; (default key is Ctrl-A).</li>
<li>&quot;Auto-align Textures Y&quot; action takes surface peg type into account. It also applies vertical scale of first (highlighted) surface to the rest of aligned surfaces (<strong>UDMF</strong> only).</li>
<li><strong>[UDMF]</strong> Auto-align textures actions now affect sides of 3D floors.</li>
<li><strong>[UDMF] </strong><a href="visual_mode/autoalignfloors.html">&quot;Auto-align textures&quot; actions now work on floors and ceilings</a>.</li>
<li><span class="red">[new]</span> <strong>[UDMF]</strong> New action: &quot;<strong>Match Brightness</strong>&quot;: this action makes the brightness of selected surfaces the same as the brightness of highlighted surface.</li>
<li><span class="red">[new]</span> New actions: &quot;<strong>Lower Floor/Ceiling to adjacent sector</strong>&quot; and &quot;<strong>Raise Floor/Ceiling to adjacent sector</strong>&quot; (default keys are PageDown and PageUp). By default, they will find next lower/higher surface in sectors, adjacent to selected ones, and lower/raise selected sectors to this height. If you hold Ctrl, they will lower/raise sectors to lowest/highest sector inside selection. And they will also drop selected things to ground or align them to ceiling.</li>
<li><span class="red">[new]</span> <strong>[UDMF]</strong> New actions: &quot;<strong>Increase Scale</strong>&quot; (Num9), &quot;<strong>Decrease Scale</strong>&quot; (Num7), &quot;<strong>Increase Horizontal Scale</strong>&quot; (Num6), &quot;<strong>Decrease Horizontal Scale</strong>&quot; (Num4), &quot;<strong>Increase Vertical Scale</strong>&quot; (Num8), &quot;<strong>Decrease Vertical Scale</strong>&quot; (Num5) actions. These actions can be used to change thing scale and sidedef/floor/ceiling texture scale.<br />
<li><strong>[UDMF]</strong> New action: &quot;<strong>Match Brightness</strong>&quot;: this action makes the brightness of selected surfaces the same as the brightness of highlighted surface.</li>
<li>New actions: &quot;<strong>Lower Floor/Ceiling to adjacent sector</strong>&quot; and &quot;<strong>Raise Floor/Ceiling to adjacent sector</strong>&quot; (default keys are PageDown and PageUp). By default, they will find next lower/higher surface in sectors, adjacent to selected ones, and lower/raise selected sectors to this height. If you hold Ctrl, they will lower/raise sectors to lowest/highest sector inside selection. And they will also drop selected things to ground or align them to ceiling.</li>
<li><strong>[UDMF]</strong> New actions: &quot;<strong>Increase Scale</strong>&quot; (Num9), &quot;<strong>Decrease Scale</strong>&quot; (Num7), &quot;<strong>Increase Horizontal Scale</strong>&quot; (Num6), &quot;<strong>Decrease Horizontal Scale</strong>&quot; (Num4), &quot;<strong>Increase Vertical Scale</strong>&quot; (Num8), &quot;<strong>Decrease Vertical Scale</strong>&quot; (Num5) actions. These actions can be used to change thing scale and sidedef/floor/ceiling texture scale.<br />
</li>
<li><span class="red">[new]</span> <strong>[UDMF]</strong> New actions: &quot;<strong><a href="visual_mode/texturefit.html">Fit Texture</a></strong>&quot; (default key is Ctrl-Alt-A), &quot;<strong><a href="visual_mode/texturefit.html">Fit Texture's Width</a></strong>&quot; (Alt-A) and &quot;<strong><a href="visual_mode/texturefit.html">Fit Texture's Height</a></strong>&quot; (Alt-Shift-A).</li>
<li><span class="red">[new]</span> New action: &quot;<strong>Toggle slope</strong>&quot; (default key is Alt-S). Select or highlight upper/lower walls then call this action to add slopes. Select or highlight floors or ceilings then call this action to remove slopes.</li>
<li><span class="red">[new]</span> New action: &quot;<strong>Look Through Selection</strong>&quot; (default key is &quot;Y&quot;). This action places visual camera at the same position as selected/highlighted thing and rotates it to match thing's angle. Special handling is available if targeted thing is AimingCamera, MovingCamera, SecurityCamera or InterpolationPoint.</li>
<li><span class="red">[new]</span> New actions: &quot;<strong><a href="visual_mode/autoalign_to_selection.html">Auto-align Textures to Selection</a> (X)</strong>&quot;, &quot;<strong>Auto-align Textures to Selection (Y)</strong>&quot; and &quot;<strong>Auto-align Textures to Selection (X and Y)</strong>&quot;.</li>
<li>New actions: &quot;<strong>Rotate Clockwise</strong>&quot; and &quot;<strong>Rotate Counterclockwise</strong>&quot;, which can be used to rotate things and <span class="red">[new]</span><strong>[UDMF]</strong> floor/ceiling textures.</li>
<li><span class="red">[new]</span> New actions: &quot;<strong>Change Pitch Clockwise</strong>&quot;, &quot;<strong>Change Pitch Counterclockwise</strong>&quot;, &quot;<strong>Change Roll Clockwise</strong>&quot; and &quot;<strong>Change Roll Counterclockwise</strong>&quot;, which can be used to change pitch and roll of selected or highlighted things.</li>
<li><strong>[UDMF]</strong> New actions: &quot;<strong><a href="visual_mode/texturefit.html">Fit Texture</a></strong>&quot; (default key is Ctrl-Alt-A), &quot;<strong><a href="visual_mode/texturefit.html">Fit Texture's Width</a></strong>&quot; (Alt-A) and &quot;<strong><a href="visual_mode/texturefit.html">Fit Texture's Height</a></strong>&quot; (Alt-Shift-A).</li>
<li>New action: &quot;<strong>Toggle slope</strong>&quot; (default key is Alt-S). Select or highlight upper/lower walls then call this action to add slopes. Select or highlight floors or ceilings then call this action to remove slopes.</li>
<li>New action: &quot;<strong>Look Through Selection</strong>&quot; (default key is &quot;Y&quot;). This action places visual camera at the same position as selected/highlighted thing and rotates it to match thing's angle. Special handling is available if targeted thing is AimingCamera, MovingCamera, SecurityCamera or InterpolationPoint.</li>
<li>New actions: &quot;<strong><a href="visual_mode/autoalign_to_selection.html">Auto-align Textures to Selection</a> (X)</strong>&quot;, &quot;<strong>Auto-align Textures to Selection (Y)</strong>&quot; and &quot;<strong>Auto-align Textures to Selection (X and Y)</strong>&quot;.</li>
<li>New actions: &quot;<strong>Rotate Clockwise</strong>&quot; and &quot;<strong>Rotate Counterclockwise</strong>&quot;, which can be used to rotate things and <strong>[UDMF]</strong> floor/ceiling textures.</li>
<li>New actions: &quot;<strong>Change Pitch Clockwise</strong>&quot;, &quot;<strong>Change Pitch Counterclockwise</strong>&quot;, &quot;<strong>Change Roll Clockwise</strong>&quot; and &quot;<strong>Change Roll Counterclockwise</strong>&quot;, which can be used to change pitch and roll of selected or highlighted things.</li>
<li>Things can be moved horizontally using &quot;<strong>Move Thing Forward/Backward/Left/Right</strong>&quot; actions.</li>
<li>Things can be moved to cursor position using &quot;<strong>Move Thing To Cursor Location</strong>&quot; (default key is Ctrl + Middle mouse) action.</li>
<li>Things can be inserted at cursor position using &quot;<strong>Insert Item</strong>&quot; action (default key is Insert).</li>
<li>Selected things can be deleted using &quot;<strong>Delete Item</strong>&quot; action (default key is Delete).</li>
<li>Selected things can be cut/copied/pasted at cursor position.</li>
<li><span class="red">[new]</span> <strong>[UDMF]</strong> Floor/ceiling texture rotation is now taken into account when moving texture offsets with arrow keys.</li>
<li><span class="red">[new]</span><strong>[UDMF] </strong>New action: &quot;<strong>Reset Local Texture Offsets (UDMF)</strong>&quot;. It resets upper/middle/lower texture offsets, scale and brightness of targeted or selected sidedefs, resets texture offsets, rotation, scale and brightness of targeted or selected floors/ceilings and resets scale, pitch and roll of targeted or selected things.</li>
<li><span class="red">[new]</span> <strong>[UDMF]</strong> &quot;<strong>Reset Texture Offsets</strong>&quot; action now resets texture offsets of targeted or selected floors and ceilings and also resets scale of targeted or selected things.</li>
<li><strong>[UDMF]</strong> Floor/ceiling texture rotation is now taken into account when moving texture offsets with arrow keys.</li>
<li><strong>[UDMF] </strong>New action: &quot;<strong>Reset Local Texture Offsets (UDMF)</strong>&quot;. It resets upper/middle/lower texture offsets, scale and brightness of targeted or selected sidedefs, resets texture offsets, rotation, scale and brightness of targeted or selected floors/ceilings and resets scale, pitch and roll of targeted or selected things.</li>
<li><strong>[UDMF]</strong> &quot;<strong>Reset Texture Offsets</strong>&quot; action now resets texture offsets of targeted or selected floors and ceilings and also resets scale of targeted or selected things.</li>
</ul>
</li>
</ul>
@ -276,19 +276,19 @@
<h3><a name="fields" id="fields"></a>Custom Fields:</h3>
</li>
<ul>
<li><span class="red">[new]</span> <a href="custom_fields/newfieldtypes.html">Integer (Random)</a> custom field type.</li>
<li><span class="red">[new]</span> <a href="custom_fields/newfieldtypes.html">Decimal (Random)</a> custom field type.</li>
<li><a href="custom_fields/newfieldtypes.html">Integer (Random)</a> custom field type.</li>
<li><a href="custom_fields/newfieldtypes.html">Decimal (Random)</a> custom field type.</li>
</ul>
<li>
<h3><a name="mapanalysis" id="mapanalysis"></a>Map Analysis mode:</h3>
<ul>
<li><span class="red">[new]</span> Analysis results can be hidden per result type and individually via results list's context menu.</li>
<li><span class="red">[new]</span> Map Analysis mode can check the map for unconnected vertices.</li>
<li><span class="red">[new]</span> Map Analysis mode can check the map for overlapping lines. This will check if 2 lines have the same start and end positions.</li>
<li><span class="red">[new]</span> Map Analysis mode can check the map for overlapping vertices. This will check if a vertex is on top of a linedef or another vertex.</li>
<li><span class="red">[new]</span> Map Analysis mode can check the map for invalid sectors (sectors with less than 3 sidedefs or sectors without area).</li>
<li><span class="red">[new]</span> Map Analysis mode can check the map for unused textures.</li>
<li><span class="red">[new]</span> Map Analysis mode can check the map for missing flats.</li>
<li>Analysis results can be hidden per result type and individually via results list's context menu.</li>
<li>Map Analysis mode can check the map for unconnected vertices.</li>
<li>Map Analysis mode can check the map for overlapping lines. This will check if 2 lines have the same start and end positions.</li>
<li>Map Analysis mode can check the map for overlapping vertices. This will check if a vertex is on top of a linedef or another vertex.</li>
<li>Map Analysis mode can check the map for invalid sectors (sectors with less than 3 sidedefs or sectors without area).</li>
<li>Map Analysis mode can check the map for unused textures.</li>
<li>Map Analysis mode can check the map for missing flats.</li>
<li>Map Analysis mode can check the map for unknown things (things, which type is not defined in DECORATE or current game configuration).</li>
<li>Map Analysis window now has &quot;<strong>Apply to all errors of this type</strong>&quot; checkbox.</li>
<li>Analysis results can be saved to a text file or copied to clipboard.</li>
@ -297,24 +297,24 @@
<li>
<h3><a name="findreplace" id="findreplace"></a>Find and Replace mode:</h3>
<ul>
<li><span class="red">[new]</span> Find and Replace mode now has &quot;<strong>Sector Brightness</strong>&quot;, &quot;<strong>Sector Floor Height</strong>&quot;, &quot;<strong>Sector Ceiling Height</strong>&quot;, &quot;<strong>Linedef Flags</strong>&quot;, &quot;<strong>Thing Flags</strong>&quot;, &quot;<strong>Sidedef Flags</strong>&quot; and &quot;<strong>Sector Flags</strong>&quot; search modes.</li>
<li><span class="red">[new]</span> &quot;<strong>Any Texture or Flat</strong>&quot;, &quot;<strong>Sector Flat</strong>&quot; and &quot;<strong>Sidedef Texture</strong>&quot; search modes now support &quot;<strong>*</strong>&quot; (match any number of characters) and &quot;<strong>?</strong>&quot; (match any single character) wildcards.</li>
<li><span class="red">[new]</span> Find and Replace Mode can find and replace Thing and Linedef Actions with specific arguments. Syntax is &quot;[Action] [arg1] [...]&quot;. Script names used by ACS actions can be replaced this way as well (<strong>UDMF only</strong>).</li>
<li>Find and Replace mode now has &quot;<strong>Sector Brightness</strong>&quot;, &quot;<strong>Sector Floor Height</strong>&quot;, &quot;<strong>Sector Ceiling Height</strong>&quot;, &quot;<strong>Linedef Flags</strong>&quot;, &quot;<strong>Thing Flags</strong>&quot;, &quot;<strong>Sidedef Flags</strong>&quot; and &quot;<strong>Sector Flags</strong>&quot; search modes.</li>
<li>&quot;<strong>Any Texture or Flat</strong>&quot;, &quot;<strong>Sector Flat</strong>&quot; and &quot;<strong>Sidedef Texture</strong>&quot; search modes now support &quot;<strong>*</strong>&quot; (match any number of characters) and &quot;<strong>?</strong>&quot; (match any single character) wildcards.</li>
<li>Find and Replace Mode can find and replace Thing and Linedef Actions with specific arguments. Syntax is &quot;[Action] [arg1] [...]&quot;. Script names used by ACS actions can be replaced this way as well (<strong>UDMF only</strong>).</li>
</ul>
</li>
<li>
<h3><a name="misc" id="formats"></a>Misc. features:</h3>
<ul>
<li><span class="red">[new]</span> Nodes Viewer plugin supports ZNODES in &quot;XNOD&quot;, &quot;XGLN&quot;, &quot;XGL2&quot; and &quot;XGL3&quot; formats.</li>
<li><span class="red">[new]</span> Selection groups are saved the map's .dbs file.</li>
<li>Nodes Viewer plugin supports ZNODES in &quot;XNOD&quot;, &quot;XGLN&quot;, &quot;XGL2&quot; and &quot;XGL3&quot; formats.</li>
<li>Selection groups are saved the map's .dbs file.</li>
</ul>
</li>
<li>
<h3><a name="formats" id="formats"></a>(G)ZDoom features support:</h3>
<ul>
<li><a href="../text_lumps.html#modeldef">MD2 and MD3 models</a> rendering in 2D and 3D modes.</li>
<li><span class="red">[new]</span> <a href="../text_lumps.html#voxeldef">VOXLEDEF</a> support.</li>
<li><span class="red">[new]</span> <a href="../text_lumps.html#reverbs">REVERBS</a> support (used in <a href="classic_modes/mode_soundenvironment.html">Sound Environment Mode</a>).</li>
<li><a href="../text_lumps.html#voxeldef">VOXLEDEF</a> support.</li>
<li><a href="../text_lumps.html#reverbs">REVERBS</a> support (used in <a href="classic_modes/mode_soundenvironment.html">Sound Environment Mode</a>).</li>
<li>More complete <a href="../text_lumps.html#textures">TEXTURES</a> support.</li>
<li>Partial <a href="../text_lumps.html#mapinfo">MAPINFO</a> support, including DoomEdNum and SpawnNums overrides.</li>
<li>ACS scripts with #include directives are compiled properly.</li>

View file

@ -3,7 +3,7 @@
[Setup]
AppName=GZDoom Builder
AppVerName=GZDoom Builder 1.15
AppVerName=GZDoom Builder 2.3
AppPublisher=MaxED
AppPublisherURL=http://forum.zdoom.org/memberlist.php?mode=viewprofile&u=7012
AppSupportURL=http://forum.zdoom.org/viewtopic.php?f=3&t=32392

View file

@ -31,6 +31,8 @@ namespace CodeImp.DoomBuilder.Controls
#region ================== Variables
private readonly ToolTip tip; //mxd
#endregion
#region ================== Properties
@ -45,6 +47,13 @@ namespace CodeImp.DoomBuilder.Controls
// Initialize
this.SetStyle(ControlStyles.FixedWidth, true);
this.SetStyle(ControlStyles.FixedHeight, true);
//mxd. Create tooltip
tip = new ToolTip();
tip.UseAnimation = false;
tip.UseFading = false;
tip.InitialDelay = 0;
tip.AutoPopDelay = 9000;
}
#endregion
@ -101,6 +110,19 @@ namespace CodeImp.DoomBuilder.Controls
this.BackgroundImageLayout = ImageLayout.None;
}
//mxd. This shows tooltip at given position
public void ShowToolTip(string title, string text, int x, int y)
{
tip.ToolTipTitle = title;
tip.Show(text, this, x, y);
}
//mxd. This hides it
public void HideToolTip()
{
tip.Hide(this);
}
#endregion
}
}

View file

@ -28,4 +28,4 @@ using System.Runtime.InteropServices;
// Build Number
// Revision
//
[assembly: AssemblyVersion("1.14.0.2201")]
[assembly: AssemblyVersion("2.3.0.2201")]

Binary file not shown.

Before

Width:  |  Height:  |  Size: 241 KiB

After

Width:  |  Height:  |  Size: 242 KiB

View file

@ -79,7 +79,6 @@ namespace CodeImp.DoomBuilder.Windows
//
// TextEditForm
//
this.AcceptButton = this.apply;
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.CancelButton = this.cancel;

View file

@ -176,9 +176,14 @@ namespace CodeImp.DoomBuilder.BuilderModes
// Show highlight info
if((highlighted != null) && !highlighted.IsDisposed)
{
General.Interface.ShowLinedefInfo(highlighted);
}
else
{
General.Interface.Display.HideToolTip(); //mxd
General.Interface.HideInfo();
}
}
//mxd
@ -355,8 +360,9 @@ namespace CodeImp.DoomBuilder.BuilderModes
}
}
// Hide highlight info
// Hide highlight info and tooltip
General.Interface.HideInfo();
General.Interface.Display.HideToolTip(); //mxd
}
// This redraws the display
@ -637,6 +643,13 @@ namespace CodeImp.DoomBuilder.BuilderModes
// Highlight if not the same
if(l != highlighted) Highlight(l);
//mxd. Show tooltip?
if(General.Map.UDMF && mouselastpos != mousepos && highlighted != null && !highlighted.IsDisposed && highlighted.Fields.ContainsKey("comment"))
{
string comment = highlighted.Fields.GetValue("comment", string.Empty);
General.Interface.Display.ShowToolTip("Comment:", comment, (int)(mousepos.x + 32 * MainForm.DPIScaler.Width), (int)(mousepos.y + 8 * MainForm.DPIScaler.Height));
}
}
}

View file

@ -459,9 +459,14 @@ namespace CodeImp.DoomBuilder.BuilderModes
// Show highlight info
if((highlighted != null) && !highlighted.IsDisposed)
{
General.Interface.ShowSectorInfo(highlighted);
}
else
{
General.Interface.Display.HideToolTip(); //mxd
General.Interface.HideInfo();
}
}
// This selectes or deselects a sector
@ -707,8 +712,9 @@ namespace CodeImp.DoomBuilder.BuilderModes
}
}
// Hide highlight info
// Hide highlight info and tooltip
General.Interface.HideInfo();
General.Interface.Display.HideToolTip(); //mxd
}
// This redraws the display
@ -1027,6 +1033,13 @@ namespace CodeImp.DoomBuilder.BuilderModes
// Highlight nothing
if(highlighted != null) Highlight(null);
}
//mxd. Show tooltip?
if(General.Map.UDMF && mouselastpos != mousepos && highlighted != null && !highlighted.IsDisposed && highlighted.Fields.ContainsKey("comment"))
{
string comment = highlighted.Fields.GetValue("comment", string.Empty);
General.Interface.Display.ShowToolTip("Comment:", comment, (int)(mousepos.x + 32 * MainForm.DPIScaler.Width), (int)(mousepos.y + 8 * MainForm.DPIScaler.Height));
}
}
}

View file

@ -143,8 +143,9 @@ namespace CodeImp.DoomBuilder.BuilderModes
}
}
// Hide highlight info
// Hide highlight info and tooltip
General.Interface.HideInfo();
General.Interface.Display.HideToolTip(); //mxd
}
// This redraws the display
@ -291,9 +292,14 @@ namespace CodeImp.DoomBuilder.BuilderModes
// Show highlight info
if((highlighted != null) && !highlighted.IsDisposed)
{
General.Interface.ShowThingInfo(highlighted);
}
else
{
General.Interface.Display.HideToolTip(); //mxd
General.Interface.HideInfo();
}
}
// Selection
@ -527,6 +533,13 @@ namespace CodeImp.DoomBuilder.BuilderModes
// Find the nearest thing within highlight range
Thing t = MapSet.NearestThingSquareRange(General.Map.ThingsFilter.VisibleThings, mousemappos, BuilderPlug.Me.HighlightThingsRange / renderer.Scale);
//mxd. Show tooltip?
if(General.Map.UDMF && mouselastpos != mousepos && highlighted != null && !highlighted.IsDisposed && highlighted.Fields.ContainsKey("comment"))
{
string comment = highlighted.Fields.GetValue("comment", string.Empty);
General.Interface.Display.ShowToolTip("Comment:", comment, (int)(mousepos.x + 32 * MainForm.DPIScaler.Width), (int)(mousepos.y + 8 * MainForm.DPIScaler.Height));
}
// Highlight if not the same
if(t != highlighted) Highlight(t);
}

View file

@ -28,4 +28,4 @@ using System.Runtime.InteropServices;
// Build Number
// Revision
//
[assembly: AssemblyVersion("1.14.0.1885")]
[assembly: AssemblyVersion("2.3.0.1885")]