1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-18 11:19:10 +00:00

Obliterate hsBool

This commit is contained in:
2012-07-11 01:28:00 -04:00
parent 5f78b33db4
commit a709e17069
1041 changed files with 7889 additions and 8070 deletions

View File

@ -46,7 +46,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
hsCodecManager& hsCodecManager::Instance()
{
static hsCodecManager the_instance;
static hsBool initialized = false;
static bool initialized = false;
if (!initialized)
{
@ -71,12 +71,12 @@ plMipmap *hsCodecManager::CreateUncompressedMipmap(plMipmap *compressed, uint8_t
}
hsBool hsCodecManager::ColorizeCompMipmap( plMipmap *bMap, const uint8_t *colorMask )
bool hsCodecManager::ColorizeCompMipmap( plMipmap *bMap, const uint8_t *colorMask )
{
return false;
}
hsBool hsCodecManager::Register(hsCodec *codec, uint32_t compressionFormat, hsScalar priority)
bool hsCodecManager::Register(hsCodec *codec, uint32_t compressionFormat, hsScalar priority)
{
return true;
}

View File

@ -58,7 +58,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
hsBool plFontFreeType::ImportFreeType( const char *fontPath, Options *options, plBDFConvertCallback *callback )
bool plFontFreeType::ImportFreeType( const char *fontPath, Options *options, plBDFConvertCallback *callback )
{
FT_Library ftLibrary;
@ -106,7 +106,7 @@ hsBool plFontFreeType::ImportFreeType( const char *fontPath, Options *options,
FT_Vector ftAdvances[ kMaxGlyphs ];
FT_BBox ftGlyphBox, ftFontBox;
FT_UInt previous = 0;
hsBool useKerning = false;
bool useKerning = false;
if( options->fUseKerning )

View File

@ -56,7 +56,7 @@ class plFontFreeType : public plFont
struct Options
{
uint8_t fSize;
hsBool fUseKerning;
bool fUseKerning;
uint8_t fBitDepth;
uint32_t fScreenRes;
uint32_t fMaxCharLimit;
@ -64,5 +64,5 @@ class plFontFreeType : public plFont
Options() { fSize = 12; fUseKerning = false; fBitDepth = 1; fScreenRes = 96; fMaxCharLimit = 255; }
};
hsBool ImportFreeType( const char *fontPath, Options *options, plBDFConvertCallback *callback );
bool ImportFreeType( const char *fontPath, Options *options, plBDFConvertCallback *callback );
};