FreeCraft 1.18 Media Documentation
Graphics
Sounds
Any format of sound will work with FreeCraft, although to save space it is
recommended that you use 16 bit, 22050 kHz, mono format. To save more
space, it is recommended that you gzip the file too.
All the sound entry data is in data/ccl/sound.ccl,
Here is an example ccl entry for: data/sounds/human/buildings/farm.wav.gz
(make-sound "farm-selected" "human/buildings/farm.wav")
Note how the '.gz' suffix isn't needed in the ccl entry,
the FreeCraft engine detects this automatically.
You may look through the ccl file for more examples.
(C) Copyright 1998-2003 by The FreeCraft Project
under the GNU General Public License.
All trademarks and copyrights on this page are owned by their respective owners.