pingus-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pingus-CVS] CVS: Games/Pingus/doc worldmap.xml,1.3,1.4


From: grumbel
Subject: [Pingus-CVS] CVS: Games/Pingus/doc worldmap.xml,1.3,1.4
Date: 11 Oct 2002 20:02:25 -0000

Update of /usr/local/cvsroot/Games/Pingus/doc
In directory dark:/tmp/cvs-serv3305

Modified Files:
        worldmap.xml 
Log Message:
example worldmap file for the rewrite


Index: worldmap.xml
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/doc/worldmap.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- worldmap.xml        1 Oct 2002 23:10:41 -0000       1.3
+++ worldmap.xml        11 Oct 2002 20:02:23 -0000      1.4
@@ -1,4 +1,11 @@
 <pingus-worldmap>
+  <properties>
+    <name>My Funny Worldmap</name>
+    <music>pingus-1.it</music>
+    <author>Ingo Ruhnke ...</author>
+    <email>...</email>
+  </properties>
+  
   <!-- The graph specifies the path on which the pingu can walk -->
   <graph>
     <nodes>
@@ -20,7 +27,10 @@
     
     <edges>
       <edge id="egde_1" source="1" destination="2"> 
-       <!-- The path which connect two nodes -->
+       <!-- The path which connect two nodes 
+        
+        source and destination are exchangable, since the graph is
+        multidirect -->
        <data>
          <position>...</position>
          <position>...</position>
@@ -32,7 +42,8 @@
   <!-- Objects are other things on the worldmap, most likly background
   surfaces or other animated stuff -->
   <objects>
-    <!-- container for a worldobj -->
+    <!-- container for a worldmapobj, so that the worldmap object can
+    have an id (id's are used to hide/show worldmap objects -->
     <object id="tree_1">
       <sprite>
        <resource-desc>...</resource-desc>
@@ -40,23 +51,17 @@
          ...
        </position>
       </sprite>
+    </object>
 
+    <object id="birds_1">
       <birds>
-       <position>
-         ...
-       </position>
+        <position>
+          ...
+        </position>
       </birds>
-    </object>
-    ...
+    </birds>
+      ...
   </objects>
-
-  <properties>
-    <name>My Funny Worldmap</name>
-    <music>pingus-1.it</music>
-    <author>Ingo Ruhnke ...</author>
-    <email>...</email>
-  </properties>
-  
 </pingus-worldmap>
 
 <!-- EOF -->     





reply via email to

[Prev in Thread] Current Thread [Next in Thread]