biwa
54b99ee710
Added missing source file for placeholder tool strip text box
2021-12-14 18:19:47 +01:00
biwa
a5df323717
Added option to enter additional parameters when testing a map. Resolves #646
2021-12-14 18:15:23 +01:00
biwa
9f85f70deb
When choosing a difficulty or engine in the test toolbar button the engine will not be launched immediately. This can be reverted in the preferences. Resolves #626
2021-12-11 12:43:33 +01:00
biwa
a75249b315
ACS parser: fixed problem when trying to include files that contain invalid characters. Fixes #664
2021-12-11 11:27:29 +01:00
biwa
6cad9218f0
Script editor: Reverted to an old version of ScriptEditorPanel
2021-12-10 18:18:25 +01:00
biwa
a69141c3d0
Script editor: made the fix for #663 a bit cleaner
2021-12-10 18:13:16 +01:00
biwa
0945875bd6
Script editor: fixed a crash when opening the script editor. Fixes #663
2021-12-10 17:58:03 +01:00
biwa
d68f41a2a3
IPK3 and IPK7 with an IWADINFO lump with a single IWAD definition are now recognized as the main resource file (used for the -iwad parameter when testing). Fixes #653
2021-12-10 11:10:42 +01:00
biwa
8157c0a6bd
ZScript: user variables of parent actors were not displayed in the custom tab of the thing editing dialog. Fixes #649
2021-11-29 00:35:57 +01:00
biwa
686cebd64d
DeHackEd: fixed a problem where only the last DEHACKED lump was parsed. Fixes #657
2021-11-28 18:20:46 +01:00
biwa
a9284f0cc6
Fixed a problem where DeHackEd lumps failed to parse when their header wasn't at the beginning of the file. Fixes #647
2021-11-28 18:02:35 +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
b8892f7edb
ZScript parser: fixed a bug where trying to parse the undocumented alternative array declaration syntax failed. Fixes #645
2021-10-26 23:50:34 +02: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
161e5ed5b5
ZScript parser: fixed a bug where included files where parsed when the #include directive was encountered, and not after the rest of the file was parsed. Fixes #641
2021-10-23 20:02:40 +02:00
biwa
c2e7ac9b6b
Script editor: added support for the //$Skip editor in scripts. Adding this line will not add the next script to the drop down list of available scripts for the ACS actions in the thing and linedef editor dialogs. Resolves #636
2021-10-15 23:38:52 +02:00
biwa
8f70ab66f2
ZScript: fixed a problem where whitespace between a state label and the colon resulted in a parsing error. Fixes #631
2021-10-11 21:34:26 +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
ff96a669e0
Fixed a problem where floating point numbers for actor radius and height were not interpreted correctly. Fixes #623
2021-09-28 17:36:16 +02:00
biwa
ef18385ee7
Fixed a problem in the UDMF parser that could cause data loss. Fixes #622
2021-09-28 16:02:46 +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
biwa
0039945086
Eternity Engine game configuration: it's again possible to set the floor and ceiling brightness independently from the sector brightness
2021-09-13 21:19:48 +02:00
biwa
05939279dc
Dehacked: fixed a crash when loading data from a directory that didn't contain a Dehacked patch
2021-09-11 22:47:52 +02:00
biwa
fca82f5c91
Dehacked: added support for editor keys
...
Dehacked: Dehacked files are now properly loaded from directories
2021-09-11 22:11:07 +02:00
Derek MacDonald
4b1e5d8e22
Avoid infinite recursion in script editor's Find/Replace All ( #615 )
2021-09-11 12:30:08 +02:00
biwa
0b70b08bd8
Fixed some compiler warnings
2021-09-06 23:43:30 +02:00
biwa
21471a45f9
Dehacked: fixed warning about unsupported patch version 19
2021-09-06 23:27:07 +02:00
biwa
da52f71154
Game configurations: added option to enable/disable GZDoom style distinct brightness for walls/ceilings/floors. Fixes #618
2021-09-06 23:05:58 +02:00
biwa
d766f27e75
Fixed a bug with generalized options introduced in ea37ed1
2021-09-05 16:42:27 +02:00
biwa
e362df1d98
Added DeHackEd support ( #617 )
2021-09-05 14:59:31 +02:00
biwa
dd7d109e2b
Sectors Mode, Linedefs Mode, 3D Floor Mode, Grid Setup: fixed a problem where textures were not shown in Windows's high contrast mode. Fixes #612
2021-09-04 12:21:17 +02:00
biwa
ea37ed18fc
Fixed a problem where generalized effects could output a warning if they are made up of multiple bits (like in the MBF21 generalized sector effects)
2021-09-04 09:12:16 +02:00
biwa
2abd39fa97
Texture Browser: fixed a problem where cycling through the width and height jumped to 196 instead of 192. Fixes #613
2021-09-04 08:58:00 +02:00
Derek MacDonald
d7a4e2bf8b
Missing/Unused Textures checks cover floor to lowest, next higher & highest ( #608 )
2021-09-03 18:31:36 +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
edfd1fcae8
Cursor position playtest: stop always marking map changed ( #605 )
2021-08-25 19:28:20 +02:00
Derek MacDonald
f652678f35
Cursor position playtest: Fix spawning sector height check ( #604 )
2021-08-25 19:25:03 +02:00
biwa
c047998501
Classic modes: fixed a problem where "test from cursor position" wasn't working correctly when there was no player 1 start in the map and the last edited thing had its argument 0 set. Fixes #603
2021-08-24 21:33:57 +02:00
biwa
45dc796dca
ZScript: added support for extending classes. Resolves #597
2021-08-21 20:42:06 +02:00
Derek MacDonald
be84f19da1
Add player view height dropdown to Visplane Explorer plugin UI ( #600 )
2021-08-21 09:28:05 +02:00
Derek MacDonald
73b7eac30c
Improve game detection in "Open Map" modal dialog ( #595 )
2021-08-14 11:40:09 +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
Derek MacDonald
6622c6f516
Skip validating unchecked game config resources ( #593 )
2021-08-12 12:54:41 +02:00
biwa
3ade52303d
Added safeguard so that the program doesn't crash when encountering an unknown header while unpacking zip files. It will add an error to the log instead
2021-08-01 11:10:51 +02:00
biwa
80a3237cc7
Effect browser form: fixed a bug where effects consisting of multiple bits were not selected correctly. Fixes #589
2021-07-31 23:51:47 +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
62d9da0e73
Fixed a rare crash when pasting a thing that has a model assigned to another map
2021-06-26 22:20:39 +02:00
biwa
a86a596e00
OBJ model loader: fixed sanity checks for faces that reference non-existing vertices, texture coordinates, or normals
2021-06-24 18:07:05 +02:00
biwa
2407b2d1f3
MODELDEF: Fixed a crash when a FrameIndex tried to reference a model index that wasn't defined. Fixes #578
2021-06-24 17:45:02 +02:00
biwa
9055170a61
DECALDEF parser: fixed a crash when decal numbers were reused
2021-06-06 18:13:23 +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
c35a409f54
Fixed a crash when undoing after using the "test from current position" action when no player 1 start is in the map. Fixes #573
2021-06-02 20:06:19 +02:00
biwa
3e9d86e4b3
Fixed a crash when textures contain non-existing patches
2021-05-29 19:40:39 +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
793643b20d
Open WAD dialog: don't filter for lowercase *.wad exclusively on non-Windows platforms. Resolves #567
2021-05-29 11:43:06 +02:00
biwa
839eb843bb
Game configuration dialog: don't filter for only .exe and .bat when selecting a test program on non-Windows platforms. Resolves #566
2021-05-29 11:21:40 +02:00
biwa
d3205d4557
UDMF: ceiling plane equation fields are not rounded anymore
2021-05-28 18:56:50 +02:00
biwa
307c319375
Grid transform actions can now be assigned to special keys
2021-05-27 19:45:13 +02:00
biwa
369403c7de
Action browser form: fixed a visual glitch with action ids that have more than 3 digits
2021-05-24 22:26:01 +02:00
biwa
0817ea2de6
Generalized options in game configurations can now optionally define a name
2021-05-24 21:37:23 +02:00
ZZYZX
9fcb45e1b1
Fixed: a single selected linedef was deselected after flipping it
2021-05-19 12:59:24 +03:00
biwa
ea15732e8d
Vertical patch offsets for masked patches are now handled correctly based on the game configuration
2021-05-16 22:48:45 +02:00
biwa
5191e9822a
Negative vertical patch offsets are now handled correctly based on the game configuration. Fixes #561
2021-05-16 16:47:42 +02:00
biwa
898fe21f75
TEXTURES lump: fixed a problem where textures that use textures as patches were too bright when gamma correction was enabled
2021-05-13 21:36:29 +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
3ae5b1e27d
Fixed a problem where sprites with 16 rotations defined in the TEXTURES lump would not be handled correctly (they are still not displayed with 16 rotations, but don't throw an error anymore)
2021-04-27 20:12:46 +02:00
biwa
23c4325f96
Fixed a problem where UDB would try to compile a nonexistent DIALOGUES lump
2021-04-23 18:46:09 +02:00
biwa
a790f224db
Fixed a problem where dragging or drawing geometry sometimes broke sectors. Fixes #556
2021-04-21 22:24:10 +02:00
biwa
7d67ec2be9
Resetting a slope in Sector Edit Form UDMF or with the Reset Slope action will not set the height to the z position at the center of the sector anymore, but to its original height
2021-04-18 21:16:28 +02:00
biwa
871d46e50c
Added some sanity checks for maximum number of entries in the VERTEXES/SIDEDEFS/LINEDEFS/THINGS lumps for the binary map formats
2021-04-15 22:06:49 +02:00
biwa
37ef0ed868
Fixed a problem where saving a map would hang when the nodesbuilder produced too much output on stdout and strerr. Fixes #417 . Fixes #498
2021-04-10 19:45:57 +02:00
biwa
ba497f1c45
Fixed some problems with determining which sector a thing is in
2021-04-10 11:31:36 +02:00
biwa
6b9565604d
Sector Edit Form UDMF: fixed a bug where resetting a slope when the sectors doesn't have a slope resulted in a nonsensical sector height
2021-04-09 19:48:38 +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
Derek MacDonald
da935dd8d7
VPO limit configurable for Visplane Explorer ( #546 )
...
https://doomwiki.org/wiki/Static_limits
The VPO limit is raised by Hexen (160) & Strife (200)
so make it configurable in the basegame.
The hover tooltip will reflect the adjusted max
limit and the heatmap is interpolated to 0-255
for the 256x10 visplane_pal.png colour range
gradient.
2021-04-08 21:41:40 +02:00
Derek MacDonald
bef514fabb
Ignore texture patch negative vertical offset ( #544 )
...
https://doomwiki.org/wiki/Vertical_offsets_are_ignored_in_texture_patches
BIGDOOR7 & STEP2 in doom.wad and doom2.wad contain
negative Y-offsets some a patch but instead the
renderer defaults to Y-offset value of 0.
This stops UDB's 3D visual mode from using the
negative value - change it to 0 to match the game
renderer. (G)ZDoom behaves the same as vanilla.
2021-04-06 21:16:50 +02:00
Derek MacDonald
f693959df4
Unchanged script editor skips implicit save ( #543 )
...
Stop calling ScriptFileDocumentTab.RemoveTrailingWhitespace()
on a text editor that has unchanged text. This causes the
currently-opened map to be marked 'isChanged == true' when
nothing is modified.
2021-04-06 20:38:48 +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
fe71e53edc
Game configurations are now saved as soon as the configuration dialog is closed
...
Program preferences are now saved as soon as the configuration dialog is closed
Recent files are now saved as soon as an existing map is loaded
2021-04-02 12:13:22 +02:00
biwa
95f5c719b7
Sector/Linedef/Thing/Vertex Edit Form: the map will not be marked as changed anymore when canceling changes made in the forms, when the map wasn't marked as changed before
...
Copying map elements doesn't mark the map as changed anymore if the map wasn't marked as changed before copying
2021-04-01 23:31:52 +02:00
biwa
6de1d10065
Script Editor: fixed a problem where folded blocks were unfolded unexpectedly when the script was saved. Fixes #392
2021-03-22 12:11:25 +01:00
biwa
6917ded506
Linedef Editing Form (UDMF): fixed a problem where activation checkboxes were shown red for actions that don't require activation
2021-03-22 10:56:31 +01:00
biwa
85b8b41580
Map Analysis Mode: checking for missing activation flags (UDMF) now finds linedef that are missing an actual activation flag, not only lines without any flags in that group. Fixes #288
...
Linedef Editing Form (UDMF): now only missing required activation flags are marked red
2021-03-22 10:41:21 +01:00
biwa
6c003f1cb1
Added support for only enabling editing modes when the current game configuration supports the features. Currently only applies to 3D Floor Mode, Slope Mode, and Draw Slope Mode. Fixes #463
2021-03-21 22:58:06 +01:00
biwa
58c476f4e5
Slope Mode, Draw Slopes Mode: both modes are now deprecated as they are superseded by visual sloping. The modes will be removed in the future. Entering the modes will add a warning to the Errors And Warnings dialog
2021-03-21 21:19:14 +01:00
biwa
2ef76c39d0
Sector Edit Form (UDMF): fixed a problem where resetting slopes did not work correctly
2021-03-21 17:38:43 +01:00
biwa
2abcbfffab
Fixed a bug where trying to align the grid to a linedef or setting the grid origin to a vertex would crash when no map was opened. Fixes #536
2021-03-14 16:40:55 +01:00
James R
feef304423
Ignore Keys.None event ( #537 )
...
Such an event invokes every unbound action.
2021-03-14 16:26:09 +01:00
biwa
5addd6508c
Started to add support for arbitrary UDMF field associations ( #401 )
2021-03-14 15:58:40 +01:00
biwa
122784f739
Removed limitation of 4 models per frame as this limitation is lifted in GZDoom
2021-03-11 21:06:34 +01:00
biwa
b1583060b6
CVARINFO: added support for "nosave" scope
2021-03-06 23:07:04 +01:00
biwa
0264224e6e
CVARINFO: added support for "cheat" and "latch" flags. Fixes #535
2021-03-06 22:51:22 +01:00
biwa
f0c985385a
Added portal options to the sector edit form for the Eternity Engine UDMF configuration
2021-03-06 21:28:00 +01:00
biwa
677473fce8
Small cleanups to the build process
2021-02-28 11:30:13 +01:00
biwa
46c577b9e1
Fixed a bug where saving WADs that didn't have their data starting right after the header would corrupt the file. Fixes #531
2021-02-27 17:47:37 +01:00
biwa
7d2e3db982
Fixed a bug where resetting the ceiling slope in the UDMF sector edit form would invert its original height
2021-02-20 16:17:32 +01:00
biwa
93cc15640f
Error Checker: added config options to ignore unknown textures on sidedefs for certain actions. Resolves #518
2021-02-20 15:04:47 +01:00
biwa
b168570241
Added safeguard to MapSet.NearestLinedefRange if selectionmap is null. Might fix #529 .
2021-02-20 13:11:03 +01:00
biwa
cbedfb24b5
DECALDEF parser: fixed a problem where opening curly braces in the same line as a decal definition caused a parsing error
2021-02-14 23:17:16 +01:00
biwa
18d56c6e04
Decorate/Zscript Actors that replace other actors should now display the correct actor name given through the $Title editor key. Fixes #122
2021-02-13 15:12:49 +01:00
biwa
b70970ebcf
Some refactoring related to visual sloping
2021-02-13 09:57:09 +01:00
biwa
0911a3a9a4
Some more performance improvements related to visual sloping
2021-02-07 16:44:12 +01:00
biwa
c4c2f4b3fe
Fixed a visual glitch where grid lines appear to be slightly offset when using a transformed grid
2021-02-06 15:09:16 +01:00
biwa
5ed77c5d05
Improved performance in visual mode related to visual slopes
2021-02-06 14:51:00 +01:00
biwa
2b6c7b44c2
Fixed a problem where the last line of UDMF maps were not parsed correctly
2021-01-31 18:11:10 +01:00
biwa
4f9111d075
Textures with whitespace at the beginning or end are now handled correctly. Fixes #522
2021-01-30 23:44:42 +01:00
biwa
4eb223b3f0
Added support for "abstract" ZScript functions. Fixes #523
2021-01-30 23:08:41 +01:00
biwa
5d1492c5c2
Added visual sloping for vertices (has an extra action to toggle visual vertex slope picking)
2021-01-30 22:01:55 +01:00
biwa
7cec462a15
Fixed a problem where values specified with the UserDefaultValue editor key in ZScript were not applied for float/double values
2021-01-04 13:28:45 +01:00
biwa
46962aac89
Using visual sloping to create a horizontal slope will now remove the slope and set the appropriate sector height instead
...
The Edit Sector dialog will not remove horizontal slopes anymore unless necessary
2021-01-01 22:08:54 +01:00
biwa
9090642d4e
Fixed a problem where custom boolean UDMF fields could not set be to false
2020-12-28 20:22:04 +01:00
ZZYZX
eaa5227dc8
Slightly tweaked size of Controls list. Added 'Reset plane slope' action.
2020-12-28 00:13:56 +02:00
biwa
d8d03916ea
Added safeguard against crashes related to config disposing. Fixes 251. Fixes 352. Fixes 514.
2020-12-23 16:43:59 +01:00
biwa
7b42ba622f
The docker is now expanded by default so that users actually realize that it exists (new installations only)
2020-12-23 11:49:51 +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
931bd1e225
Fixed a problem where the DistanceCheck actor property didn't work correctly, resulting in things unexpectedly not being drawn in Visual Mode
2020-12-12 11:48:46 +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
0f3e979fa9
Color picker dialog: custom colors are now saved
2020-11-21 13:12:01 +01:00
biwa
82af8bfe56
Fixed a bug with argument boxes where the value wasn't saved correctly when using the mouse wheel to change the value
2020-11-19 22:14:19 +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
Magnus Norddahl
49edfed449
Fix MakeAlphaTestImage performance issue
2020-11-15 03:20:41 +01:00
biwa
9c85635ff0
More renaming GZDB Visual Mode to just Visual Mode
...
The exception dialog now correctly states that it's UDB and not GZDB
2020-11-01 18:33:19 +01:00
biwa
15772da839
Texture browser: using the tab key to jump between the currently selected used texture and the position of the texture in the list of all textures works again (this time without toggling the "used textures on top" checkbox). Also added option to vertically center the view on the selected texture (enabled by default)
2020-11-01 18:21:22 +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
5a1ceb2a9c
Linedef edit form (UDMF): fixed a problem where the first argument was set to 0 instead left blank when multiple lines with script execution actions were being edited
2020-10-31 23:40:12 +01:00
biwa
d831d22217
Visual Mode: fixed a problem where wide classic skies were not rendered with the correct orientation
2020-10-29 20:21:42 +01:00
biwa
bb5780cf28
Thing/Linedef/Sector editing dialog: fixed a crash when pressing the up key in the action input box when the last action is selected. Fixes #493 .
2020-10-25 01:52:49 +02:00
biwa
8330c70a41
Configuration file parser: floating point numbers without the "f" suffix are now parsed as double precision floating point numbers
2020-10-24 23:27:04 +02:00
biwa
0fc2296ce9
ACS parser: fixed a bug that prevented scripts from being recognized when the previous line ended with an empty line comment
2020-10-24 21:23:06 +02:00
biwa
ee6aad4150
Texture browser: filtering for a texture name now automatically selects the best matching texture name. Addresses #483 .
2020-10-23 23:30:07 +02:00
biwa
09e40d2bae
DECALDEF parser: fixed a crash when there are duplicate decal group entries in the DECALDEF files
2020-10-23 21:04:49 +02:00
biwa
9c10069d58
Visual Mode: improved support for GZDoom UDMF rendering styles. Partially addresses #485
2020-10-19 21:42:34 +02:00
biwa
79a507a8a7
DECALDEF parser: fixed a crash when there are duplicate entries in the DECALDEF files
2020-10-17 23:11:44 +02:00
biwa
722c79d894
Added preliminary DECALDEFS support. Parsing works, indexed decals and decal groups can be selected as the first argument of the Decal thing. Decals are not displayed in Visual Mode, decals without an index are not supported
2020-10-11 22:36:07 +02:00
biwa
3af704b7a6
Fixed a bug where PNG sprites without an offset incorrectly had their offset centered instead of using (0, 0)
2020-10-11 13:18:08 +02:00
biwa
50c00991d3
Fixed typo.
2020-10-11 01:07:36 +02:00
biwa
c0984c8b67
When loading UDMF maps and fields that have NaN (not a number) as a value are encountered those fields will now be dropped permanently. A warning that this happens will be displayed in the Errors and Warnings dialog.
2020-10-11 00:31:55 +02:00
biwa
a2c87358ea
Merge branch 'master' of https://github.com/jewalky/UltimateDoomBuilder
2020-10-04 10:21:35 +02: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
Magnus Norddahl
a66d4e72f2
Oops, forgot one flipped #if while testing
2020-10-03 23:34:07 +02:00
Magnus Norddahl
a608ad71fa
For mono, put clipboard data in text/base64 form instead of relying on a memory stream
2020-10-03 23:33:04 +02:00
Magnus Norddahl
275b841e31
Merge branch 'texteditor'
2020-10-02 01:37:33 +02:00
Magnus Norddahl
160882a962
Fix null pointer that builds in Windows apparently didn't care about
2020-10-02 01:35:44 +02:00
Magnus Norddahl
61788e2be2
TabControlEX doesn't work with mono (why am I not surprised? xamarin, I want my money back!!)
2020-10-02 01:09:06 +02:00
Magnus Norddahl
a091225483
Update project file
2020-10-02 00:46:08 +02:00
Magnus Norddahl
3cdfc99f8e
Remove NoScintilla.cs as it is no longer needed
2020-10-02 00:41:48 +02:00
Magnus Norddahl
f3dea17d1c
Case sensitivity for the loss!
2020-10-02 00:37:06 +02:00
Magnus Norddahl
b330e61512
Create a minimal text editor implementation for mono where scintilla isn't available
2020-10-02 00:20:23 +02:00
Magnus Norddahl
e390bce8f6
Find the exact Scintilla.NET API used by UDB and create a stub implementation so that it builds without
2020-09-30 03:34:11 +02:00
Magnus Norddahl
d919570818
Workaround mono winforms clipboard bug
2020-09-29 23:41:45 +02:00
biwa
8e043aa875
Added support for loading PK3s in read-only mode ( #477 )
2020-09-27 15:05:27 +02:00
biwa
8064bc63b7
Added option in Preferences -> Appearance -> Rendering to toggle showing of the FPS counter in Visual Mode (disabled by default)
2020-09-26 18:15:01 +02:00
Kevin Caccamo
0b4b781980
Check whether geobuffers is null before indexing it
...
This is an attempt to fix #474
2020-09-24 20:52:33 -04:00
biwa
cd8d73d4cb
Fixed problem when #include'ing files from a directory structure and using different directory path separators than the current OS's ones. Fixes #470 .
2020-09-19 20:34:32 +02:00
biwa
3626d5d6ca
Reverted changes from be1fab9f65
because it severely broke the additional mode buttons in the main menu.
2020-09-19 08:59:19 +02:00
Magnus Norddahl
be1fab9f65
Fix layout issue with the menu in mono winforms
2020-09-15 00:46:41 +02:00
Magnus Norddahl
353c714efc
A few more hacks for the wonderful mono implementation of winforms
2020-09-15 00:41:53 +02:00
Magnus Norddahl
90831bd630
Fix cursor visible on Linux when in 3D mode
2020-09-13 23:43:11 +02:00
Magnus Norddahl
b740cadc13
Fix menubar getting the focus all the time on Linux
2020-09-13 23:01:38 +02:00
Kevin Caccamo
fdfeba1731
Fix some input issues on non-Windows systems (PR#467 by Talon1024)
...
* Fix some input issues on non-Windows systems
Disable the main menu bar when the 3D view is active.
Disable mouse input processing and "exclusive mouse input" until each editing dialog closes.
* Enable front/backgroup in LinedefEditForm{,UDMF} in the Setup method
The Setup method is called to specify which linedefs are being edited by the LinedefEditForm, and set up the dialog appropriately, so the front/backgroup should be enabled in the Setup method, at the same time the front/backside check boxes are checked or unchecked.
2020-09-13 19:40:09 +03:00
biwa
3218218dcc
Fixed a crash when trying to load files that do not exist
2020-09-13 10:45:30 +02:00
Magnus Norddahl
626af9e85e
Merge pull request #448 from Talon1024/fix/UnixCaseSensitivity
...
Attempt to improve Unix filesystem support
2020-09-12 15:42:29 +02:00
alexey.lysiuk
a5672c19c5
Fix compilation error of Windows targets
...
General\General.cs(70,58): error CS0234: The type or namespace name 'Form' does not exist in the namespace 'System.Windows' (are you missing an assembly reference?)
2020-09-12 12:14:06 +03:00
Kevin Caccamo
71f86980fd
Handle multiple entries with the same name but different case
...
This is done so that entries whose keys have a higher ordinal value (lowercase) will replace entries whose keys have a lower ordinal value. This is based on how I've seen GZDoom handle this sort of situation.
2020-09-11 22:24:43 -04:00
Magnus Norddahl
30c2ad22ea
Workaround groups Enabled flag not getting applied in mono winforms implementation
2020-09-12 02:15:21 +02:00
Magnus Norddahl
efec88994b
Apply workaround to datagridviews
2020-09-12 02:06:14 +02:00
Magnus Norddahl
ccf2191f10
Add workaround for broken View.List implementation in mono's winforms
2020-09-12 01:25:59 +02:00
Magnus Norddahl
87fe50df56
Write replacements for the unimplemented native calls for unix
2020-09-11 23:17:30 +02:00
Magnus Norddahl
0d07050bcb
Remove the need for ZeroMemory
2020-09-11 22:39:18 +02:00
Magnus Norddahl
e62c8bdad4
Fallback C# implementation for when rawmouse is not present
2020-09-11 22:22:36 +02:00
Kevin Caccamo
2f48255ddf
Remove GetCorrectCaseForFile call in GetFileAtPath
...
It's redundant because GetCorrectCaseForFile is called in DirectoryReader.LoadFile, and UDB will change all filenames in a PK3 to lowercase when it loads a PK3 into memory.
2020-07-29 17:30:17 -04:00
biwa
6a926d337e
Some cleanup, added some comments.
2020-07-29 22:05:12 +02:00
Kevin Caccamo
42be899204
Attempt to improve Unix filesystem support
...
Add some new methods to PK3StructuredReader and DirectoryReader, which get the filename with the correct case, and get a file at a particular path.
Replace backslashes in modeldef model paths with forward slashes, instead of doing the opposite, which was preventing some models from loading.
I don't know whether or not this is a good solution or not, since I don't know the UDB codebase very well.
2020-07-29 04:14:37 -04:00
biwa
8aa7462993
Files specific to UDB are now used in the program configuration folder. The files are now called UDBuilder.cfg, UDBuilder.log, and UDBCrash.txt. If there's no UDBuilder.cfg it first tries to copy GZBuilder.cfg before creating a new configuration file. Resolves #442
2020-07-25 18:42:07 +02:00
Kevin Caccamo
96208f7166
Fix directory separators
...
Path.DirectorySeparatorChar is a forward slash on Linux/Unix, so it ended up preventing DECORATE and ZSCRIPT code from being loaded on Linux.
2020-07-20 04:20:03 -04:00
ZZYZX
4202b3ea58
Add new random quote to exception dialog
2020-07-08 18:25:22 +03:00
ZZYZX
0aaef4980b
Fix exception caused by horizontal mouse wheel ( resolves #409 reported by ioan-chera, reported by KanaiZo)
2020-07-07 13:56:42 +03:00
biwa
2813a392e7
Force HiRes replacements to always use worldpanning. Fixes #432
2020-07-05 09:20:08 +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
f2840e9a7b
Fixed a bug introduced by addressing #427 that stopped the script editor to show up in vanilla Hexen. Fixes #429 .
2020-06-20 15:13:49 +02:00
biwa
233153cdb5
Fixed a problem where translucent 3D floors were drawn solid. The cause was a rounding error because of the transition from float to double.
2020-06-20 01:21:17 +02:00
biwa
22d00763a9
The script editor is now only shown if the current game configuration supports scripts. Resolves #427 .
2020-06-19 23:30:01 +02:00
biwa
ea31f495d7
Fixed a problem where textures for OBJ models were flipped vertically
2020-06-19 12:22:57 +02:00
biwa
b3d817f053
Fixed a crash in the DIALOG/SCRIPTS editor when selecting any other than the first two options in the "look in" combo box in the replace tab. Fixes #425 .
2020-06-17 23:38:26 +02:00
biwa
08636d1b18
Enabled PDB generation for all plugins in x64 release mode
2020-06-17 22:57:49 +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
57b184a9e6
Merged master into duplicate-3d-floors branch
...
Added some error handling to duplicating 3D floors
2020-06-13 17:00:12 +02:00
biwa
565f1f885b
Changed how performing undo interacts with volatile modes (it will now actually perform the undo instead of just canceling the volatile mode)
2020-06-13 15:56:16 +02:00
biwa
14c65dae5b
- Only allow Edit Selection Mode to be cancelled once
...
- Added preliminary code to remove new 3D floor control sectors when pasting was canceled after duplicating 3D floors
2020-06-13 15:35:20 +02:00
biwa
4fbcc11418
Added functionality to duplicate 3D floor control sectors of selected sectors and paste selected sectors with the new control sectors assigned
2020-06-13 00:24:24 +02:00
biwa
6e4bb04516
Merge remote-tracking branch 'origin/master' into arching
2020-06-08 20:58:45 +02:00
biwa
cdf745745a
Texture sets now work with textures from a directory or PK3/PK7 (it matches against the short 8 character name)
2020-06-04 16:16:09 +02:00
biwa
17987918de
Fixed a bug where modifying a user_ ZScript variable through the custom properties tab would cause a crash. Fixes #420 .
2020-06-01 11:12:52 +02:00
biwa
aecb1e67b7
Preliminary code for arching
2020-06-01 09:50:35 +02:00
biwa
10ceef6715
Fixed jittery camera when being far away from the map origin
2020-05-24 11:35:53 +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
abb61f1f09
Possible fixed a crash in LinedefInfoPanel.SetPairedUDMFFieldsLabel
2020-05-23 01:37:14 +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
fb3c9e7168
Started conversion from float to double
2020-05-18 18:14:54 +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
7114d17eeb
Texture browser: input boxes don't lose focus anymore when the mouse is moved into the texture list area. Fixes #369 .
2020-04-28 23:35:36 +02:00
biwa
9cadd378bc
Changed the ambient sound drop down menu of ambient sound things to natural sort order. Resolves #406 .
2020-04-28 22:48:00 +02:00
biwa
594fe0403d
Removed DebugConsole functionality in non-debug builds
2020-04-26 00:58:42 +02:00
biwa
f15c0e0eb1
Fixed a crash that happened when the script window is opened but minimized, the script has syntax errors, and then the map is saved. Fixes #402 .
2020-04-25 17:43:14 +02:00
Magnus Norddahl
db44d411c7
Fix black output from visplane explorer
2020-04-19 14:19:18 +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
biwa
308e8fe4cb
Fixed a bug where the DECORATE parser got confused by wrong tokens after starting the states definition. Fixes #374 .
2020-04-11 18:46:45 +02:00
biwa
138c96bb13
Moved smart grid transform into Linedefs Mode and Vertices Mode, so it also works when simply highlighting a linedef or vertex. When doing smart grid transform on a linedef it'll also use the vertex closest to the mouse cursor as the origin instead of always the start vertex
2020-04-11 10:42:41 +02:00
biwa
12b3906470
Added "Smart Grid Transform" action that sets grid transformation based on the selected elements. Vertex selected: set grid origin to that vertex. Linedef selected: align grid to that linedef. Nothing selected: reset grid transformation to the default coordinate system. No default key bound.
2020-04-10 13:40:30 +02:00
biwa
999d5ade9e
More BuilderMono.csproj fixes
2020-04-10 11:20:19 +02:00
biwa
ca4dc1958c
Hopefully fixed BuilderMono.csproj to compile for Mac and Linux again.
2020-04-10 10:57:38 +02:00
biwa
58d5bfd59b
Merge branch 'visual-slope2'
2020-04-10 10:40:42 +02:00
biwa
895053ec26
Fixed indentation in ImageBrowserItem
2020-04-05 20:21:35 +02:00
volte
9693321590
Further performance improvement to image browser
2020-04-05 11:40:14 -04:00
volte
b1f4cdcd1c
Fixed slowdown in ImageBrowser due to repeated queries for system font
2020-04-05 09:15:34 -04:00
biwa
a3ce81dc2b
Merge branch 'master' into visual-slope2
2020-04-04 13:12:20 +02:00
biwa
8115d12b6c
Custom types for user defined UDMF fields could cause problems when fields with the same name used different types, so they are disabled for the time being (only bool, int, float and string are allowed now)
2020-03-29 21:44:29 +02:00
biwa
1fc503fa24
Update things before adding their geometry in visual mode so things don't go awry when realtime editing them. Fixes #393 .
2020-03-29 17:31:20 +02:00
biwa
e07a3170ac
Made drop down items for ambient sounds more descriptive
2020-03-29 16:29:53 +02:00
biwa
1d5867333c
There can be multiple different ambient sounds with the same sound name, so add the index to the name to differentiate them. Fixes #390 .
2020-03-29 11:53:12 +02:00
biwa
a4466ba01b
Added support for helper messages in version/deprecated modifier in ZScript
2020-03-19 20:14:57 +01:00
Magnus Norddahl
3346c00fab
Keep stream open so that the image loaders can be chained
2020-03-19 19:54:54 +01:00
Magnus Norddahl
44d972c876
Fix crash when tga image loader succeeds in loading a 0x0 image
...
Copy resource bitmaps before using them on a worker thread
2020-03-19 15:46:04 +01:00
biwa
7b0adadbfb
Merge branch 'master' into visual-slope2
2020-03-17 22:10:04 +01:00
Magnus Norddahl
e19b2912f3
Update mono project file
2020-03-17 21:07:51 +01:00
Magnus Norddahl
6492a2b3ff
Merge branch 'nodevil'
2020-03-17 21:06:10 +01:00
Magnus Norddahl
29b30a3dcc
This joke isn't funny when half the racists in the US is saying this
2020-03-17 20:09:34 +01:00
biwa
e8cc2f9801
Self-inheritance of ZScript classes is now considered an error and not a warning
2020-03-14 15:46:00 +01:00
biwa
d3b90f4f50
Print a warning and skip parsing classes that try to inherit from themselves (instead of going into an infinite loop)
2020-03-14 13:18:45 +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
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
73e8d5440f
Fixed a problem where slope handles could be picked through other geometry
2020-02-23 01:07:40 +01:00
biwa
fd2b11505c
Removed remnants of holding Alt to interact with slope handles
2020-02-23 00:14:43 +01:00
biwa
f606f3bd7c
Drawing slope handles works correctly now
2020-02-22 19:45:12 +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
Magnus Norddahl
c943b07bd0
Fix broken patch loading
2020-02-16 18:57:19 +01:00
Magnus Norddahl
4d3fea0088
Fix inconsistencies between the "file specification" (as documented on zee internetz) and what devteam.pcx from Descent actually contained (the only pcx I have)
2020-02-16 17:10:57 +01:00
Magnus Norddahl
c1130b4c62
Merge remote-tracking branch 'origin/master' into nodevil
2020-02-16 16:48:49 +01:00
ZZYZX
ec9765f004
Fixed: GLDEFS dynamic lights were defaulting to invisible instead of 'normal'
2020-01-25 23:28:27 +02:00
biwa
d9cfc04e2e
More trying to get it to work...
2020-01-18 21:10:21 +01:00
ZZYZX
973a4b1447
Fixed: CalculateArea was doing some weird shit ( resolves #372 )
2020-01-18 22:08:48 +02:00
Magnus Norddahl
6e4a02fb2b
Add texture format to the Texture class so that render target textures do not have to be in the bgra8 format
2020-01-15 23:28:17 +01:00
Magnus Norddahl
afb79e80d5
Implement tga image loader
2020-01-14 20:39:46 +01:00
Magnus Norddahl
0372b75eea
Fix offsetting bug
2020-01-14 18:57:50 +01:00
Magnus Norddahl
4e86765f2a
Implement pcx loader (I can't believe I wrote this in 2020...)
2020-01-14 18:49:45 +01:00
Magnus Norddahl
e908ec72e9
Add missing try/catch
2020-01-14 17:29:13 +01:00
Magnus Norddahl
3bbe76b225
Remove DevIL dependency
...
Remove IImageLoader code duplication
2020-01-14 17:25:35 +01:00
ZZYZX
42aa6c8832
Fixed: there was no highlight shader for internal sprites for ZDoom effects disabled; Fixed: highlighting of transparent walls/floors was broken
2020-01-14 11:09:33 +02:00
Magnus Norddahl
7ea64f910b
Fatal crash (Texture name input) #367
2020-01-13 19:11:10 +01:00
Magnus Norddahl
a2b18f1893
Fix load bug where exactly one image per thread would not get loaded
2020-01-12 23:35:20 +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
acfd4f5283
LoadImage should not be virtual
2020-01-12 21:12:56 +01:00
Magnus Norddahl
db747d022b
Dispose the bitmap as soon as it has been uploaded to a texture. Use a 1 bit alphatest bitmap for those that have transparency in them.
2020-01-12 20:17:18 +01:00
Magnus Norddahl
21d19e2804
Only use GetBitmap for the alpha test
2020-01-12 19:53:50 +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
247d3e7a97
Merge branch 'master' of https://github.com/jewalky/UltimateDoomBuilder into visual-slope2
2020-01-09 20:05:34 +01:00
biwa
a14fc7cafd
Fixed an issue where grid background images were drawn upside down and moved in the wrong direction on the Y axis when scrolling
2020-01-07 22:26:21 +01:00
biwa
2c9235e4ea
Trying to figure out matrix black magic
2020-01-07 21:27:37 +01:00
Magnus Norddahl
5363fe0717
Produce release build
...
Disable devil
Support mac build (which is useless as mono doesn't support winforms on modern macOS)
2020-01-06 08:52:59 +01:00
Magnus Norddahl
20f5f01b84
Unix build fixes
2020-01-06 08:07:52 +01:00
biwa
01ccfa56f3
Merge branch 'master' of https://github.com/jewalky/UltimateDoomBuilder into visual-slope2
2020-01-05 14:27:47 +01:00
biwa
b415046694
Fixed nonsensical values being returned when using +++/--- in many fields.
2020-01-04 23:29:35 +01:00
biwa
8aee7fc550
Merge branch 'master' of https://github.com/jewalky/UltimateDoomBuilder into visual-slope2
2020-01-04 22:15:13 +01:00
ZZYZX
0e7875e0ad
Fixed: light clipping on back faces was gone
2020-01-03 03:55:34 +02:00
ZZYZX
044dbbcfd0
Rewrote dynamic light support. Resolves #319 . Resolves #318 . Resolves #233 .
2020-01-03 03:22:33 +02:00
biwa
7e84883125
Some cleanups
2020-01-02 20:32:37 +01:00
ZZYZX
7b5d4a03e9
Write uniform data into separate structures
2020-01-02 21:32:08 +02:00
Magnus Norddahl
6450bdcc67
Improve error message if OpenGL context creation fails
2020-01-02 19:45:45 +01:00
ZZYZX
0ba5870dfc
Merge branch 'shadercompiler'
2020-01-02 20:22:49 +02:00
ZZYZX
0fbebbe759
Allow functions block in a shader, error out on duplicate functions
2020-01-02 02:56:27 +02: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
ZZYZX
e015cc6fb1
Fixed token position for named tokens
2020-01-02 01:51:54 +02: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
ZZYZX
6374b498ab
Added GLSL shader preprocessor
2020-01-01 22:41:04 +02:00
Magnus Norddahl
73364a130e
Remove UTF-8 BOM if found
2020-01-01 09:21:41 +01:00
biwa
4bfbe567c1
Merge branch 'master' of https://github.com/jewalky/UltimateDoomBuilder into visual-slope2
2019-12-31 23:46:56 +01:00
ZZYZX
7b5506363e
Fixed F10 key focusing the menu on key release
2019-12-31 15:32:57 +02:00
ZZYZX
c00e2a8074
Fixed F10 key focusing the menu instead of opening the script editor as intended
2019-12-31 14:57:29 +02:00
ZZYZX
e092235262
Removed the remains of resource editing
2019-12-31 14:16:13 +02:00
ZZYZX
961b5fdb33
Actually fixed PK3 synchronization
2019-12-31 13:46:30 +02:00
ZZYZX
fa053bc097
Prevent closing the PK3 stream before read operation has completed
2019-12-31 13:35:43 +02:00
ZZYZX
e61937c7b7
Removed the capability to open any file from the script editor
2019-12-31 13:18:39 +02:00
biwa
d7e259bc7e
Compute the length of the line in Plotter.DrawLine3DFloor with a method that actually works on big numbers
2019-12-31 10:57:29 +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
f6dd787f0d
Present maps slightly faster to the user
2019-12-30 06:41:52 +01:00
Magnus Norddahl
c95e5af46d
Reduce memory usage during preview image loading
2019-12-30 06:22:32 +01:00
Magnus Norddahl
65fdafafd8
Fix TransformPatch using bitmap from the main thread
2019-12-29 23:24:08 +01:00
Magnus Norddahl
03e50615f6
Remove explicit image unloading and fix previews
2019-12-29 22:59:57 +01:00
Magnus Norddahl
f97f2d36b1
Remove preview manager and remove CreateTexture
2019-12-29 20:48:11 +01:00
biwa
a024ac9f47
Merge branch 'master' of https://github.com/jewalky/UltimateDoomBuilder
2019-12-29 19:05:26 +01:00
biwa
c46e548a73
- Fixed vertical grid lines being 1 pixel off in their horizontal position
...
- Fixed a bug where lines with 3D floor indicators were 1 pixel off in their horizontal position
2019-12-29 19:04:33 +01:00
ZZYZX
5dc2ab7b28
Supposedly fixed sprites not loading if reloaded resources from visual mode
2019-12-29 19:59:52 +02:00
Magnus Norddahl
ca3fa76e32
Rename the sampler filters so that they use the same naming convention as modern graphics APIs
2019-12-29 18:54:22 +01:00
ZZYZX
12fd006c61
Removed dynamic resource reloading for resource writing
2019-12-29 16:38:53 +02:00
ZZYZX
8990cc57b0
Fixed code folding in script editor
2019-12-29 15:58:53 +02:00
ZZYZX
87f74cb9c3
Trashed embedded resource editing UI
2019-12-29 15:27:29 +02:00
ZZYZX
58d2d67e77
Do not try to continuously reload failed textures
2019-12-29 14:25:53 +02:00
biwa
30819b3b0c
Merge branch 'master' of https://github.com/jewalky/UltimateDoomBuilder
2019-12-29 13:01:25 +01:00
biwa
1786ab525e
Changed checkdistance in ThingTypeInfo from int to double so that doesn't overflow
2019-12-29 13:00:10 +01:00
ZZYZX
62cddff505
Use nearest filtering if nearest is specified
2019-12-29 13:02:03 +02:00
biwa
8f9d840aeb
Use map boundaries defined in the game's config instead of static values in VisualBlockMap
2019-12-29 11:03:42 +01:00
Magnus Norddahl
5082d7c308
Alter the nearest filter to not have noise in it
2019-12-29 06:52:39 +01:00
Magnus Norddahl
d46c72b04a
Refactor the ImageData load code so that the UI thread requires no locks
2019-12-29 03:54:12 +01:00
ZZYZX
f41c5bdd6f
Used slightly better approach for executing stuff in the main thread
2019-12-28 22:01:57 +02:00
ZZYZX
bd811aac7d
Fixed deadlock caused by errors displayed by texture loading
2019-12-28 21:37:05 +02:00
ZZYZX
78fe6c306e
Fixed UI thread becoming unresponsible in case of missing textures
2019-12-28 20:12:22 +02:00
ZZYZX
866facf80b
Fixed: not all cases of static FontFamily were addressed
2019-12-28 10:22:32 +02:00
Magnus Norddahl
3cae8740ef
Prevent Image.FromStream from closing the stream if the image isn't recognized
2019-12-28 05:34:38 +01:00
ZZYZX
197f96a059
Unfix MaxED's TGA fix
2019-12-27 12:43:06 +02:00
Magnus Norddahl
af3d74d186
Fix DevIL crash by protecting it with a mutex lock
...
Use the .net framework image loaders if they work. They do for the sane formats (PNG and JPEG) and they are faster, too.
Enable usage of multiple threads for resource loading now that it no longer crashes
2019-12-27 07:45:44 +01:00
Magnus Norddahl
11b5cb4e8f
Fix crash if entering 3D mode early
...
Remove thread priority settings (this is not the right way to do it)
Stop brain dead busy looping and use Monitor.Wait + Monitor.Pulse
Only call Control.Invoke if its a worker thread calling RunOnUIThread
Add the code for running multiple background threads (unfortunately blocked by DevIL apparently not being thread safe, gg!)
2019-12-27 07:21:43 +01:00
Magnus Norddahl
7e0ea54254
Don't use SendMessage when the built-in Invoke function does the same
2019-12-27 04:37:10 +01:00
ZZYZX
24e4c55ed0
Fixed logos in the About form
2019-12-26 15:15:13 +02:00
ZZYZX
624c5ea1d3
Fixed: don't use full Renderer2D pipeline while updating the grid after resize (fixes debug build)
2019-12-26 14:33:23 +02:00
ZZYZX
cbe8abbc9a
Fixed: 3D mode linedefs were completely broken -- reverted 718405b580
2019-12-26 10:08:11 +02:00
ZZYZX
3491bdccea
Fixed: lines in 2D mode had random gray pixels with high quality enabled ( resolves #331 )
2019-12-26 08:16:38 +02:00
ZZYZX
1cbfddd367
Oops.
2019-12-26 07:10:01 +02:00
ZZYZX
607ac7751e
Fixed: use application default font family for rendered labels if user-selected font is not available
2019-12-26 07:09:28 +02:00
ZZYZX
76bfd79bd6
Merged remote...
2019-12-26 04:17:24 +02:00
ZZYZX
8320402201
Fixed background in About form for larger fonts
2019-12-26 04:16:23 +02:00
Magnus Norddahl
061fa30a45
Improve camera sector search somewhat
2019-12-26 01:10:00 +01: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
NickZ
1aa020b2d0
Added test configuration option to use Linux paths, added different font for text labels (PR#268 by NickZ)
...
* Add Linux Path option to test config
* make shortpaths and linuxpaths mutually exclusive
2019-12-25 19:45:19 +02:00
ZZYZX
60d836dc85
Fixed: redraw grid after window size changes
2019-12-25 17:26:30 +02:00
biwa
33b888e5d2
Renderer2D.PlotLine now transforms the y coordinate so that linedefs in nodes viewer, automap/sound environment/sound propagation mode are not flipped upside down anymore. Fixes #325 .
2019-12-25 01:54:05 +01:00
ZZYZX
d559ba30d7
Added error reporting to Update Checker; Fixed update checking failure in certain setups
2019-12-24 23:32:37 +02:00
ZZYZX
842d4a6668
Fixed: full sector highlight would not show in 2D mode
2019-12-24 23:06:13 +02:00
ZZYZX
96f2b4e94e
Fixed TGA texture loading
2019-12-24 21:33:16 +02:00
ZZYZX
99b1770004
Fixed references to GZDB in the setup
2019-12-24 20:43:55 +02:00
ZZYZX
f3c60ac5e5
Corrected Git Issues link for error dialog
2019-12-24 20:13:18 +02:00
ZZYZX
8b682a658c
Fixed wrong icon in auto-update Newsflash
2019-12-24 20:04:20 +02:00
ZZYZX
6419cc04b0
Merged OpenGL UDB dev branch
2019-12-24 19:49:43 +02:00
ZZYZX
e1f3dfda87
Changed link to UDB
2019-12-24 19:47:07 +02:00
ZZYZX
81df5e858f
Removed remaining DirectX references, fixed setup
2019-12-24 19:45:23 +02:00
biwa
37c52b4d70
Code folding in the script editor works again. Fixes #115 .
2019-12-24 15:58:20 +01:00
ZZYZX
4b86389a5c
Clarified credits a bit
2019-12-24 15:28:31 +02:00
ZZYZX
cd9da4b4a1
Changed splash image and icons
2019-12-24 11:59:58 +02:00
ZZYZX
d995f983fc
Rebranding
2019-12-24 09:14:28 +02:00
Magnus Norddahl
11aa31452b
Remove more dictionaries from the render loop
2019-12-21 05:43:16 +01:00
Magnus Norddahl
28406cf1a7
Declare the uniform variables in C#
2019-12-21 02:14:42 +01:00
Magnus Norddahl
a21edf78da
Misc adjustments to make the cherry-picked 'C# shader resources' commit work
2019-12-21 01:47:27 +01:00
Magnus Norddahl
3de2427e7c
Removed -f suffixes for floats (not supported on AMD)
2019-12-21 01:34:51 +01:00