Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/SB/Core/x/xHudFontMeter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ void xhud::font_meter_widget::load(xBase& data, xDynAsset& asset, u32 size_t)
// xhud::font_meter_widget(*(xhud::font_meter_asset*)&data); // TODO: proper size value
}

xhud::font_meter_widget::font_meter_widget(xhud::font_meter_asset& init) : meter_widget(init)
xhud::font_meter_widget::font_meter_widget(const xhud::font_meter_asset& init) : meter_widget(init)
{
basic_rect<F32> screen_bounds;

Expand Down
2 changes: 1 addition & 1 deletion src/SB/Core/x/xHudFontMeter.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ namespace xhud
xfont xf; // 0x128

static void load(xBase& data, xDynAsset& asset, size_t);
font_meter_widget(xhud::font_meter_asset& init);
font_meter_widget(const xhud::font_meter_asset& init);
void destruct();
void destroy();
U32 type();
Expand Down
3 changes: 1 addition & 2 deletions src/SB/Game/zNPCHazard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1947,8 +1947,7 @@ void UVAModelInfo::Hemorrage()
uv = 0;
}

// Need to figure out what is wrong with the final return statement, and the b and blr swaps.
S32 UVAModelInfo::GetUV(RwTexCoords*& coords, S32& numVertices, RpAtomic* model)
S32 UVAModelInfo::GetUV(RwTexCoords*& coords, S32& numVertices, RpAtomic* model) const
{
coords = NULL;
numVertices = 0;
Expand Down
2 changes: 1 addition & 1 deletion src/SB/Game/zNPCHazard.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ struct UVAModelInfo
void Hemorrage();
void Clear();
void UVVelSet(float, float);
S32 GetUV(RwTexCoords*& coords, S32& numVertices, RpAtomic* model);
S32 GetUV(RwTexCoords*& coords, S32& numVertices, RpAtomic* model) const;
void SetColor(iColor_tag);
void Update(F32, xVec2*);
S32 Valid();
Expand Down
Loading