Commit graph

44 commits

Author SHA1 Message Date
MaxED
693f241202 Classic modes: further text label rendering optimization.
MODELDEF parser: rewrote most of the parser logic. Now it picks actor model(s) based on Frame / FrameName properties.
2023-01-04 17:22:25 +01:00
MaxED
187653bfa9 Sectors, Linedefs, Things modes: optimized text label rendering.
Fixed, Things mode: in some cases selection labels were not updated after editing a thing.
Fixed, Things mode: selection labels were positioned incorrectly on things with FixedSize setting.
Fixed, Sectors mode: fixed a crash when selecting self-referencing sector when selection labels were enabled.
Fixed, Visual mode: in some cases Auto-align texture actions were not working when "use long texture names" Map Options setting was enabled.
Fixed, MD2/MD3 loader: available animation frames upper bound check was performed incorrectly, which would cause a crash in some very special cases.
Fixed, Game configurations: most Hexen/ZDoom teleport actions use TeleportDests as teleport targets, not MapSpots.
2023-01-04 17:16:18 +01:00
MaxED
4c7aae544b Added, Linedefs mode, Things mode: selection numbers can now be displayed and can be toggled using the "View Selection Numbering" mode toolbar button.
Added, Linedefs mode, Things mode: sector tags can now be displayed and can be toggled using the "View Sector Tags" mode toolbar button.
Fixed, Classic modes, DB2 bug: in some cases text label size was queried before it was calculated, resulting in text labels being rendered when they shouldn't.
Updated ZDoom_DECORATE.cfg (A_LogFloat).
2023-01-04 17:12:17 +01:00
MaxED
c51ad81208 Added, Game configurations: added "targetclasses" argument property. Can be used with argument type 14 (Thing Tag). When set, only things of given classes will be shown in the argument dropdown list in Edit Things window.
Changed, Classic modes: when "Fixed Things Scale" option is enabled, things will now switch to fixed size rendering mode when their visible size is less than 48 pixels.
Changed, Classic modes: changed the fixed size of things with FixedSize setting to 28 pixels.
Updated documentation ("targetclasses" argument property).
2023-01-04 17:09:21 +01:00
MaxED
1d78786bcf Fixed, Classic modes: thing sprite should always be rendered when it's size is affected by "Fixed Things Scale" option or FixedSize setting.
MAPINFO parser: removed a misleading warning.
2023-01-04 17:02:31 +01:00
MaxED
56dcbfc6cc Added text label font settings (Preferences -> Interface tab).
Rearranged some settings in the Preferences window.
2023-01-04 16:57:38 +01:00
MaxED
803a37f4a4 Changed, Texture Browser window: "All" textures group is now saved/reselected like the rest of the texture groups when closing/opening the window.
Changed, Classic modes: bigger Thing arrows are now rendered when thing sprite rendering is skipped.
Changed, Classic modes: when "Fixed Things Scale" option is enabled, thing size stays at 2x scale instead of 1x when extra bounding box is rendered.
Added Preferences -> Appearance -> "Things transparency (Things mode)" slider.
Renamed Preferences -> Appearance -> "Things transparency" to "Things transparency (other modes)".
Externalized thing bounding box and arrow texture, used to render things in Classic modes (Textures/ThingTexture2D.png).
Updated ZDoom_DECORATE.cfg (A_SetUserVarFloat, A_SetUserArrayFloat).
2023-01-04 16:35:40 +01:00
spherallic
a6383ccb41 text fixes 2023-01-04 15:55:08 +01:00
MaxED
1e88de5eba Classic modes: rewritten and optimized some parts of text label rendering logic.
Internal, API: TextLabels can now display multi-line text, their font can be changed, they can have a background.
2023-01-04 15:54:20 +01:00
MaxED
d09000dc71 Added Preferences -> Appearance -> "Things transparency" slider. It controls Things transparency in all classic modes except Things mode.
Added Preferences -> Appearance -> "Hidden Things transparency" slider. It controls transparency of Things hidden by Things filter in Things mode, of all things :)
2023-01-04 15:48:07 +01:00
MaxED
5fe6c91ffc Changed, Visual mode: adjusted fog density calculation to better match with GZDoom.
Fixed, Visual mode: alpha-based texture picking didn't work correctly on HiRes images.
Fixed, Visual mode: fog density was calculated incorrectly for things lit by dynamic lights.
Fixed, Edit Sector window, UDMF: "Fade" and "Light" color pickers initial values were incorrect when displaying mixed values.
Fixed, Edit Thing window, UDMF: "Color" color picker initial value was incorrect when displaying mixed values.
2023-01-04 14:24:06 +01:00
MaxED
75f0f91a88 Internal: removed some duplicate casts, marked some classes is IDisposable, some streams were disposed more than once. 2023-01-04 14:04:43 +01:00
MaxED
f37fc2c662 Added, Tag Explorer plugin, UDMF: added multiple tags support.
Changed, cosmetic: elapsed time is now displayed after resources loading finishes.
Changed, internal: changed Clock.CurrentTime type to long.
Fixed, Tag Statistics window: in some cases the map view was not updated after selecting items in Sectors/Linedefs/Things columns.
Fixed, cosmetic: Draw Curve mode icon was missing a shadow.
2023-01-04 13:15:34 +01:00
sphere
095aa9bb68 GZDB merging - part 1 2022-11-25 17:14:35 +00:00
sphere
9745e802dc Merge branch 'blentran-support' into 'master'
Blentran support

