Commit graph

462 commits

Author SHA1 Message Date
MaxED
52985db127 Some fixes to sector brightness/heights override logic added in previous commit. 2013-11-21 11:51:48 +00:00
MaxED
e8f52aecb9 Added Draw Settings side panel, which replaces Set Default Textures Form and allows to set textures, brightness and floor/ceiling heights to use when drawing sectors. Used settings are now saved in the map's .dbs file.
Location and active tab of all Edit Forms are now stored while GZDB is running.
Focus management between editing window and the rest of the interface should work better now.
Tag Explorer plugin: editing window was not updated properly when Edit forms were opened from Tag Explorer.
Tag Explorer plugin, UDMF: comment editing was incorrectly initialized in some cases.
2013-11-21 10:53:11 +00:00
MaxED
c441c5640a Visual mode, UDMF: "nofakecontrast", "smoothlighting" and "lightabsolute" flags are now taken into account when calculating fake contrast/smooth lighting brightness values for walls. 2013-11-20 14:59:31 +00:00
MaxED
7a2aafbb6b Visual mode, UDMF: we shouldn't render fade when sector brightness is 248 or higher.
Plugins: fixed a crash caused by inability to find referenced assembly when loading a plugin, which depends on other plugin(s).
Undo-redo, UDMF: undo information was not created properly for several types of UDMF fields for the last map element in the selection when the selection contained more that 1 element.
Updated documentation.

