mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 03:02:30 +00:00
fix(whoa): update thunderbrew to use the refactored squall error/validation and bc allocation macros
This commit is contained in:
parent
1aeacd0d2e
commit
46843880ef
66 changed files with 459 additions and 457 deletions
|
|
@ -14,6 +14,7 @@ target_include_directories(console
|
|||
|
||||
target_link_libraries(console
|
||||
PUBLIC
|
||||
bc
|
||||
common
|
||||
gx
|
||||
storm
|
||||
|
|
|
|||
|
|
@ -209,7 +209,7 @@ int32_t CVar::Load(HOSFILE file) {
|
|||
auto grown = 0x1fff < size;
|
||||
|
||||
int32_t result = 0;
|
||||
size_t bytesRead = 0;
|
||||
uint32_t bytesRead = 0;
|
||||
|
||||
if (OsReadFile(file, data, size, &bytesRead) == 0) {
|
||||
result = 0;
|
||||
|
|
|
|||
|
|
@ -250,7 +250,7 @@ void GenerateNodeString(CONSOLELINE* node) {
|
|||
auto fontHeight = ConsoleGetFontHeight();
|
||||
|
||||
GxuFontCreateString(font, node->buffer, fontHeight, pos, 1.0f, fontHeight, 0.0f, node->fontPointer, GxVJ_Middle, GxHJ_Left, s_baseTextFlags, s_colorArray[node->colorType], s_charSpacing, 1.0f);
|
||||
BLIZZARD_ASSERT(node->fontPointer);
|
||||
BC_ASSERT(node->fontPointer);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -313,7 +313,7 @@ void PaintText(void* param, const RECTF* rect, const RECTF* visible, float elaps
|
|||
|
||||
void UpdateHighlight() {
|
||||
auto font = TextBlockGetFontPtr(s_textFont);
|
||||
BLIZZARD_ASSERT(font);
|
||||
BC_ASSERT(font);
|
||||
|
||||
auto len = SStrLen(s_copyText);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue