Trigger Data/Development: Difference between revisions
m
no edit summary
m (Remove base class names generated by Ghidra.) |
mNo edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 47:
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 ||
|-
|
|-▼
|}
Line 59 ⟶ 57:
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x50 || [[#BrnTrigger::BoxRegion|BoxRegion]] || mBoxRegion || ||
|-
| 0x50 || 0x4 || [[CgsID]] || mId || ||
Line 67 ⟶ 65:
| 0x5C || 0x1 || uint8_t || meType || Region type || See [[#BrnTrigger::TriggerRegion::Type|type]]
|-
| 0x5D || 0x3 || uint8_t[3] || muPad || ||
|}
Line 79 ⟶ 77:
| 0x60 || 0x4 || [[../#BrnTrigger::StartingGrid|StartingGrid]]* || mpaStartingGrids || Starting grids ||
|-
| 0x64 || 0x4 || [[#
|-
| 0x68 || 0x4 ||
|-
| 0x6C || 0x4 ||
|-
| 0x70 || 0x1 || uint8_t || muDesignIndex || Landmark index ||
Line 89 ⟶ 87:
| 0x71 || 0x1 || uint8_t || muDistrict || District ID || See [[Paradise City/Districts|Districts]]
|-
| 0x72 || 0xE || || || Padding
|}
===
==== Version 15 ====
{| class="wikitable"
Line 107 ⟶ 105:
| 0x0 || 0x60 || [[#BrnTrigger::TriggerRegion|TriggerRegion]] || || Base class ||
|-
| 0x60 ||
|-
|
|-
|
|-▼
| 0x6C || 0x2 || ? || ? || || Always 0?▼
|-
| 0x6E || 0x1 || uint8_t || meType || Generic region type || See [[#BrnTrigger::GenericRegion::Type|type]]
|-
| 0x6F || 0x1 || int8_t || miPad || Padding
|}
Line 127 ⟶ 123:
| 0x0 || 0x60 || [[#BrnTrigger::TriggerRegion|TriggerRegion]] || || Base class ||
|-
| 0x60 ||
▲|-
▲|-
| 0x64 || 0x4 || int32_t || miScoreAmount || ||
|-
| 0x68 || 0x8 || || || Padding ||
|}
Line 155 ⟶ 157:
|-
| E_TYPE_COUNT || 5 ||
|}
=== BrnTrigger::GenericRegion::StuntCameraType ===
==== Version 15 ====
{| class="wikitable"
! Name !! Value !! Comments
|-
| E_STUNTCAMERATYPE_NORMAL || 0 ||
|-
| E_STUNTCAMERATYPE_NOCUTS || 1 ||
|-
| E_STUNTCAMERATYPE_CUSTOM || 2 ||
|}
Line 164 ⟶ 178:
! Name !! Value !! Comments
|-
|
|-
|
|-
|
|-
| E_TYPE_BODY_SHOP || 3 || BodyShop
Line 178 ⟶ 192:
| E_TYPE_GAS_STATION || 6 || GasStation
|-
|
|-
|
|-
|
|-
| E_TYPE_SIGNATURE_TAKEDOWN || 10 || SignatureTakedown
|-
|
|-
| E_TYPE_KILLZONE || 12 || KillzoneTrigger
|-
|
|-
|
|-
|
|-
| E_TYPE_ROAD_LIMIT || 16 || RoadLimit
|