Make MonsterExtra table a root table (#5315)

- MonsterExtra table a root table
- add mosterdata_extra.json
This commit is contained in:
Vladimir Glavnyy
2019-05-03 05:12:58 +07:00
committed by Wouter van Oortmerssen
parent b8ef8c1521
commit af74f87ccd
9 changed files with 294 additions and 17 deletions

View File

@@ -23,7 +23,7 @@ if "%1"=="-b" set buildtype=%2
IF NOT "%MONSTER_EXTRA%"=="skip" (
@echo Generate MosterExtra
..\%buildtype%\flatc.exe --cpp --java --csharp --python --gen-mutable --reflect-names --gen-object-api --gen-compare --no-includes monster_extra.fbs || goto FAIL
..\%buildtype%\flatc.exe --cpp --java --csharp --python --gen-mutable --reflect-names --gen-object-api --gen-compare --no-includes monster_extra.fbs monsterdata_extra.json || goto FAIL
) else (
@echo monster_extra.fbs skipped (the strtod function from MSVC2013 or older doesn't support NaN/Inf arguments)
)