64 lines
2.4 KiB
HTML
64 lines
2.4 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html>
|
|
<head>
|
|
<!--
|
|
---- $Id$
|
|
|
|
---- (c) Copyright 2003 by Nehal Mistry
|
|
|
|
---- 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; only version 2 of the License.
|
|
----
|
|
---- 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.
|
|
-->
|
|
<title>Stratagus Palette Documentation</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1>Stratagus Palette Documentation</h1>
|
|
<hr>
|
|
|
|
Stratagus graphics use a 256 color palette.<p>
|
|
|
|
To see color indices, open the 'Indexed Palette' dialog in gimp.<p>
|
|
|
|
Some colors are fixed for specific usage as follows:<p>
|
|
|
|
<ul>
|
|
<li>38-47 : Water Cycling. Or any other range as defined in the
|
|
scripts with SetColorWaterCycleStart and SetColorWaterCycleEnd.
|
|
<li>240-244 : Icon Cycling. Or any other range as defined in the
|
|
scripts with SetColorIconCycleStart and SetColorIconCycleEnd.
|
|
<li>205-207 : Building Cycling. Or any other range as defined in the
|
|
scripts with SetColorBuildingCycleStart and SetColorBuildingCycleEnd.
|
|
<li>208-211 : These are the player colors, going from lightest to
|
|
darkest and will be replaced depending on the player color.
|
|
<li>The remaining colors may be used as regular colors
|
|
</ul>
|
|
|
|
NOTE: the cycling applies to all images, eg, the building cycling
|
|
occurs for icons as well. The color cycling can be configured
|
|
from ccl eg, by editing the "SetColorWaterCycleStart(38)" line
|
|
you can set the start for the water cycling. Color cycling can
|
|
be disabled or enabled with "SetColorCycleAll".<p>
|
|
|
|
A sample palette, <a href="stratagus.gimp">stratagus.gimp</a>,
|
|
is included.<p>
|
|
|
|
<hr>
|
|
(C) Copyright 1998-2004 by The <a href="http://stratagus.org">Stratagus</a> Project
|
|
under the <a href="../gpl.html">GNU General Public License</a>.<br>
|
|
All trademarks and copyrights on this page are owned by their respective owners.<br>
|
|
</body>
|
|
</html>
|