Commit graph

717 commits

Author SHA1 Message Date
spherallic
09b2402fea Clean up SRB2 effect rendering code a bit 2023-05-14 13:51:38 +02:00
spherallic
6576ed7408 Avoid blockmap use when moving mouse in some classic modes 2023-05-11 17:34:39 +02:00
spherallic
56b2423887 Prevent image export if no valid path exists/is given 2023-05-10 21:31:04 +02:00
spherallic
79dfafc691 Correct sector references when manually flipping sidedefs 2023-05-09 20:45:25 +02:00
spherallic
ef557fce7f Add Tab to the list of special controls 2023-05-09 16:00:35 +02:00
biwa
6c55197264 Fixed a bug where saving WADs that didn't have their data starting right after the header would corrupt the file. Fixes #531 2023-05-09 02:17:14 +02:00
biwa
0043160e30 - Fixed an issue where the current editing mode was not re-initialized properly when opening a map from current WAD 2023-05-09 02:10:39 +02:00
ZZYZX
c6a2288c22 Fixed: 'forbidden' lumps are not supposed to count towards matching while detecting map type 2023-05-09 02:10:10 +02:00
ZZYZX
7cb80cf9f2 Fixed: 'Save into' would detect non-map lumps with the same name as maps and ask if you want to save over... 2023-05-09 02:09:04 +02:00
ZZYZX
9054d07b9f Fixed: in case there are other (non-map) lumps in the archive that have the same name as a map (e.g. MB2 patch and MB2 map in idl201x WADs) only the valid map is read. 2023-05-09 02:08:34 +02:00
ZZYZX
6bd76dee4e Fixed: consequential duplicate maps weren't handled properly 2023-05-09 02:08:08 +02:00
ZZYZX
ab4b59c981 Fixed: old map format is now autodetected when saving a map over an existing one. Saving a map in different format shouldn't leave junk lumps anymore. 2023-05-09 02:07:35 +02:00
ZZYZX
4d97f41a4b Internal: reverted mysterious MaxED edit in map saving functions 2023-05-09 02:06:33 +02:00
ZZYZX
0cc6cf2e64 Internal: removed now unneeded CopyAllLumpsExceptMap 2023-05-09 01:59:59 +02:00
ZZYZX
ec90554cf4 Internal: not copying all lumps manually anymore on 'Save As'. The WAD is copied with File.Copy anyway. 2023-05-09 01:59:38 +02:00
spherallic
055d2cb33f Remove some unused namespaces 2023-05-09 01:55:58 +02:00
spherallic
c97c025d7b Update associations when incrementing/decrementing tags 2023-05-09 00:51:11 +02:00
spherallic
3d398cc899 Move GZBuilder/GZDoom 2023-05-09 00:46:39 +02:00
spherallic
736c8b2482 Move GZBuilder/Controls 2023-05-09 00:41:27 +02:00
spherallic
a9ca5ae625 Clear out GZBuilder directory a bit 2023-05-09 00:02:14 +02:00
spherallic
bd87668555 Actually add move selection by 8 mp actions 2023-05-08 15:45:49 +02:00
spherallic
0514086933 Increment angle by 5 instead of 8 in curve linedefs mode 2023-05-08 15:02:03 +02:00
spherallic
987f998ba4 Allow holding down "move selection" actions & add 8 mp versions 2023-05-08 14:50:43 +02:00
spherallic
aac2a46e78 Correct some player height checks for SRB2 2023-05-08 13:35:44 +02:00
Derek MacDonald
8a27615178 Cursor position playtest: stop always marking map changed (#605) 2023-05-08 13:28:28 +02:00
biwa
e13c836344 Classic modes: fixed a problem where "test from cursor position" wasn't working correctly when there was no player 1 start in the map and the last edited thing had its argument 0 set. Fixes #603 2023-05-08 13:27:53 +02:00
biwa
199108ba64 Improved solution for issue #573 to not destroy the undo history when no player start is present 2023-05-08 13:26:42 +02:00
biwa
a8c28e3f68 Fixed a crash when undoing after using the "test from current position" action when no player 1 start is in the map. Fixes #573 2023-05-08 13:25:10 +02:00
biwa
3554508ffb - Only allow Edit Selection Mode to be cancelled once
- Added preliminary code to remove new 3D floor control sectors when pasting was canceled after duplicating 3D floors
2023-05-08 13:24:55 +02:00
biwa
4f4a0bdf58 - Test map from current mouse position now works properly in Hexen/UDMF maps with multiple player starts. Also works in maps without a valid player start now. Fixes #263. 2023-05-08 13:24:14 +02:00
biwa
f59fbed358 Sector/Linedef/Thing/Vertex Edit Form: the map will not be marked as changed anymore when canceling changes made in the forms, when the map wasn't marked as changed before
Copying map elements doesn't mark the map as changed anymore if the map wasn't marked as changed before copying
2023-05-08 13:21:15 +02:00
biwa
54fe5ae165 Fixed a bug that could cause a crash when going over the maximum linedef limit 2023-05-08 13:06:38 +02:00
biwa
b7d92fb704 Fixed a problem where dragging or drawing geometry sometimes broke sectors. Fixes #556 2023-05-08 13:05:11 +02:00
biwa
4b0dce43ed Changed how performing undo interacts with volatile modes (it will now actually perform the undo instead of just canceling the volatile mode) 2023-05-08 12:46:17 +02:00
biwa
7d180e5cae Snap selection to grid: fixed a problem that could cause a crash if geometry got removed by snapping it to the grid 2023-05-08 12:34:41 +02:00
spherallic
bf7cc42166 Get SplitLinesByVertices up-to-date 2023-05-08 12:30:32 +02:00
spherallic
2f407b585c Unfreeze arrays when stitching geometry fails 2023-05-07 23:23:33 +02:00
biwa
28aa7e4481 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-05-07 22:41:05 +02:00
biwa
efd19296bd Vertices Mode: fixed a potential crash when deleting/dissolving vertices 2023-05-07 22:38:33 +02:00
spherallic
6327ac9e51 Fix "Back" option never being checked when loading default stair builder preset 2023-05-07 20:42:58 +02:00
spherallic
13b2156b08 Fix VS auto-merging issue with stair sector builder 2023-05-07 16:10:52 +02:00
biwa
9f7b511224 Stair Sector Builder Mode: fixed an issue where the number of sectors and the sector depth was not loaded correctly when a default prefab was set. Fixes #847 2023-05-07 16:05:47 +02:00
biwa
4c40441e01 Stair Sector Builder Mode: current settings can be now be saved as a default prefab that will always be loaded when using the Stair Sector Builder Mode 2023-05-07 16:05:28 +02:00
biwa
d66169f2cb Sectors Mode: fixed a regression where sector labels were not updated after editing sectors. Fixes #793 2023-05-07 15:58:38 +02:00
spherallic
c3d4363b94 Fix error that prevented dragging a single unselected map element 2023-05-07 15:57:04 +02:00
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