mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 10:52:46 +00:00
Fix some noteworthy warnings (mostly hsBool->bool incompatibility) and missing headers
This commit is contained in:
@ -85,8 +85,8 @@ protected:
|
||||
uint16_t fNumIdx;
|
||||
|
||||
double fBirth;
|
||||
float fInitAtten;
|
||||
bool fFlags;
|
||||
float fInitAtten;
|
||||
uint32_t fFlags;
|
||||
|
||||
plDecalVtxFormat* fVtxBase; // Safe pointer, the buffer data will outlive this decal
|
||||
|
||||
|
@ -155,7 +155,7 @@ HFONT plWinFontCache::IMakeFont( const char *face, int height, int weight, boo
|
||||
err = "Height of created font does not match";
|
||||
if( fontInfo.lfWeight != weight )
|
||||
err = "Weight of created font does not match";
|
||||
if( fontInfo.lfItalic != italic )
|
||||
if( static_cast<bool>(fontInfo.lfItalic) != italic )
|
||||
err = "Italic-ness of created font does not match";
|
||||
if( stricmp( fontInfo.lfFaceName, face ) != 0 )
|
||||
err = "Face of created font does not match";
|
||||
|
Reference in New Issue
Block a user