1 |
archetype-file NAME.arc |
2 |
|
3 |
image-file NAME.PDA |
4 |
|
5 |
where |
6 |
P - part number |
7 |
D - coding, or any other instance |
8 |
coding in |
9 |
A - animation phase |
10 |
numbering, PDA |
11 |
- 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F,G,...,Z |
12 |
- alphanumerics |
13 |
- can be thought as hexadecimals |
14 |
|
15 |
name NAME: |
16 |
- maximum 10 characters long, so max file name is 14 characters, |
17 |
that fit into portability requirements: |
18 |
|
19 |
Part numbers |
20 |
3x3 |
21 |
1 2 3 |
22 |
4 5 6 |
23 |
7 8 9 |
24 |
2x2 |
25 |
1 2 |
26 |
3 4 |
27 |
3x2 |
28 |
1 2 3 |
29 |
4 5 6 |
30 |
2x3 |
31 |
1 2 |
32 |
3 4 |
33 |
5 6 |
34 |
codings: |
35 |
direction: |
36 |
|
37 |
8 1 2 |
38 |
\ | / |
39 |
7- 0 -3 |
40 |
/ | \ |
41 |
6 5 4 |
42 |
|
43 |
- same as in crossfire |
44 |
|
45 |
turnable (reflecting objects): |
46 |
0 to left, vertical |
47 |
1 to right, horizontal |
48 |
- also in gates,signs, ... |
49 |
|
50 |
walls: |
51 |
1 |
52 |
| |
53 |
8 -+- 2 |
54 |
| |
55 |
4 |
56 |
|
57 |
- bit-combination; eg. 8 + 4 + 2 + 1 = F is cross, |
58 |
4 + 1 = 5 is vertical wall. |
59 |
|
60 |
river: |
61 |
|
62 |
The non branched rivers are stored as river_XY.arc and river_XY.PDA |
63 |
The XY use the direction scheme above (that is, river_15 runs |
64 |
north/south). As of now, D and A are always 1. P will be up to |
65 |
3, as rivers that run diagonally have wedges for the corners of the |
66 |
adjacent spaces. These wedges are stored as river_48.211, river_48.311, |
67 |
river_26.211 and river_26.311. The archetypes for these are stored |
68 |
in river_48.arc and river_26.arc. |
69 |
|
70 |
Junctions are of the form branch_XYZ.[arc/111]. XYZ reperesent the |
71 |
three directions the river exits. 367 would be east,southwest, and |
72 |
west. Junctions may also have multiple parts - this happens when |
73 |
the junction has a diagonal direction. |
74 |
|
75 |
By convention, all directions for the river parts are in ascending |
76 |
order. That is to say if the exit locations are 2,6,3, that would |
77 |
be stored as branch_236. |
78 |
|
79 |
cave: |
80 |
-complex |
81 |
|
82 |
modified: |
83 |
93/08 hevi@lut.fi - created |
84 |
94/05 master@rahul.net - updated river definitions. |
85 |
|
86 |
### end of README ### |