mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-06-04 19:01:18 +00:00
Added ANIMDEFS CAMERATEXTURE support.
Some internal changes in text parsers logic.
This commit is contained in:
parent
dbcc57b7a6
commit
b9eba267db
23 changed files with 524 additions and 155 deletions
|
@ -172,10 +172,10 @@ namespace CodeImp.DoomBuilder.Controls
|
|||
}
|
||||
|
||||
// Preprocess the file
|
||||
AcsParserSE parser = new AcsParserSE { OnInclude = (se, path) => se.Parse(General.Map.Data.LoadFile(path), path, true, true) };
|
||||
AcsParserSE parser = new AcsParserSE { OnInclude = (se, path) => se.Parse(General.Map.Data.LoadFile(path), path, true, true, false) };
|
||||
using(FileStream stream = File.OpenRead(filepathname))
|
||||
{
|
||||
if(!parser.Parse(stream, filepathname, scriptconfig.Compiler.Files, true, false))
|
||||
if(!parser.Parse(stream, filepathname, scriptconfig.Compiler.Files, true, false, false))
|
||||
{
|
||||
// Check for errors
|
||||
if(parser.HasError)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue