____                _       __
    / __ )____  _____   | |     / /___ ___________
   / __  / __ \/ ___/   | | /| / / __ `/ ___/ ___/
  / /_/ / /_/ (__  )    | |/ |/ / /_/ / /  (__  )
 /_____/\____/____/     |__/|__/\__,_/_/  /____/

       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"

IconConfig Class Reference

#include <icons.h>

List of all members.

Public Member Functions

 IconConfig ()
void Load ()

Public Attributes

std::string Name
 config icon name
CIconIcon
 icon pointer to use to run time


Detailed Description

#include "icons.h"

This structure contains all configuration informations 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.

Definition at line 127 of file icons.h.


Constructor & Destructor Documentation

IconConfig::IconConfig (  )  [inline]

Definition at line 129 of file icons.h.


Member Function Documentation

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


Member Data Documentation

std::string IconConfig::Name


The documentation for this class was generated from the following files:

Generated on Sat Feb 21 00:28:25 2009 for Bos Wars by  doxygen 1.5.6