2003-05-11 16:10:38 -06:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
< html >
< head >
<!--
2011-03-26 16:40:53 -06:00
---- (c) Copyright 2003-2011 by Nehal Mistry and Pali Rohár
2003-05-11 16:10:38 -06:00
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
2017-02-17 04:47:15 -07:00
---- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
---- 02110-1301, 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 >
2011-03-26 18:10:43 -06:00
< pre width = 80 >
2012-07-24 05:54:25 -06:00
_________ __ __
2011-03-26 18:10:43 -06:00
/ _____// |_____________ _/ |______ ____ __ __ ______
\_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
2012-07-24 05:54:25 -06:00
/ \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
2011-03-26 18:10:43 -06:00
/_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
2012-07-24 05:54:25 -06:00
\/ \/ \//_____/ \/
2011-03-26 18:10:43 -06:00
______________________ ______________________
2012-07-24 05:54:25 -06:00
T H E W A R B E G I N S
Stratagus - A free fantasy real time strategy game engine
2011-03-26 18:10:43 -06:00
< / pre >
< hr >
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 >
2012-07-24 06:00:09 -06:00
(C) Copyright 1998-2012 by The < a href = "https://launchpad.net/stratagus" > Stratagus< / a > Project under the < a href = "../gpl.html" > GNU General Public License< / a > .< br / >
2012-07-24 05:54:25 -06:00
All trademarks and copyrights on this page are owned by their respective owners.< br / >
2003-05-11 16:10:38 -06:00
< / body >
< / html >