17 * reads a player_ship structure from a CFILE
19 void player_ship_read(player_ship *ps, CFILE *fp)
23 ps->model_num = cfile_read_int(fp);
24 ps->expl_vclip_num = cfile_read_int(fp);
25 ps->mass = cfile_read_fix(fp);
26 ps->drag = cfile_read_fix(fp);
27 ps->max_thrust = cfile_read_fix(fp);
28 ps->reverse_thrust = cfile_read_fix(fp);
29 ps->brakes = cfile_read_fix(fp);
30 ps->wiggle = cfile_read_fix(fp);
31 ps->max_rotthrust = cfile_read_fix(fp);
32 for (i = 0; i < N_PLAYER_GUNS; i++)
33 cfile_read_vector(&(ps->gun_points[i]), fp);