biwa
82f019b8bd
Fixed a potential crash when undoing while having slope handle picking enabled
2020-05-30 16:41:05 +02:00
biwa
c164139d5e
Fixed some more places where values given to new UniValue were cast to float instead of double
2020-05-26 18:49:42 +02:00
biwa
342ea4f518
Trying to fix jittery camera when being really far away from the map origin (didn't fix it yet)
2020-05-23 10:37:42 +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
9338d1221f
Removed lots of unnecessary casts to float of the Math methods. Also removed some other minor implicit casts
2020-05-22 22:30:32 +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
f0bfc74702
Decoupled plane equation slopes from sector heights. This means that changing sector heights will not change those slopes (use the offset box in the "slope" tab of the Edit Sector Dialog instead)
2020-05-16 10:40:24 +02:00
biwa
594fe0403d
Removed DebugConsole functionality in non-debug builds
2020-04-26 00:58:42 +02:00
biwa
ac73ca7422
Fixed a crash that would happen when the line slope things (9500/9501) are used but the linedef they are tagged to doesn't have a front sidedef. Fixes #398 .
2020-04-10 12:11:42 +02:00
biwa
ff5cea7ba3
Fixed rare potential crash when raising/lowering floors/ceiling to the closed neighbor
2020-04-07 21:18:07 +02:00
biwa
560d4a5828
When auto-aligning textures on floors/ceilings they can be scaled independently on slope type
...
Added option to select behavior (Tools -> Preferences -> Editing) of scaling when auto-aligning textures on floors/ceilings (use base scale of 1 (default), use current scale as base, never scale)
2020-04-04 18:03:40 +02:00
biwa
a3ce81dc2b
Merge branch 'master' into visual-slope2
2020-04-04 13:12:20 +02:00
biwa
ef4c763879
Fixed display and auto-align issues when using hires texture replacements with local scaling
2020-04-02 22:46:40 +02:00
biwa
3f4a0a0e23
Aligning textures on the X axis now works correctly with negative scale values when world panning is not enabled.
2020-03-29 12:49:05 +02:00
biwa
91e0f8d56c
Fixes for raisesectortonearest and lowersectortonearest action when used on slope handles to account for float rounding errors
2020-03-21 01:19:04 +01:00
biwa
f5baa09684
The raisesectortonearest and lowersectortonearest now work with visual slope handles
2020-03-19 16:16:08 +01:00
biwa
7b0adadbfb
Merge branch 'master' into visual-slope2
2020-03-17 22:10:04 +01:00
biwa
e798450abd
The sloping between handles action is now a bit more convenient and tries to figure out what the user wants to do even if not exactly two slope handles are selected.
2020-02-24 13:57:26 +01:00
biwa
afef349220
- Slope handles are not shown anymore when showing selection is disabled
...
- Smart pivot handles are now shown for the highlighted slope handle
2020-02-24 12:54:59 +01:00
biwa
37e8154556
- Some refactoring
...
- Added action to slope selected floors/ceilings between selected slope handles (default key: Ctrl-F)
- Added Shift-W as default key to toggle visual slope picking
2020-02-23 12:44:59 +01:00
biwa
915d83c92a
- If geometry is selected and the geometry the modified slope handle belongs to is not selected it will now also be modified
...
- Made the slope handles hover closer to the geometry
2020-02-23 11:17:14 +01:00
biwa
631ccc12af
Slope handles can now be set as pivot while other surfaces are selected
2020-02-23 00:48:47 +01:00
biwa
9c3d8d46ba
It's not possible to have a slope handle be selected and set as pivot at the same time
2020-02-23 00:09:57 +01:00
biwa
1b79d9f6c4
Improved drawing length of slope handles on sloped lines (still too short, possibly because of aspect ratio correction?)
2020-02-19 23:03:32 +01:00
biwa
50a73b6af2
Pivot handles can now be set with the normal action to edit objects (no additional hotkey needed)
2020-02-19 22:43:41 +01:00
biwa
e4644b7cab
The slope handle closes to the mouse cursor will now always be picked (no minimum distance required anymore)
2020-02-19 22:14:29 +01:00
biwa
21c8379904
Added action to toggle between picking slope handles or other map elements
2020-02-19 21:59:42 +01:00
biwa
7154dec8c7
Code cleanup, added some comments
2020-02-16 22:07:20 +01:00
biwa
ff1ea95d86
Drawing visual slope handles is (mostly) working now
...
Also fixed some cases where slopes were applied incorrectly
2020-02-16 20:51:16 +01:00
biwa
d9cfc04e2e
More trying to get it to work...
2020-01-18 21:10:21 +01:00
Magnus Norddahl
fc7093b959
Load images when they accessed
...
Load previews when they are accessed
2020-01-12 23:10:57 +01:00
Magnus Norddahl
0abaeaf758
Replace GetBitmap with more descriptive functions and move the alpha test inside ImageData
2020-01-12 19:37:27 +01:00
biwa
2c9235e4ea
Trying to figure out matrix black magic
2020-01-07 21:27:37 +01:00
biwa
8aee7fc550
Merge branch 'master' of https://github.com/jewalky/UltimateDoomBuilder into visual-slope2
2020-01-04 22:15:13 +01:00
biwa
0efb786a97
Slopes in 3D floors work again
2020-01-03 01:11:23 +01:00
biwa
7e84883125
Some cleanups
2020-01-02 20:32:37 +01:00
biwa
e4e05542ec
Fixed a problem where negative Y scales of sidedefs would result in a wrong offset when auto-aligning
2020-01-02 01:32:55 +01:00
biwa
55135f2982
- Handles on floor are shown
...
- Fixed a problem where the wrong plane was assigned to ceiling surfaces
2020-01-01 21:47:33 +01:00
biwa
4bfbe567c1
Merge branch 'master' of https://github.com/jewalky/UltimateDoomBuilder into visual-slope2
2019-12-31 23:46:56 +01:00
Magnus Norddahl
a18e165d99
Fix geometry constantly being rebuilt in some situations
2019-12-31 03:44:36 +01:00
biwa
ba713f7a25
Ported visual sloping to UDB
2019-12-31 00:08:17 +01:00
Magnus Norddahl
03e50615f6
Remove explicit image unloading and fix previews
2019-12-29 22:59:57 +01:00
ZZYZX
58d2d67e77
Do not try to continuously reload failed textures
2019-12-29 14:25:53 +02:00
biwa
0ebba7bdb9
Fixed a bug where flats on a 3D floor could not be auto-aligned (auto-aligning the flats of the tagged sector instead). Fixes #338 .
2019-12-27 18:49:12 +01:00
biwa
9b256efdbb
Fixed an issue where selected objects were unnecessarily cleared in visual mode, resulting in slowdowns. Partly addresses #337 .
2019-12-27 17:00:13 +01: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
biwa
ceb4555d6c
- Fixed a crash when undoing 3D floor plugin actions while being in visual mode. Fixes #309 .
2019-11-01 17:23:41 +01:00
biwa
560d23894d
- Auto-aligning textures now produces more intuitive results and is consistent between UDMF and non-UDMF maps
2019-10-19 00:29:14 +02:00
biwa
c255a6e957
- Fixed several issues where slopes were not shown correctly in visual mode
2019-10-06 21:56:55 +02:00
biwa
6aa82e2ad9
- Slope effects related to slope things are now displayed more correctly in visual mode (they were not applied at all). Fixes #160
...
- Slope effects of UDMF vertex heights are now displayed more correctly in visual mode (they could be overwritten by lower tier slopes)
2019-09-21 14:03:30 +02:00
biwa
2516b97cee
- Added option to enable additive paint selecting without holding shift independently from regular additive selecting
2019-06-20 15:38:41 +02:00
biwa
a2567e4df5
- Textures will now wrap correctly in visual mode when the flag of the Line_SetIdentification special is set in Hexen format. Fixes #271
2019-06-18 21:20:14 +02:00
biwa
f2a343e118
- Added support for the ForceWorldPanning MAPINFO option. Fixes #258
...
- Improved support for auto aligning scaled textures
2019-04-14 18:24:37 +02:00
biwa
3d156a3be8
3D floors are now updated in real time in visual mode when their control sector is sloped through the line slope action. Fixes #250 .
2019-03-27 21:47:47 +01:00
biwa
eaebf7ec1a
Added paint selecting to visual mode (PR#248 by biwa)
2019-01-19 09:56:13 +02:00
JakeSmokie
6768bc7f37
Added sector raise/lower by 128mp (PR #215 by JakeSmokie)
2018-06-07 11:32:36 +03:00
ZZYZX
9742a9f7bb
Added UDMF desaturation preview in visual modes
2018-04-10 19:41:44 +03:00
ZZYZX
8375ece252
Fixed collection modification inside foreach. (reported by Lud)
2018-01-22 13:20:12 +02:00
ZZYZX
b8e68083c0
Fixed: BaseVisualMode object was used before fully initialized (reported by Martix10)
2017-08-24 16:24:42 +03:00
biwa
131c51d7d2
Added improvements to the "Fit Texture" action: ( #124 ) (by biwa)
...
- Dialog can't be resized anymore
- Dialog can be canceled by pressing the escape key
- Changed input boxes to the appropriate GZDB version, so steps and modifier key work correctly
- Added checkboxes to automatically fit the textures optimally based on the width/height of the line(s) in respect to the width/height of the texture
- Added input boxes to manually set a width/height pattern size of the texture that will be used when automatically fitting textures
2017-07-18 14:56:27 +03:00
ZZYZX
04324cd140
Fixed (?) cross-thread bitmap usage. (reported by Xane123)
2017-05-09 06:06:21 +03:00
ZZYZX
10aa7e9493
Fixed translucent sprites. Added visual stencil color preview. (reported by Lud)
2017-03-25 05:19:42 +02:00
ZZYZX
480a11529c
Fixed: 3D floor with translucent texture but 255 alpha was rendered opaque.
2017-03-19 18:19:14 +02:00
ZZYZX
dceeed6bee
Fixed: removing a thing should also remove it from the visible things list. (reported by DOOMGABR)
2017-03-13 03:26:50 +02:00
ZZYZX
35f8c5e10e
Fixed: cutting a thing in visual mode would leave disposed BaseVisualThings in the selection. (reported by DOOMGABR)
2017-03-13 03:10:07 +02:00
ZZYZX
717e48edbb
Fixed: for scaled walls, texture offsets should not be scaled (reported by Tormentor667)
2017-03-07 03:06:15 +02:00
ZZYZX
d47dd9a533
Fixed: slightly incorrect texture name offsets in classic view in the texture browser
2017-02-09 15:45:50 +02:00
ZZYZX
fbbfaad579
Fixed: changing brightness of upper/lower/middle sidedef did not update the whole sidedef brightness until 3D mode restart
2017-02-09 15:20:39 +02:00
ZZYZX
7e502a1fa2
Fixed: color_absolute is not actually in GZDoom
2017-02-02 07:34:29 +02:00
ZZYZX
cb8473fa09
Added: 3D floor should be affected by control sector's color_floor and color_ceiling.
2017-02-01 20:16:42 +02:00
ZZYZX
469942d263
Fixed: glow should apply before Doom64 coloring
2017-02-01 09:57:00 +02:00
ZZYZX
42c2fc2044
Added: rendering of Doom64 lighting
2017-02-01 09:48:13 +02:00
ZZYZX
1cd255fb4e
Fixed: autoaligning and limited floodfill didn't work for selection.
2017-01-29 04:56:17 +02:00
ZZYZX
f4947a20be
Added: more magic to the autoalign/select neighbours logic; These functions should not anymore wrap around to the opposite side of two-sided linedefs, allowing you to select back and front sides separately using shift+click, and reducing infinite broken autoalign loops.
2017-01-26 15:33:07 +02:00
ZZYZX
ebd7fb1a57
Upgrade to VS2015 (14.0)
2017-01-15 00:35:40 +02:00
m-x-d
2b24ce3c25
Updated, Textures Browser: texture name length is now taken into account when calculating the width of texture items.
...
Internal: moved thing helper shapes creation logic from ThingsMode to LinksCollector.
2017-01-09 01:04:55 +03: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
a7d2417844
Visual mode, UDMF: added rendering support for fogdensity and floor/ceiling glow properties.
...
Internal, build tools: use origin/master to get commits count and current hash instead of local master.
2017-01-04 16:28:36 +03:00
MaxED
be7ba0a05d
Added: minimum grid size is now 0.125 instead of 1.
2016-12-27 16:59:20 +03:00
MaxED
a31c6b6652
Fixed, Script Editor: resources navigator was always loading the first WAD lump with matching name when trying to open any of several WAD lumps with matching names.
...
Reverted, Visual mode: looks like all additional cases of displaying sky hack added in r2755 were actually undefined engine behaviors, not the "proper" shy hack... Reverted implementation to the wiki definition of the sky hack.
2016-11-30 20:12:32 +00:00
MaxED
1523d06ee3
Updated, Visual mode: some cases when the sky hack must be applied were not handled.
...
Updated, Script editor: script editor was unable to show error location after double-clicking on it in the Warnings and Errors window when said location was inside of a WAD located in a PK3 file.
Updated, text lumps tracking: already parsed DECORATE/GLDEFS lumps are now added to the text lumps list even when DECORATE/GLDEFS parsing fails, allowing you to fix errors without the need to use external tools.
Fixed: in some cases the editor could stuck in an infinite loop when searching for wad lumps.
2016-11-28 20:01:47 +00:00
MaxED
787b78afcf
Fixed, Visual mode, UDMF: "lightfloor" sector property was not applied when calculating thing brightness.
...
Fixed, Directional Shading mode: "lightabsolute" / "lightfloorabsolute" properties were checked incorrectly.
2016-11-17 00:17:34 +00:00
MaxED
437fe9ce86
Updated, GLDEFS parser: updated glowing texture parsing logic to better match GZDoom logic.
...
Removed, GLDEFS parser: removed GLOOME glow definitions support code.
2016-11-09 10:07:21 +00:00
MaxED
9908e41197
Added, Game configurations: added "ignoreddirectories" parameter. It lists directory names to be ignored when loading PK3/PK7/Directory resources.
...
Added, Game configurations: added "ignoredextensions" parameter. It lists file extensions to be ignored when loading PK3/PK7/Directory resources.
Updated: sector triangulation logic now works ~20% faster.
Changed: a case when a pk3/pk7 archive contains several entries with identical filename is now treated as a warning, not as an error.
Fixed, Visual mode: absolute floor/ceiling brightness should not be affected by brightness transfer effects (like 3d floors).
Fixed, Draw Lines mode: in some cases unclosed sectors were created when several points were successively drawn at the same location.
Updated documentation.
2016-10-24 19:19:11 +00:00
MaxED
70d35bf1d6
Added, Edit Sectors window: added UI for floor/ceiling portals.
...
Updated ZDoom_DECORATE.cfg.
Updated documentation ("Game Configuration - Sectors Settings" page).
2016-10-11 12:58:35 +00:00
MaxED
53a317c0dd
Updated, Visual mode: updated FLATSPRITE support to match the current GZDoom implementation.
...
Fixed, Visual mode: things in sectors affected by line slope effect were not updated when sector height was indirectly changed.
Game configurations: added "internalsoundnames" property.
Updated documentation ("Game Configuration - Basic Settings" page).
2016-10-04 09:53:38 +00:00
MaxED
7e622fa26d
Fixed, Visual mode, UDMF: only the clicked floor/ceiling surface was dynamically updated when changing texture offsets of multiple floors/ceilings by mouse-dragging.
2016-09-08 19:28:47 +00:00
MaxED
c9f125aade
Added Rendering toolbar items to the View menu.
...
Merged "Toggle models, dynamic lights and fog rendering" and "Toggle Geometry Effects" actions into "Toggle Enhanced Rendering Effects" action.
Removed "Dynamic light size" and "Dynamic light intensity" settings.
Updated documentation ("Rendering toolbar" page).
2016-09-07 15:15:07 +00:00
MaxED
8333cab783
Fixed, Visual mode: in some cases mouse cursor movement was not clipped to the render area when focusing the editor after Alt-Tabbing from the Visual mode.
...
Addressed, Line drawing: in some cases extra vertices were created when drawing lines on top of nearly parallel non-cardinal lines.
2016-09-06 19:14:49 +00:00
MaxED
6faa88f981
Updated, Visual mode, UDMF: "Change Texture Scale" actions now take camera and texture angles into account when used on floors/ceilings.
...
Changed: "+++" and "---" prefixes are now incremented on the first step instead of the second when used in any numeric inputs, which support prefixes, except action arguments.
Fixed, Visual mode, UDMF: texture offset/scale/rotation changes were applied several times when used on several 3d-floor floors/ceilings linked to the same control sector, when using "Move Texture Offsets" / "Change Texture Scale" / "Rotate Texture CW/CCW" actions.
Updated ZDoom ACC (DamageActor).
Updated ZDoom_ACS.cfg (DamageActor).
2016-09-06 12:05:47 +00:00
MaxED
5baa770d24
Added "localsidedeftextureoffsets" Game configuration setting. When set to true, enables in-editor support for individual offsets of upper/middle/lower sidedef textures. Affects UDMF map format only. - based on diff patch by Altazimuth.
2016-09-05 18:36:22 +00:00
MaxED
f9b5597951
Fixed several cases when certain texture manipulation-related actions caused a crash when performed on not-yet-loaded textures.
2016-09-02 19:18:37 +00:00
MaxED
ea57d45eb3
Added: action argument inputs now support incremental increase/decrease prefixes (+++ and ---).
...
Probably fixed probable I/O race condition when loading images.
Fixed Visual mode stuttering due to floating point precision degradation when running the editor for several days without restarting (internal timer is now reset when saving the map or creating a new one).
Fixed, Nodes Viewer, cosmetic: Nodes Viewer window position was reset after pressing the "Rebuild Nodes" button.
Added Eternity Game configurations by printz.
Updated ZDoom_ACS.cfg (CheckClass).
Updated ZDoom ACC (CheckClass).
2016-08-29 10:06:16 +00:00
MaxED
2ea72437be
Added, Visual mode: added support for "Change Floor Brightness to this Brightness" and "Change Ceiling Brightness to this Brightness" Boom actions.
...
Changed, Sectors mode: "Flip Linedefs" and "Align Linedefs" actions will no longer flip single-sided linedefs with only front side.
Fixed, Script Editor: fixed a crash when trying to update script navigator combo box when switching to a never saved ACS script.
2016-07-20 19:17:31 +00:00
MaxED
3a77e6bc93
Fixed, Visual mode: "Transfer Floor/Ceiling Brightness" actions were resetting sector color on target surfaces.
...
Updated ZDoom_DECORATE.cfg.
2016-07-19 19:47:36 +00:00
MaxED
13068b1137
Added, Visual mode: added support for ROLLCENTER sprite rendering flag, updated ROLLSPRITE implementation.
...
Fixed, DECORATE support: the editor was unable to determine actor sprite when the actor itself had no sprites defined and the actor it inherited from was only defined in the game configuration.
Fixed, Drag geometry modes: linedefs without both sides were removed after dragging them when "Replace with Dragged Geometry" mode was active.
Updated ZDoom_DECORATE.cfg.
2016-07-13 21:53:48 +00:00