1
0
forked from 0ad/0ad
0ad/binaries/data/mods/official/maps/scenario.dtd
Ykkrosh 22dd4dd67b Entities: Removed Tag attribute; it is taken from the filename instead. Made entity XML files be loaded on demand. Probably stopped crash when maps contain non-existent entities. Fixed a few bugs in entity definitions.
Maps: Stored non-entity objects in XML instead of PMP, for easier manual
editing. Updated existing maps to newest format, so that they can still
work. Added undocumented _rewriteMaps() JS function. Also renamed _mem
to vmem, and reclassified its undocumentedness as unintentional, since
it's reasonably useful.
Loader: added NonprogressiveLoad function, for ScEd/_rewriteMaps/etc
which don't care about progressiveness.
main.cpp: re-enabled vfs_display, since it doesn't crash now
Vector3D: stopped warning

This was SVN commit r2078.
2005-03-29 20:50:04 +00:00

27 lines
560 B
DTD

<!ELEMENT Scenario (Entities,Nonentities)>
<!ELEMENT Entities (Entity*)>
<!ELEMENT Entity (Template,Player,Position,Orientation)>
<!ELEMENT Template (#PCDATA)>
<!ELEMENT Player (#PCDATA)>
<!ELEMENT Position EMPTY>
<!ATTLIST Position
x CDATA #REQUIRED
y CDATA #REQUIRED
z CDATA #REQUIRED
>
<!ELEMENT Orientation EMPTY>
<!ATTLIST Orientation
angle CDATA #REQUIRED
>
<!ELEMENT Nonentities (Nonentity*)>
<!ELEMENT Nonentity (Actor,Position,Orientation)>
<!ELEMENT Actor (#PCDATA)>