$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

src/map/map_radar.cpp File Reference

#include "stratagus.h"
#include "map.h"
#include "player.h"
#include "unittype.h"
#include "unit.h"

Functions

map_radar.cpp - The map radar handling.
static unsigned char IsTileRadarVisible (const CPlayer &pradar, const CPlayer &punit, const CMapField &mf)
void MapMarkTileRadar (const CPlayer &player, const unsigned int index)
void MapMarkTileRadar (const CPlayer &player, int x, int y)
void MapUnmarkTileRadar (const CPlayer &player, const unsigned int index)
void MapUnmarkTileRadar (const CPlayer &player, int x, int y)
void MapMarkTileRadarJammer (const CPlayer &player, const unsigned int index)
void MapMarkTileRadarJammer (const CPlayer &player, int x, int y)
void MapUnmarkTileRadarJammer (const CPlayer &player, const unsigned int index)
void MapUnmarkTileRadarJammer (const CPlayer &player, int x, int y)

Function Documentation

static unsigned char IsTileRadarVisible ( const CPlayer pradar,
const CPlayer punit,
const CMapField mf 
) [inline, static]

void MapMarkTileRadar ( const CPlayer player,
int  x,
int  y 
)

void MapMarkTileRadar ( const CPlayer player,
const unsigned int  index 
)

Mark Radar Vision for a tile

Parameters:
player The player you are marking for
x the X tile to mark.
y the Y tile to mark.

void MapMarkTileRadarJammer ( const CPlayer player,
int  x,
int  y 
)

void MapMarkTileRadarJammer ( const CPlayer player,
const unsigned int  index 
)

Mark Radar Jamming Vision for a tile

Parameters:
player The player you are marking for
x the X tile to mark.
y the Y tile to mark.

void MapUnmarkTileRadar ( const CPlayer player,
int  x,
int  y 
)

void MapUnmarkTileRadar ( const CPlayer player,
const unsigned int  index 
)

Unmark Radar Vision for a tile

Parameters:
player The player you are marking for
x the X tile to mark.
y the Y tile to mark.

void MapUnmarkTileRadarJammer ( const CPlayer player,
int  x,
int  y 
)

void MapUnmarkTileRadarJammer ( const CPlayer player,
const unsigned int  index 
)

Unmark Radar Vision for a tile

Parameters:
player The player you are marking for
x the X tile to mark.
y the Y tile to mark.

(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.