[2020-11-17 13:45:42][http]: task done https://update6.ddnet.tw/update.json
[2020-11-17 13:45:42][updater]: parsing update.json
m_FileJobs
getting filled?8d6148b20b2cde94d8e1fbe0a0dcd0bd81e86acc is the first bad commit
commit 8d6148b20b2cde94d8e1fbe0a0dcd0bd81e86acc
Author: Jupeyy <jupjopjap@gmail.com>
Date: Fri Oct 9 09:07:05 2020 +0200
Modulize skins, particles, emoticons and game
void CInfCircle::Snap(int SnappingClient)
{
if (NetworkClipped(SnappingClient))
return;
//const float MAGIC_NUMBER = NUM_SIDE / 3.125f; // a magic number for NUM_SIDE = 24, NUM_HINT = 24, when dots stay
const float MAGIC_NUMBER = NUM_SIDE / 3.0f;
float AngleStart = (2.0f * pi * Server()->Tick() / static_cast<float>(Server()->TickSpeed())) / (MAGIC_NUMBER / 8);
float AngleStep = 2.0f * pi / NUM_SIDE;
AngleStart = AngleStart * 2.0f;
for (int i = 0; i < NUM_SIDE; i++)
{
vec2 PosStart = m_Pos + vec2(m_Radius * cos(AngleStart + AngleStep * i), m_Radius * sin(AngleStart + AngleStep * i));
CNetObj_Projectile * pObj = static_cast<CNetObj_Projectile*>(Server()->SnapNewItem(NETOBJTYPE_PROJECTILE, m_IDs[NUM_SIDE + i], sizeof(CNetObj_Projectile)));
if (pObj)
{
pObj->m_X = (int)PosStart.x;
pObj->m_Y = (int)PosStart.y;
pObj->m_VelX = 0;
pObj->m_VelY = 0;
pObj->m_StartTick = Server()->Tick();
pObj->m_Type = WEAPON_NINJA;
}
}
}
(edited)bezier.h/cpp
stay in game-shared, it's not right for me, because bezier.h/cpp
are only used by client-sidegfx_opengl_major
say?