_________ __ __
/ _____// |_____________ _/ |______ ____ __ __ ______
\_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
/ \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
/_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
\/ \/ \//_____/ \/
______________________ ______________________
T H E W A R B E G I N S
Stratagus - A free fantasy real time strategy game engine
#include "stratagus.h"#include "icons.h"#include "menus.h"#include "player.h"#include "translate.h"#include "ui.h"#include "unit.h"#include "video.h"#include <map>icons.cpp - The icons. | |
| typedef std::map< std::string, CIcon * > | IconMap |
| static IconMap | Icons |
| static void | ApplyPaletteSwaps (const std::vector< PaletteSwap > &swaps, const CUnit &unit, CGraphic *graphic, bool def=false) |
| static void | DrawByHealthIcon (const CIcon *icon, const std::vector< CPlayerColorGraphic * > &graphics, const ButtonStyle &style, unsigned flags, const PixelPos &pos, const std::string &text, const CUnit &unit, const std::vector< PaletteSwap > &swaps) |
| void | LoadIcons () |
| void | CleanIcons () |
| Load icons. More... | |
|
static |
| void CleanIcons | ( | ) |
Load icons.
Clean up memory used by the icons.
|
static |
| void LoadIcons | ( | ) |
Load the graphics for the icons.
|
static |
1.8.17
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.