File: tileset.html

package info (click to toggle)
ale-clone 1.15pre16.3-1
  • links: PTS
  • area: contrib
  • in suites: potato
  • size: 2,432 kB
  • ctags: 3,217
  • sloc: ansic: 37,483; sh: 1,105; makefile: 343
file content (174 lines) | stat: -rw-r--r-- 6,212 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
<!--
----	$Id: tileset.html,v 1.3 1999/11/21 22:01:01 root Exp $
-->
<HTML><HEAD>
    <TITLE>ALE Clone tileset graphic format</TITLE>
</HEAD>
<BODY>
    <H1>ALE Clone tileset graphic format</H1>
<HR>

The clone playfield is build with tiles each with the size of 32x32 pixels.

<H2>Tileset graphic file format</H2>

The graphic data for tiles are stored in the directory:
    $CLONEHOME/data/graphic/tileset.<P>

<H3>Fantasy warfare summer tileset</H3>

<DIV ALIGN=CENTER>
<IMG SRC="summer_klein.png" ALT="[SUMMER]">
</DIV>

<UL>
<LI>Fog of war mask.<BR>
<IMG SRC="fog_of_war.png" ALT="[FOG OF WAR]">
<LI>Human walls.<BR>
<IMG SRC="human_wall.png" ALT="[HUMAN WALL]">
<LI>Orc walls.<BR>
<IMG SRC="orc_wall.png" ALT="[ORC WALL]">
<LI>Defect human walls.<BR>
<IMG SRC="defect_human_wall.png" ALT="[DEFECT HUMAN WALL]">
<LI>Defect orc walls.<BR>
<IMG SRC="defect_orc_wall.png" ALT="[DEFECT ORC WALL]">
<LI>Destroyed walls.<BR>
<IMG SRC="destroyed_wall.png" ALT="[DESTROYED WALL]">
<LI>Forest and ground.<BR>
<IMG SRC="forest_and_ground.png" ALT="[FOREST GROUND]">
<LI>Rocks and coast.<BR>
<IMG SRC="rocks_and_coast.png" ALT="[ROCKS COAST]">
<LI>Light and dark coast.<BR>
<IMG SRC="light_and_dark_coast.png" ALT="[LIGHT DARK COAST]">
<LI>Water and coast.<BR>
<IMG SRC="water_and_coast.png" ALT="[WATER COAST]">
<LI>Light and dark ground.<BR>
<IMG SRC="light_and_dark_ground.png" ALT="[LIGHT DARK GROUND]">
<LI>Water and coast.<BR>
<IMG SRC="water_and_coast.png" ALT="[WATER COAST]">
<LI>Light and dark water.<BR>
<IMG SRC="light_and_dark_water.png" ALT="[LIGHT DARK WATER]">
<LI>Light coast.<BR>
<IMG SRC="light_coast.png" ALT="[LIGHT COAST]">
<LI>Dark coast.<BR>
<IMG SRC="dark_coast.png" ALT="[DARK COAST]">
<LI>Light ground.<BR>
<IMG SRC="light_ground.png" ALT="[LIGHT GROUND]">
<LI>Dark ground.<BR>
<IMG SRC="dark_ground.png" ALT="[DARK GROUND]">
</UL>

<H2>Tileset map file format</H2>

The tiles are stored in the map with this numbers.<P>
The mapping from the map tile number to the graphic tile number is stored
in the file $CLONEHOME/data/ccl/tileset.ccl.<P>

The tiles in the map are numbered from 0 to 0x9DF (2527).

<UL>
<LI>0x0000 - 0x000F unused
<LI>0x0010 - 0x001F solid light water
<LI>0x0020 - 0x002F solid dark water
<LI>0x0030 - 0x003F solid light coast
<LI>0x0040 - 0x004F solid dark coast
<LI>0x0050 - 0x005F solid light ground
<LI>0x0060 - 0x006F solid dark ground
<LI>0x0070 - 0x007F solid forest
<LI>0x0080 - 0x008F solid mountains
<LI>0x0090 - 0x009F solid human walls
    <UL>
    <LI>0x0 Solid wall
    <LI>0x2 defect wall
    <LI>0x4 destroyed wall
    </UL>
<LI>0x00A0 - 0x00AF solid orc walls
    <BR>See solid human walls.
<LI>0x00B0 - 0x00BF solid human walls
    <BR>See solid human walls.
<LI>0x00C0 - 0x00CF solid orc walls
    <BR>See solid human walls.
