Commit graph

1451 commits

Author SHA1 Message Date
MaxED
7f3461209a MD3: Vertex indices were incorrectly assigned when a model had several surfaces with same skin. 2013-07-15 08:32:32 +00:00
MaxED
0a13799142 Fixed a couple inaccuracies in game configurations. 2013-07-12 09:58:36 +00:00
MaxED
eaca9eec22 Thing Edit form: several thing types can now be selected at once. In this case, a type randomly chosen from selected ones will be assigned to each selected thing.
Thing Edit form: you can now double-click on thing type to apply the changes and close the form.
2013-07-11 11:43:49 +00:00
MaxED
8de9ad6b24 Added RandomFloat Universal field type. To use it, change Filed type to "Decimal (random)" and enter a value as 'min max'. 2013-07-10 13:40:18 +00:00
MaxED
354be81d27 Added RandomInteger Universal field type. To use it, change Filed type to "Integer (random)" and enter a value as 'min max'. 2013-07-10 12:41:49 +00:00
MaxED
6d717a06ea Sector Edit form, Vertex Edit form: fixed another crash related to realtime update... 2013-07-10 09:57:30 +00:00
MaxED
ecbf9fd743 UDMF: sector flags are now defined in game configuration instead of being hardcoded.
Sector Edit form, Vertex Edit form: fixed a crash when updating sector/vertex properties in Visual mode.
Reorganized game configurations.
2013-07-10 08:59:17 +00:00
MaxED
4b018957aa Sector Edit form, UDMF: sectors were not updated properly after closing the form because of changes in Doom/Hexen Sector Edit form. 2013-07-09 13:13:00 +00:00
MaxED
7a35751100 Deleted, I said... 2013-07-09 11:30:40 +00:00
MaxED
6326adc9ed Sector Edit form now works in realtime mode in Doom/Hexen map formats.
Status text now displays info about current selection.
Removed StairSectorBuilder plugin. The version form doombuilder.com works fine with current version of GZDB.
2013-07-09 11:29:10 +00:00
MaxED
d3a6e49960 Aaaaand yet another fix in VerticesMode.DeleteItem()! Yay! 2013-07-08 13:52:07 +00:00
MaxED
1b2ee24bf3 Fixed ButtonsNumericTextbox.StepSize value type inconsistency with DB2. 2013-07-08 13:39:06 +00:00
MaxED
883527c37c Sector Edit form and Linedef Edit form now support float texture offsets.
Tag Statistics form: you can now double click on Sectors, Linedefs or Things cell to select them, and right click to open their properties.
Texture size labels were displayed incorrectly in some cases.
Rewritten VerticesMode.DeleteItem() once again...
Vertex Edit form now works in realtime mode.
Vertex Edit form: ceiling and floor vertex offsets can now be cleared.
Added StairSectorBuilder plugin (I suppose some external plugins will stop working in GZDB because I've changed ButtonStep to float in ButtonsNumericTextbox a couple revisions ago...).
Preferences form: action description is now scrollable.
Changed background color of Sector Edit form.
Vertex' ZCeiling and ZFloor properties are now managed internally.
2013-07-08 13:13:28 +00:00
MaxED
392f7f6eca Sector Edit form, UDMF: floor brightness input was setting ceiling brightness.
Sector info panel: floor/ceiling brightness should be always shown when "lightabsolute" flag is set.
2013-07-05 11:04:53 +00:00
MaxED
fd0a5d0f87 Rewrote VerticesMode.DeleteItem function. It was still not working properly after previous commit (proper vertex deletion can become surprisingly complicated in some cases)... 2013-07-05 09:07:49 +00:00
MaxED
3e9cee0e04 Vertices mode: vertex deletion process (hopefully) is less buggy now. 2013-07-04 12:28:41 +00:00
MaxED
27248a82d7 Visual mode: in some cases solid 3d floors were clipped by translucent ones. 2013-07-01 10:51:23 +00:00
MaxED
985705d8ca Visual mode: you can hold Shift while dragging a texture to lock movement to horizontal axis, and Ctrl to lock it to vertical axis.
Color Picker: fixed a crash when entered float values were not in 0.0 - 1.0 range.
2013-07-01 09:34:17 +00:00
MaxED
a130311f8d Visual mode, UDMF: fixed another bug in Auto align functions.
Visual mode, UDMF: OffsetX and OffsetY were not properly taken into account in "Fit Texture Width/Height" actions.
UDMF: different Sector Edit Form is now used in UDMF map format.
Some fixes in Linedef edit form.
Added missing icons.
2013-06-25 12:35:13 +00:00
MaxED
b77b8e61d9 Visual mode, UDMF: added "Scale Texture Up (X)", "Scale Texture Down (X)", "Scale Texture Up (Y)", "Scale Texture Down (Y)" actions. Default keys are Num6, Num4, Num8, Num5.
Visual mode, UDMF: renamed "Rotate Thing Clockwise" and "Rotate Thing Counterclockwise" actions to "Rotate Clockwise" and "Rotate Counterclockwise". These actions can now be used to change rotation of floor/ceiling textures.
Visual mode, UDMF: "Reset Texture Offsets" action now also resets sidedef's scale and floor/ceiling's scale and rotation.
Visual mode, UDMF: control line's OffsetX and OffsetY were not taken into account when calculating texture offsets of 3d floors' sides.
Visual mode, UDMF: fixed a ton of bugs in Auto align functions.
Visual mode, UDMF: when using "Move Texture Left/Right/Up/Down by 1" actions texture offsets were not updated properly when texture's scale was < 1.0.
Visual mode, UDMF: OffsetX and OffsetY were not taken into account in "Fit Texture Width/Height" actions.
Dockers Panel: added Pin/Unpin button, which acts the same as "Preferences -> Interface -> Side panels -> Auto hide" checkbox.
Texture size labels can now be disabled by unchecking "Preferences -> Interface -> Show texture and flat sizes in browsers" checkbox.
Texture size labels now are not shown for unknown textures.
Most of texture size labels had incorrect bg color.
ZDoom_linedefs.cfg: action specials 223 and 224 had incorrect Arg0.
2013-06-24 14:21:13 +00:00
MaxED
8ebd348e44 TagExplorer: incorrect sector index was used. 2013-06-19 11:36:20 +00:00
MaxED
16cc4d8a8d Linedef edit form, UDMF: front sidedef's Fields button was not shown.
Visual mode: fixed a crash after disabling GZDoom rendering effects (Tab key) when visual sector was not created for sector with 3d floor's control linedef.
2013-06-19 11:18:13 +00:00
MaxED
962ea2b80e Texture browser form: texture size was not updated after loading a texture.
+ some fixes to previous commit.
2013-06-17 14:09:29 +00:00
MaxED
806db41ced Texture size is now shown in Linedef and Sector info panels and in Linedef and Sector edit forms. 2013-06-17 13:17:53 +00:00
MaxED
776c357265 Visual mode: fixed a freeze when sectors with sector effects were recursively updating each other. 2013-06-17 09:42:49 +00:00
MaxED
f419db1518 DECORATE Scale actor property is now taken into account when rendering models.
Fixed several bugs in Engine selector dialog ("Game configurations -> Testing").
2013-06-14 11:40:18 +00:00
MaxED
640b874bd3 "Toggle Full Brightness" action now works in Classic modes. 2013-06-13 11:32:00 +00:00
MaxED
b703a6569e Linedef edit form: action arguments were set to zero when settings were applied to several lines with different argument values (instead of being kept unchanged). 2013-06-12 11:36:51 +00:00
MaxED
8ddcccf067 Linedef edit form: all linedef UDMF properties are now editable via user interface + some fixes in sidedef UDMF controls. 2013-06-11 08:05:32 +00:00
MaxED
a0b4ce71b5 Fixed a null reference exception when saving an empty comment in TagExlorer plugin. 2013-06-10 15:05:59 +00:00
MaxED
832e1a4201 UDMF, Linedef edit form: All sidedef properties are now editable via user interface.
Fixed a typo in one of Visplane Explorer messages.
Small fixes here and there.
2013-06-10 14:04:23 +00:00
MaxED
08dd4c19b6 Fixed a crash when saving a screenshot on systems with specific date-time formats.
Increased screenshot jpeg quality to 90.
2013-06-06 15:58:48 +00:00
MaxED
869411b7aa Added an icon to "Keyboard Shortcuts Reference" menu item. 2013-06-06 12:55:22 +00:00
MaxED
82c547f673 GZDB can now save keyboard shortcuts reference to html file (Help -> Keyboard Shortcuts Reference).
"Clear Group" 2-10 actions had incorrect default shortcuts.
2013-06-06 12:37:37 +00:00
MaxED
aea360adb9 Added "defaultlinedefactivation" setting to configuration.
Added some boilerplate to SaveScreenshot function.
2013-06-06 10:22:58 +00:00
MaxED
a938453703 Default flag ("playercross") was not set when a map was converted to UDMF map format (because there are no default flags in UDMF).
Linedef activation now translates a bit more accurately when converting a map to/from UDMF.
2013-06-05 11:12:44 +00:00
MaxED
be3f71c2e7 Screenshots of GZDB window and edit area can now be saved (Tools -> Save Screenshot and Tools -> Save Screenshot (edit area)).
NumericTextbox now uses NumberDecimalSeparator instead of CurrencyDecimalSeparator.
2013-06-05 08:08:56 +00:00
MaxED
cebd3a4780 Map Analysis mode: only a single undo is now created when multiple similar errors are fixed using "Apply to all errors of this type" checkbox, which greatly reduces errors fixing time. 2013-06-04 14:43:26 +00:00
MaxED
f1df0c2d94 Vertex edit form: it was impossible to enter fractional position and zOffset values even if map format supported it. 2013-06-04 13:59:24 +00:00
MaxED
d42a7459d7 MD2 models with more than 32768 vertices were not loaded properly. 2013-06-03 11:55:55 +00:00
MaxED
e90473e7d9 "thingflagstranslation" block was missing from UDMF game configuration, so thing flags were dropped when map format was changed to UDMF. 2013-06-03 11:32:29 +00:00
MaxED
9d985393ee A map was not saved properly when user saved it right after changing map format.
Removed some unused "using" directives.
2013-05-31 13:57:49 +00:00
MaxED
c67331eaf6 Map Analysis mode can now check the map for unconnected vertices. 2013-05-30 15:50:46 +00:00
MaxED
e5dd1fa9c5 Linedefs mode: added "Align Floor Texture to Front Side", "Align Floor Texture to Back Side", "Align Ceiling Texture to Front Side" and "Align Ceiling Texture to Back Side" actions (available in Linedefs -> Align Textures menu). 2013-05-30 12:52:27 +00:00
MaxED
0cb36302ce Visual mode, UDMF: we shouldn't auto-align floors/ceilings with different textures. 2013-05-30 09:34:44 +00:00
MaxED
70b88bd47d Visual mode, UDMF: "Auto-align textures" actions now work for floors and ceilings. Textures are aligned to a linedef of highlighted floor/ceiling, which is closest to 3d-cursor position. 2013-05-29 14:18:49 +00:00
MaxED
7f6c6a1122 Linedef flags were not translated properly when a map format was changed to/from UDMF.
Linedef colors were not updated properly when a map format was changed and were causing an exception in some cases.
Vertices mode: linedef in split linedefs range was redreawn incorrectly in some cases.
Updated "Sector 3D Floor" (160) action: set default Type to Solid (1), added "Use Arg5 as Line ID" flag to Types, changed arg5 name to "Line ID / Hi-Tag".
Added "GetUserCVar", "SetCVar" and "SetUserCVar" functions to ACS configuration.
Set width and height of several actors to 0 in game configutrations (non-zero sizes were added as a workaround when GZDB was not displaying actors with 0 width and height in Visual mode).
Added several sprites to game configurations.
2013-05-27 12:20:15 +00:00
MaxED
ae8780f4ea Classic Modes: added 3D floor indication (color can be changed in Preferences -> Appearance -> 3D Floors).
Sector_Set3dFloor action (160): added hi-tag/line ID check.
2013-05-20 10:43:34 +00:00
MaxED
e4751dfaf1 Visual Mode, UDMF, Visual Vertices: heights of vertices without z-offset was incorrect in some cases.
Visual Mode, UDMF, Visual Vertices: vertices without z-offset are now rendered using Vertex color (Preferences -> Appearance -> Vertices).
2013-05-02 11:03:16 +00:00
MaxED
6b4d03baaa Visual Mode, UDMF: added "Fit Texture", "Fit Texture's Width" and "Fit Texture's Height" Actions.cfg
Visual Mode, UDMF, Visual Vertices: you can now press "Delete" key to clear z-offsets of selected vertices.
Visual Mode, UDMF, Visual Vertices: the logic, which decides whether z-offset should be kept or removed, was not working properly.
Visual Mode, UDMF: Auto-align Textures (Y) action was not working properly when targeted texture was lower wall without "Lower Unpegged" flag.
2013-05-02 07:47:22 +00:00
MaxED
c3c7490231 Visual Mode: added "Toggle Slope" action.
Visual Mode, UDMF: "Auto Align Textures" actions now work on slopes.
Visual Mode, UDMF: Floor/ceiling texture rotation is now taken into account when moving texture offsets with arrow keys.
Visual Mode, UDMF: Fixed a bug in floor/ceiling texture dragging by mouse.
2013-04-26 12:32:51 +00:00
MaxED
23efaee1ee Added "Select Things in Selected Sectors" action. 2013-04-25 09:43:24 +00:00
MaxED
817cb2a7a4 DECORATE: When an actor inherits from an actor, defined in Game configuration, values from Game configuration are used if an actor doesn't define them.
UDMF Controls plugin: changes made using plugin were not properly undoable.
2013-04-19 11:35:56 +00:00
MaxED
29d11b170e Plane Copy effect (118) is now shown in Visual mode.
UDMF: Reset texture offsets action now works on floors and ceilings.
Vertices mode: when a linedef is within Split Linedefs range, it's now highlighted using Info line color.
2013-04-16 12:52:40 +00:00
MaxED
559d568642 Some cosmetic changes in Hexen and ZDoom linedef configurations.
Some cosmetic changes in Bit flags form.
2013-04-15 13:52:54 +00:00
MaxED
83ee9aed4d DECORATE: fixed parsing error when whole "States" block is on one line.
Fixed: Incorrect articles were sometimes used in Draw Geometry/Curve/Rectangle/Ellipse info messages.
2013-04-15 10:54:55 +00:00
MaxED
50c004bb2c Fixed: tall patches higher than 508 pixels were read incorrectly. 2013-04-12 12:53:26 +00:00
MaxED
4fe2676e11 Looks like first 3 bytes of JPG image can be treated as signature, not 4. 2013-04-12 11:06:57 +00:00
MaxED
a150931bb2 Removed a metric ton of unused "using" directives from BuilderModes plugin. 2013-04-11 11:26:57 +00:00
MaxED
8cf9e651cc Removed a metric ton of unused "using" directives from Core. 2013-04-11 11:04:16 +00:00
MaxED
8f47c316b9 Classic modes, UDMF: floor/ceiling texture offsets can now be locked in place while sector is dragged.
Fixed another bug in Tools.autoAlignTexturesOnSidesUDMF()
Replaced Math.PI-related equations with stuff from Angle2D class.
2013-04-11 09:27:16 +00:00
MaxED
043590100b Rectangular Selection: removed direction-based additive/subtractive selection. You can now hold Ctrl to enable subtractive selection, hold Ctrl-Shift to intersect with existing selection.
Point Thing at Cursor action: action now works when used from menu, changed default shortcut to Shift-L. You can now hold Ctrl to point Things away from cursor.
2013-04-09 10:56:05 +00:00
MaxED
8f40e113fe Added "Point Thing to cursor" action. 2013-04-08 14:37:37 +00:00
MaxED
ee6430c922 Bridge mode - removed 2 duplicate functions. 2013-04-08 13:43:02 +00:00
MaxED
c49980383a Forgot to add default key... 2013-04-08 13:32:12 +00:00
MaxED
818a485ec2 Added Draw Curve mode. 2013-04-08 13:28:04 +00:00
MaxED
466ff329df Tag Explorer, UDMF: when item's comment editing was canceled, item's comment was removed instead of leaving it unaltered. 2013-04-08 09:13:15 +00:00
MaxED
27f90d079d Fixed a crash after drawing a sector when a newly drawn line completely matches already existing one.
Fixed a typo in documentation.
Fixed a typo in actions description.
2013-04-08 09:01:27 +00:00
MaxED
0243c8c3c8 Small fix in Align Things to Linedef action. 2013-04-05 12:23:50 +00:00
MaxED
f8c8b71dfa Paint Selection, Sectors mode: when selection is started over a sector, it's selected state is now toggled properly.
Several small fixes in "Raise/Lower sector to nearest" action.
2013-04-05 10:56:07 +00:00
MaxED
a0ae887a72 Thing Edit form: things can now be filtered.
Preferences form: list of actions already using current shortcut was not updated properly when actions list was filtered.
2013-04-04 12:04:52 +00:00
MaxED
d582d9b9a1 Visual mode, "Lower/Raise Floor/Ceiling to adjacent sector" actions: you can now hold Ctrl to lower/raise sectors to lowest/highest sector inside selection.
Visual mode: added "Align Textures X and Y" action (default key is Ctrl-A).
Preferences Form: Actions can now be filtered.
2013-04-04 10:14:44 +00:00
MaxED
b104e88a1d Visual Mode, UDMF: "Auto-align Textures Y" action now takes surface peg type into account.
Visual Mode, UDMF: "Auto-align Textures Y" action now applies vertical scale of first (highlighted) surface to the rest of aligned surfaces.
Linedef Edit Form, UDMF: lower sidedef texture offsets were never displayed.
Some more changes in auto texture alignment of newly drawn lines.
BuilderEffects plugin should compile now.
2013-04-03 14:50:41 +00:00
MaxED
60682dab1c Some more changes in auto texture alignment of newly drawn lines. 2013-04-02 13:42:55 +00:00
MaxED
4a6897a6ed Visual Mode: added "Lower Floor/Ceiling to adjacent sector" and "Raise Floor/Ceiling to adjacent sector" actions.
UDMF texture offsets are now used when splitting a linedef in UDMF map format.
Some changes in auto texture alignment of newly drawn lines.
2013-04-02 12:19:25 +00:00
MaxED
c6378809d5 Visual Mode: You can now Shift-Select (usually Select = LMB) to select all adjacent surfaces with same texture, Ctrl-Select to select all adjacent surfaces with same height.
Added Selection Groups options to Edit menu.
Selection Groups can now be cleared using either Edit -> Clear Group or Ctrl-Shift-[group number] shortcut.
Toolbar button groups can now be toggled using context menu. Hold "Shift" to toggle several button groups at once.
2013-04-01 11:06:01 +00:00
MaxED
e243450f74 Added Xabis' ACS includes patch (well, most of it) 2013-03-29 11:24:30 +00:00
MaxED
1afd4febb6 Woops... 2013-03-28 12:36:59 +00:00
MaxED
bb9e2ffc8a Brightness Mode now uses the same selection methods as other classic modes (e.g. Paint Selection and Subtractive Selection) 2013-03-28 12:31:37 +00:00
MaxED
5bae932013 Fixed: Assigning new tag using "New tag" button when selection already had a tag was not working.
Fixed: "Automatic clear selection in classic modes" option was broken.
2013-03-28 11:37:08 +00:00
MaxED
c04a65f104 Even more fixes in Vertex and Linedef deleting process.
Texture browser can now show flats/textures only.
2013-03-26 12:31:07 +00:00
MaxED
6462ff5edb More fixes in Vertex and Linedef deleting process and also Visual Vertex handles. 2013-03-25 14:49:03 +00:00
MaxED
4abcca3cf8 Fixed incorrect behavior when sector had 2 or less sidedefs after vertices or linedefs removal.
Fixed incorrect behavior when 2 linedefs are merged into one after deleting a vertex, when a newly created linedef overlaps existing geometry.
Visual Vertex handles were not updated when sector's floor or ceiling height was changed.
2013-03-22 12:53:34 +00:00
MaxED
0e7a74158f We should save LastUsedConfigName only when creating a new map... 2013-03-21 11:28:50 +00:00
MaxED
46818663f3 Last used configuration is now selected when creating a new map.
Fixed a possible bug in Visual vertex handles rendering code.
2013-03-21 11:23:29 +00:00
MaxED
7f19cd3d62 Let's see if that fixes Vertex Handles rendering in Visual mode... 2013-03-20 10:25:32 +00:00
MaxED
dcaa60f1fb Moving to new SVN (Part II)... 2013-03-18 13:59:05 +00:00
MaxED
591f92cce6 Moving to new SVN... 2013-03-18 13:52:27 +00:00
MaxED
ad46513126 Added "Apply to all errors of this type" checkbox to Map Analysis window.
Updated ZDoom ACC to r3889.
2012-11-30 14:43:11 +00:00
MaxED
94dce70ada UDMF: vertical offsets of a vertex can now be edited in Vertex Edit form and are shown in Vertex Info panel.
Bridge mode: when source sidedefs don't have upper/lower textures, their middle textures are used instead.
2012-11-27 23:04:49 +00:00
MaxED
a3f28cfe94 Merged Visual mode and GZDoom Visual mode into GZDB Visual mode. GZDoomEditing.dll is no longer required. 2012-11-27 21:12:20 +00:00
MaxED
c018e05805 UDMF vertex offsets ("zfloor" and "zceiling") were rendered incorrectly.
Rendering of (G)ZDoom rendering effects (slopes, 3D-floors etc.) can now be toggled in GZDoom Visual mode (default key is "Tab", action is Visual modes -> Toggle GZDoom rendering effects)
2012-11-26 14:23:48 +00:00
MaxED
323c098b17 Increased view distance in Visual modes to 9000 map units. 2012-11-25 20:17:38 +00:00
MaxED
c767b41631 UDMF: Vertex height offsets ("zfloor" and "zceiling") are now shown in GZDoom Visual mode. 2012-11-22 15:32:27 +00:00
MaxED
082bb87c3c Doom/Hexen map formats: texture offsets of walls can now be edited properly in GZDoom Visual mode. 2012-11-22 13:12:35 +00:00
MaxED
c0c36eabbc Added an option to enable DB2-style surface highlighting in Visual modes (when enabled, selected surfaces stay highlighted even if "Show Highlight" is set to OFF) 2012-11-22 09:37:57 +00:00
MaxED
5283989bf2 Fixed incorrect UV mapping on MD2 models in Visual modes. 2012-11-20 22:08:34 +00:00
MaxED
a9d6eb5ce2 Fixed a crash when trying to load a model with more than 32767 vertices. 2012-11-20 14:53:54 +00:00
MaxED
7a952a2e5e Added some boilerplate to UDMF map format reader. If a property value is Integer and expected property type is Float, a value will be casted to float. In other cases of type mismatch, the property will be ignored and a warning will be added to Errors and Warnings window. 2012-11-19 09:44:05 +00:00
MaxED
f731000db3 UDMF Controls form's close using [x] button wasn't handled properly.
Linedef and Sector Edit forms were saving default UDMF texture offsets (which led to increased map size).
2012-11-13 21:11:53 +00:00