FreeCraft Configuration Language Description: Tileset


     ___________		     _________		      _____  __
     \_	  _____/______   ____   ____ \_   ___ \____________ _/ ____\/  |_
      |    __) \_  __ \_/ __ \_/ __ \/    \  \/\_  __ \__  \\   __\\   __|
      |     \   |  | \/\  ___/\  ___/\     \____|  | \// __ \|  |   |  |
      \___  /   |__|    \___  >\___  >\______  /|__|  (____  /__|   |__|
	  \/		    \/	   \/	     \/		   \/
    ______________________                           ______________________
			  T H E   W A R   B E G I N S
	   FreeCraft - A free fantasy real time strategy game engine

(C) Copyright 1998-2003 by The FreeCraft Project. Distributed under the "GNU General Public License"


FreeCraft Readme FAQ CCL PREV NEXT Index
define-tileset define-tileset-wc-names

Intro - Introduction to tileset functions and variables

Everything around the C Tileset structure.

Functions

define-tileset

Description

Define a tileset for the engine.

This could also be defined in own levels.

Syntax

(define-tileset ident class name image palette slots animations) FIXME:
ident
.
class
.
name
.
image
.
palette
.
slots
.
animations
.

Example

    (define-tileset

define-tileset-wc-names

Description

Define the mapping of the tileset numbers in puds, to the tileset names.

Syntax

(define-tileset-wc-names tileset0 tileset1 tileset2 tileset3)
tileset0
Name of the tileset assigned to index 0 (summer).
tileset1
Name of the tileset assigned to index 1 (winter).
tileset2
Name of the tileset assigned to index 2 (wasteland).
tileset3
Name of the tileset assigned to index 3 (orc swamp).

Example

    (define-tileset-wc-names 
      'tileset-summer 'tileset-winter 'tileset-wasteland 'tileset-swamp )

This is the default tileset mapping.

Used

$LIBARYPATH/ccl/wc2.ccl
Last changed: $Id: tileset.html,v 1.13 2003/02/05 00:35:02 jsalmon3 Exp $
All trademarks and copyrights on this page are owned by their respective owners.
(c) 2002-2003 by The FreeCraft Project