InSim
0.6c
Documentation of Live for Speed InSim Protocol
|
Race STart. More...
#include <ispackets.h>
Data Fields | |
byte | Size |
28 | |
byte | Type |
ISP_RST | |
byte | ReqI |
0 unless this is a reply to an TINY_RST request | |
byte | Zero |
byte | RaceLaps |
0 if qualifying -> RaceLaps | |
byte | QualMins |
0 if race | |
byte | NumP |
number of players in race | |
byte | Timing |
lap timing | |
char | Track [6] |
short track name | |
byte | Weather |
byte | Wind |
word | Flags |
race flags (must pit, can reset, etc) | |
word | NumNodes |
total number of nodes in the path | |
word | Finish |
node index - finish line | |
word | Split1 |
node index - split 1 | |
word | Split2 |
node index - split 2 | |
word | Split3 |
node index - split 3 |
Race STart.
Lap timing info (for Timing byte)
bits 6 and 7 (Timing & 0xc0) :
0x40 : standard lap timing is being used 0x80 : custom timing - user checkpoints have been placed 0xc0 : no lap timing - e.g. open config with no user checkpoints
bits 0 and 1 (Timing & 0x03) : number of checkpoints if lap timing is enabled
Definition at line 1335 of file ispackets.h.
word IS_RST::Finish |
node index - finish line
Definition at line 1353 of file ispackets.h.
word IS_RST::Flags |
race flags (must pit, can reset, etc)
Definition at line 1351 of file ispackets.h.
word IS_RST::NumNodes |
total number of nodes in the path
Definition at line 1352 of file ispackets.h.
byte IS_RST::NumP |
number of players in race
Definition at line 1344 of file ispackets.h.
byte IS_RST::QualMins |
0 if race
Definition at line 1343 of file ispackets.h.
byte IS_RST::RaceLaps |
0 if qualifying -> RaceLaps
Definition at line 1342 of file ispackets.h.
byte IS_RST::ReqI |
0 unless this is a reply to an TINY_RST request
Definition at line 1339 of file ispackets.h.
byte IS_RST::Size |
28
Definition at line 1337 of file ispackets.h.
word IS_RST::Split1 |
node index - split 1
Definition at line 1354 of file ispackets.h.
word IS_RST::Split2 |
node index - split 2
Definition at line 1355 of file ispackets.h.
word IS_RST::Split3 |
node index - split 3
Definition at line 1356 of file ispackets.h.
byte IS_RST::Timing |
lap timing
Definition at line 1345 of file ispackets.h.
char IS_RST::Track[6] |
short track name
Definition at line 1347 of file ispackets.h.
byte IS_RST::Type |
Definition at line 1338 of file ispackets.h.
byte IS_RST::Weather |
Definition at line 1348 of file ispackets.h.
byte IS_RST::Wind |
Definition at line 1349 of file ispackets.h.
byte IS_RST::Zero |
Definition at line 1340 of file ispackets.h.