Commit graph

27 commits

Author SHA1 Message Date
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
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
45dc796dca ZScript: added support for extending classes. Resolves #597 2021-08-21 20:42:06 +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
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
c9e7551ca3 Added ZScript mixin class support 2019-12-08 01:14:21 +01:00
biwa
2699f5793b Fixed an issue where the ZScript parser aborted with a cryptic error message when encountering a number that was too small or big. It now clamps the value to min/max for the data type and prints a warning 2019-12-03 15:23:49 +01:00
ZZYZX
1d36d3fe6e Updated ZScript parser for const array definition support (reported by SanyaWaffles) 2017-12-25 02:45:21 +02:00
ZZYZX
bb650fa679 Updated ZScript parser to support abstract on classes 2017-03-28 15:07:12 +03:00
ZZYZX
92825a0870 Updated ZScript parser to the latest syntax 2017-03-06 06:07:19 +02:00
ZZYZX
748fe9e2e5 Fixed: inheritance from game configuration for dynamic lights; Fixed: visual representation of inherited lights (reported by Nash); Fixed: inherited thing arguments from game configuration; Added: //$ClearArgs for clearing inherited arguments. 2017-03-02 00:21:08 +02:00
ZZYZX
1382d144fe Added: basic support for automatic user variables from ZScript classes, currently only for int variables (as supported by GZDoom). 2017-02-08 23:55:38 +02:00
ZZYZX
ee936152cc ZScript: added #region support 2017-01-21 05:05:56 +02:00
ZZYZX
4c636a6d9a ZScript: added support for //$GZDB_SKIP special comment in the root scope. 2017-01-21 04:16:42 +02:00
ZZYZX
c1387a8e7e Internal: refactored ZScriptTokenizer.ExpectToken for less redundancy 2017-01-17 10:19:48 +02:00
ZZYZX
dc72c533ca ZScript: fixed odd cases of inheritance (class SpecialShotgun : Shotgun replaces Shotgun) causing stack overflow 2017-01-17 07:29:01 +02:00
ZZYZX
05a160b533 ZScript: moved actor inheritance code to separate step; ZScript: ported game configuration inheritance code from DECORATE 2017-01-17 07:13:28 +02:00
ZZYZX
0787f96042 GLDEFS, MODELDEF: Included ZScript actors in missing class check 2017-01-17 06:53:20 +02:00
ZZYZX
37a3eab150 Enabled prototype ZScript support 2017-01-16 13:18:46 +02:00
ZZYZX
8afd01f6bd Internal: Disconnected ZDoom actor state data from DECORATE parsing code 2017-01-16 10:20:47 +02:00
ZZYZX
a0674f13fc Internal: finished enumeration of ZSCript actor properties and flags 2017-01-16 08:10:32 +02:00
ZZYZX
ad5b542cd0 Internal: finished enumeration of ZScript actor fields and methods 2017-01-16 07:20:49 +02:00
ZZYZX
b42de7db6c Internal: Moved ZScript class initialization logic to after querying all lumps 2017-01-16 03:49:58 +02:00
ZZYZX
db08802780 Enabled DECORATE classes to inherit ZScript ones 2017-01-16 02:08:35 +02:00
ZZYZX
fbf1aefef2 Internal: Fixed class extension, error reporting on invalid top-level keyword 2017-01-16 00:21:47 +02:00
ZZYZX
856cb9f860 Internal: Added ZScriptParser.cs, ZScriptTokenizer.cs 2017-01-16 00:03:44 +02:00