2003-05-11 16:10:38 -06:00
|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<!--
|
|
|
|
---- $Id$
|
|
|
|
|
|
|
|
---- (c) Copyright 2003 by Nehal Mistry
|
|
|
|
|
2003-07-03 10:08:07 -06:00
|
|
|
---- This program is free software; you can redistribute it and/or modify
|
2003-05-11 16:10:38 -06:00
|
|
|
---- it under the terms of the GNU General Public License as published by
|
2004-03-29 16:51:25 -07:00
|
|
|
---- the Free Software Foundation; only version 2 of the License.
|
2003-07-03 10:08:07 -06:00
|
|
|
----
|
|
|
|
---- This program is distributed in the hope that it will be useful,
|
2003-05-11 16:10:38 -06:00
|
|
|
---- 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.
|
2003-07-03 10:08:07 -06:00
|
|
|
----
|
|
|
|
---- 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.
|
2003-05-11 16:10:38 -06:00
|
|
|
-->
|
2003-07-03 09:35:45 -06:00
|
|
|
<title>Stratagus Palette Documentation</title>
|
2003-05-11 16:10:38 -06:00
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
2003-07-03 09:35:45 -06:00
|
|
|
<h1>Stratagus Palette Documentation</h1>
|
2003-05-11 16:10:38 -06:00
|
|
|
<hr>
|
|
|
|
|
2004-10-26 12:47:35 -06:00
|
|
|
Stratagus graphics use a 256 color palette.<p>
|
2003-05-11 16:10:38 -06:00
|
|
|
|
|
|
|
To see color indices, open the 'Indexed Palette' dialog in gimp.<p>
|
|
|
|
|
|
|
|
Some colors are fixed for specific usage as follows:<p>
|
|
|
|
|
|
|
|
<ul>
|
2004-10-26 12:47:35 -06:00
|
|
|
<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
|
2003-05-11 16:10:38 -06:00
|
|
|
darkest and will be replaced depending on the player color.
|
|
|
|
<li>The remaining colors may be used as regular colors
|
|
|
|
</ul>
|
|
|
|
|
2004-10-26 12:47:35 -06:00
|
|
|
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>
|
2003-05-11 16:10:38 -06:00
|
|
|
|
2004-10-26 12:47:35 -06:00
|
|
|
A sample palette, <a href="stratagus.gimp">stratagus.gimp</a>,
|
|
|
|
is included.<p>
|
2003-05-11 16:10:38 -06:00
|
|
|
|
|
|
|
<hr>
|
2005-09-10 05:39:29 -06:00
|
|
|
(C) Copyright 1998-2004 by The <a href="http://stratagus.org">Stratagus</a> Project
|
2004-10-26 13:36:55 -06:00
|
|
|
under the <a href="../gpl.html">GNU General Public License</a>.<br>
|
2003-05-11 16:10:38 -06:00
|
|
|
All trademarks and copyrights on this page are owned by their respective owners.<br>
|
|
|
|
</body>
|
|
|
|
</html>
|