scene_loader.c
void ChangeWapon(SceneData* scene_data){
	if(scene_data[CURRENT_SCENE].active_tank->chosen_projectile < (PROJECTILE_TYPE_TYPE_TOTAL - 1)){
		scene_data[CURRENT_SCENE].active_tank->chosen_projectile++;
	}else{
		scene_data[CURRENT_SCENE].active_tank->chosen_projectile = 0;
	}
	return;
}
/*  This function changes current weapon for the active tank  */
This function changes current weapon for the active tank
This function changes current weapon for the active tank
void ChangeWapon(SceneData* scene_data){
	if(scene_data[CURRENT_SCENE].active_tank->chosen_projectile < (PROJECTILE_TYPE_TYPE_TOTAL - 1)){
		scene_data[CURRENT_SCENE].active_tank->chosen_projectile++;
	}else{
		scene_data[CURRENT_SCENE].active_tank->chosen_projectile = 0;
	}
	return;
}
void ChangeWapon ( SceneData * scene_data ) { if ( scene_data [ CURRENT_SCENE ] . active_tank -> chosen_projectile < ( PROJECTILE_TYPE_TYPE_TOTAL - 1 ) ) { scene_data [ CURRENT_SCENE ] . active_tank -> chosen_projectile ++ ; } else { scene_data [ CURRENT_SCENE ] . active_tank -> chosen_projectile = 0 ; } return ; }
This function changes current weapon for the active tank
This function changes current weapon for the active tank