Skip to content

Commit

Permalink
DotScene: Improve identation of DTD (OGRECave#3088)
Browse files Browse the repository at this point in the history
  • Loading branch information
sercero authored Apr 21, 2024
1 parent 718389f commit fb8193b
Showing 1 changed file with 89 additions and 89 deletions.
178 changes: 89 additions & 89 deletions PlugIns/DotScene/misc/dotscene.dtd
Original file line number Diff line number Diff line change
@@ -1,181 +1,181 @@
<!ELEMENT scene (nodes?, externals?, environment?, terrain?, userData?, light?, camera?)>
<!ATTLIST scene
formatVersion CDATA #FIXED "1.1"
id ID #IMPLIED
formatVersion CDATA #FIXED "1.1"
id ID #IMPLIED
sceneManager CDATA #IMPLIED
minOgreVersion CDATA #IMPLIED
author CDATA #IMPLIED
minOgreVersion CDATA #IMPLIED
author CDATA #IMPLIED
>

<!ELEMENT terrainGroup (terrain*)>
<!ATTLIST terrainGroup
size CDATA #REQUIRED
worldSize CDATA #REQUIRED
size CDATA #REQUIRED
worldSize CDATA #REQUIRED
>

<!ELEMENT terrain EMPTY>
<!ATTLIST terrain
x CDATA #REQUIRED
y CDATA #REQUIRED
dataFile CDATA #REQUIRED
x CDATA #REQUIRED
y CDATA #REQUIRED
dataFile CDATA #REQUIRED
>

<!ELEMENT nodes (node*, position?, rotation?, scale?)>

<!ELEMENT node (position?, rotation?, scale?, lookTarget?, trackTarget?, userData?, animations?, node*, entity*, light*, camera*, particleSystem*, billboardSet*, plane*)>
<!ATTLIST node
name CDATA #IMPLIED
id ID #IMPLIED
name CDATA #IMPLIED
id ID #IMPLIED
isTarget (true | false) "true"
>

<!ELEMENT particleSystem (userData?)>
<!ATTLIST particleSystem
name CDATA #IMPLIED
id ID #IMPLIED
name CDATA #IMPLIED
id ID #IMPLIED
template CDATA #REQUIRED
>

<!ELEMENT light (colourDiffuse?, colourSpecular?, lightRange?, lightAttenuation?, lightSourceSize?, userData?)>
<!ATTLIST light
name CDATA #IMPLIED
id ID #IMPLIED
name CDATA #IMPLIED
id ID #IMPLIED
type (point | directional | spot | rect) "point"
visible (true | false) "true"
castShadows (true | false) "true"
powerScale CDATA "1.0"
visible (true | false) "true"
castShadows (true | false) "true"
powerScale CDATA "1.0"
>

<!ELEMENT camera (clipping?, userData?)>
<!ATTLIST camera
name CDATA #IMPLIED
id ID #IMPLIED
fov CDATA #IMPLIED
aspectRatio CDATA #IMPLIED
projectionType (perspective | orthographic) "perspective"
id ID #IMPLIED
fov CDATA #IMPLIED
aspectRatio CDATA #IMPLIED
projectionType (perspective | orthographic) "perspective"
>

<!ELEMENT trackTarget (localDirection?, offset?)>
<!ATTLIST trackTarget
nodeName CDATA #REQUIRED
nodeName CDATA #REQUIRED
>

<!ELEMENT lookTarget (position?, localDirection?)>
<!ATTLIST lookTarget
nodeName CDATA #IMPLIED
relativeTo (local | parent | world) "parent"
relativeTo (local | parent | world) "parent"
>

<!ELEMENT lightAttenuation EMPTY>
<!ATTLIST lightAttenuation
range CDATA #IMPLIED
constant CDATA #IMPLIED
linear CDATA #IMPLIED
quadratic CDATA #IMPLIED
range CDATA #IMPLIED
constant CDATA #IMPLIED
linear CDATA #IMPLIED
quadratic CDATA #IMPLIED
>

<!ELEMENT lightRange EMPTY>
<!ATTLIST lightRange
inner CDATA #REQUIRED
outer CDATA #REQUIRED
falloff CDATA #REQUIRED
inner CDATA #REQUIRED
outer CDATA #REQUIRED
falloff CDATA #REQUIRED
>

<!ELEMENT lightSourceSize EMPTY>
<!ATTLIST lightSourceSize
width CDATA #REQUIRED
height CDATA #REQUIRED
width CDATA #REQUIRED
height CDATA #REQUIRED
>

<!ELEMENT entity (userData?)>
<!ATTLIST entity
name CDATA #IMPLIED
id ID #IMPLIED
visible (true | false) "true"
meshFile CDATA #REQUIRED
material CDATA #IMPLIED
static CDATA #IMPLIED
instanced CDATA #IMPLIED
castShadows (true | false) "true"
name CDATA #IMPLIED
id ID #IMPLIED
visible (true | false) "true"
meshFile CDATA #REQUIRED
material CDATA #IMPLIED
static CDATA #IMPLIED
instanced CDATA #IMPLIED
castShadows (true | false) "true"
>

<!ELEMENT environment (fog?, skyBox?, skyDome?, skyPlane?, colourAmbient?, colourBackground?)>

<!ELEMENT clipping EMPTY>
<!ATTLIST clipping
near CDATA #REQUIRED
far CDATA #REQUIRED
far CDATA #REQUIRED
>

<!ELEMENT fog (colourDiffuse?)>
<!ATTLIST fog
expDensity CDATA "0.001"
linearStart CDATA "0.0"
linearEnd CDATA "1.0"
mode (none | exp | exp2 | linear) "none"
expDensity CDATA "0.001"
linearStart CDATA "0.0"
linearEnd CDATA "1.0"
mode (none | exp | exp2 | linear) "none"
>

<!ELEMENT skyBox (rotation?)>
<!ATTLIST skyBox
material CDATA #REQUIRED
distance CDATA "5000"
drawFirst (true | false) "true"
distance CDATA "5000"
drawFirst (true | false) "true"
>

<!ELEMENT skyDome (rotation?)>
<!ATTLIST skyDome
material CDATA #REQUIRED
curvature CDATA "10"
tiling CDATA "8"
distance CDATA "4000"
drawFirst (true | false) "true"
curvature CDATA "10"
tiling CDATA "8"
distance CDATA "4000"
drawFirst (true | false) "true"
>

<!ELEMENT skyPlane EMPTY>
<!ATTLIST skyPlane
material CDATA #REQUIRED
planeX CDATA "0"
planeY CDATA "-1"
planeZ CDATA "0"
planeD CDATA "5000"
scale CDATA "1000"
bow CDATA "0"
tiling CDATA "10"
drawFirst (true | false) "true"
planeX CDATA "0"
planeY CDATA "-1"
planeZ CDATA "0"
planeD CDATA "5000"
scale CDATA "1000"
bow CDATA "0"
tiling CDATA "10"
drawFirst (true | false) "true"
>

<!ELEMENT billboardSet (billboard*)>
<!ATTLIST billboardSet
name CDATA #REQUIRED
material CDATA #REQUIRED
id ID #IMPLIED
width CDATA "10"
height CDATA "10"
name CDATA #REQUIRED
material CDATA #REQUIRED
id ID #IMPLIED
width CDATA "10"
height CDATA "10"
type (orientedCommon | orientedSelf | point) "point"
origin (bottomLeft | bottomCenter | bottomRight | left | center | right | topLeft | topCenter | topRight) "center"
origin (bottomLeft | bottomCenter | bottomRight | left | center | right | topLeft | topCenter | topRight) "center"
>

<!ELEMENT billboard (position?, rotation?, colourDiffuse?)>
<!ATTLIST billboard
id ID #IMPLIED
width CDATA #IMPLIED
height CDATA #IMPLIED
id ID #IMPLIED
width CDATA #IMPLIED
height CDATA #IMPLIED
>

<!ELEMENT plane (normal, upVector?)>
<!ATTLIST plane
name CDATA #REQUIRED
id ID #IMPLIED
id ID #IMPLIED
distance CDATA #REQUIRED
width CDATA #REQUIRED
height CDATA #REQUIRED
xSegments CDATA "1"
ySegments CDATA "1"
numTexCoordSets CDATA "1"
uTile CDATA "1"
vTile CDATA "1"
width CDATA #REQUIRED
height CDATA #REQUIRED
xSegments CDATA "1"
ySegments CDATA "1"
numTexCoordSets CDATA "1"
uTile CDATA "1"
vTile CDATA "1"
material CDATA #IMPLIED
normals (true | false) "true"
normals (true | false) "true"
>

<!ELEMENT externals (item*)>
Expand All @@ -199,17 +199,17 @@

<!ELEMENT rotation EMPTY>
<!ATTLIST rotation
qx CDATA #IMPLIED
qy CDATA #IMPLIED
qz CDATA #IMPLIED
qw CDATA #IMPLIED
axisX CDATA #IMPLIED
axisY CDATA #IMPLIED
axisZ CDATA #IMPLIED
angle CDATA #IMPLIED
angleX CDATA #IMPLIED
angleY CDATA #IMPLIED
angleZ CDATA #IMPLIED
qx CDATA #IMPLIED
qy CDATA #IMPLIED
qz CDATA #IMPLIED
qw CDATA #IMPLIED
axisX CDATA #IMPLIED
axisY CDATA #IMPLIED
axisZ CDATA #IMPLIED
angle CDATA #IMPLIED
angleX CDATA #IMPLIED
angleY CDATA #IMPLIED
angleZ CDATA #IMPLIED
>

<!ELEMENT normal EMPTY>
Expand Down

0 comments on commit fb8193b

Please sign in to comment.