Lights (Metroid Prime): Difference between revisions

Jump to navigation Jump to search
→‎Light: there is an extra value in there but I don't know the format well enough to tell where just yet
imported>Antidote
No edit summary
>Aruki
(→‎Light: there is an extra value in there but I don't know the format well enough to tell where just yet)
Line 9: Line 9:
===Light===
===Light===
Lights are a 0x41 byte long struct and consists of the following:
Lights are a 0x41 byte long struct and consists of the following:
{|class="wikitable"
{| class="wikitable"
!Type
! Offset
!Description
! Type
! Description
|-
|-
|long
| 0x0
|'''Light Type'''
| long
| '''Light Type'''
|-
|-
|float3
| 0x4
|'''Light Color'''
| float3
| '''Light Color'''
|-
|-
|float3
| 0x10
|'''Position'''
| float3
| '''Position'''
|-
|-
|float3
| 0x1C
|{{unknown|Direction?}}
| float3
| {{unknown|Direction?}}
|-
|-
|float
| 0x28
|'''Power'''; NOT intensity, intensity is calculated using this value.
| float
| '''Power'''; NOT intensity, intensity is calculated using this value.
|-
|-
|float
| 0x2C
|{{unknown|Angle?}}
| float
| {{unknown|Angle?}}
|-
|-
|float
| 0x30
|{{unknown|Unknown}}
| float
| {{unknown|Unknown}}
|-
|-
|float
| 0x34
|{{unknown|Unknown}}
| float
| {{unknown|Unknown}}
|-
|-
|byte
| 0x38
|{{unknown|Unknown}}
| byte
| {{unknown|Unknown}}
|-
|-
|float
| 0x39
|{{unknown|Unknown}}
| float
| {{unknown|Unknown}}
|-
|-
|long
| 0x3D
|{{unknown|Unknown}}
| long
| {{unknown|Unknown}}
|-
|-
|float
| 0x41
|{{unknown|Unknown}}
| float
| {{unknown|Unknown}}
|-
| 0x45
| colspan=2 {{unknown|End of light}}
|}
|}


Anonymous user

Navigation menu