Commit graph

247 commits

Author SHA1 Message Date
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
biwa
67a6818632 - UDMF vertex heights are now preserved in a more sensible way when joining vertices. Fixes #299. 2019-09-20 23:14:53 +02:00
Xabis
399e527b5c Support for RenderRadius (PR#297 by Xabis) 2019-09-05 13:37:31 +03:00
Magnus Norddahl
c665bfca86 - remove SlimDX namespace 2019-08-08 18:24:33 +02:00
volte
a1d28e1e56 Grid rotation and alignment functionality (PR#252 by Volte) 2019-01-14 20:07:08 +02:00
ZZYZX
5344700f77 Added UDMF desaturation preview in classic modes 2018-04-10 20:54:57 +03:00
ZZYZX
9742a9f7bb Added UDMF desaturation preview in visual modes 2018-04-10 19:41:44 +03:00
ZZYZX
995e23f290 Enabled parsing of NaN in UDMF so that the existing buggy maps load; made it throw exceptions when a NaN vertex is added to the map 2018-03-25 01:40:31 +02:00
ZZYZX
d8bee559dc Did some maxcode refactoring about dynamic lights; added initial spotlight support (at least they are recognized as lights now) 2018-02-03 22:31:43 +02:00
ZZYZX
7603e5fa30 Fixed: INHERITACTORPITCH was actually changed along with USEACTORPITCH...doesn't really make sense compatibility-wise but there it is. (reported by alekv) 2017-05-29 06:38:11 +03:00
ZZYZX
d9d8c352a0 Fixed: pitch formula was duplicated and not changed in one of the places. (reported by Ozymandias81) 2017-05-10 22:53:30 +03:00
ZZYZX
0e43985f65 Fixed: flipped +USEACTORPITCH direction for recent GZDoom versions; this can be reverted by putting "buggymodeldefpitch = true;" in the game configuration for your specific projects if they are using old GZDoom versions. Note: already added for Zandronum. 2017-05-10 06:13:33 +03:00
ZZYZX
983dea1b8a Fixed: all the old magic in SafeDistanceToSq is now only working for non-UDMF maps 2017-04-04 14:06:08 +03:00
ZZYZX
8dbe5f7a7b Fixed: Visplane Explorer depended on the old behavior of SafeDistanceToSq. (reported by riderr3) 2017-04-04 14:04:29 +03:00
ZZYZX
a2c9de393e Fixed: changing flat names around is wrong... (reported by Lud) 2017-04-03 20:40:51 +03:00
ZZYZX
aff6998dbd Fixed: reduced magic in Linedef.SafeDistanceToSq - fixes line/sector selection with 0.125mp grid (reported by camaxide) 2017-03-25 04:15:50 +02:00
ZZYZX
4b1a31c3ca Fixed: duration 0 frames should be skipped if there are nonzero frames after them (reported by Tormentor667, Ozymandias81). Fixed crash if some actor had a modeldef entry but doesn't anymore. 2017-03-04 02:13:39 +02:00
ZZYZX
748fe9e2e5 Fixed: inheritance from game configuration for dynamic lights; Fixed: visual representation of inherited lights (reported by Nash); Fixed: inherited thing arguments from game configuration; Added: //$ClearArgs for clearing inherited arguments. 2017-03-02 00:21:08 +02:00
ZZYZX
0ec1824253 Fixed: SplitLinesByVertices could leave disposed lines for iteration, which resulted in crashes on certain geometry while using 'Replace with Dragged Geometry'. 2017-02-20 09:13:35 +02:00
ZZYZX
e2fa70cd0f Internal: Oops: removed debug logging 2017-02-20 08:21:56 +02:00
ZZYZX
dba7088681 Internal: threw out a lot of unoptimized code in TraceSector. Now using Tools.FindPotentialSectorAt. 2017-02-20 08:14:07 +02:00
ZZYZX
09b8c27dab Merge anotak's optimizations - stage 1 2017-02-08 14:18:01 +02:00
ZZYZX
ebd7fb1a57 Upgrade to VS2015 (14.0) 2017-01-15 00:35:40 +02:00
MaxED
cd854779e8 Fixed, Classic modes, UDMF: grid size didn't go below 1 mu. when zooming in when "Dynamic grid size" option was enabled.
Internal: restored GridSetup DB2 compatibility.
Updated ZDoom_ACS.cfg (SetFogDensity, SetSectorGlow).
2017-01-06 13:01:59 +03:00
MaxED
be7ba0a05d Added: minimum grid size is now 0.125 instead of 1. 2016-12-27 16:59:20 +03:00