$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
#include <stdio.h>
#include "stratagus.h"
#include "map.h"
#include "tileset.h"
#include "ui.h"
#include "player.h"
#include "unittype.h"
Functions | |
map_wall.cpp - The map wall handling. | |
static int | MapIsSeenTileWall (int x, int y, int walltype) |
void | MapFixSeenWallTile (const Vec2i &pos) |
void | MapFixSeenWallNeighbors (const Vec2i &pos) |
void | MapFixWallTile (const Vec2i &pos) |
static void | MapFixWallNeighbors (const Vec2i &pos) |
void MapFixSeenWallNeighbors | ( | const Vec2i & | pos | ) |
Correct the surrounding seen wall fields.
pos | Map tile-position. |
void MapFixSeenWallTile | ( | const Vec2i & | pos | ) |
Correct the seen wall field, depending on the surrounding.
pos | Map tile-position. |
static void MapFixWallNeighbors | ( | const Vec2i & | pos | ) | [static] |
Correct the surrounding real wall fields.
pos | Map tile-position. |
void MapFixWallTile | ( | const Vec2i & | pos | ) |
Correct the real wall field, depending on the surrounding.
pos | Map tile-position. |
static int MapIsSeenTileWall | ( | int | x, | |
int | y, | |||
int | walltype | |||
) | [static] |
Check if the seen tile-type is wall.
x | Map X tile-position. | |
y | Map Y tile-position. | |
walltype | Walltype to check. (-1 any kind) |