Commit graph

271 commits

Author SHA1 Message Date
spherallic
c32f677c44 Merge remote-tracking branch 'udb/master' 2023-06-10 19:31:53 +02:00
spherallic
606f323cac Support Flip flag, add properties for flip & absolutez flags 2023-06-10 16:08:38 +02:00
biwa
bc98a5391f
Added action to change the index of linedefs, things, sectors, and vertices. Can be accessed through a shortcut (not bound by default) or the menu of the respective mode (#903) 2023-06-09 11:17:01 +02:00
sphere
af9c803ed6 Merge branch 'reduce-blockmap-use' into 'master'
Reduce blockmap use when drawing/stitching geometry

See merge request STJr/UltimateZoneBuilder!4
2023-05-26 12:51:28 +00:00
spherallic
5b9dc62dde Change hardcoded line slope action to match SRB2 2023-05-26 14:09:04 +02:00
spherallic
06e2c06553 Reduce blockmap use when drawing/stitching geometry, increasing performance in large maps 2023-05-24 12:50:45 +02:00
spherallic
087b1c8e8f Merge remote-tracking branch 'udb/master' into udbmerge202304 2023-05-12 13:45:56 +02:00
Xaser Acheron
184c13a563
Automap Mode: improved support for GZDoom (#876)
- A new "Show Textures" option up on the top bar, which draws any sector not flagged to be hidden on the textured automap
- Holding Shift will highlight sectors instead of lines
- Left-clicking on a highlighted sector will toggle the "Not shown on textured automap" flag
- Textures will be shown when Shift is held down even if the "Show Textures" toggle is off
2023-05-01 09:32:09 +02:00
MascaraSnake
fea4ac17db Implement string argument info 2022-12-30 18:37:26 +01:00
MascaraSnake
54e3b4ff3f Implement thing edit form 2022-12-30 17:53:17 +01:00
MascaraSnake
c5d91d15fc Began implementing linedef edit form for SRB2 2022-12-29 21:02:53 +01:00
MascaraSnake
d29bd54034 Refactor code that relies on the number of action args being exactly 5 2022-12-28 23:04:32 +01:00
biwa
2a1d595173 Fixed a problem where the display was desaturated in certain situations in classic modes when wireframe rendering was enabled when exiting Visual Mode. Fixes #619
Fixed a problem where sectors were not desaturated correctly in classic modes on map load
2022-02-12 12:14:50 +01:00
biwa
e2374102ee
UDBScript asynchronous execution (#684)
Script run by UDBScript are now executed asynchronously
2022-01-03 14:33:34 +01:00
biwa
5eb438e3ba
Add map scripting capabilities to UDB (#656)
Added map scripting capabilities to UDB (#656). Documentation at https://biwa.github.io/udbscript-docs/
2021-11-28 14:00:24 +01:00
biwa
bd887c1f27 Fixed an issue where thing positions were modified even when the new position was the same as the old one. Fixes #644 2021-10-25 00:32:10 +02:00
biwa
80e56310a3 UDMF reader/writer: fixed a bug where unknown top level fields and blocks were not preserved. Fixes #627 2021-10-03 21:04:38 +02:00
biwa
b0cfc8ef26 Added an option to run commands before and after resources are reloaded, and before testing a map. This option can be accessed from the map options dialog. 2021-09-27 16:33:35 +02:00
Derek MacDonald
e75dc2c746
Draws vector arrow between Doom format line-to-line specials (#602) 2021-08-25 20:31:28 +02:00
Derek MacDonald
166e3281d2
Don't auto-add upper texture for lower adjacent sky sectors (#594) 2021-08-14 11:33:52 +02:00
biwa
9944748cbf Fixed a bug that could cause a crash when going over the maximum linedef limit 2021-07-16 17:56:55 +02:00
biwa
102e251fda Improved solution for issue #573 to not destroy the undo history when no player start is present 2021-06-03 12:02:51 +02:00
biwa
e980523843 Map options: removed checkbox for opening resources as read-only. Resources are now always opened as read-only. Fixes #559 2021-05-29 12:04:32 +02:00
biwa
d3205d4557 UDMF: ceiling plane equation fields are not rounded anymore 2021-05-28 18:56:50 +02:00
biwa
0d78a48bd5 Fixed a problem where linedefs were not split correctly under certain conditions when drawing or moving lines 2021-05-13 14:44:15 +02:00
biwa
ba497f1c45 Fixed some problems with determining which sector a thing is in 2021-04-10 11:31:36 +02:00
biwa
f1bf6a6803 Fixed a crash that happened when a thing isn't inside a sector. Fixes #548 2021-04-09 07:26:15 +02:00
biwa
6c8a3cb50b Visual Mode: things inside self-referencing sectors are now displayed at the correct height 2021-04-05 19:15:14 +02:00
biwa
b168570241 Added safeguard to MapSet.NearestLinedefRange if selectionmap is null. Might fix #529. 2021-02-20 13:11:03 +01:00
biwa
9f58a545f6 Fixed a crash that could happen when the blockmap was too small because of off-grid vertices 2020-12-13 14:03:53 +01:00
biwa
c5054c5449 Fixed a problem where duplicating 3D floors sometimes changed the slopes of adjacent 3D floors 2020-11-21 22:38:16 +01:00
biwa
c7b383595a MapSet.NearestLinedefRange using a blockmap now takes into account that the maxrange could be bigger than the blockmap block size 2020-11-15 13:59:04 +01:00
biwa
eab7de4f9e New map dialog: the "open map resources in read-only mode" option is now checked by default. This option is deprecated and will be removed entirely eventually 2020-11-01 11:57:53 +01:00
biwa
22f7e99803 Fixed a crash when switching into Sectors Mode when there are no vertices in the map, but things 2020-10-04 10:21:13 +02:00
biwa
9185a48445 Removed some more forced conversions to float 2020-06-22 16:37:32 +02:00
biwa
5ddbd73916 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 2020-06-21 12:52:36 +02:00
biwa
4a693a5a5d Vertices Mode: the preview vertex is now correctly shown on intersections between the closest line and the transformed grid 2020-06-15 00:41:22 +02:00
biwa
bdc6a23934 Fixed some more cases where UniValues were set to floats. Added throwing exceptions to the UniValue constructor (gasp!) 2020-05-23 10:01:52 +02:00
biwa
abb61f1f09 Possible fixed a crash in LinedefInfoPanel.SetPairedUDMFFieldsLabel 2020-05-23 01:37:14 +02:00
biwa
ab81b17554 More conversion from float to double. Doesn't seem to crash anymore. 2020-05-22 21:39:18 +02:00
biwa
91cbcde1eb It's compiling! 2020-05-21 14:20:02 +02:00
biwa
fb3c9e7168 Started conversion from float to double 2020-05-18 18:14:54 +02:00
biwa
f4e9556262 Significantly reduced video memory usage when pasting sectors. Should also significantly increase speed when pasting many sectors. Fixes #400. 2020-04-19 11:58:55 +02:00
ZZYZX
cbe8abbc9a Fixed: 3D mode linedefs were completely broken -- reverted 718405b580 2019-12-26 10:08:11 +02:00
Magnus Norddahl
9d5f8ec7c1 Rewrite VisualBlockMap to use a quad tree 2019-12-26 00:39:15 +01:00
Magnus Norddahl
718405b580 Remove the remaining dictionary lookups when culling 2019-12-25 18:57:39 +01:00
Magnus Norddahl
11aa31452b Remove more dictionaries from the render loop 2019-12-21 05:43:16 +01:00
Magnus Norddahl
c8237b0e64 Speed up linedef processing by not relying on a hashmap 2019-12-20 05:12:39 +01:00
ZZYZX
f0aee1e174 Merge branch 'master' into slimgl_merge 2019-12-14 23:50:40 +02:00
biwa
b94dd31fdb - Fixed a bug where the wrong sectors and linedefs were highlighted in UDMF under certain conditions. Fixes #307. 2019-10-31 21:16:59 +01:00