- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
sscanf_s(buf,
"%f%f%f%f%f%d%d%d%d%d%d"
"%f%f%f%f%f%d%d%d%d%d%d"
"%f%f%f%f%f%d%d%d%d%d%d"
"%f%f%f%f%f%d%d%d%d%d%d",
&_race_state._car[0]._x, &_race_state._car[0]._y, &_race_state._car[0]._vx,
&_race_state._car[0]._vy, &_race_state._car[0]._angle, &_race_state._car[0]._nitro_time,
&_race_state._car[0]._oiled_bus, &_race_state._car[0]._nirtos, &_race_state._car[0]._bonus,
&_race_state._car[0]._lap, &_race_state._car[0]._next_seg,
&_race_state._car[1]._x, &_race_state._car[1]._y, &_race_state._car[1]._vx,
&_race_state._car[1]._vy, &_race_state._car[1]._angle, &_race_state._car[1]._nitro_time,
&_race_state._car[1]._oiled_bus, &_race_state._car[1]._nirtos, &_race_state._car[1]._bonus,
&_race_state._car[1]._lap, &_race_state._car[1]._next_seg,
&_race_state._car[2]._x, &_race_state._car[2]._y, &_race_state._car[2]._vx,
&_race_state._car[2]._vy, &_race_state._car[2]._angle, &_race_state._car[2]._nitro_time,
&_race_state._car[2]._oiled_bus, &_race_state._car[2]._nirtos, &_race_state._car[2]._bonus,
&_race_state._car[2]._lap, &_race_state._car[2]._next_seg,
&_race_state._car[3]._x, &_race_state._car[3]._y, &_race_state._car[3]._vx,
&_race_state._car[3]._vy, &_race_state._car[3]._angle, &_race_state._car[3]._nitro_time,
&_race_state._car[3]._oiled_bus, &_race_state._car[3]._nirtos, &_race_state._car[3]._bonus,
&_race_state._car[3]._lap, &_race_state._car[3]._next_seg );
TheCalligrapher 03.05.2012 05:06 # +2
bormand 03.05.2012 08:48 # 0
eth0 03.05.2012 12:56 # +6