See merge request STJr/ZoneBuilder!6
2022-01-11 22:17:10 +00:00
sphere
e1ee0bd138 Reverse subtractive and reverse subtractive. 2021-11-19 18:56:55 +01:00
sphere
f4ff4ad1d5 Take inaccessible waypoints into account when drawing waypoint sequences. 2021-08-29 23:42:19 +02:00
sphere
f4a771553b Add support for most new blendmodes. 2021-06-17 11:05:08 +02:00
sphere
607b09d076 Fix the very last zoom tube waypoint line not being drawn. 2021-03-01 16:20:33 +01:00
sphere
0cf3e0a29c Adjust duplicate waypoint indicators and remove redundant casts. 2021-02-26 16:31:09 +01:00
sphere
469f56e6fc Add labels for zoom tube waypoint sequence IDs and an indicator for duplicate waypoints. 2021-02-26 13:04:24 +01:00
sphere
16880b3527 Display (zoom tube) waypoint sequences in classic (2D) modes, like NiGHTS paths, and move their display settings to the Appearance tab. 2021-02-21 20:39:42 +01:00
MascaraSnake
0fbc680143 Added an option to draw Things at a fixed size in 2D view 2018-01-12 18:53:37 +01:00
MascaraSnake
1d05f96637 Added an option to disable the crosshair in 2D mode 2017-10-01 10:36:47 +02:00
MascaraSnake
2dba78a3d2 Merged in GZDB r2499. 2016-04-07 22:54:11 +02:00
MascaraSnake
3e0adfbc4e Merged in GZDB r2498. 2016-04-07 22:03:23 +02:00
MascaraSnake
264a883e47 Merged in GZDB r2496. 2016-04-07 16:27:49 +02:00
MascaraSnake
f03de4a27a Merged in GZDB r2493. 2016-04-07 15:29:47 +02:00
MascaraSnake
0c1ab582a7 Added support for SRB2's Thing type "parameter" property. 2016-02-29 11:41:17 +01:00
MascaraSnake
4952d9120a Merged in GZDB r2491 2016-01-30 00:57:06 +01:00
MascaraSnake
7f08137025 Merged in GZDB r2490 2016-01-30 00:44:51 +01:00
MascaraSnake
e7ad3d4bb2 Merged in GZDB r2488 2016-01-30 00:04:41 +01:00
MascaraSnake
c4085096a1 Merged in GZDB r2485 2016-01-26 13:10:30 +01:00
MascaraSnake
a45b2124d0 Merged in GZDB r2483. 2016-01-25 16:50:03 +01:00
MascaraSnake
f63c2f7665 Merged in GZDB r2470. 2016-01-23 03:15:37 +01:00
MascaraSnake
04abc827f7 Merged in GZDB r2465. 2016-01-23 01:30:20 +01:00
MascaraSnake
e81c8d6acc Added multimare support 2016-01-12 22:07:23 +01:00
MascaraSnake
4e043b510f Made the precision with which the NiGHTS circles are drawn configurable 2016-01-12 10:54:23 +01:00
MascaraSnake
32f3fbbd70 Made NiGHTS path color configurable 2016-01-12 01:05:42 +01:00
MascaraSnake
652ff5aaf3 Render all lines in one pass 2016-01-12 00:35:42 +01:00
MascaraSnake
4611851122 Added capability for rendering the NiGHTS path 2016-01-12 00:26:00 +01:00
MascaraSnake
368d0ce1bd Added option to extend the crosshair in classic modes to the map boundaries 2016-01-11 20:33:37 +01:00
MascaraSnake
29f05db92d Added support for SRB2's 3D floors and slopes, as well as SRB2's method of storing the Z positions of Things 2015-12-31 16:46:40 +01:00
MascaraSnake
e971586805 Added GZDB repo at r2462 and updated project file to VS2015. 2015-12-31 13:21:44 +01:00