<LI>0x00D0 - 0x00FF unused
<LI>0x0100 - 0x01FF dark and light water
    <UL>
    <LI>0x0* filled upper left
    <LI>0x1* filled upper right
    <LI>0x2* filled upper half
    <LI>0x3* filled lower left
    <LI>0x4* filled left half
    <LI>0x5* clear upper left and lower right
    <LI>0x6* clear lower right
    <LI>0x7* filled lower right
    <LI>0x8* filled upper left and lower right
    <LI>0x9* clear left half
    <LI>0xA* clear lower left
    <LI>0xB* clear upper half
    <LI>0xC* clear upper right
    <LI>0xD* clear upper left
    <LI>0xE* unused
    <LI>0xF* unused
    </UL>
<LI>0x0200 - 0x02FF water and coast
    <BR>See dark and light water
<LI>0x0300 - 0x03FF dark and light coast
    <BR>See dark and light water
<LI>0x0400 - 0x04FF mountain and coast
    <BR>See dark and light water
<LI>0x0500 - 0x05FF coast and ground
    <BR>See dark and light water
<LI>0x0600 - 0x06FF dark and light ground
    <BR>See dark and light water
<LI>0x0700 - 0x07FF forest and ground
    <BR>See dark and light water
<LI>0x0800 - 0x08FF human wall
    <BR>See dark and light water
<LI>0x0900 - 0x09FF orc wall
    <BR>See dark and light water
<LI>0x0A00 - 0xFFFF unused
</UL>

<H3>Palette</H3>

The palette are stored with the tilesets.<P>
This will I change later.

<TABLE>
<TR><TD>  0	</TD><TD>black	</TD></TR>
<TR><TD>  1	</TD><TD>blue player color on minimap	</TD></TR>
<TR><TD>  2	</TD><TD>yellow player color on minimap	</TD></TR>
<TR><TD>  3	</TD><TD>flash red/green attacked building on minimap</TD></TR>
<TR><TD>12-15	</TD><TD>4 colors for yellow player	</TD></TR>
<TR><TD>38- 47	</TD><TD>Water color cycle map	</TD></TR>
<TR><TD>48- 56	</TD><TD>Water/Coast color cycle map	</TD></TR>
<TR><TD>104	</TD><TD>Reverse color 1 font	</TD></TR>
<TR><TD>149	</TD><TD>Dark green for hit points	</TD></TR>
<TR><TD>192	</TD><TD>Color 0 font	</TD></TR>
<TR><TD>199	</TD><TD>Color 1 font	</TD></TR>
<TR><TD>200	</TD><TD>Color 2 font	</TD></TR>
<TR><TD>202	</TD><TD>Pulsated red (circle of power) </TD></TR>
<TR><TD>206	</TD><TD>Color for mana points	</TD></TR>
<TR><TD>208	</TD><TD>red player color on minimap	</TD></TR>
<TR><TD>208-211	</TD><TD>4 colors for red player	</TD></TR>
<TR><TD>212-215	</TD><TD>4 colors for blue player	</TD></TR>
<TR><TD>216	</TD><TD>green player color on minimap	</TD></TR>
<TR><TD>216-219	</TD><TD>4 colors for green player	</TD></TR>
<TR><TD>220	</TD><TD>violett player color on minimap	</TD></TR>
<TR><TD>220-223	</TD><TD>4 colors for violett player	</TD></TR>
<TR><TD>224	</TD><TD>orange player color on minimap	</TD></TR>
<TR><TD>224-227	</TD><TD>4 colors for orange player	</TD></TR>
<TR><TD>228	</TD><TD>black player color on minimap	</TD></TR>
<TR><TD>228-231	</TD><TD>4 colors for black player	</TD></TR>
<TR><TD>232-235	</TD><TD>4 colors for black player	</TD></TR>
<TR><TD>239	</TD><TD>Color 3 font	</TD></TR>
<TR><TD>240-244	</TD><TD>Water color cycle icons	</TD></TR>
<TR><TD>246	</TD><TD>Reverse color 0 font (white)	</TD></TR>
<TR><TD>247	</TD><TD>neutral on minimap	</TD></TR>
<TR><TD>248	</TD><TD>Gray of icons	</TD></TR>
<TR><TD>249	</TD><TD>red for hit points	</TD></TR>
<TR><TD>250	</TD><TD>Green on minimap	</TD></TR>
<TR><TD>251	</TD><TD>Gold on minimap (yellow)	</TD></TR>
<TR><TD>252	</TD><TD>blink red/yellow on minimap	</TD></TR>
<TR><TD>255	</TD><TD>white player color on minimap	</TD></TR>
<TR><TD>255	</TD><TD>color for view point rectangle	</TD></TR>
</TABLE>
</BODY>