staticenumSquadtake_over_squad=(enumSquad)-1;// -1 means not taking over any squad
staticenumSquadtake_over_squad=(enumSquad)-1;// -1 means not taking over any squad
// images
// images
@ -1618,8 +1619,7 @@ static void frame(void)
// Create and send input packet, and predict a frame of gamestate
// Create and send input packet, and predict a frame of gamestate
staticInputFramecur_input_frame={
staticInputFramecur_input_frame={
0
0};// keep across frames for high refresh rate screens
};// keep across frames for high refresh rate screens
staticsize_tlast_input_committed_tick=0;
staticsize_tlast_input_committed_tick=0;
{
{
// prepare the current input frame, such that when processed next,
// prepare the current input frame, such that when processed next,
@ -1901,8 +1901,10 @@ static void frame(void)
}
}
}
}
player_scaling=
doubleplayer_scaling_target=zoom<6.5?100.0:1.0;
lerp(player_scaling,zoom<6.5?100.0:1.0,dt*7.0);
if(zoom>50.0)
player_scaling=player_scaling_target;// For press tab zoom shortcut. Bad hack to make zooming in not jarring with the bigger player. Comment this out and press tab to see!