<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ZAPDTR/ZAPD/Declaration.cpp, branch JackMaster</title>
<subtitle>Fork of ZAPD for Zelda asset parsing/extraction used in decomp pipelines</subtitle>
<link rel='alternate' type='text/html' href='https://git.dog6.net/ZAPDTR/'/>
<entry>
<title>Updated to use clang-format-14 (#297)</title>
<updated>2023-07-20T23:34:07+00:00</updated>
<author>
<name>Nicholas Estelami</name>
<email>NEstelami@users.noreply.github.com</email>
</author>
<published>2023-07-20T23:34:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/ZAPDTR/commit/?id=cb03424254152e4c96d236125ef925f9333e90f4'/>
<id>cb03424254152e4c96d236125ef925f9333e90f4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Cleaned up and Documented Declaration Class (#290)</title>
<updated>2023-05-05T02:36:23+00:00</updated>
<author>
<name>Nicholas Estelami</name>
<email>NEstelami@users.noreply.github.com</email>
</author>
<published>2023-05-05T02:36:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/ZAPDTR/commit/?id=ecc25616ec90e14f3ddcf3c703b7a29d6ccf1f95'/>
<id>ecc25616ec90e14f3ddcf3c703b7a29d6ccf1f95</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Defines for texture dimensions (#233)</title>
<updated>2023-05-03T21:29:19+00:00</updated>
<author>
<name>EllipticEllipsis</name>
<email>elliptic.ellipsis@gmail.com</email>
</author>
<published>2023-05-03T21:29:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/ZAPDTR/commit/?id=ae0c2038007558d087418ff6ad2b3cd5e3cf6579'/>
<id>ae0c2038007558d087418ff6ad2b3cd5e3cf6579</id>
<content type='text'>
* Create functions to produce and add defines to the header

* Format

* Fix Jenkinsfile

* Make gcc shut up about fallthrough

* Fix symbols that start with g but are not global</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Create functions to produce and add defines to the header

* Format

* Fix Jenkinsfile

* Make gcc shut up about fallthrough

* Fix symbols that start with g but are not global</pre>
</div>
</content>
</entry>
<entry>
<title>Don't generate extern declarations for unaccounted variables (#229)</title>
<updated>2022-01-02T22:19:51+00:00</updated>
<author>
<name>Anghelo Carvajal</name>
<email>angheloalf95@gmail.com</email>
</author>
<published>2022-01-02T22:19:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/ZAPDTR/commit/?id=0530b60691122ebbccffe4b8c813acd0438fcde6'/>
<id>0530b60691122ebbccffe4b8c813acd0438fcde6</id>
<content type='text'>
* Don't generate extern declarations for unaccounted variables

* Update jenkinsfile for MM

* format</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Don't generate extern declarations for unaccounted variables

* Update jenkinsfile for MM

* format</pre>
</div>
</content>
</entry>
<entry>
<title>Only use array lengths on static variables (#205)</title>
<updated>2021-11-24T22:35:40+00:00</updated>
<author>
<name>Anghelo Carvajal</name>
<email>angheloalf95@gmail.com</email>
</author>
<published>2021-11-24T22:35:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/ZAPDTR/commit/?id=6948306d97a8d87c5ecae23c409894383badfe67'/>
<id>6948306d97a8d87c5ecae23c409894383badfe67</id>
<content type='text'>
* Only use the array length if static

* Add a way to force the array count

* format</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Only use the array length if static

* Add a way to force the array count

* format</pre>
</div>
</content>
</entry>
<entry>
<title>`ExternalFile`: Expose other XML's declarations during extraction (#151)</title>
<updated>2021-10-16T21:55:56+00:00</updated>
<author>
<name>Anghelo Carvajal</name>
<email>angheloalf95@gmail.com</email>
</author>
<published>2021-10-16T21:55:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/ZAPDTR/commit/?id=e7a8a48cf361a7591b88592eb3e333ddf8d3ab34'/>
<id>e7a8a48cf361a7591b88592eb3e333ddf8d3ab34</id>
<content type='text'>
* proof of concept

* fix header include paths

* GetDeclarationAlignment and others

* this should fix this

* minor

* DeclareVar in ExtractFromXML

* fix vtx intersections

* Fix segmented vtxs

* --version

* zcollision changes

* Use GetSegmentedPtrName a lot more

* memory related stuff

* minor style fixes and use the actual symbol for zlinkanimation instead of the hex address

* Simplify lots of GetSourceOutputCode

* ZSkeleton cleanup and other changes

* Elevate unknown types in skeleton to errors

* ZAnimation cleanup

* Add ExternalFile to config

* delete some code

* Remove unused code

* fix conflicts

* format

* remove redundant constructors

* minor fixes

* fix vtx warnings

* extract every vtx as standalone files

* format

* uups

* Bugfix: don't create extra blank files

* Fix some Vtx warnings and remove "defaulting to normal" in skeleton error

* Refactor ZLimb

* Make each limb to look up in every file for dlists

* Use GetSegmentedArrayIndexedName in VTX references in dlists

* simplify simple condition

* search by type

* run format

* Revert "search by type"

This reverts commit a049bdfc94c4ab04613b354f466dee836a20508a.

* Add range checks

* uups

* Always set rangeEnd

* special case zsymbol

* Revert "Revert "search by type""

This reverts commit 3f6e77c780bd30dc7000614304021a0940168316.

* symbol fix and IsOffsetInFileRange

* Bugfix and minor checks

* run format

* Don't extract data from external files

* Fix extraction of overly big tluts

* Minor changes

* More minor fixes

* Fix clang warnings

* Remove unused parameter

* Fix merge issues

* Fix ZLimbTable::DeclareVar

* Fix limbs not naming properly their DLists

* Remove segment number check

* Fix merge problems

* Run formatter

* Maybe fix?

* path

* empty commit

* Fix a typo

* Fix merge issues

* Fix null ptr dereferencing

* Fix merge issues and some clang warnings

* Format

* Fix not-matching

* Format

* Fix merge issues

* Fix exporter

* Last fixes I hope

* Fix merge issues

* format

* fix

* fix

* I'm dumb

* format

* static fix

* Whoops

* fix asan

* Fix?

* fix

* reduce artificial changes

* reduce artificial changes 2

* reorder more stuff

* format

* fix borken thing

* Remove redundant stuff in zfile

* fix

* Format

* Fix conflict issues

* format

* cleanup header includes

* format

* Add error checks in for ExternalXMLFolder

* format</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* proof of concept

* fix header include paths

* GetDeclarationAlignment and others

* this should fix this

* minor

* DeclareVar in ExtractFromXML

* fix vtx intersections

* Fix segmented vtxs

* --version

* zcollision changes

* Use GetSegmentedPtrName a lot more

* memory related stuff

* minor style fixes and use the actual symbol for zlinkanimation instead of the hex address

* Simplify lots of GetSourceOutputCode

* ZSkeleton cleanup and other changes

* Elevate unknown types in skeleton to errors

* ZAnimation cleanup

* Add ExternalFile to config

* delete some code

* Remove unused code

* fix conflicts

* format

* remove redundant constructors

* minor fixes

* fix vtx warnings

* extract every vtx as standalone files

* format

* uups

* Bugfix: don't create extra blank files

* Fix some Vtx warnings and remove "defaulting to normal" in skeleton error

* Refactor ZLimb

* Make each limb to look up in every file for dlists

* Use GetSegmentedArrayIndexedName in VTX references in dlists

* simplify simple condition

* search by type

* run format

* Revert "search by type"

This reverts commit a049bdfc94c4ab04613b354f466dee836a20508a.

* Add range checks

* uups

* Always set rangeEnd

* special case zsymbol

* Revert "Revert "search by type""

This reverts commit 3f6e77c780bd30dc7000614304021a0940168316.

* symbol fix and IsOffsetInFileRange

* Bugfix and minor checks

* run format

* Don't extract data from external files

* Fix extraction of overly big tluts

* Minor changes

* More minor fixes

* Fix clang warnings

* Remove unused parameter

* Fix merge issues

* Fix ZLimbTable::DeclareVar

* Fix limbs not naming properly their DLists

* Remove segment number check

* Fix merge problems

* Run formatter

* Maybe fix?

* path

* empty commit

* Fix a typo

* Fix merge issues

* Fix null ptr dereferencing

* Fix merge issues and some clang warnings

* Format

* Fix not-matching

* Format

* Fix merge issues

* Fix exporter

* Last fixes I hope

* Fix merge issues

* format

* fix

* fix

* I'm dumb

* format

* static fix

* Whoops

* fix asan

* Fix?

* fix

* reduce artificial changes

* reduce artificial changes 2

* reorder more stuff

* format

* fix borken thing

* Remove redundant stuff in zfile

* fix

* Format

* Fix conflict issues

* format

* cleanup header includes

* format

* Add error checks in for ExternalXMLFolder

* format</pre>
</div>
</content>
</entry>
<entry>
<title>string -&gt; const string&amp; and more (#199)</title>
<updated>2021-10-11T18:05:18+00:00</updated>
<author>
<name>louist103</name>
<email>35883445+louist103@users.noreply.github.com</email>
</author>
<published>2021-10-11T18:05:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/ZAPDTR/commit/?id=1c687a69c1f6b84a3fea1bcab8e141f8a26e16dc'/>
<id>1c687a69c1f6b84a3fea1bcab8e141f8a26e16dc</id>
<content type='text'>
* all possible strings use const &amp; and make some strings const char*

* remove ='' from new strings

* formatter

* revert globals

* Fix warning (error)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* all possible strings use const &amp; and make some strings const char*

* remove ='' from new strings

* formatter

* revert globals

* Fix warning (error)</pre>
</div>
</content>
</entry>
<entry>
<title>Add `--static` flag (#193)</title>
<updated>2021-10-02T01:19:47+00:00</updated>
<author>
<name>Anghelo Carvajal</name>
<email>angheloalf95@gmail.com</email>
</author>
<published>2021-10-02T01:19:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/ZAPDTR/commit/?id=6b06266eb8d35a7865aa1f942ecbe393e7cde740'/>
<id>6b06266eb8d35a7865aa1f942ecbe393e7cde740</id>
<content type='text'>
* remove static from every extracted asset

* fix makefile

* Move a bunch of code to Declaration

* make static enablalble

* fix texture static

* clean up

* minor fixes

* Format

* add small docs

* fix

* add table

* add note in the readme

* typo

* maybe_unused

* Add warning to ZSymbol

* format

* fix</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* remove static from every extracted asset

* fix makefile

* Move a bunch of code to Declaration

* make static enablalble

* fix texture static

* clean up

* minor fixes

* Format

* add small docs

* fix

* add table

* add note in the readme

* typo

* maybe_unused

* Add warning to ZSymbol

* format

* fix</pre>
</div>
</content>
</entry>
<entry>
<title>Remove `DeclarationPadding` and `DeclarationAlignment::None` (#186)</title>
<updated>2021-09-29T17:58:42+00:00</updated>
<author>
<name>Anghelo Carvajal</name>
<email>angheloalf95@gmail.com</email>
</author>
<published>2021-09-29T17:58:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/ZAPDTR/commit/?id=2e7e4c33db92944019cfd8c806054f703629c122'/>
<id>2e7e4c33db92944019cfd8c806054f703629c122</id>
<content type='text'>
* Nuke DeclarationPadding

* Remove DeclarationAlignment::None

* Fix AddDeclaration memory leaks

* Run formatter

* Remove extra AddDeclarationPlaceholder

* Revert "Remove extra AddDeclarationPlaceholder"

This reverts commit 7a5d6a19d80bb246e0a6c8fde009b2a00a84ef96.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Nuke DeclarationPadding

* Remove DeclarationAlignment::None

* Fix AddDeclaration memory leaks

* Run formatter

* Remove extra AddDeclarationPlaceholder

* Revert "Remove extra AddDeclarationPlaceholder"

This reverts commit 7a5d6a19d80bb246e0a6c8fde009b2a00a84ef96.</pre>
</div>
</content>
</entry>
<entry>
<title>ZRoom refactor (#124)</title>
<updated>2021-05-10T16:25:39+00:00</updated>
<author>
<name>Anghelo Carvajal</name>
<email>angheloalf95@gmail.com</email>
</author>
<published>2021-05-10T16:25:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/ZAPDTR/commit/?id=769f5702a422d14bfb0a60a39319da4b4bf9ec1f'/>
<id>769f5702a422d14bfb0a60a39319da4b4bf9ec1f</id>
<content type='text'>
* Remove redundant methods

* first pass os cleaning

* More cleaning

* Fix compilation errors

* Fix dumb crashes

* Fix dumb issues

* Removing most uses of GenerateSourceCodePass1

* more cleanup

* Move segmentOffset to ZRoomCommand

* Half of ParseRawData

* somehow broken...

* fix broken stuff

* This may or may not be broken

* More cleaning

* Remove GenerateSourceCodePass2

* More cleanup and pointer removal

* Use PolygonType2 in SetMesh

* another small cleanup

* Merge PolygonDlist and PolygonDlist2

* More code merging

* GetDeclarationPtrName

* Remove most repeated externs and a bit of redundant code

* Dumb MM fixes

* small fix

(cherry picked from commit 0813fd69538491c5aceb00d79d19bf59fd082ca7)

* Another dumb fix

* Remove GenerateExterns

* Change DeclareReferences signature

* Refactor SetAnimatedTextureList

* const std::vector&lt;uint8_t&gt;&amp;

* another small bunch of changes

* last parserawdata and declarereferences separation probably

* Move parserawdata

* Remove GenerateSourceCodePass1

* Use macros for commands

* Make ZRoomCommand inherit  ZResource

* shrink scenes tluts

* ProcessTextureIntersections

* small output improvements

* Small changes

* run format

* SCENE_CMD -&gt; SCENECMD

* fix merge errors

* run format

* fix some warnings

* update macros names

* Add again different commands for each game ni SCENE_CMD_ROOM_BEHAVIOR

* macro update

* More booleans

* Move declaration to its own file

* minor changes

* Update according to latest reviews in oot

* run format

* Yet another cutscene change

* Remove special scene/room segment code

* This is crashing and I don't know why

* remove includeFilePrefix

* fix merge issues

* always pass a parent to zresource

* move path to its own zclass and properly implement parserawdata in commands

* Fix GetDeclarationPtrName uses

* Some ZPath fixes (still broken tho)

* Fix ZPath declarations

* Fix weird problem

* Add `Path` to the docs

* run format

* clean syotes code

* A bunch of changes for MM

* run format</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Remove redundant methods

* first pass os cleaning

* More cleaning

* Fix compilation errors

* Fix dumb crashes

* Fix dumb issues

* Removing most uses of GenerateSourceCodePass1

* more cleanup

* Move segmentOffset to ZRoomCommand

* Half of ParseRawData

* somehow broken...

* fix broken stuff

* This may or may not be broken

* More cleaning

* Remove GenerateSourceCodePass2

* More cleanup and pointer removal

* Use PolygonType2 in SetMesh

* another small cleanup

* Merge PolygonDlist and PolygonDlist2

* More code merging

* GetDeclarationPtrName

* Remove most repeated externs and a bit of redundant code

* Dumb MM fixes

* small fix

(cherry picked from commit 0813fd69538491c5aceb00d79d19bf59fd082ca7)

* Another dumb fix

* Remove GenerateExterns

* Change DeclareReferences signature

* Refactor SetAnimatedTextureList

* const std::vector&lt;uint8_t&gt;&amp;

* another small bunch of changes

* last parserawdata and declarereferences separation probably

* Move parserawdata

* Remove GenerateSourceCodePass1

* Use macros for commands

* Make ZRoomCommand inherit  ZResource

* shrink scenes tluts

* ProcessTextureIntersections

* small output improvements

* Small changes

* run format

* SCENE_CMD -&gt; SCENECMD

* fix merge errors

* run format

* fix some warnings

* update macros names

* Add again different commands for each game ni SCENE_CMD_ROOM_BEHAVIOR

* macro update

* More booleans

* Move declaration to its own file

* minor changes

* Update according to latest reviews in oot

* run format

* Yet another cutscene change

* Remove special scene/room segment code

* This is crashing and I don't know why

* remove includeFilePrefix

* fix merge issues

* always pass a parent to zresource

* move path to its own zclass and properly implement parserawdata in commands

* Fix GetDeclarationPtrName uses

* Some ZPath fixes (still broken tho)

* Fix ZPath declarations

* Fix weird problem

* Add `Path` to the docs

* run format

* clean syotes code

* A bunch of changes for MM

* run format</pre>
</div>
</content>
</entry>
</feed>
