_________ __                 __
        /   _____//  |_____________ _/  |______     ____  __ __  ______
        \_____  \\   __\_  __ \__  \\   __\__  \   / ___\|  |  \/  ___/
        /        \|  |  |  | \// __ \|  |  / __ \_/ /_/  >  |  /\___ \
       /_______  /|__|  |__|  (____  /__| (____  /\___  /|____//____  >
               \/                  \/          \//_____/            \/
    ______________________                           ______________________
                          T H E   W A R   B E G I N S
                   Stratagus - A free fantasy real time strategy game engine

Public Member Functions | Public Attributes | List of all members
IconConfig Class Reference

Icon reference (used in config tables) More...

#include <icons.h>

Public Member Functions

 IconConfig ()
 
icons.cpp - The icons.
bool LoadNoLog ()
 
bool Load ()
 

Public Attributes

std::string Name
 
CIconIcon
 config icon name More...
 

Detailed Description

Icon reference (used in config tables)

#include "icons.h"

This structure contains all configuration information about an icon.

IconConfig::Name

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.

See also
CIcon::Ident

IconConfig::Icon

Pointer to an icon. This pointer is resolved during game start.

Constructor & Destructor Documentation

◆ IconConfig()

IconConfig::IconConfig ( )
inline

Member Function Documentation

◆ Load()

bool IconConfig::Load ( )

Load the Icon

◆ LoadNoLog()

bool IconConfig::LoadNoLog ( )

Load the Icon

Member Data Documentation

◆ Icon

CIcon* IconConfig::Icon

config icon name

◆ Name

std::string IconConfig::Name

The documentation for this class was generated from the following files:
(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.