2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 05:47:42 +00:00

Massive fmtlib refactor

This commit is contained in:
Jack Andersen
2019-07-19 18:27:21 -10:00
parent e38a3ece89
commit 7a3da1f7a6
228 changed files with 2071 additions and 2116 deletions

View File

@@ -370,7 +370,7 @@ void CScriptGunTurret::SetTurretState(ETurretState state, CStateManager& mgr) {
ProcessCurrentState(EStateMsg::Deactivate, mgr, 0.f);
if (state != ETurretState::Invalid && x520_state != state)
printf("%04X %08X %s - %s\n", GetUniqueId().Value(), GetEditorId().id, GetName().data(), StateNames[int(state)]);
fmt::print(fmt("{} {} {} - {}\n"), GetUniqueId(), GetEditorId(), GetName(), StateNames[int(state)]);
x520_state = state;
x524_curStateTime = 0.f;
ProcessCurrentState(EStateMsg::Activate, mgr, 0.f);