Commit graph

260 commits

Author SHA1 Message Date
biwa
f9dd98695b SNDINFO parser: added support for GZDoom's new sound assignment format. Fixes #1017 2024-02-03 15:10:56 +01:00
biwa
14a494078a Text parser: fixed a problem where the stream's position was not set correctly when checking the next token. Fixes #1010 2024-01-14 20:29:18 +01:00
biwa
66a0618e83 DECORATE parser: fixed a problem where parsing would fail when there was no space between the "States" label and the following curly brace 2024-01-14 15:14:41 +01:00
biwa
6fcb5d2f57 DECORATE parser: fixed an issue where state block cast types were not recognized. Fixes #977 2024-01-13 19:18:52 +01:00
biwa
1f1f9937ae ZScript parser: added support for #region and #endregion. Fixes #958 2023-10-07 17:51:07 +02:00
biwa
432be2a061 Text file parser: fixed a problem where parsing could fail if the file ended with a comment without an trailing newline 2023-10-07 15:31:21 +02:00
biwa
085df399f5 Fixed an issue where sprite offsets defined in TEXTURES were not used 2023-07-29 13:32:42 +02:00
Magnus Norddahl
192b69c8af
Added support for models in IQM format 2023-06-29 20:37:47 +02:00
biwa
822c9971c5 ZScript: fixed a problem where state goto expressions were not parsed correctly. Fixes #913 2023-06-24 11:19:09 +02:00
biwa
464f4c4ea7 ZScript parser: fixed an issue where mixins were not added to extend classes. Fixes #880 2023-04-30 20:07:39 +02:00
Boondorl
6d2a3b646d
ZScript: Added support for narrowed enums (#854) 2023-01-21 10:07:13 +01:00
Boondorl
d73a2173d7
ZScript: Added support for Map<type, type> structures (#853) 2023-01-21 00:44:30 +01:00
biwa
86b86ac67a MODELDEF: added support for the rotation-center command. Resolves #796 2022-10-21 20:29:30 +02:00
biwa
27cc74a440 Fixed a potential crash when adding DECORATE files to game configurations that check for required resources. Fixes #808 2022-10-20 20:10:30 +02:00
ZZYZX
7de0c65b61 Fixed threading and Mono issues in resource check 2022-09-26 23:45:19 +03:00
ZZYZX
4fd97fec9c Added warnings about possibly invalid resource configurations before starting to edit a map 2022-09-18 20:54:53 +03:00
JaedenDuhreis
82f1ee09bc
Added parsing of relative includes in ZScript (PR#787 by JaedenDuhreis) 2022-09-15 19:04:07 +03:00
ZZYZX
aee47aacb0 Improved error reporting for invalid ZScript input 2022-09-15 03:12:27 +03:00
Alison Watson
6b0b047c57
Added support for some niche ZScript and MODELDEF syntax. Resolves #747 2022-08-23 13:37:58 +02:00
biwa
c1e401013b Fixed a problem where IWADINFO lumps with properties without values failed for parse. Fixes #760 2022-08-13 13:48:59 +02:00
ZZYZX
f11127ca71 Made non-existent ZScript classes a fatal error.
Added explicit warning if gzdoom.pk3 is not loaded for GZDoom game configurations.

Fixed tokenizer not picking up the very last token in the stream.
2022-08-07 21:26:22 +03:00
biwa
a269b13a2d ZScript: fixed an issue where user default variables from class extensions were not applied 2022-06-12 20:24:30 +02:00
biwa
0f7d6c6062 CVARINFO: fixed a problem parvins CVARs with incompatible flags. Fixes #748 2022-06-11 13:14:38 +02:00
biwa
3cda0e53d1 Fixed an issue that prevented models from being loaded correctly when some model indices in MODELDEF were unused. Fixes #727 2022-04-23 17:23:22 +02:00
biwa
5cb40a23c2 ZScript: fixed an issue where #include files were not parsed when the parent file had a //$GZDB_Skip comment. Fixes #716 2022-04-09 17:00:49 +02:00
biwa
f8bb87e143 Fixed an issue where wall textures and flats did not have the correct precedence. Fixes #710 2022-03-05 16:57:23 +01:00
biwa
6d70c70fdc ZScript: user variables from mixins now show up in the "custom" tab of the edit thing dialog 2022-01-16 20:27:18 +01:00
biwa
a69141c3d0 Script editor: made the fix for #663 a bit cleaner 2021-12-10 18:13:16 +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
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
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
45dc796dca ZScript: added support for extending classes. Resolves #597 2021-08-21 20:42:06 +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
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
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
4eb223b3f0 Added support for "abstract" ZScript functions. Fixes #523 2021-01-30 23:08:41 +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
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
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
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
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
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
biwa
91cbcde1eb It's compiling! 2020-05-21 14:20:02 +02:00