git » fp-git.git » commit 92d6e12

explained better

author ecalot
2004-06-22 07:13:41 UTC
committer ecalot
2004-06-22 07:13:41 UTC
parent 2b1db51b38ba9cbe1b4f1e2ccd1848d857ae8f71

explained better

stuff/data/FORMAT +29 -10

diff --git a/stuff/data/FORMAT b/stuff/data/FORMAT
index e767e44..48090c9 100644
--- a/stuff/data/FORMAT
+++ b/stuff/data/FORMAT
@@ -1,11 +1,30 @@
+Format of .def files:
+
+[FILE]
+[TYPE]
+[number 1]
+[number 2]
+[number 3]
+...
+
+Where FILE is the dat file where the resource is and type is the
+resource type according to "type" program.
+
 use:
- - listypes: to see a list of valid .def file types
- - makedat: to compile .def resources
-
-0: image (the first number is a pelette) | black is transparent
-1: mirrored image (idem) | black is transparent
-2: 0 but black is black
-3: 1 but black is black
-4: midi
-5: wave
-6: level
+ - ./type [ACTION]
+  where ACTION is
+	 - list: to see a list of valid .def file types
+	 - add: to add a new type
+	 - del: to remove a type
+	 - ren: to rename a type (not tested)
+ - ./makedat
+  to compile all .def resources in def file
+
+Both scripts will save the output files in the result directory.
+There are symbolic links from the places where those files are
+needed. This means that every time you run a makedat, the binary
+version of freeprince has their resources updated too.
+
+Note: a new build compilation is needed because the .h files are
+different now. Use "make build" in the freeprince src directory.
+