Skip to navigation

Workspaces: Main variable workspace (Part 3 of 4)

Name: Main variable workspace (Part 3 of 4) [Show more] Type: Workspace Address: &0880 to &08BF Category: Workspaces Summary: The main block of game variables
Context: See this workspace in context in the source code References: No direct references to this workspace in this source file
ORG &0880 \ Set the assembly address to &0880 .objSectionSegmt SKIP 24 \ Each object's segment number within the current track \ section, counting from the start of the section \ \ This value increments along with objectSegment as the \ object moves through each segment along the track, \ until it reaches the section's trackSectionSize (the \ section's length in terms of segments), at which point \ it resets to zero for the next section \ \ So while objectSegment is the object's segment number \ when looking at the entire track, objSectionSegmt is \ the object's segment number within the current track \ section only \ \ [Show more]
\ \ This variable is used by the following: \ \ * GetSegmentSteering \ * GetTrackSegment (Part 2 of 3) \ * MoveCars (Part 1 of 2) \ * MoveObjectBack \ * MoveObjectForward \ * ResetVariables \ * SetPlayerDriftSup \ \ This list only includes code that refers to the \ variable by name; there may be other references to \ this memory location that don't use this label, and \ these will not be mentioned above
.totalRaceTenths SKIP 20 \ Tenths of seconds of each driver's total race time, \ stored in BCD \ \ Indexed by driver number (0 to 19) \ \ [Show more]
\ \ This variable is used by the following: \ \ * SortDrivers \ * UpdateLaps \ \ This list only includes code that refers to the \ variable by name; there may be other references to \ this memory location that don't use this label, and \ these will not be mentioned above
.totalRaceSeconds SKIP 20 \ Seconds of each driver's total race time, stored in \ BCD \ \ Indexed by driver number (0 to 19) \ \ [Show more]
\ \ This variable is used by the following: \ \ * SortDrivers \ * UpdateLaps \ \ This list only includes code that refers to the \ variable by name; there may be other references to \ this memory location that don't use this label, and \ these will not be mentioned above