Street Data/Development
Versions
- In Burnout 5 (2007-02-22 build),
miVersion
was 2. Its featureset is mostly the same, but appears to support 4 Road Rule scores rather than 2, possibly as a value for the number of cars crashed (sample file has 10 and 60 as targets).
Structures
BrnStreetData::StreetData
2007-02-22
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | int32_t | miVersion | Version number | 6 |
0x4 | 0x4 | int32_t | miSize | Resource size | |
0x8 | 0x4 | Street* | mpaStreets | ||
0xC | 0x4 | Junction* | mpaJunctions | ||
0x10 | 0x4 | Road* | mpaRoads | ||
0x14 | 0x4 | ChallengeParScoresEntry* | mpaChallengeParScores | ||
0x18 | 0x4 | int32_t | miStreetCount | ||
0x1C | 0x4 | int32_t | miJunctionCount | ||
0x20 | 0x4 | int32_t | miRoadCount |
BrnStreetData::Street
2007-02-22
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0xC | SpanBase | Base class | ||
0xC | 0x2 | AIInfo | mAIInfo | ||
0xE | 0x2 | Padding |
BrnStreetData::SpanBase
2007-02-22
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | RoadIndex | miRoadIndex | ||
0x4 | 0x4 | SpanIndex | miSpanIndex | ||
0x8 | 0x4 | ESpanType | meSpanType |
BrnStreetData::AIInfo
2007-02-22
See AIInfo.
BrnStreetData::Junction
2007-02-22
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0xC | SpanBase | Base class | ||
0xC | 0x4 | Exit* | mpaExits | ||
0x10 | 0x4 | int32_t | miExitCount | ||
0x14 | 0x10 | char[16] | macName |
BrnStreetData::Junction::Exit
2007-02-22
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | SpanIndex | mSpan | ||
0x4 | 0x4 | float_t | mrAngle |
BrnStreetData::Road
2007-02-22
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | SpanIndex* | mpaSpans | ||
0x4 | 0x4 | Padding | |||
0x8 | 0x8 | CgsID | mId | Road GameDB ID | |
0x10 | 0x8 | CgsID | miRoadLimitId0 | Road limit 0 GameDB ID | |
0x18 | 0x8 | CgsID | miRoadLimitId1 | Road limit 1 GameDB ID | |
0x20 | 0x10 | char[16] | macDebugName | ||
0x30 | 0x4 | ChallengeIndex | mChallenge | ||
0x34 | 0x4 | int32_t | miSpanCount |
BrnStreetData::ChallengeParScoresEntry
2007-02-22
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x20 | ChallengeData | Base class | ||
0x20 | 0x20 | CgsID[4] | mRivals |
BrnStreetData::ChallengeData
2007-02-22
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x8 | BitArray<2u> | mDirty | ||
0x8 | 0x8 | BitArray<2u> | mValidScores | ||
0x10 | 0x10 | ScoreList | mScoreList |
BrnStreetData::ScoreList
2007-02-22
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x8 | int32_t[4] | maScores |
Typedefs
BrnStreetData::Road::SpanIndex
2007-02-22
Name | Type | Length | Comments |
---|---|---|---|
SpanIndex | int32_t | 0x4 |