Localize
is used with a placeholder, you'll see this pattern in the code:
char aBuf[256];
if(m_pClient->m_Snap.m_NotReadyCount == 1)
str_format(aBuf, sizeof(aBuf), Localize("%d player not ready"), m_pClient->m_Snap.m_NotReadyCount);
else if(m_pClient->m_Snap.m_NotReadyCount > 1)
str_format(aBuf, sizeof(aBuf), Localize("%d players not ready"), m_pClient->m_Snap.m_NotReadyCount);
// use aBuf
By making Localize variadic, this would reduce a lot of duplicated s...u missed a o
u missed a o
, I expect u missed an o
ProcessTriggeredEvents(World.m_apCharacters[m_LocalClientID]->m_TriggeredEvents, World.m_apCharacters[m_LocalClientID]->m_Pos);
the sound is made by those events, and the given position is World.m_apCharacters[m_LocalClientID]->m_Pos
I don't see it be so easy