mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 19:22: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
|
|
@ -23,6 +23,7 @@ target_link_libraries(ui
|
|||
net
|
||||
util
|
||||
PUBLIC
|
||||
bc
|
||||
common
|
||||
storm
|
||||
tempest
|
||||
|
|
|
|||
|
|
@ -2,15 +2,14 @@
|
|||
#include "gx/Draw.hpp"
|
||||
#include "ui/CRenderBatch.hpp"
|
||||
#include "ui/CSimpleModelFFXScript.hpp"
|
||||
#include <storm/Memory.hpp>
|
||||
#include <bc/Memory.hpp>
|
||||
|
||||
int32_t CSimpleModelFFX::s_metatable;
|
||||
|
||||
CSimpleFrame* CSimpleModelFFX::Create(CSimpleFrame* parent) {
|
||||
// TODO
|
||||
// auto m = CDataAllocator::GetData(CSimpleModelFFX::s_simpleModelFFXHeap, 0, __FILE__, __LINE__);
|
||||
auto m = SMemAlloc(sizeof(CSimpleModelFFX), __FILE__, __LINE__, 0x0);
|
||||
return new (m) CSimpleModelFFX(parent);
|
||||
return NEW(CSimpleModelFFX, parent);
|
||||
}
|
||||
|
||||
void CSimpleModelFFX::Render(void* arg) {
|
||||
|
|
|
|||
|
|
@ -1,9 +1,8 @@
|
|||
#include "ui/LuaMemory.hpp"
|
||||
#include "ui/FrameScript.hpp"
|
||||
#include <cstring>
|
||||
#include <new>
|
||||
#include <common/MemPool.hpp>
|
||||
#include <storm/Memory.hpp>
|
||||
#include <bc/Memory.hpp>
|
||||
|
||||
void* luaM_initPool() {
|
||||
void* m = SMemAlloc(sizeof(MemPool*) * 9, __FILE__, __LINE__, 0x0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue