SSO project
Closed this issue · 3 comments
alooftr commented
Is the Simple Strafe Optimizer Project yours?
https://yougame.biz/threads/116394/
qwertyuiop3 commented
isn't
if ( (buttons & IN_MOVERIGHT) != 0 && angledy < -0.02 )
{
in_law_strafe_angle_1 = roundf(strafe_angle / yaw_factor) * yaw_factor;
target_viewangles_y = ucmd->viewangles_y - in_law_strafe_angle_1;
}
else
{
if ( (buttons & IN_MOVELEFT) == 0 || angledy <= 0.0099999998 )
goto Cancel;
ucmd->sidemove = -400.0;
ucmd->buttons = buttons & ~IN_MOVERIGHT;
in_law_strafe_angle_2 = roundf(strafe_angle / yaw_factor) * yaw_factor;
target_viewangles_y = in_law_strafe_angle_2 + ucmd->viewangles_y;
}
ucmd->viewangles_y = target_viewangles_y;
alooftr commented
can you give a source?
qwertyuiop3 commented
it's IDA pseudocode