git » fp-git.git » commit c7659ad

those files have been added to generate the resources.xml file to help pr do the tasks

author ecalot
2004-06-13 06:39:02 UTC
committer ecalot
2004-06-13 06:39:02 UTC
parent 745ceaca7b974f0c2bb403bae3df55b8df6db0a3

those files have been added to generate the resources.xml file to help pr do the tasks

stuff/data/xml/gen1.xml +38 -0
stuff/data/xml/gen2.xml +56 -0

diff --git a/stuff/data/xml/gen1.xml b/stuff/data/xml/gen1.xml
new file mode 100644
index 0000000..b6f4a8c
--- /dev/null
+++ b/stuff/data/xml/gen1.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" ?>
+<!DOCTYPE note SYSTEM "http://www.princed.com.ar/standrds/xml/resources/std1.dtd">
+<!--
+    Princed V3 - Prince of Persia Level Editor for PC Version
+    Copyright (C) 2003 Princed Development Team
+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program; if not, write to the Free Software
+    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+    The authors of this program may be contacted at http://forum.princed.com.ar
+-->
+
+<!--
+resources.xml: Princed Resources : Resource tree
+
+ Copyright 2004 Princed Development Team
+  Created: 04 Jun 2004
+
+  Author:  Enrique Calot (ecalot@users.sourceforge.net)
+  Version: 0.1 (2004-Jun-13)
+
+ Note:
+  DO NOT remove this copyright notice
+-->
+
+<resources version="0.1">
+ <folder name="resource information" itemtype="binary" file="main.dat">
diff --git a/stuff/data/xml/gen2.xml b/stuff/data/xml/gen2.xml
new file mode 100644
index 0000000..4ea6204
--- /dev/null
+++ b/stuff/data/xml/gen2.xml
@@ -0,0 +1,56 @@
+ </folder>
+</resources>
+
+<!--
+File Format:
+
+Attributes:
+ resources:
+  o version: the version of the file (mandatory)
+ folder:
+  o type (inheritable): the type of the folder
+    * game
+    * none
+  o itemtype (inheritable): the type of the items below (if not specified)
+    * autodetect
+    * level
+    * image
+    * wave
+    * midi
+    * binary
+    * palette
+    * pcspeaker
+    * information
+    * (...): extensible
+    Note:
+     - See PR readme for details on item types
+     - If no type is provided, PR will try to autodetect it
+  o palette (inheritable): 
+    * number: the palette ID associated to the images in this folder if applicable
+    * "monochrome": this means the image has a black and white monochrome palette
+    Notes:
+     - the palette attribute will be ignored in resources other than images.
+     - if the number value is not a valid palette, the image will be extracted in other
+       palette from the file or a random generated palette.
+  o name (not inheritable): the name of the folder
+  o desc (not inheritable): a description
+  o path (partially inheritable): a path where the folder is extracted to.
+    Contained items will inherit this path. There must be only one path per item.
+    If missing PR will use unknown/(filename)/(type desc)(item id).(type extension)
+  o file (inheritable): the file where the item is located
+ item:
+  o value: the item ID (mandatory)
+  o file: see itemtype file (mandatory but may be inherited from a folder)
+  o itemtype: see folder itemtype. May be inherited, omissions means autodetect
+  o palette: see folder palette. Mandatory for image types but may be inherited,
+    when omited a ramdom palette will be used.
+  o desc: a description
+  o path: the name of the file it will be extracted
+  o number or levelnumber: an additional resource or level number
+
+Distributed versions if this file are read only and MUST have the GPL header,
+if you want to help please contact us in www.princed.com.ar. Find DTDs in the
+princed home page.
+ 
+-->
+