Data Fields

IS_RST Struct Reference

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

Detailed Description

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 1322 of file ispackets.h.


Field Documentation

28

Definition at line 1324 of file ispackets.h.

ISP_RST

Definition at line 1325 of file ispackets.h.

0 unless this is a reply to an TINY_RST request

Definition at line 1326 of file ispackets.h.

Definition at line 1327 of file ispackets.h.

0 if qualifying -> RaceLaps

Definition at line 1329 of file ispackets.h.

0 if race

Definition at line 1330 of file ispackets.h.

number of players in race

Definition at line 1331 of file ispackets.h.

lap timing

Definition at line 1332 of file ispackets.h.

char IS_RST::Track[6]

short track name

Definition at line 1334 of file ispackets.h.

Definition at line 1335 of file ispackets.h.

Definition at line 1336 of file ispackets.h.

race flags (must pit, can reset, etc)

Definition at line 1338 of file ispackets.h.

total number of nodes in the path

Definition at line 1339 of file ispackets.h.

node index - finish line

Definition at line 1340 of file ispackets.h.

node index - split 1

Definition at line 1341 of file ispackets.h.

node index - split 2

Definition at line 1342 of file ispackets.h.

node index - split 3

Definition at line 1343 of file ispackets.h.


The documentation for this struct was generated from the following file:
 All Data Structures Files Variables Enumerator Defines