Curation round 20: player update, costumes and render, Missing No., the last actives and cards, familiars, Pin, the Frail, Wormwood and the Heretic, Dross to Gehenna, effects and the devil room purchase, champion colours, the quit path, save fields, shared vector helpers
This commit is contained in:
1 parent
ee863e70e6
commit
8dbeb1bc4a
168 files changed
+15682
-2399
No files matched your search
+2
-2
@@ -822,7 +822,7 @@ void HUD::Render()
|
||||
if (!game.deathmatchManager.is_active())
|
||||
{
|
||||
game.minimap.Render();
|
||||
if (game.ambush._isActive && game.room->roomType == ROOM_BOSSRUSH)
|
||||
if (game.ambush.isActive && game.room->roomType == ROOM_BOSSRUSH)
|
||||
{
|
||||
constexpr float WAVE_BOX_WIDTH = 64;
|
||||
constexpr float WAVE_BOX_HEIGHT = 32;
|
||||
@@ -840,7 +840,7 @@ void HUD::Render()
|
||||
bossHealthBarRushImage->Render(KAGE::Graphics::color_quad_rect(at, box, WHITE), WHITE);
|
||||
|
||||
char waves[TEXT_BUFFER_SIZE];
|
||||
std::snprintf(waves, sizeof(waves), "%d/%d", game.ambush._currentWave, game.ambush._maxWaves);
|
||||
std::snprintf(waves, sizeof(waves), "%d/%d", game.ambush.currentWave, game.ambush.maxWaves);
|
||||
float width = (float)(unsigned int)font6.GetStringWidth(waves);
|
||||
text_draw(font6, waves, at_make(at.x + WAVE_TEXT_RIGHT - width, at.y + WAVE_TEXT_Y));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user