git » fp-git.git » commit 00310e8

title

author ecalot
2004-07-09 09:45:18 UTC
committer ecalot
2004-07-09 09:45:18 UTC
parent 443ee658c7c648b98af3f243669b368f8a7787a5

title

FP/doc/FormatSpecifications +29 -25
FP/doc/FormatSpecifications.tex +29 -25

diff --git a/FP/doc/FormatSpecifications b/FP/doc/FormatSpecifications
index 886ddca..bb2b252 100644
--- a/FP/doc/FormatSpecifications
+++ b/FP/doc/FormatSpecifications
@@ -1,32 +1,36 @@
+             
+                  Prince of Persia DAT File Format
+                           Specifications
+
 Table of Contents
 ~~~~~ ~~ ~~~~~~~~
-1. Preamble .......................................................... 31
-2. Introduction ...................................................... 36
+1. Preamble .......................................................... 35
+2. Introduction ...................................................... 40
 3. Primitives ........................................................ 54 
-3.1. DAT reading and writing primitives .............................. 61
-3.2. DAT reading primitives .......................................... 73
-3.3. DAT writing primitives .......................................... 80
+3.1. DAT reading and writing primitives .............................. 65
+3.2. DAT reading primitives .......................................... 77
+3.3. DAT writing primitives .......................................... 84
 4. File Specifications ............................................... 85 
-4.1. General file specs, index and checksums ......................... 91
-4.2. Images ......................................................... 156
-4.2.1 Headers ....................................................... 159
-4.2.2 Algorithms .................................................... 182
-4.2.2.1 Run length encoding (RLE) ................................... 198
-4.2.2.2 LZ variant (LZG) ............................................ 209
-4.3. Palettes ....................................................... 286
-4.4. Levels ......................................................... 293
-4.4.1 Unknown blocks ................................................ 321
-4.4.2 Room mapping .................................................. 338
-4.4.3 Room linking .................................................. 444
-4.4.4 Guard handling ................................................ 460
-4.4.5 Starting Position ............................................. 487
-4.4.6 Door events ................................................... 501
-4.5. Digital Waves .................................................. 545
-4.6. Midi music ..................................................... 555
-4.7. Internal PC Speaker ............................................ 558
-4.8. Binary files ................................................... 563
-5. Credits .......................................................... 569
-6. License .......................................................... 582
+4.1. General file specs, index and checksums ......................... 95
+4.2. Images ......................................................... 160
+4.2.1 Headers ....................................................... 163
+4.2.2 Algorithms .................................................... 186
+4.2.2.1 Run length encoding (RLE) ................................... 202
+4.2.2.2 LZ variant (LZG) ............................................ 213
+4.3. Palettes ....................................................... 290
+4.4. Levels ......................................................... 297
+4.4.1 Unknown blocks ................................................ 325
+4.4.2 Room mapping .................................................. 342
+4.4.3 Room linking .................................................. 448
+4.4.4 Guard handling ................................................ 464
+4.4.5 Starting Position ............................................. 491
+4.4.6 Door events ................................................... 505
+4.5. Digital Waves .................................................. 549
+4.6. Midi music ..................................................... 559
+4.7. Internal PC Speaker ............................................ 562
+4.8. Binary files ................................................... 567
+5. Credits .......................................................... 573
+6. License .......................................................... 586
 
 1. Preamble
    ~~~~~~~~
diff --git a/FP/doc/FormatSpecifications.tex b/FP/doc/FormatSpecifications.tex
index 886ddca..bb2b252 100644
--- a/FP/doc/FormatSpecifications.tex
+++ b/FP/doc/FormatSpecifications.tex
@@ -1,32 +1,36 @@
+             
+                  Prince of Persia DAT File Format
+                           Specifications
+
 Table of Contents
 ~~~~~ ~~ ~~~~~~~~
-1. Preamble .......................................................... 31
-2. Introduction ...................................................... 36
+1. Preamble .......................................................... 35
+2. Introduction ...................................................... 40
 3. Primitives ........................................................ 54 
-3.1. DAT reading and writing primitives .............................. 61
-3.2. DAT reading primitives .......................................... 73
-3.3. DAT writing primitives .......................................... 80
+3.1. DAT reading and writing primitives .............................. 65
+3.2. DAT reading primitives .......................................... 77
+3.3. DAT writing primitives .......................................... 84
 4. File Specifications ............................................... 85 
-4.1. General file specs, index and checksums ......................... 91
-4.2. Images ......................................................... 156
-4.2.1 Headers ....................................................... 159
-4.2.2 Algorithms .................................................... 182
-4.2.2.1 Run length encoding (RLE) ................................... 198
-4.2.2.2 LZ variant (LZG) ............................................ 209
-4.3. Palettes ....................................................... 286
-4.4. Levels ......................................................... 293
-4.4.1 Unknown blocks ................................................ 321
-4.4.2 Room mapping .................................................. 338
-4.4.3 Room linking .................................................. 444
-4.4.4 Guard handling ................................................ 460
-4.4.5 Starting Position ............................................. 487
-4.4.6 Door events ................................................... 501
-4.5. Digital Waves .................................................. 545
-4.6. Midi music ..................................................... 555
-4.7. Internal PC Speaker ............................................ 558
-4.8. Binary files ................................................... 563
-5. Credits .......................................................... 569
-6. License .......................................................... 582
+4.1. General file specs, index and checksums ......................... 95
+4.2. Images ......................................................... 160
+4.2.1 Headers ....................................................... 163
+4.2.2 Algorithms .................................................... 186
+4.2.2.1 Run length encoding (RLE) ................................... 202
+4.2.2.2 LZ variant (LZG) ............................................ 213
+4.3. Palettes ....................................................... 290
+4.4. Levels ......................................................... 297
+4.4.1 Unknown blocks ................................................ 325
+4.4.2 Room mapping .................................................. 342
+4.4.3 Room linking .................................................. 448
+4.4.4 Guard handling ................................................ 464
+4.4.5 Starting Position ............................................. 491
+4.4.6 Door events ................................................... 505
+4.5. Digital Waves .................................................. 549
+4.6. Midi music ..................................................... 559
+4.7. Internal PC Speaker ............................................ 562
+4.8. Binary files ................................................... 567
+5. Credits .......................................................... 573
+6. License .......................................................... 586
 
 1. Preamble
    ~~~~~~~~