____ _ __
/ __ )____ _____ | | / /___ ___________
/ __ / __ \/ ___/ | | /| / / __ `/ ___/ ___/
/ /_/ / /_/ (__ ) | |/ |/ / /_/ / / (__ )
/_____/\____/____/ |__/|__/\__,_/_/ /____/
A futuristic real-time strategy game.
This file is part of Bos Wars.
(C) Copyright 2001-2007 by the Bos Wars and Stratagus Project.
Distributed under the "GNU General Public License"#include <icons.h>
Public Member Functions | |
| IconConfig () | |
| void | Load () |
Public Attributes | |
| std::string | Name |
| config icon name | |
| CIcon * | Icon |
| icon pointer to use to run time | |
This structure contains all configuration informations about an icon.
Unique identifier of the icon, used to reference icons in config files and during startup. The name is resolved during game start and the pointer placed in the next field.
Pointer to an icon. This pointer is resolved during game start.
Definition at line 127 of file icons.h.
| void IconConfig::Load | ( | ) |
Load the Icon
Definition at line 120 of file icons.cpp.
References Assert, ExitFatal(), CIcon::Get(), Icon, and Name.
Referenced by CEditor::Init(), and LoadUnitTypes().
| std::string IconConfig::Name |
config icon name
Definition at line 133 of file icons.h.
Referenced by AddButton(), CclDefineButton(), CclDefineUnitType(), Load(), SetEditorPatchIcon(), SetEditorSelectIcon(), and SetEditorUnitsIcon().
icon pointer to use to run time
Definition at line 134 of file icons.h.
Referenced by CalculateMaxIconSize(), CclDefineUnitType(), CButtonPanel::Draw(), DrawEditorPanel(), DrawInfoPanelMultipleSelected(), DrawPieMenu(), DrawUnitInfo(), CEditor::Init(), Load(), UiDrawLifeBar(), and UiDrawManaBar().
1.5.6