Loop Model: Difference between revisions

m
Normalization
(Formatted for wiki display and corrected info.)
m (Normalization)
 
(3 intermediate revisions by the same user not shown)
Line 1:
{{ParadiseResourceTypeInfobox
| name = LoopModel
| id = 0x10000
| category = Game-specific<br />(Burnout Paradise)
| memdist = Main Memory only
}}
 
Loop models match engine RPM to sounds via a graph.
 
Line 13 ⟶ 20:
| 0x4 || 0x4 || uint32_t || muSignature || Magic || YDNA
|-
| 0x8 || 0x4 || [[#BrnSound::Vehicles::Engines::Partial | Partial]]* || mpaPartials || ||
|-
| 0xC || 0x4 || uint32_t || muNumOfPartials || ||
Line 28 ⟶ 35:
| 0x4 || 0x4 || uint32_t || muSignature || Magic || YDNA
|-
| 0x8 || 0x8 || [[#BrnSound::Vehicles::Engines::Partial | Partial]]* || mpaPartials || ||
|-
| 0x10 || 0x4 || uint32_t || muNumOfPartials || ||
Line 42 ⟶ 49:
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x4 || [[Common Data Types (Burnout Paradise)#Sound hash | Name]] || mWaveName || Name hash ||
|-
| 0x4 || 0x4 || [[#BrnSound::Vehicles::Engines::Graph | Graph]]* || mpaGraphs || ||
|-
| 0x8 || 0x1 || uint8_t || mu8NumOfGraphs || ||
|-
| 0x9 || 0x3 || || || paddingPadding ||
|}
 
Line 55 ⟶ 62:
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x8 || [[#BrnSound::Vehicles::Engines::Graph | Graph]]* || mpaGraphs || ||
|-
| 0x8 || 0x4 || [[Common Data Types (Burnout Paradise)#Sound hash | Name]] || mWaveName || Name hash ||
|-
| 0xC || 0x1 || uint8_t || mu8NumOfGraphs || ||
|-
| 0xD || 0x3 || || || paddingPadding ||
|}
 
Line 69 ⟶ 76:
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x4 || [[#BrnSound::Vehicles::Engines::Point | Point]]* || mpaPoints || Points on graph ||
|-
| 0x4 || 0x1 || uint8_t || mu8NumOfPoints || ||
Line 84 ⟶ 91:
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x8 || [[#BrnSound::Vehicles::Engines::Point | Point]]* || mpaPoints || Points on graph ||
|-
| 0x8 || 0x1 || uint8_t || mu8NumOfPoints || ||
Line 94 ⟶ 101:
| 0xB || 0x1 || int8_t || mPad || ||
|-
| 0xC || 0x4 || || || paddingPadding ||
|}