$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_draw.cpp File Reference

#include "stratagus.h"
#include "viewport.h"
#include "font.h"
#include "map.h"
#include "missile.h"
#include "particle.h"
#include "pathfinder.h"
#include "player.h"
#include "tileset.h"
#include "unit.h"
#include "unittype.h"
#include "ui.h"
#include "video.h"

Functions

map_draw.cpp - The map drawing.
static void ShowUnitName (const CViewport &vp, PixelPos pos, CUnit *unit, bool hidden=false)

Function Documentation

static void ShowUnitName ( const CViewport vp,
PixelPos  pos,
CUnit unit,
bool  hidden = false 
) [static]

Show unit's name under cursor or print the message if territory is invisible.

Parameters:
pos Mouse position.
unit Unit to show name.
hidden If true, write "Unrevealed terrain"

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