mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-24 22:52:18 +00:00
# Initial support for automatic validation of entity template XML.
Add RelaxNG schemas for all current components. Add -dumpSchema command-line option to dump the combined entity schema. Add a Perl script to validate entity templates against the schema. See #413. This was SVN commit r7452.
This commit is contained in:
@@ -306,3 +306,8 @@ bool CSimulation2::DeserializeState(std::istream& stream)
|
||||
// TODO: need to make sure the required SYSTEM_ENTITY components get constructed
|
||||
return m->m_ComponentManager.DeserializeState(stream);
|
||||
}
|
||||
|
||||
std::string CSimulation2::GenerateSchema()
|
||||
{
|
||||
return m->m_ComponentManager.GenerateSchema();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user