| InSim
    0.6c
    Documentation of Live for Speed InSim Protocol | 
Car info in 28 bytes. More...
#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 | 
| car's motion if Speed > 0 : 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) | |
Car info in 28 bytes.
there is an array of these in the MCI
Definition at line 2016 of file ispackets.h.
| short CompCar::AngVel | 
signed, rate of change of heading : (16384 = 360 deg/s)
Definition at line 2030 of file ispackets.h.
| word CompCar::Direction | 
car's motion if Speed > 0 : 0 = world y direction, 32768 = 180 deg
Definition at line 2028 of file ispackets.h.
| word CompCar::Heading | 
direction of forward axis : 0 = world y direction, 32768 = 180 deg
Definition at line 2029 of file ispackets.h.
| byte CompCar::Info | 
Definition at line 2022 of file ispackets.h.
| word CompCar::Lap | 
current lap
Definition at line 2019 of file ispackets.h.
| word CompCar::Node | 
current path node
Definition at line 2018 of file ispackets.h.
| byte CompCar::PLID | 
player's unique id
Definition at line 2020 of file ispackets.h.
| byte CompCar::Position | 
current race position : 0 = unknown, 1 = leader, etc...
Definition at line 2021 of file ispackets.h.
| byte CompCar::Sp3 | 
Definition at line 2023 of file ispackets.h.
| word CompCar::Speed | 
speed (32768 = 100 m/s)
Definition at line 2027 of file ispackets.h.
| int CompCar::X | 
X map (65536 = 1 metre)
Definition at line 2024 of file ispackets.h.
| int CompCar::Y | 
Y map (65536 = 1 metre)
Definition at line 2025 of file ispackets.h.
| int CompCar::Z | 
Z alt (65536 = 1 metre)
Definition at line 2026 of file ispackets.h.
 1.7.6.1
 1.7.6.1