SendInfo7
is superfluous, just do it in the net message translation, I'd saySendInfo7
is superfluous, just do it in the net message translation, I'd sayoy
enabled Sv_SkinChange
in 0.7.3.
Port a mod to 0.7 means the loss of all players because there is no smooth transition. Otherwise the only option is DDNet codebase. (edited):yoda:
teeworlds
:yoda:
sizeof(int32_t)
in #6328? Would that make it acceptable to you? Or should I just drop that commit?IGameController
it's misnamed, it's not an Interface :D, 2nd was CGameController
s and IGameController
leaking into CGameContext
sizeof(int32_t)
in #6328? Would that make it acceptable to you? Or should I just drop that commit? sizeof(int32_t)
to be the most readable option . On one hand you removed the hardcode and the new code indeed makes it clear that there are ints instead of four chars or two shorts. On the other hand Heinrich5991 point in possible variations of the int
size makes sense and (with int32_t) you're addressing it in the most reasonable way.IGameController
it's misnamed, it's not an Interface :D, 2nd was CGameController
s and IGameController
leaking into CGameContext
IGameController
it's misnamed, it's not an Interface :D, 2nd was CGameController
s and IGameController
leaking into CGameContext
cpp
protocol7::CNetObj_SpectatorInfo *pSpectatorInfo = static_cast(Server()->SnapNewItem(NETOBJTYPE_SPECTATORINFO, m_ClientID, sizeof(protocol7::CNetObj_SpectatorInfo)));
are too plenty and error-prone.
We have the relation between `CNetOb...