Make sure to manually reload cmake-build-debug after first build.

This commit is contained in:
2025-03-22 13:53:10 -04:00
parent c9b037bf39
commit 06ec0ca885

View File

@@ -68,9 +68,7 @@ namespace CaveGame::ClientApp
}
}
Color4 parse_color(const JJX::json::value& v)
{
Color4 retval;
Color4 parse_color(const JJX::json::value& v) {
if (v.type == JJX::json::value_type::string)
return Color4::FromHex(v.string.value());
else if (v.type == JJX::json::value_type::array)
@@ -85,6 +83,7 @@ namespace CaveGame::ClientApp
return Color4(r, g, b, a);
}
return Colors::Transparent;
}
void ReadTileDataAndRegister()
@@ -408,7 +407,7 @@ namespace CaveGame::ClientApp
u16 id = game_ctx->GetTileIDUnderMouse();
Core::Tile data = Tiles().Get(id);
//debug_lines.push_back(std::format("tile: {} id: {}", data->MnemonicID(), (unsigned int)data->NumericID()));
debug_lines.push_back(std::format("tile: {} id: {}", data.mnemonic_id, (unsigned int)data.numeric_id));
debug_lines.push_back(std::format("entities: {}", game_ctx->World()->GetCurrentEntityCount()));
debug_lines.push_back(std::format("tile_simulation: {}", game_ctx->World()->GetTileSimulationEnabled()));
debug_lines.push_back(std::format("rendertargets: {}", game_ctx->World()->GetRenderTargetCount()));