FreeCraft Configuration Language Description: Config
___________ _________ _____ __
\_ _____/______ ____ ____ \_ ___ \____________ _/ ____\/ |_
| __) \_ __ \_/ __ \_/ __ \/ \ \/\_ __ \__ \\ __\\ __\
| \ | | \/\ ___/\ ___/\ \____| | \// __ \| | | |
\___ / |__| \___ >\___ >\______ /|__| (____ /__| |__|
\/ \/ \/ \/ \/
______________________ ______________________
T H E W A R B E G I N S
FreeCraft - A free fantasy real time strategy game engine
(C) Copyright 2001 by The FreeCraft Project. Distributed under the
"GNU General Public License"
FreeCraft
Readme
FAQ
CCL
PREV
NEXT
set-brightness!
set-color-cycle-all!
set-contrast!
set-saturation!
set-title-screen!
Intro - Introduction to config functions and variables
General configurations.
Functions
set-brightness!
Description
Change the global game brightness. Use this to adapt FreeCraft to your monitor
settings.
Syntax
(set-brightness! brightness)
- brightness
- Your brightness, can be a value from -100 to 100. 0 is the neutral point.
Example
(set-brightness! 15)
This is the default brightness. A little lighter than the original.
Used
$LIBARYPATH/ccl/freecraft.ccl
set-contrast!
Description
Change the global game contrast. Use this to adapt FreeCraft to your monitor
settings.
Syntax
(set-contrast! contrast)
- contrast
- Your contrast, can be a value from 0 to 400. 100 is the neutral point.
Example
(set-contrast! 110)
This is the default contrast. A little more than the original.
Used
$LIBARYPATH/ccl/freecraft.ccl
set-saturation!
Description
Change the global game saturation. Use this to adapt FreeCraft to your monitor
settings.
Syntax
(set-saturation! saturation)
- saturation
- Your saturation, can be a value from -100 to 200. 100 is the neutral point.
Example
(set-saturation! 100)
This is the default saturation.
Used
$LIBARYPATH/ccl/freecraft.ccl
set-title-screen!
Description
Change the default title screen.
Syntax
(set-title-screen! image)
- image
- Image to be displayed as title screen, this is the first screen displayed. The image should be a png file with 640x480 8-bit indexed colormap.
Example
(set-title-screen! "graphics/ui/freecraft.png")
This is the default title displayed.
Used
$LIBARYPATH/ccl/freecraft.ccl
Functions
set-color-cycle-all!
Description
Change how the color cycling is working. This is used to make the water moving
or the circle in the dark portal rotating.
Syntax
(set-color-cycle-all! flag)
- flag
- If flag is true (#t) all images are color cycled. If flag is false (#f) only the tileset and global palettes are color cycled.
Example
(set-color-cycle-all! #t)
This is the default, all images are color cycled.
Used
$LIBARYPATH/ccl/freecraft.ccl
Last changed: $Id: config.html,v 1.1 2001/09/23 19:34:12 johns Exp $
All trademarks and copyrights on this page are owned by their respective owners.
(c) 2001 by
The FreeCraft Project