Commit graph

334 commits

Author SHA1 Message Date
biwa
53ca8efc6a Fixed a regression where editing map elements did not preserve the selection order, but used the index order instead. Fixes #791 2023-05-07 14:53:28 +02:00
biwa
f3cb854bbd Things Mode: increased rendering speed 2023-05-07 14:52:45 +02:00
biwa
d138f29cda Things/Linedefs/Sectors/Vertices Modes: standardized how editing and selection works:
- editing a highlighted, not selected map element will deselect other selected map elements, then start editing the highlighted map element
- dragging a highlighted, not selected map element will deselect other selected map elements, then start dragging the highlighted map element
- dragging a single map element will keep its selection state. I.e. dragging a selected map element will not deselect it after dragging anymore
  - dragging a highlighted, not selected thing will not select it after dragging
- dragging a highlighted, not selected sector, while other sectors are selected, will only drag the highlighted sector, and not the selected sector (and deselect the selected sectors)
2023-05-07 14:48:13 +02:00
biwa
e91114ce5e Sectors Mode: fixed an potential crash when joining/merging sectors 2023-05-07 14:26:38 +02:00
biwa
710cb59719 Linedefs Mode, Sectors Mode, Vertices Mode, Sound Environment Mode, Sound Propagation Mode: slightly improved performance when moving the mouse 2023-05-07 14:24:39 +02:00
biwa
60a010efd1 Editing modes: fixed some crashes related to undoing/redoing while objects with associations were highlighted 2023-05-07 14:21:41 +02:00
spherallic
76e68f6c9a Fix error with Select Floors/Ceilings action 2023-05-04 14:54:21 +02:00
spherallic
78e6f5b114 Finally fix repeating midtexture selection in Visual Mode 2023-05-03 01:28:05 +02:00
Magnus Norddahl
1435208163 Remove more dictionaries from the render loop 2023-05-03 00:10:37 +02:00
spherallic
e44debce82 Skip lines with certain actions and tags when checking unknown textures 2023-05-03 00:06:27 +02:00
spherallic
5c13cbb011 Implement polyobject previews, clean up zoom tube & NiGHTS rendering 2023-05-01 20:08:25 +02:00
spherallic
65604bab03 Slightly walk back a copy slope "fix" to prevent DSZ2 from freezing the editor 2023-05-01 18:30:22 +02:00
spherallic
38795d4c14 Support SRB2 flat alignment when exporting images 2023-04-27 21:49:12 +02:00
spherallic
ba24552c32 Update version number to 3.0, add "light" installer 2023-04-27 19:04:02 +02:00
spherallic
338b8b45b9 Fix bug & compiler warning with repeating midtextures 2023-04-27 14:33:29 +02:00
biwa
0da0ff6b41 Fixed some compiler warnings 2023-04-27 14:13:43 +02:00
MaxED
079614419a Silenced some compiler warnings... 2023-04-27 14:10:24 +02:00
spherallic
f371032ecd Name corrections in a few places 2023-04-27 14:05:09 +02:00
biwa
7a0fe26b30 Added fallback for event line labels to use the default window font is the one specified for labels couldn't be loaded 2023-04-27 03:56:46 +02:00
biwa
fecb6aad8f Sectors Mode: fixed a crash when merging sectors while a shared linedef between them was shown as an association 2023-04-27 03:55:57 +02:00
biwa
b17f738f13 Fixed a crash when highlighting undefined things 2023-04-27 03:54:12 +02:00
spherallic
84a48ea22a Tidy up improved associations 2023-04-27 03:52:29 +02:00
spherallic
e18a1cbc83 Improved associations 2023-04-27 03:52:23 +02:00
Xabis
d642d7c00a * A direct tag-to-tag relationship can now be established between two things, which allows event lines to be properly setup between them. This is intended for interpolation and patrol specials which are linked via a shared tag, instead of an argument. A POSITIVE value represents the parent thing, where a NEGATIVE value represents the child thing.
* Added interpolation and patrol point specials to the persistent event line processing
2023-04-27 03:52:11 +02:00
spherallic
94887efa9a Add action for deselecting things, tweak other new actions 2023-04-27 02:23:27 +02:00
biwa
9191c30126 Fixed a crash when undoing/redoing while in Things Mode 2023-04-27 00:01:48 +02:00
Magnus Norddahl
b0b1693a62 Rewrite VisualBlockMap to use a quad tree 2023-04-26 17:54:34 +02:00
spherallic
582f457d76 Tweak image export settings 2023-04-26 17:33:52 +02:00
spherallic
fc748c18c9 Rename SRB2Type back to Type 2023-04-26 17:17:28 +02:00
biwa
e65cc32991 Export selection to image: added progress bar and button to cancel export 2023-04-26 14:02:49 +02:00
biwa
a4bc90c754 Export selection to image: added option to scale the output image to a higher resolution 2023-04-26 13:57:50 +02:00
biwa
fdbb6c35c5 Image exporter: added options to use sector brightness for the export, create brightmaps (based on sector brightness), and split the image into 64x64 tiles 2023-04-26 13:53:05 +02:00
biwa
dcaf0a525d Added feature to export the selected sectors as an image 2023-04-26 13:46:20 +02:00
spherallic
8c4ac371fd Revert "Linedefs Mode, Sectors Mode, Vertices Mode, Sound Environment Mode, Sound Propagation Mode: slightly improved performance when moving the mouse" 2023-04-26 00:36:11 +02:00
spherallic
1f6dc46b07 Increment/decrement tag update 2023-04-25 23:57:03 +02:00
spherallic
e81270fa47 Add missing backside check to clear midtextures action 2023-04-25 01:12:06 +02:00
biwa
51fa48a160 Draw Grid Mode: fixed a crash that happened when having locking slices to grid enabled 2023-04-25 00:55:30 +02:00
spherallic
337d868c2f Update flavor text some more 2023-04-25 00:53:30 +02:00
biwa
672e5ba6f6 Linedefs Mode: fixed a problem where flipping a highlighted linedef would also select the linedef. Fixes #571 2023-04-25 00:48:44 +02:00
ZZYZX
af365fed73 Fixed: a single selected linedef was deselected after flipping it 2023-04-25 00:48:16 +02:00
biwa
6318a096df Linedefs Mode: fixed a problem where after splitting a linedef the insert vertex preview would not work correctly
Vertices Mode: fixed a problem where after inserting a vertext the insert vertex preview would not work correctly
2023-04-25 00:46:47 +02:00
biwa
541c754a78 Linedefs Mode: increased rendering speed 2023-04-25 00:46:22 +02:00
spherallic
cc427694b7 forgot to stage 2023-04-25 00:44:49 +02:00
biwa
24c2b9896d Added option to reselect changed map elements after undo/redo 2023-04-25 00:43:09 +02:00
biwa
8d4bb17ccf Sectors Mode: fixed a problem where things were not selected correctly when synchronized thing edit was enabled 2023-04-25 00:30:16 +02:00
biwa
985dd54f99 Sectors Mode: tag and effect labels are now only updated when necessary, increasing performance 2023-04-25 00:28:15 +02:00
biwa
550683daab Sectors Mode: significantly increased rendering speed 2023-04-25 00:26:51 +02:00
biwa
5884ca770e Linedefs Mode, Sectors Mode, Vertices Mode, Sound Environment Mode, Sound Propagation Mode: slightly improved performance when moving the mouse 2023-04-25 00:24:54 +02:00
biwa
f097fec1a2 Sectors Mode: fixed a bug that could cause a crash when drag-selecting over areas that contained sectors after deleting those sectors 2023-04-25 00:22:34 +02:00
biwa
f4307a4c64 Sectors Mode: the sectors things are in are only determined if necessary, which should increase performance when switching into Sectors Mode in very big maps 2023-04-24 23:57:52 +02:00