Maintenance stuff:
Core/Plugins/Plug: made current display location and size information properly available to plugins.
Made Core/Controls/ColorControl available to be used by plugins.
2013-11-20 13:29:41 +00:00
MaxED
7c8370b9d3 Script editor: fixed a crash when trying to compile one-line script. 2013-11-18 12:36:42 +00:00
MaxED
aa4fbd8b43 Texture browser form: Tab key behavior was broken when the window was opened in maximized state.
Texture browser form: last window location is now restored when the window is opened.
2013-11-08 10:51:35 +00:00
MaxED
1be5a9e2ab UDMF, Custom Fields: fixed a crash when trying to create undo snapshot for a custom field of type bool or string when the map's .dbs file is not present or it doesn't contain type info about said field. 2013-11-06 09:34:47 +00:00
MaxED
9c63c617d8 Texture Browser form: fixed Tab key behavior yet again. 2013-11-04 11:17:16 +00:00
MaxED
76dba9cd87 Bridge mode: some float values were not rounded leading to curve position errors in some cases. 2013-09-27 10:56:44 +00:00
MaxED
ec9d829916 Texture Browser: textures can now be filtered by size.
Visual mode: offsets of double-sided middle textures were still clamped when not required in some cases.
Updated documentation.
2013-09-26 12:43:39 +00:00
MaxED
3f66656b3b Sector edit forms: sector height label was showing incorrect values when relative values were used. 2013-09-17 08:21:12 +00:00
MaxED
7f775bbbd2 Warning about missing DECORATE actors was shown twice. 2013-09-16 14:07:12 +00:00
MaxED
735447edbe Default sector brightness can now be set in Preferences.
Default sector ceiling height can now be set in Preferences.
Default sector floor height can now be set in Preferences.
Maximum number of recent files can now be changed in Preferences.
UDMF, Custom fields: a warning is now shown when a user tries to manually add a managed filed.
UDMF: "Translucent" linedef flag is now marked as obsolete.
2013-09-16 13:41:00 +00:00
MaxED
ed75933d60 Sectors mode: sector tags are now shown on top of unselected sectors (works only if "View Selection Numbering" option is enabled).
Some cosmetic fixes here and there.
2013-09-13 14:54:43 +00:00
MaxED
dcc063f008 Sectors mode: sector effects are now shown on top of unselected sectors (works only if "View Selection Numbering" option is enabled).
Updated documentation.
2013-09-12 15:02:08 +00:00
MaxED
261811cc57 Fixed a crash when updating engine selector dropdown after removing engines when selected engine index was greater than engines count.
Some code simplifications in MapinfoParser, also it can now read fade/outsidefog color defined as "XXXXXX"
2013-09-12 09:51:56 +00:00
MaxED
ebf5a3961b Probably fixed a D3D-related crash after testing the map in GZDoom. Or not. 2013-09-11 15:01:55 +00:00
MaxED
ae1b2153ef Sector Edit form, UDMF: floor and ceiling rotation angles can now be entered as decimals.
Visual mode: removed unrelated message when copying textures using "Copy Selection" action.
2013-09-11 14:22:11 +00:00
MaxED
fc57c3e331 Replaced massive amount of spaces with (massive amount of tabs / 4) 2013-09-11 09:47:53 +00:00
MaxED
ead2521451 Sectors mode, UDMF: Create Brightness Gradient action can now work in "Light" and "Fade" modes.
Visual mode: added support for "fogdensity" and "outsidefogdensity" MAPINFO properties.
Sector Info panel now shows the number of sector's sidedefs as well as light and fade colors (UDMF only).
UDMF: Sector and sidedef flags are now copied/pasted when using "Copy Properties" and "Paste Properties" actions.
Fixed: in some cases default texture overrides were used even when corresponding option was disabled.
Sector Edit form: light and fade values were not saved when a value was pasted/entered into text box.
Sector Edit form: "reset value" button was not shown for light and fade values when selected sectors had different light/fade colors.
Reverted Open Map form changes from previous commit (my assumption that map marker is always empty was not correct...)
Updated documentation.
2013-09-11 08:49:45 +00:00
MaxED
2598389d6b Sector Info panel now shows how many sidedefs highlighted sector has.
Snap Map Elements to Grid mode now works much faster and shows a message when completed.
Forced default textures are now only used in drawing modes.
Exception Dialog: long error descriptions were breaking window layout.
Map will no longer be shown in Open Map form if unrelated data is encountered inside of map namespace.
2013-09-09 14:03:02 +00:00
MaxED
b80bc3f811 Manual linedef splitting: UDMF texture coordinates were incorrectly interpolated in some cases.
Manual linedef splitting: "Duplicate texture coordinates" and "Reset X coordinate, copy Y coordinate" settings now affect UDMF texture offsets.
2013-09-05 13:03:17 +00:00
MaxED
8a0ca0e650 Visual mode: added "Auto-align Textures to Selection (X)", "Auto-align Textures to Selection (Y)" and "Auto-align Textures to Selection (X and Y)" actions.
"Snap Map Elements to Grid" mode now tries to fix invalid geometry after vertex snapping.
Vertices mode: in some cases not all vertices were removed when deleting vertices.
Removed "Load GZDoom light definitions" from preferences. If you want to use GZDoom's GLDEFS definitions, add "lights.pk3" as a resource.
Visual mode: fixed a crash when toggling GZDoom Geometry Effects (Tab)
Fixed sector bounding box calculation error.
Renamed "Edit -> Grid Setup..." to "Edit -> Grid and Backdrop Setup..."
Updated documentation
2013-09-03 09:34:28 +00:00
MaxED
0ea1056b44 Error Checking: renamed "Check unclosed sectors" to "Check invalid sectors". Now it also finds sectors with less than 3 sidedefs and sectors, which area is 0. 2013-08-30 15:00:44 +00:00
MaxED
c6170f644b Changed the way sector bounding box is calculated. This fixes major slowdowns when a sector with invalid geometry (e.g. without triangulation) is highlighted in Classic modes and a crash in Visual mode when such sector is rendered. 2013-08-29 12:07:54 +00:00
MaxED
6f23311167 Replaced Unhandled exception dialog with custom one 2013-08-29 10:05:50 +00:00
MaxED
b84b613d4b Added a way to assign new tags, which finds a tag unused by current map element type. 2013-08-28 08:29:06 +00:00
MaxED
a6ee7a5ca2 Copy/Paste logic was broken in Doom and Hexen map formats since r1758... 2013-08-27 14:22:19 +00:00
MaxED
25c0f0dd1f Classic modes: missing floor/ceiling textures are now rendered using proper texture.
Sector Info panel: in soma cases texture size was shown for unknown/missing textures.
2013-08-26 11:09:37 +00:00
MaxED
04ee4717b4 Set Default Textures: empty textures can now be used as default ones.
Sector Edit forms: floor/ceiling textures can be cleared with right-click on texture selectors.
2013-08-26 10:51:33 +00:00
MaxED
3e11ae734d Vertices mode: fixed an exception when "DeleteItem" action tried to delete already deleted vertex.
Renamed "Set current textures" to "Set default textures" (I hope that makes more sense now).
Fixed and updated documentation.
2013-08-26 09:31:43 +00:00
MaxED
71b0d0754d Fixed: acs script was not complied when the map was located in the root directory.
Fixed "Snap Map Element to Grid" documentation.
2013-08-23 13:28:55 +00:00
MaxED
9080f8885c "Snap Selected Vertices to Grid" mode: renamed to "Snap Selected Map Elements to Grid". Now it aligns things as well.
Edit forms: some realtime controls were applying relative values incorrectly.
2013-08-22 15:30:50 +00:00
MaxED
a8aa277faa Classic modes: 3D floor indicators can be disabled in preferences (Preferences -> Appearance -> Mark 3D floors in classic modes).
Updated documentation.
2013-08-21 11:20:00 +00:00
MaxED
7ba352216d Visual mode: fixed a crash when trying to load non existing sprite, defined in configuration or via "//@sprite" parameter in DECORATE.
MissingThing icon is now used when the editor is unable to load thing sprite.
An error is added to error logger when the editor is unable to load thing sprite.
2013-08-21 10:45:54 +00:00
MaxED
2b14e5b8d0 Preferences form: script font preview now works. 2013-08-20 10:20:48 +00:00
MaxED
76dc4574ab Linedef and Thing arguments are new set to 0 when converting a map to Doom map format.
Fixed a crash when executing "Toggle Geometry Effects" (Tab).
2013-08-20 08:21:20 +00:00
MaxED
5853624dc5 Updated documentation.
Increased maximum zoom level in Classic modes to 3000%.
Added "1 mp" option in grid size menu.
Added "400%" option in zoom menu.
Renamed "Toggle GZDoom rendering effects" action to "Toggle Geometry Effects".
Sync camera position: Visual Camera height is now changed only if camera is above or below current sector.
Classic modes: view was not redrawn after "Test map from current position" action.
"Test map from current position" action: incorrect player start was used when a map had several Player 1 Start things.
2013-08-19 12:12:31 +00:00
MaxED
1e9a08fc96 Removed newly created sectors coloring (because it was more slow than helpful).
Some cosmetic changes in Linedef Edit form.
Link, Unlink and Reset icons can now be properly seen on dark backgrounds.
2013-08-14 09:02:37 +00:00
MaxED
53b13a4096 Tag and script number/name drop downs in Edit forms are now resized to match the width of the longest entry.
Jitter mode: view was not updated when "Relative" option was toggled.
2013-08-13 09:49:29 +00:00
MaxED
3e31c39c20 Sector edit form, UDMF: added "Use line angles" floor/ceiling rotation option.
Some cosmetic changes in uifields management.
2013-08-12 10:15:08 +00:00
MaxED
4dc80538ec Sector Edit form, UDMF: sector flags were not shown properly.
Color picked plugin: plugin used incorrect default "lightcolor" value after r1758.
2013-08-10 11:42:18 +00:00
MaxED
6ce9043ff6 Removed UDMFControls plugin.
UDMF fields, handled by UI, had broken field types after r1758.
Removed some redundant type casts.
2013-08-10 11:28:51 +00:00
MaxED
0123e8df6e UDMF: added "waterzone" sector flag.
UDMF: added "gravity" thing property to UI.
MAPINFO parser: removed unneeded error notification.
2013-08-10 09:06:24 +00:00
MaxED
a347afaf66 Made map detection logic a bit more strict. If BEHAVIOUR lump is present, a map can no longer be detected as a map in Doom map format. 2013-08-09 08:39:45 +00:00
MaxED
724709e435 Visual mode: added "Look Through Selection" action (default key is "Y"). 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 or SecurityCamera.
Script editor: pressing "F1" now opens keyword help instead of program manual.
Linedef edit form, Thing edit form: rewritten script support logic. It should now work in the same manner as the rest of controls.
Thing info panel: thing arguments now have proper labels.
Edit forms, UDMF: fields, which are handled by UI, are no longer shown in "Custom" tab.
Visual mode: fixed a crash when loading a model on a video card without Shader model 2.0 support.
Fixed incorrect argument number and changed most of labels in "Cameras and interpolation" section of zdoom_things.cfg.
2013-08-08 11:04:13 +00:00
MaxED
0a5ff0bdaf Visual mode: fixed incorrect vertical texture offsets of middle parts of double sided linedefs.
ACS support: script numbers/names without space between them and script arguments (like 'script 999(void)' or 'script "test"(void)') were not parsed.
2013-08-07 09:25:37 +00:00
MaxED
f35e39de01 Linedef info panel: texture preview was not updated in some cases.
Visual mode: fixed major slowdowns and possible out of memory exceptions when viewing a map with lots of missing textures.
2013-08-05 13:46:43 +00:00
MaxED
3890c4a7c8 Fixed a crash when reloading resources after removing a resource.
Visual mode: rendering was broken on video cards without Shader Model 2.0 support.
Engines list was not updated after changing engine in Test button's drop down.
2013-08-05 13:03:08 +00:00
MaxED
82722e546c Visual mode: fixed incorrect sidedef texture mouse dragging when texture was scaled in TEXTURES.
Visual mode: texture offsets are now clamped to texture size when dragging textures with mouse.
Visual mode, UDMF: when gravity is enabled, sector gravity now affects camera movement.
2013-08-02 12:50:53 +00:00