$treeview $search $mathjax
Stratagus  2.2.7
$projectbrief
$projectbrief
$searchbox
-->
         _________ __                 __
        /   _____//  |_____________ _/  |______     ____  __ __  ______
        \_____  \\   __\_  __ \__  \\   __\__  \   / ___\|  |  \/  ___/
        /        \|  |  |  | \// __ \|  |  / __ \_/ /_/  >  |  /\___ \
       /_______  /|__|  |__|  (____  /__| (____  /\___  /|____//____  >
               \/                  \/          \//_____/            \/
    ______________________                           ______________________
                          T H E   W A R   B E G I N S
                   Stratagus - A free fantasy real time strategy game engine

TileInfo Struct Reference

Single tile definition. More...

#include <tileset.h>

List of all members.


Public Attributes

unsigned char BaseTerrain
unsigned char MixTerrain
 Basic terrain of the tile.

Detailed Description

Single tile definition.

#include "tileset.h"

This structure includes everything about a specific tile from the tileset.

TileInfo::BaseTerrain

This is the base terrain type of a tile. Only 15 of those are currently supported.

TileInfo::MixTerrain

Todo:
This is the terrain the tile is mixed with. This is 0 for a solid tile, we should make it equal to BaseTerrain

Member Data Documentation

unsigned char TileInfo::BaseTerrain

unsigned char TileInfo::MixTerrain

Basic terrain of the tile.


The documentation for this struct was generated from the following file:
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.
All trademarks and copyrights on this page are owned by their respective owners.