diff options
| author | Anghelo Carvajal <angheloalf95@gmail.com> | 2022-01-11 21:55:18 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-11 19:55:18 -0500 |
| commit | bf16ff7c4c409358a53793b72260b1d8e474cf0c (patch) | |
| tree | fa4d2d0169b5485f990112642df9b57b388af14b /docs | |
| parent | 16b53763423c6830a6fecef5579a2013c54abbd1 (diff) | |
ZPointer (#232)
* ZPointer
* Add docs
* format
* jenkins file for mm
* whoops
* Rewrite as a switch
* a
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/zapd_extraction_xml_reference.md | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/docs/zapd_extraction_xml_reference.md b/docs/zapd_extraction_xml_reference.md index 06b95bb..b3f5575 100644 --- a/docs/zapd_extraction_xml_reference.md +++ b/docs/zapd_extraction_xml_reference.md @@ -9,6 +9,7 @@ This document aims to be a small reference of how to create a compatible xml fil - [Basic XML](#basic-xml) - [Resources types](#resources-types) - [File](#file) + - [ExternalFile](#externalfile) - [Texture](#texture) - [Background](#background) - [Blob](#blob) @@ -33,6 +34,7 @@ This document aims to be a small reference of how to create a compatible xml fil - [Array](#array) - [Path](#path) - [PlayerAnimationData](#playeranimationdata) + - [Pointer](#pointer) ## Basic XML @@ -589,7 +591,7 @@ Vec3s D_04002040[24] = { The `Array` element is special, because it needs an inner element to work. It will declare an array of its inner element. -Currently, only [`Scalar`](#scalar), [`Vector`](#vector) and [`Vtx`](#vtx) support being wrapped in an array. +Currently, only [`Pointer`](#pointer), [`Scalar`](#scalar), [`Vector`](#vector) and [`Vtx`](#vtx) support being wrapped in an array. - Example: @@ -637,3 +639,24 @@ Allows the extraction of the specific data of the player animations which are fo - `FrameCount`: Required. The length of the animation in frames. It must be a positive integer. ------------------------- + +### Pointer + +Allows the extraction of a variable that contains a pointer + +- Example: + +```xml +<Array Name="object_hanareyama_obj_DLArray_004638" Count="54" Offset="0x4638"> + <Pointer Type="Gfx"/> +</Array> +``` + +- Attributes: + + - `Name`: Required. + - `Type`: Required. The type of the extracted pointer. + +※ Can be wrapped in an [`Array`](#array) tag. + +------------------------- |
