_________ __ __
/ _____// |_____________ _/ |______ ____ __ __ ______
\_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
/ \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
/_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
\/ \/ \//_____/ \/
______________________ ______________________
T H E W A R B E G I N S
Stratagus - A free fantasy real time strategy game engine
#include <stdio.h>#include "stratagus.h"#include "map.h"#include "fov.h"#include "tileset.h"#include "ui.h"#include "player.h"#include "unittype.h"Functions | |
map_wall.cpp - The map wall handling. | |
| static unsigned int | getWallTile (const CTileset &tileset, bool humanWall, int dirFlag, int value, unsigned int oldTile=0) |
| static int | GetDirectionFromSurrounding (const Vec2i &pos, bool human, bool seen) |
| void | MapFixSeenWallTile (const Vec2i &pos) |
| Correct the seen wall field, depending on the surrounding. More... | |
| void | MapFixSeenWallNeighbors (const Vec2i &pos) |
| Correct the surrounding seen wall fields. More... | |
| void | MapFixWallTile (const Vec2i &pos) |
| Correct the real wall field, depending on the surrounding. More... | |
| static void | MapFixWallNeighbors (const Vec2i &pos) |
|
static |
|
static |
Correct the surrounding seen wall fields.
Correct the surrounding seen wall fields.
| pos | Map tile-position. |
Correct the seen wall field, depending on the surrounding.
Correct the seen wall field, depending on the surrounding.
| pos | Map tile-position. |
Correct the surrounding real wall fields.
| pos | Map tile-position. |
1.8.17
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.