FontShapeArchive Class Reference

#include <FontShapeArchive.h>

Inheritance diagram for FontShapeArchive:

ShapeArchive Pentagram::Archive List of all members.

Public Member Functions

 ENABLE_RUNTIME_CLASSTYPE ()
 FontShapeArchive (uint16 id_, Pentagram::Palette *pal_=0, const ConvertShapeFormat *format_=0)
 FontShapeArchive (ArchiveFile *af, uint16 id_, Pentagram::Palette *pal_=0, const ConvertShapeFormat *format_=0)
 FontShapeArchive (IDataSource *ds, uint16 id_, Pentagram::Palette *pal_=0, const ConvertShapeFormat *format_=0)
 FontShapeArchive (const std::string &path, uint16 id_, Pentagram::Palette *pal_=0, const ConvertShapeFormat *format_=0)
virtual ~FontShapeArchive ()
void setHVLeads ()
ShapeFontgetFont (uint32 fontnum)
virtual void cache (uint32 fontnum)

Detailed Description

Definition at line 26 of file FontShapeArchive.h.


Constructor & Destructor Documentation

FontShapeArchive::FontShapeArchive ( uint16  id_,
Pentagram::Palette pal_ = 0,
const ConvertShapeFormat format_ = 0 
) [inline]

Definition at line 31 of file FontShapeArchive.h.

FontShapeArchive::FontShapeArchive ( ArchiveFile af,
uint16  id_,
Pentagram::Palette pal_ = 0,
const ConvertShapeFormat format_ = 0 
) [inline]

Definition at line 34 of file FontShapeArchive.h.

FontShapeArchive::FontShapeArchive ( IDataSource ds,
uint16  id_,
Pentagram::Palette pal_ = 0,
const ConvertShapeFormat format_ = 0 
) [inline]

Definition at line 37 of file FontShapeArchive.h.

FontShapeArchive::FontShapeArchive ( const std::string &  path,
uint16  id_,
Pentagram::Palette pal_ = 0,
const ConvertShapeFormat format_ = 0 
) [inline]

Definition at line 40 of file FontShapeArchive.h.

virtual FontShapeArchive::~FontShapeArchive (  )  [inline, virtual]

Definition at line 45 of file FontShapeArchive.h.


Member Function Documentation

void FontShapeArchive::cache ( uint32  fontnum  )  [virtual]

Cache a single object.

Reimplemented from ShapeArchive.

Definition at line 33 of file FontShapeArchive.cpp.

References Pentagram::Archive::count, Shape::DetectShapeFormat(), ShapeArchive::format, Pentagram::Archive::getRawObject(), ShapeArchive::palette, perr, Shape::setPalette(), and ShapeArchive::shapes.

FontShapeArchive::ENABLE_RUNTIME_CLASSTYPE (  ) 

Reimplemented from ShapeArchive.

ShapeFont * FontShapeArchive::getFont ( uint32  fontnum  ) 

Definition at line 28 of file FontShapeArchive.cpp.

References ShapeArchive::getShape().

Referenced by FontManager::addJPOverride(), FontManager::getGameFont(), and setHVLeads().

void FontShapeArchive::setHVLeads (  ) 

load HVLeads from u8.ini

Definition at line 61 of file FontShapeArchive.cpp.

References font, ConfigFileManager::get_instance(), getFont(), ConfigFileManager::listKeyValues(), perr, and Pentagram::SplitString().

Referenced by GameData::loadRemorseData(), and GameData::loadU8Data().


The documentation for this class was generated from the following files:
Generated on Fri Jul 27 22:29:14 2007 for pentagram by  doxygen 1.4.7