Commit graph

27 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
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
sphere
095aa9bb68 GZDB merging - part 1 2022-11-25 17:14:35 +00:00
sphere
f4ff4ad1d5 Take inaccessible waypoints into account when drawing waypoint sequences. 2021-08-29 23:42:19 +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
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
f63c2f7665 Merged in GZDB r2470. 2016-01-23 03:15:37 +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