MAPA (File Format): Difference between revisions

Jump to navigation Jump to search
correct info about the offsets in the primitive headers
(correct info about the offsets in the primitive headers)
 
(One intermediate revision by the same user not shown)
Line 131: Line 131:
|-
|-
|u32
|u32
|'''Type'''; See table below for MP1 types
|'''Type'''; See tables below for MP1/MP2 types
|{{check}}
|{{check}}
|{{check}}
|{{check}}
Line 247: Line 247:
|37
|37
|Missile Station
|Missile Station
|}
==== MP2 Types ====
{| class="wikitable"
!Type
!Description
|-
|0
|Normal Door
|-
|1
|Missile Door
|-
|2
|Dark Door
|-
|3
|Annihilator Door
|-
|4
|Light Door
|-
|5
|Super Missile Door
|-
|6
|Seeker Missile Door
|-
|7
|Power Bomb Door
|-
|16
|Elevator
|-
|17
|Save Station
|-
|20
|Ammo Station
|-
|21
|Portal
|-
|22
|Light Teleporter
|-
|23
|Translator Gate
|-
|24
|Up Arrow
|-
|25
|Down Arrow
|}
|}


Line 255: Line 309:
=== Primitive Headers ===
=== Primitive Headers ===


The Primitive headers are extremely simple, they merely have a bounding box followed by the primitive table start and end point, relative to the end of the current primitive header. In other words: read in the header, seek to the start of the table from the '''current''' position, then read the primitives tables.
The Primitive headers are extremely simple, they merely have a bounding box followed by the primitive table start and end point, relative to the end of the file header.


{|class="wikitable"
{|class="wikitable"
Line 268: Line 322:
|-
|-
|u32
|u32
|'''Primitive Table Start'''; relative to the end of the header
|'''Primitive Table Start'''; relative to the end of the file header
|-
|-
|u32
|u32
|'''Border Table Start'''; relative to the end of the header
|'''Border Table Start'''; relative to the end of the file header
|}
|}


14

edits

Navigation menu