forked from 0ad/0ad
Ykkrosh
22dd4dd67b
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.
27 lines
560 B
DTD
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)>
|