mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-07-18 10:18:07 +00:00
Replace remaining WinAPI types with standard C++ equivalents
DWORD→uint32_t, BYTE→uint8_t, HRESULT→int32_t, HANDLE→void*, UINT→uint32_t, INT→int32_t, WORD→uint16_t, LONG→int32_t, SHORT→int16_t, LONGLONG→int64_t, ULONG_PTR→uintptr_t, PBYTE→uint8_t*, LPWSTR/PWSTR→wchar_t*, FLOAT→float, CHAR→char, boolean→bool, CONST→const, TRUE→true, FALSE→false across 176 files (excluding vendor libs and Linux stubs).
This commit is contained in:
@@ -212,7 +212,7 @@ IggyGlyphMetrics* UIBitmapFont::GetGlyphMetrics(S32 glyph,
|
||||
rrbool UIBitmapFont::IsGlyphEmpty(S32 glyph) {
|
||||
if (m_cFontData->glyphIsWhitespace(glyph)) return true;
|
||||
return false; // app.DebugPrintf("Is glyph %d empty?
|
||||
// %s\n",glyph,isEmpty?"TRUE":"FALSE");
|
||||
// %s\n",glyph,isEmpty?"true":"false");
|
||||
}
|
||||
|
||||
// Callback function type for returning the kerning amount for a given pair of
|
||||
@@ -231,7 +231,7 @@ F32 UIBitmapFont::GetKerningForGlyphPair(S32 first_glyph, S32 second_glyph) {
|
||||
// glyph at the given scale
|
||||
rrbool UIBitmapFont::CanProvideBitmap(S32 glyph, F32 pixel_scale) {
|
||||
// app.DebugPrintf("Can provide bitmap for glyph %d at scale %f?
|
||||
// %s\n",glyph,pixel_scale,canProvideBitmap?"TRUE":"FALSE");
|
||||
// %s\n",glyph,pixel_scale,canProvideBitmap?"true":"false");
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user