Page tree
Skip to end of metadata
Go to start of metadata

Inputs/outputs

NameTypeRangeDescription
aiActionBufferint[ACTION_BUFFER_SIZE][3]

[[ INVALID, MAXINT ],

[INVALID, NUM_TRAINS - 1],

[INVALID, NUM_TRACKS - 1]]

INVALID terminated buffer containing unique actions received from the GUI. On overflow the buffer will be cleared and new actions will be added as normal from the beginning. The format of an action is [id, train id, destination]. An action with an INVALID id should be considered INVALID.
  • No labels