Commit graph

20 commits

Author SHA1 Message Date
sphere
ae256ac8cb Allow custom flag, angle and parameter labels for custom objects. 2021-04-04 15:04:37 +02:00
MascaraSnake
d731c29235 Parse MF_SOLID and MF_SPAWNCEILING for custom Things 2017-10-10 09:17:42 +02:00
MascaraSnake
6abdb27e36 Add support for addition in SOC/Lua arithmetic parser.
Don't abort reading the whole script if you can't parse a single value.
2017-09-04 14:09:38 +02:00
MascaraSnake
93fc8fb78f Add support for custom thing categories 2017-07-07 21:43:44 +02:00
MascaraSnake
e7306d016d Recognize -- comments in Lua files.
Only log a warning when a Thing sprite can't be found, instead of aborting the whole Lua/SOC reader.
2017-07-06 16:57:53 +02:00
MascaraSnake
e7569ff973 Lua object parser: Object name is now parsed correctly (no more ] at the end of the name) 2016-05-31 21:51:34 +02:00
MascaraSnake
f4af77e7fa Lua parser: The $Name parameter now accepts spaces in the name 2016-05-27 22:42:49 +02:00
MascaraSnake
5bfb2790d4 Merged in GZDB r2495 (which fixes a bug introduced in GZDB r2493). 2016-04-07 16:06:02 +02:00
MascaraSnake
f03de4a27a Merged in GZDB r2493. 2016-04-07 15:29:47 +02:00
MascaraSnake
c3e08eb1ef The name of custom Things can now be specified with the $Name parameter. 2016-04-07 00:15:35 +02:00
MascaraSnake
9609ef652c The last line of a Lua table may end with a comma. 2016-04-06 20:22:05 +02:00
MascaraSnake
a70580ac8c Multiline Lua comments are --[[ ]], not --[[ ]]--. 2016-04-06 20:05:48 +02:00
MascaraSnake
ee1233d642 LuaObjectParser now recognizes -- and --[[ ]]-- comments. 2016-04-06 16:14:26 +02:00
MascaraSnake
2925986234 Added Lua parser for custom things (longform object definition only). Print error messages if custom thing parsing fails. 2016-04-06 14:58:15 +02:00
MascaraSnake
cd54edc410 Added availability check and fixed preview image lookup for sprites of custom Things. 2016-04-06 12:52:47 +02:00
MascaraSnake
e501646989 Sprites for custom Things can be supplied with a "#$Sprite" comment. 2016-04-06 12:08:14 +02:00
MascaraSnake
ed578eab72 Look through SOC lumps for custom things and make them available in the editor (no sprites yet) 2016-03-18 17:32:31 +01:00
MascaraSnake
52ee6c41d0 The second character of an extended map number can be a letter, of course 2016-01-30 16:38:15 +01:00
MascaraSnake
d826a1e777 Display correct line number when reporting a SOC error. Report error if level number is invalid. 2016-01-30 12:51:04 +01:00
MascaraSnake
471649fa84 Added a terrible makeshift level header parser for SRB2 2016-01-30 12:05:12 +01:00