xoreos
0.0.5
|
#include <txi.h>
Classes | |
struct | Coords |
Coordinates. More... | |
struct | Features |
Texture features. More... | |
Public Types | |
enum | Blending { kBlendingDefault = 0, kBlendingAdditive = 1, kBlendingPunchThrough = 2 } |
Blending type. More... | |
Public Member Functions | |
TXI () | |
TXI (Common::SeekableReadStream &stream) | |
~TXI () | |
void | load (Common::SeekableReadStream &stream) |
bool | empty () const |
const Features & | getFeatures () const |
Features & | getFeatures () |
Private Types | |
enum | Mode { kModeNormal, kModeUpperLeftCoords, kModeLowerRightCoords } |
Private Member Functions | |
Blending | parseBlending (const char *str) |
Private Attributes | |
bool | _empty |
Mode | _mode |
Features | _features |
uint32 | _curCoords |
|
private |
Graphics::TXI::TXI | ( | Common::SeekableReadStream & | stream | ) |
const TXI::Features & Graphics::TXI::getFeatures | ( | ) | const |
Definition at line 283 of file txi.cpp.
References _features.
Referenced by Graphics::Aurora::Texture::create(), Graphics::Aurora::GUIQuad::GUIQuad(), Graphics::Aurora::Cursor::load(), Graphics::Aurora::TextureFont::load(), Graphics::Aurora::Texture::loadImage(), Graphics::XEOSITEX::readHeader(), and Graphics::Aurora::Texture::setFilter().
TXI::Features & Graphics::TXI::getFeatures | ( | ) |
void Graphics::TXI::load | ( | Common::SeekableReadStream & | stream | ) |
Definition at line 112 of file txi.cpp.
References _curCoords, _empty, _features, _mode, Graphics::TXI::Features::alphaMean, Graphics::TXI::Features::arturoHeight, Graphics::TXI::Features::arturoWidth, Graphics::TXI::Features::baselineHeight, Graphics::TXI::Features::blending, Graphics::TXI::Features::bumpMapScaling, Graphics::TXI::Features::bumpMapTexture, Graphics::TXI::Features::bumpyShinyTexture, Common::UString::c_str(), Graphics::TXI::Features::canDownsample, Graphics::TXI::Features::caretIndent, Graphics::TXI::Features::channelScale, Graphics::TXI::Features::channelTranslate, Graphics::TXI::Features::clamp, Graphics::TXI::Features::codepage, Graphics::TXI::Features::cols, Graphics::TXI::Features::compressTexture, Graphics::TXI::Features::controllerScript, Graphics::TXI::Features::cube, Graphics::TXI::Features::dbMapping, Graphics::TXI::Features::decal, Graphics::TXI::Features::defaultBPP, Graphics::TXI::Features::defaultHeight, Graphics::TXI::Features::defaultWidth, Graphics::TXI::Features::distort, Graphics::TXI::Features::distortAngle, Graphics::TXI::Features::distortionAmplitude, Graphics::TXI::Features::downsampleFactor, Graphics::TXI::Features::downsampleMax, Graphics::TXI::Features::downsampleMin, Common::UString::empty(), Graphics::TXI::Features::envMapTexture, Common::ReadStream::eos(), Graphics::TXI::Features::fileRange, Graphics::TXI::Features::filter, Graphics::TXI::Features::fontHeight, Graphics::TXI::Features::fontWidth, Graphics::TXI::Features::fps, Graphics::TXI::Features::isBumpMap, Graphics::TXI::Features::isDoubleByte, Graphics::TXI::Features::isLightMap, Common::kEncodingASCII, kModeLowerRightCoords, kModeNormal, kModeUpperLeftCoords, Graphics::TXI::Features::lowerRightCoords, Graphics::TXI::Features::maxSizeHQ, Graphics::TXI::Features::maxSizeLQ, Graphics::TXI::Features::minSizeHQ, Graphics::TXI::Features::minSizeLQ, Graphics::TXI::Features::mipMap, Graphics::TXI::Features::numChars, Graphics::TXI::Features::numCharsPerSheet, Graphics::TXI::Features::numX, Graphics::TXI::Features::numY, Graphics::TXI::Features::onDemand, parseBlending(), Common::parseString(), Graphics::parseTXICommand(), Graphics::TXI::Features::priority, Graphics::TXI::Features::procedureType, Common::readStringLine(), Graphics::TXI::Features::rows, Graphics::TXI::Features::spacingB, Graphics::TXI::Features::spacingR, Graphics::TXI::Features::speed, Graphics::TXI::Features::temporary, Graphics::TXI::Features::textureWidth, Graphics::TXICommandAlphaMean, Graphics::TXICommandArturoHeight, Graphics::TXICommandArturoWidth, Graphics::TXICommandBaselineHeight, Graphics::TXICommandBlending, Graphics::TXICommandBumpMapScaling, Graphics::TXICommandBumpMapTexture, Graphics::TXICommandBumpyShinyTexture, Graphics::TXICommandCanDownsample, Graphics::TXICommandCaretIndent, Graphics::TXICommandChannelScale, Graphics::TXICommandChannelTranslate, Graphics::TXICommandClamp, Graphics::TXICommandCodepage, Graphics::TXICommandCols, Graphics::TXICommandCompressTexture, Graphics::TXICommandControllerScript, Graphics::TXICommandCube, Graphics::TXICommandDBMapping, Graphics::TXICommandDecal, Graphics::TXICommandDefaultBPP, Graphics::TXICommandDefaultHeight, Graphics::TXICommandDefaultWidth, Graphics::TXICommandDistort, Graphics::TXICommandDistortAngle, Graphics::TXICommandDistortionAmplitude, Graphics::TXICommandDownsampleFactor, Graphics::TXICommandDownsampleMax, Graphics::TXICommandDownsampleMin, Graphics::TXICommandEnvMapTexture, Graphics::TXICommandFileRange, Graphics::TXICommandFilter, Graphics::TXICommandFontHeight, Graphics::TXICommandFontWidth, Graphics::TXICommandFPS, Graphics::TXICommandIsBumpMap, Graphics::TXICommandIsDoubleByte, Graphics::TXICommandIsLightMap, Graphics::TXICommandLowerRightCoords, Graphics::TXICommandMaxSizeHQ, Graphics::TXICommandMaxSizeLQ, Graphics::TXICommandMinSizeHQ, Graphics::TXICommandMinSizeLQ, Graphics::TXICommandMipMap, Graphics::TXICommandNumChars, Graphics::TXICommandNumCharsPerSheet, Graphics::TXICommandNumX, Graphics::TXICommandNumY, Graphics::TXICommandOnDemand, Graphics::TXICommandPriority, Graphics::TXICommandProcedureType, Graphics::TXICommandRows, Graphics::TXICommandSpacingB, Graphics::TXICommandSpacingR, Graphics::TXICommandSpeed, Graphics::TXICommandTemporary, Graphics::TXICommandTextureWidth, Graphics::TXICommandUnique, Graphics::TXICommandUpperLeftCoords, Graphics::TXICommandWaterHeight, Graphics::TXICommandWaterWidth, Graphics::TXICommandXBoxDownsample, Graphics::TXI::Features::unique, Graphics::TXI::Features::upperLeftCoords, Graphics::TXI::Features::waterHeight, Graphics::TXI::Features::waterWidth, and Graphics::TXI::Features::xBoxDownsample.
Referenced by Graphics::TPC::readTXI(), Graphics::TXB::readTXI(), and TXI().
|
private |
Definition at line 291 of file txi.cpp.
References ARRAYSIZE, kBlendingDefault, and kBlendings.
Referenced by load().
|
private |
|
private |
|
private |
Definition at line 145 of file txi.h.
Referenced by getFeatures(), and load().