Commit graph

171 commits

Author SHA1 Message Date
spherallic
f0ad463637 Small cleanup 2024-02-10 18:44:52 +01:00
spherallic
63bb82a1d7 Apparently VertexDecimals affects every single numeric field, so revert its change 2023-12-09 14:23:09 +01:00
spherallic
e1726d8515 Disable decimal vertex positions since SRB2 doesn't support them 2023-11-06 00:46:02 +01:00
spherallic
aea6808cee Merge remote-tracking branch 'udb/master' 2023-10-24 16:28:55 +02:00
biwa
0a74ca24b6
Added ability to enable/disable controls in the UDMF map element editing dialogs based on UDMF fields specified in the game configurations (#953) 2023-10-24 15:51:49 +02:00
spherallic
cca2949f6d Fix Lua scripts not being read from WAD files 2023-09-27 19:59:30 +02:00
spherallic
841467cf9b Merge remote-tracking branch 'udb/master' 2023-05-24 12:55:08 +02:00
biwa
13a6f1b24d Added the Unity port IWADs (and some others) to the list of known official IWADs 2023-05-21 09:54:55 +02:00
spherallic
087b1c8e8f Merge remote-tracking branch 'udb/master' into udbmerge202304 2023-05-12 13:45:56 +02:00
MascaraSnake
fea4ac17db Implement string argument info 2022-12-30 18:37:26 +01:00
MascaraSnake
dc1448363b Sector edit form: Add friction 2022-12-30 15:46:25 +01:00
MascaraSnake
d29bd54034 Refactor code that relies on the number of action args being exactly 5 2022-12-28 23:04:32 +01:00
ZZYZX
4fd97fec9c Added warnings about possibly invalid resource configurations before starting to edit a map 2022-09-18 20:54:53 +03:00
biwa
57b796e87d Visplane Explorer Mode: fixed an issue that caused a crash when the map doesn't have nodes the Visplane Explorer Mode understands. Fixes #736 2022-05-27 15:52:53 +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
ef18385ee7 Fixed a problem in the UDMF parser that could cause data loss. Fixes #622 2021-09-28 16:02:46 +02:00
biwa
d3205d4557 UDMF: ceiling plane equation fields are not rounded anymore 2021-05-28 18:56:50 +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
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
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
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
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
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
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
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
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
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
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
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
3bbe76b225 Remove DevIL dependency
Remove IImageLoader code duplication
2020-01-14 17:25:35 +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
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
ZZYZX
96f2b4e94e Fixed TGA texture loading 2019-12-24 21:33:16 +02:00
ZZYZX
714bb84204 Implemented alternate fix for Linux paths (2) 2019-12-14 23:52:12 +02:00
ZZYZX
f0aee1e174 Merge branch 'master' into slimgl_merge 2019-12-14 23:50:40 +02:00
biwa
ba6dc546ba - (Hopefully) addressed a problem where images failed to load when opening another map in the 64 bit version
@ This is a workaround for #295.
2019-10-13 13:47:29 +02:00
Kevin Caccamo
b5ad511671 Enable DevIL on Linux
Remove NO_DEVIL defines, and add devil.dll -> libIL.so.1 DLL mapping to app.config
2019-09-03 22:47:59 -04:00
Magnus Norddahl
9b300126e9 Disable DEVIL and create build solution specifically for mono 2019-08-29 17:56:12 +02:00
ZZYZX
10167038ae Fixed: on a second thought, let's just make FileImageReader fall back to guessed image if possible... 2018-03-31 14:01:36 +03:00
ZZYZX
f7c2a577e4 Fixed: made more correct checking for legal file formats; now it should actually validate the format upon loading 2018-03-31 13:38:30 +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