#include <ispackets.h>
Data Fields | |
| word | Node |
| current path node | |
| word | Lap |
| current lap | |
| byte | PLID |
| player's unique id | |
| byte | Position |
| current race position : 0 = unknown, 1 = leader, etc... | |
| byte | Info |
| flags and other info | |
| byte | Sp3 |
| int | X |
| X map (65536 = 1 metre). | |
| int | Y |
| Y map (65536 = 1 metre). | |
| int | Z |
| Z alt (65536 = 1 metre). | |
| word | Speed |
| speed (32768 = 100 m/s) | |
| word | Direction |
| direction of car's motion : 0 = world y direction, 32768 = 180 deg | |
| word | Heading |
| direction of forward axis : 0 = world y direction, 32768 = 180 deg | |
| short | AngVel |
| signed, rate of change of heading : (16384 = 360 deg/s) | |
there is an array of these in the MCI
Definition at line 1805 of file ispackets.h.
| word CompCar::Node |
| word CompCar::Lap |
| byte CompCar::PLID |
| byte CompCar::Position |
current race position : 0 = unknown, 1 = leader, etc...
Definition at line 1810 of file ispackets.h.
| byte CompCar::Info |
| byte CompCar::Sp3 |
Definition at line 1812 of file ispackets.h.
| int CompCar::X |
| int CompCar::Y |
| int CompCar::Z |
| word CompCar::Speed |
| word CompCar::Direction |
direction of car's motion : 0 = world y direction, 32768 = 180 deg
Definition at line 1817 of file ispackets.h.
| word CompCar::Heading |
direction of forward axis : 0 = world y direction, 32768 = 180 deg
Definition at line 1818 of file ispackets.h.
| short CompCar::AngVel |
signed, rate of change of heading : (16384 = 360 deg/s)
Definition at line 1819 of file ispackets.h.
1.5.8