Classes | |
| class | AudioChannel |
| class | AudioMixer |
| class | AudioSample |
| class | RawAudioSample |
| class | SonarcAudioSample |
| class | Archive |
| struct | GameMD5Entry |
| class | Font |
| struct | Palette |
| class | Scaler |
| Base Scaler class. More... | |
| class | _2xSaIScalerInternal |
| class | _2xSaIScaler |
| class | Super2xSaIScaler |
| class | SuperEagleScaler |
| class | GC_2xSaIScaler |
| class | GC_Super2xSaIScaler |
| class | GC_SuperEagleScaler |
| class | BilinearScalerInternal |
| class | BilinearScaler |
| class | GC_BilinearScaler |
| class | hq2xScalerInternal |
| class | hq2xScaler |
| class | PointScalerInternal |
| class | PointScaler |
| class | Scale2xScalerInternal |
| class | Scale2xScaler |
| struct | Box |
| struct | ichar_traits |
| STL char_traits for case insensitive comparisons. More... | |
| class | pent_string |
| struct | md5_context |
| struct | Rect |
Typedefs | |
| typedef pent_string< char > | istring |
| typedef std::string | istring |
Enumerations | |
| enum | PalTransforms { Transform_None = 0, Transform_Greyscale = 1, Transform_NoRed = 2, Transform_RainStorm = 3, Transform_FireStorm = 4, Transform_Saturate = 5, Transform_GBR = 6, Transform_BRG = 7 } |
Functions | |
| DEFINE_RUNTIME_CLASSTYPE_CODE_BASE_CLASS (Archive) | |
| DEFINE_RUNTIME_CLASSTYPE_CODE_BASE_CLASS (Font) Font | |
| template<class uintX, class Manip, class uintS> | |
| bool | BilinearScalerInternal_2x (Texture *tex, sint32 sx, sint32 sy, sint32 sw, sint32 sh, uint8 *pixel, sint32 dw, sint32 dh, sint32 pitch, bool clamp_src) |
| template<class uintX, class Manip, class uintS> | |
| bool | BilinearScalerInternal_X2Y24 (Texture *tex, sint32 sx, sint32 sy, sint32 sw, sint32 sh, uint8 *pixel, sint32 dw, sint32 dh, sint32 pitch, bool clamp_src) |
| template<class uintX, class Manip, class uintS> | |
| bool | BilinearScalerInternal_X1Y12 (Texture *tex, sint32 sx, sint32 sy, sint32 sw, sint32 sh, uint8 *pixel, sint32 dw, sint32 dh, sint32 pitch, bool clamp_src) |
| template<class uintX, class Manip, class uintS> | |
| bool | BilinearScalerInternal_Arb (Texture *tex, sint32 sx, sint32 sy, sint32 sw, sint32 sh, uint8 *pixel, sint32 dw, sint32 dh, sint32 pitch, bool clamp_src) |
| InstantiateBilinearScalerFunc (BilinearScalerInternal_2x) | |
| InstantiateBilinearScalerFunc (BilinearScalerInternal_Arb) | |
| InstantiateBilinearScalerFunc (BilinearScalerInternal_X1Y12) | |
| InstantiateBilinearScalerFunc (BilinearScalerInternal_X2Y24) | |
| static void | scale2x_16_mmx_border (uint16 *dst, const uint16 *src0, const uint16 *src1, const uint16 *src2, unsigned count) |
| static void | scale2x_32_mmx_border (uint32 *dst, const uint32 *src0, const uint32 *src1, const uint32 *src2, unsigned count) |
| static void | scale2x_mmx_emms (void) |
| static void | scale2x_16_mmx (uint16 *dst0, uint16 *dst1, const uint16 *src0, const uint16 *src1, const uint16 *src2, unsigned count) |
| static void | scale2x_32_mmx (uint32 *dst0, uint32 *dst1, const uint32 *src0, const uint32 *src1, const uint32 *src2, unsigned count) |
| static bool | Scale2x_16MMX (Texture *tex, sint32 sx, sint32 sy, sint32 sw, sint32 sh, uint8 *pixel, sint32 dw, sint32 dh, sint32 pitch, bool clamp_src) |
| static bool | Scale2x_32MMX (Texture *tex, sint32 sx, sint32 sy, sint32 sw, sint32 sh, uint8 *pixel, sint32 dw, sint32 dh, sint32 pitch, bool clamp_src) |
| static bool | shiftjis_to_JISX (uint16 sjis, uint8 &jr, uint8 &jc) |
| uint16 | shiftjis_to_ultima8 (uint16 sjis) |
| uint32 | shiftjis_to_unicode (uint16 sjis) |
| int | strncasecmp (const char *s1, const char *s2, uint32 length) |
| int | strcasecmp (const char *s1, const char *s2) |
| pent_string< char > | operator+ (const pent_string< char > &_Left, const pent_string< char > &_Right) |
| pent_string< char > | operator+ (const pent_string< char > &_Left, const std::basic_string< char > &_Right) |
| pent_string< char > | operator+ (const std::basic_string< char > &_Left, const pent_string< char > &_Right) |
| pent_string< char > | operator+ (const char *_Left, const pent_string< char > &_Right) |
| pent_string< char > | operator+ (const char _Left, const pent_string< char > &_Right) |
| pent_string< char > | operator+ (const pent_string< char > &_Left, const char *_Right) |
| pent_string< char > | operator+ (const pent_string< char > &_Left, const char _Right) |
| bool | operator== (const pent_string< char > &_Left, const pent_string< char > &_Right) |
| bool | operator== (const pent_string< char > &_Left, const std::basic_string< char > &_Right) |
| bool | operator== (const std::basic_string< char > &_Left, const pent_string< char > &_Right) |
| bool | operator== (const char *_Left, const pent_string< char > &_Right) |
| bool | operator== (const pent_string< char > &_Left, const char *_Right) |
| bool | operator!= (const pent_string< char > &_Left, const pent_string< char > &_Right) |
| bool | operator!= (const pent_string< char > &_Left, const std::basic_string< char > &_Right) |
| bool | operator!= (const std::basic_string< char > &_Left, const pent_string< char > &_Right) |
| bool | operator!= (const char *_Left, const pent_string< char > &_Right) |
| bool | operator!= (const pent_string< char > &_Left, const char *_Right) |
| bool | operator< (const pent_string< char > &_Left, const pent_string< char > &_Right) |
| bool | operator< (const pent_string< char > &_Left, const std::basic_string< char > &_Right) |
| bool | operator< (const std::basic_string< char > &_Left, const pent_string< char > &_Right) |
| bool | operator< (const char *_Left, const pent_string< char > &_Right) |
| bool | operator< (const pent_string< char > &_Left, const char *_Right) |
| bool | operator> (const pent_string< char > &_Left, const pent_string< char > &_Right) |
| bool | operator> (const pent_string< char > &_Left, const std::basic_string< char > &_Right) |
| bool | operator> (const std::basic_string< char > &_Left, const pent_string< char > &_Right) |
| bool | operator> (const char *_Left, const pent_string< char > &_Right) |
| bool | operator> (const pent_string< char > &_Left, const char *_Right) |
| bool | operator<= (const pent_string< char > &_Left, const pent_string< char > &_Right) |
| bool | operator<= (const pent_string< char > &_Left, const std::basic_string< char > &_Right) |
| bool | operator<= (const std::basic_string< char > &_Left, const pent_string< char > &_Right) |
| bool | operator<= (const char *_Left, const pent_string< char > &_Right) |
| bool | operator<= (const pent_string< char > &_Left, const char *_Right) |
| bool | operator>= (const pent_string< char > &_Left, const pent_string< char > &_Right) |
| bool | operator>= (const pent_string< char > &_Left, const std::basic_string< char > &_Right) |
| bool | operator>= (const std::basic_string< char > &_Left, const pent_string< char > &_Right) |
| bool | operator>= (const char *_Left, const pent_string< char > &_Right) |
| bool | operator>= (const pent_string< char > &_Left, const char *_Right) |
| static void | md5_starts (md5_context *ctx) |
| static void | md5_update (md5_context *ctx, const uint8 *input, uint32 length) |
| static void | md5_finish (md5_context *ctx, uint8 digest[16]) |
| static void | md5_process (md5_context *ctx, const uint8 data[64]) |
| bool | md5_file (IDataSource *input, uint8 digest[16], uint32 length) |
| void | memset_32_aligned (void *buf, uint32 val, uint32 dwords) |
| void | memset_32 (void *buf, uint32 val, uint32 dwords) |
| void | memset_16 (void *buf, sint32 val, uint32 words) |
| void | setAllocationFunctions (allocFunc a, deallocFunc d) |
| template<class T> | |
| T | to_uppercase (const T s) |
| template std::string | to_uppercase< std::string > (const std::string s) |
| template Pentagram::istring | to_uppercase< Pentagram::istring > (const Pentagram::istring s) |
| template<class T> | |
| void | StringToArgv (const T &args, std::vector< T > &argv) |
| template void | StringToArgv< std::string > (const std::string &args, std::vector< std::string > &argv) |
| template void | StringToArgv< Pentagram::istring > (const Pentagram::istring &args, std::vector< Pentagram::istring > &argv) |
| template<class T> | |
| void | ArgvToString (const std::vector< T > &argv, T &args) |
| template void | ArgvToString< std::string > (const std::vector< std::string > &argv, std::string &args) |
| template void | ArgvToString< Pentagram::istring > (const std::vector< Pentagram::istring > &argv, Pentagram::istring &args) |
| template<class T> | |
| void | TrimSpaces (T &str) |
| template void | TrimSpaces< std::string > (std::string &str) |
| template void | TrimSpaces< Pentagram::istring > (Pentagram::istring &str) |
| template<class T> | |
| void | TabsToSpaces (T &str, unsigned int n) |
| template void | TabsToSpaces< std::string > (std::string &str, unsigned int n) |
| template void | TabsToSpaces< Pentagram::istring > (Pentagram::istring &str, unsigned int n) |
| template<class T> | |
| void | SplitString (const T &args, char sep, std::vector< T > &argv) |
| template void | SplitString< std::string > (const std::string &args, char sep, std::vector< std::string > &argv) |
| template void | SplitString< Pentagram::istring > (const Pentagram::istring &args, char sep, std::vector< Pentagram::istring > &argv) |
| template<class T> | |
| void | SplitStringKV (const T &args, char sep, std::vector< std::pair< T, T > > &argv) |
| template void | SplitStringKV< std::string > (const std::string &args, char sep, std::vector< std::pair< std::string, std::string > > &argv) |
| template void | SplitStringKV< Pentagram::istring > (const Pentagram::istring &args, char sep, std::vector< std::pair< Pentagram::istring, Pentagram::istring > > &argv) |
Variables | |
| static GameMD5Entry | md5table [] |
| const _2xSaIScaler | _2xSaI_scaler |
| const Super2xSaIScaler | Super2xSaI_scaler |
| const SuperEagleScaler | SuperEagle_scaler |
| const GC_2xSaIScaler | GC_2xSaI_scaler |
| const GC_Super2xSaIScaler | GC_Super2xSaI_scaler |
| const GC_SuperEagleScaler | GC_SuperEagle_scaler |
| const _2xSaIScaler | _2xSaI_scaler |
| const Super2xSaIScaler | Super2xSaI_scaler |
| const SuperEagleScaler | SuperEagle_scaler |
| const GC_2xSaIScaler | GC_2xSaI_scaler |
| const GC_Super2xSaIScaler | GC_Super2xSaI_scaler |
| const GC_SuperEagleScaler | GC_SuperEagle_scaler |
| const BilinearScaler | bilinear_scaler |
| const GC_BilinearScaler | GC_bilinear_scaler |
| const BilinearScaler | bilinear_scaler |
| const GC_BilinearScaler | GC_bilinear_scaler |
| static bool | InitedLUT = false |
| static uint32 | RGBtoYUV [65536] |
| static uint32 | YUV1 |
| static uint32 | YUV2 |
| static const uint32 | Ymask = 0x00FF0000 |
| static const uint32 | Umask = 0x0000FF00 |
| static const uint32 | Vmask = 0x000000FF |
| static const uint32 | trY = 0x00300000 |
| static const uint32 | trU = 0x00000700 |
| static const uint32 | trV = 0x00000006 |
| static const uint32 | tableMaskR = 0 |
| static const uint32 | tableMaskG = 0 |
| static const uint32 | tableMaskB = 0 |
| const hq2xScaler | hq2x_scaler |
| const hq2xScaler | hq2x_scaler |
| const PointScaler | point_scaler |
| const PointScaler | point_scaler |
| const Scale2xScaler | scale2x_scaler |
| const Scale2xScaler | scale2x_scaler |
| const unsigned int | savegame_version = 4 |
| uint16 | encoding [256] |
| uint8 | reverse_encoding [256] |
| static const uint16 | jisx0213_to_ucs_main [94 *94] |
| static const uint32 | jisx0213_to_ucs_pagestart [] |
| uint8 | reverse_encoding [256] |
| uint16 | encoding [256] |
| static const uint8 | md5_padding [64] |
| allocFunc | palloc = malloc |
| deallocFunc | pfree = free |
| allocFunc | palloc |
| deallocFunc | pfree |
| typedef pent_string<char> Pentagram::istring |
| typedef std::string Pentagram::istring |
| Pentagram::DEFINE_RUNTIME_CLASSTYPE_CODE_BASE_CLASS | ( | Archive | ) |
| Pentagram::DEFINE_RUNTIME_CLASSTYPE_CODE_BASE_CLASS | ( | Font | ) |
| bool Pentagram::BilinearScalerInternal_2x | ( | Texture * | tex, | |
| sint32 | sx, | |||
| sint32 | sy, | |||
| sint32 | sw, | |||
| sint32 | sh, | |||
| uint8 * | pixel, | |||
| sint32 | dw, | |||
| sint32 | dh, | |||
| sint32 | pitch, | |||
| bool | clamp_src | |||
| ) |
Definition at line 27 of file BilinearScalerInternal_2x.cpp.
References Texture::buffer, height, width, and Texture::width.
| bool Pentagram::BilinearScalerInternal_X2Y24 | ( | Texture * | tex, | |
| sint32 | sx, | |||
| sint32 | sy, | |||
| sint32 | sw, | |||
| sint32 | sh, | |||
| uint8 * | pixel, | |||
| sint32 | dw, | |||
| sint32 | dh, | |||
| sint32 | pitch, | |||
| bool | clamp_src | |||
| ) |
Definition at line 27 of file BilinearScalerInternal_X2Y24.cpp.
References Texture::buffer, height, width, and Texture::width.
| bool Pentagram::BilinearScalerInternal_X1Y12 | ( | Texture * | tex, | |
| sint32 | sx, | |||
| sint32 | sy, | |||
| sint32 | sw, | |||
| sint32 | sh, | |||
| uint8 * | pixel, | |||
| sint32 | dw, | |||
| sint32 | dh, | |||
| sint32 | pitch, | |||
| bool | clamp_src | |||
| ) |
Definition at line 27 of file BilinearScalerInternal_X1Y12.cpp.
References Texture::buffer, height, and Texture::width.
| bool Pentagram::BilinearScalerInternal_Arb | ( | Texture * | tex, | |
| sint32 | sx, | |||
| sint32 | sy, | |||
| sint32 | sw, | |||
| sint32 | sh, | |||
| uint8 * | pixel, | |||
| sint32 | dw, | |||
| sint32 | dh, | |||
| sint32 | pitch, | |||
| bool | clamp_src | |||
| ) |
Definition at line 26 of file BilinearScalerInternal_Arb.cpp.
References Texture::buffer, height, width, and Texture::width.
| Pentagram::InstantiateBilinearScalerFunc | ( | BilinearScalerInternal_2x | ) |
| Pentagram::InstantiateBilinearScalerFunc | ( | BilinearScalerInternal_Arb | ) |
| Pentagram::InstantiateBilinearScalerFunc | ( | BilinearScalerInternal_X1Y12 | ) |
| Pentagram::InstantiateBilinearScalerFunc | ( | BilinearScalerInternal_X2Y24 | ) |
| static void Pentagram::scale2x_mmx_emms | ( | void | ) | [inline, static] |
End the use of the MMX instructions. This function must be called before using any floating-point operations.
Definition at line 970 of file Scale2xScaler.cpp.
Referenced by Scale2x_16MMX(), and Scale2x_32MMX().
| static void Pentagram::scale2x_16_mmx | ( | uint16 * | dst0, | |
| uint16 * | dst1, | |||
| const uint16 * | src0, | |||
| const uint16 * | src1, | |||
| const uint16 * | src2, | |||
| unsigned | count | |||
| ) | [static] |
Scale by a factor of 2 a row of pixels of 16 bits. This function operates like scale2x_8_mmx() but for 16 bits pixels.
| src0 | Pointer at the first pixel of the previous row. | |
| src1 | Pointer at the first pixel of the current row. | |
| src2 | Pointer at the first pixel of the next row. | |
| count | Length in pixels of the src0, src1 and src2 rows. It must be at least 8 and a multiple of 4. | |
| dst0 | First destination row, double length in pixels. | |
| dst1 | Second destination row, double length in pixels. |
Definition at line 992 of file Scale2xScaler.cpp.
References scale2x_16_mmx_border().
Referenced by Scale2x_16MMX().
| static void Pentagram::scale2x_32_mmx | ( | uint32 * | dst0, | |
| uint32 * | dst1, | |||
| const uint32 * | src0, | |||
| const uint32 * | src1, | |||
| const uint32 * | src2, | |||
| unsigned | count | |||
| ) | [static] |
Scale by a factor of 2 a row of pixels of 32 bits. This function operates like scale2x_8_mmx() but for 32 bits pixels.
| src0 | Pointer at the first pixel of the previous row. | |
| src1 | Pointer at the first pixel of the current row. | |
| src2 | Pointer at the first pixel of the next row. | |
| count | Length in pixels of the src0, src1 and src2 rows. It must be at least 4 and a multiple of 2. | |
| dst0 | First destination row, double length in pixels. | |
| dst1 | Second destination row, double length in pixels. |
Definition at line 1013 of file Scale2xScaler.cpp.
References scale2x_32_mmx_border().
Referenced by Scale2x_32MMX().
| static bool Pentagram::Scale2x_16MMX | ( | Texture * | tex, | |
| sint32 | sx, | |||
| sint32 | sy, | |||
| sint32 | sw, | |||
| sint32 | sh, | |||
| uint8 * | pixel, | |||
| sint32 | dw, | |||
| sint32 | dh, | |||
| sint32 | pitch, | |||
| bool | clamp_src | |||
| ) | [static] |
Definition at line 1027 of file Scale2xScaler.cpp.
References Texture::buffer, height, Texture::height, if(), scale2x_16_mmx(), scale2x_mmx_emms(), and Texture::width.
Referenced by Pentagram::Scale2xScaler::Scale2xScaler().
| static bool Pentagram::Scale2x_32MMX | ( | Texture * | tex, | |
| sint32 | sx, | |||
| sint32 | sy, | |||
| sint32 | sw, | |||
| sint32 | sh, | |||
| uint8 * | pixel, | |||
| sint32 | dw, | |||
| sint32 | dh, | |||
| sint32 | pitch, | |||
| bool | clamp_src | |||
| ) | [static] |
Definition at line 1075 of file Scale2xScaler.cpp.
References Texture::buffer, height, Texture::height, if(), scale2x_32_mmx(), scale2x_mmx_emms(), and Texture::width.
Referenced by Pentagram::Scale2xScaler::Scale2xScaler().
Definition at line 1379 of file encoding.cpp.
Referenced by shiftjis_to_ultima8(), and shiftjis_to_unicode().
Definition at line 1405 of file encoding.cpp.
References shiftjis_to_JISX().
Referenced by JPRenderedText::draw(), JPRenderedText::drawBlended(), and JPFont::getStringSize().
Definition at line 1429 of file encoding.cpp.
References jisx0213_to_ucs_main, jisx0213_to_ucs_pagestart, and shiftjis_to_JISX().
Referenced by Pentagram::Font::SJISTraits::unicode().
| int Pentagram::strncasecmp | ( | const char * | s1, | |
| const char * | s2, | |||
| uint32 | length | |||
| ) |
Definition at line 29 of file istring.cpp.
Referenced by Pentagram::ichar_traits::compare(), WindowsMidiDriver::open(), and strcasecmp().
| int Pentagram::strcasecmp | ( | const char * | s1, | |
| const char * | s2 | |||
| ) |
Definition at line 55 of file istring.cpp.
References strncasecmp().
Referenced by MidiDriver::createInstance(), GetShapeFormat(), main(), and WindowsMidiDriver::open().
| pent_string<char> Pentagram::operator+ | ( | const pent_string< char > & | _Left, | |
| const pent_string< char > & | _Right | |||
| ) | [inline] |
| pent_string<char> Pentagram::operator+ | ( | const pent_string< char > & | _Left, | |
| const std::basic_string< char > & | _Right | |||
| ) | [inline] |
| pent_string<char> Pentagram::operator+ | ( | const std::basic_string< char > & | _Left, | |
| const pent_string< char > & | _Right | |||
| ) | [inline] |
| pent_string<char> Pentagram::operator+ | ( | const char * | _Left, | |
| const pent_string< char > & | _Right | |||
| ) | [inline] |
| pent_string<char> Pentagram::operator+ | ( | const char | _Left, | |
| const pent_string< char > & | _Right | |||
| ) | [inline] |
| pent_string<char> Pentagram::operator+ | ( | const pent_string< char > & | _Left, | |
| const char * | _Right | |||
| ) | [inline] |
| pent_string<char> Pentagram::operator+ | ( | const pent_string< char > & | _Left, | |
| const char | _Right | |||
| ) | [inline] |
| bool Pentagram::operator== | ( | const pent_string< char > & | _Left, | |
| const pent_string< char > & | _Right | |||
| ) | [inline] |
Definition at line 283 of file istring.h.
References Pentagram::pent_string< _Elem, _Traits, _Ax >::compare().
| bool Pentagram::operator== | ( | const pent_string< char > & | _Left, | |
| const std::basic_string< char > & | _Right | |||
| ) | [inline] |
Definition at line 290 of file istring.h.
References Pentagram::pent_string< _Elem, _Traits, _Ax >::compare().
| bool Pentagram::operator== | ( | const std::basic_string< char > & | _Left, | |
| const pent_string< char > & | _Right | |||
| ) | [inline] |
Definition at line 297 of file istring.h.
References Pentagram::pent_string< _Elem, _Traits, _Ax >::compare().
| bool Pentagram::operator== | ( | const char * | _Left, | |
| const pent_string< char > & | _Right | |||
| ) |