<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ZAPDTR/ZAPD/ZRoom/Commands/SetCollisionHeader.h, branch develop</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>`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>Exporter Support Added (#127)</title>
<updated>2021-08-05T09:11:24+00:00</updated>
<author>
<name>Nicholas Estelami</name>
<email>NEstelami@users.noreply.github.com</email>
</author>
<published>2021-08-05T09:11:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/ZAPDTR/commit/?id=82bd27604a4c8f8c1f01f9c2f54c87fab103c39f'/>
<id>82bd27604a4c8f8c1f01f9c2f54c87fab103c39f</id>
<content type='text'>
* Initial exporter implementation

* Updated to use static library.

* minor cleanup

* Cleaned things up a bit

* Fixed merge issues

* Minor commenting

* Added Begin and End functions, and removed HL stuff (to be turned into an exporter at a later date)

* Cleaned some stuff up

* Additional cleanup

* Removed some commented out code

* Fixed compilation issues

* Cleanup

* Fixed merge issues

* Got rid of unused windows.h includes

* Cleanup

* Fixed warning

* Removed additional redundancies

* Cleanup

* Fixed merge issues

* Fixed some compiler issues, added makefile for exportertest.

* Removed redundancies and clang formatted

* Made sure exportertest compiles with C++17

* Moved certain files into new "Utils" folder.

* GetExporterMap uses a reference now

* Minor fixes and updates.

Co-authored-by: Jack Walker &lt;7463599+Jack-Walker@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Initial exporter implementation

* Updated to use static library.

* minor cleanup

* Cleaned things up a bit

* Fixed merge issues

* Minor commenting

* Added Begin and End functions, and removed HL stuff (to be turned into an exporter at a later date)

* Cleaned some stuff up

* Additional cleanup

* Removed some commented out code

* Fixed compilation issues

* Cleanup

* Fixed merge issues

* Got rid of unused windows.h includes

* Cleanup

* Fixed warning

* Removed additional redundancies

* Cleanup

* Fixed merge issues

* Fixed some compiler issues, added makefile for exportertest.

* Removed redundancies and clang formatted

* Made sure exportertest compiles with C++17

* Moved certain files into new "Utils" folder.

* GetExporterMap uses a reference now

* Minor fixes and updates.

Co-authored-by: Jack Walker &lt;7463599+Jack-Walker@users.noreply.github.com&gt;</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>
<entry>
<title>Add const to most functions that need it and remove all "using namespace std" (#132)</title>
<updated>2021-05-08T16:27:38+00:00</updated>
<author>
<name>louist103</name>
<email>35883445+louist103@users.noreply.github.com</email>
</author>
<published>2021-05-08T16:27:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/ZAPDTR/commit/?id=a357277e412b5e8f0f2f0578c7d7d213e8744c8d'/>
<id>a357277e412b5e8f0f2f0578c7d7d213e8744c8d</id>
<content type='text'>
* started on basic type errors

* Done. For now

* remove libgfxd binary

* const

* no more namespace std

* revert alloca

* re add a few missing consts</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* started on basic type errors

* Done. For now

* remove libgfxd binary

* const

* no more namespace std

* revert alloca

* re add a few missing consts</pre>
</div>
</content>
</entry>
<entry>
<title>Add a `format` rule to Makefile (#134)</title>
<updated>2021-05-06T12:53:42+00:00</updated>
<author>
<name>Anghelo Carvajal</name>
<email>angheloalf95@gmail.com</email>
</author>
<published>2021-05-06T12:53:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/ZAPDTR/commit/?id=bd4735480a2e6b53585a4f764ae13804e0737a21'/>
<id>bd4735480a2e6b53585a4f764ae13804e0737a21</id>
<content type='text'>
* Add format rule to makefile

* run format</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add format rule to makefile

* run format</pre>
</div>
</content>
</entry>
<entry>
<title>Fix most -Wall warnings (#115)</title>
<updated>2021-04-24T20:42:52+00:00</updated>
<author>
<name>louist103</name>
<email>35883445+louist103@users.noreply.github.com</email>
</author>
<published>2021-04-24T20:42:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/ZAPDTR/commit/?id=6d27dbaab3b32ccebb076895fac3cc6aa3240d6c'/>
<id>6d27dbaab3b32ccebb076895fac3cc6aa3240d6c</id>
<content type='text'>
* started on basic type errors

* Done. For now

* remove libgfxd binary

* Most warnings fixed

* Fix conflicts and new warnings

* Makefile

* Sig

* Clang format

* destructor

* Add a bunch of destructors

* clear the scalars vector after freeing the elements

* PR fixes (Anghelo Alf)

* Fix most clang -Wall warnings</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* started on basic type errors

* Done. For now

* remove libgfxd binary

* Most warnings fixed

* Fix conflicts and new warnings

* Makefile

* Sig

* Clang format

* destructor

* Add a bunch of destructors

* clear the scalars vector after freeing the elements

* PR fixes (Anghelo Alf)

* Fix most clang -Wall warnings</pre>
</div>
</content>
</entry>
<entry>
<title>Refactoring and various features added (#108)</title>
<updated>2021-04-13T11:49:30+00:00</updated>
<author>
<name>Nicholas Estelami</name>
<email>NEstelami@users.noreply.github.com</email>
</author>
<published>2021-04-13T11:49:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/ZAPDTR/commit/?id=420508d2d872e8653081d95a43bf2ad8f85d894c'/>
<id>420508d2d872e8653081d95a43bf2ad8f85d894c</id>
<content type='text'>
* ZAPD prints out git hash

* Refactor: ZResource constructor sets parent always.
ZOverlay also no longer a ZResource, since it did not make much sense.

* Organized ZResource a bit

* A number of bug fixes, cleanup, and feature improvements.

* Prepping for legacy dlist disasm

* Fixed some merging issues. Fixed compilation issues with MSVC. Added in proper support for legacy display list disassembler. Refactored parts of ZFile.

* Merge with upstream

* Finished ZFile refactor, and other tidying.

* Fixed up merge issues

* Minor cleanup

* Got rid of libgfxd_win.a

* Fixed matching issue

* Fixed up a few bugs

* Fixed issue with exceptions

* Fixed up merge issues with ZPrerender, along with cleaning up some code

* Additional cleanup

* Fixed merge issues with ZMtx and fixed a bug with ZDisplayList

* Fixes based on PR feedback

* run clang-format (#7)

Signed-off-by: angie &lt;angheloalf95@gmail.com&gt;

* Fixed merge issues with Roz's PR

* Misc fixes

* Fixed MM bug, removed redundant file.

* Removed some commented out code

Co-authored-by: Jack Walker &lt;7463599+Jack-Walker@users.noreply.github.com&gt;
Co-authored-by: Anghelo Carvajal &lt;anghelo.carvajal.14@sansano.usm.cl&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* ZAPD prints out git hash

* Refactor: ZResource constructor sets parent always.
ZOverlay also no longer a ZResource, since it did not make much sense.

* Organized ZResource a bit

* A number of bug fixes, cleanup, and feature improvements.

* Prepping for legacy dlist disasm

* Fixed some merging issues. Fixed compilation issues with MSVC. Added in proper support for legacy display list disassembler. Refactored parts of ZFile.

* Merge with upstream

* Finished ZFile refactor, and other tidying.

* Fixed up merge issues

* Minor cleanup

* Got rid of libgfxd_win.a

* Fixed matching issue

* Fixed up a few bugs

* Fixed issue with exceptions

* Fixed up merge issues with ZPrerender, along with cleaning up some code

* Additional cleanup

* Fixed merge issues with ZMtx and fixed a bug with ZDisplayList

* Fixes based on PR feedback

* run clang-format (#7)

Signed-off-by: angie &lt;angheloalf95@gmail.com&gt;

* Fixed merge issues with Roz's PR

* Misc fixes

* Fixed MM bug, removed redundant file.

* Removed some commented out code

Co-authored-by: Jack Walker &lt;7463599+Jack-Walker@users.noreply.github.com&gt;
Co-authored-by: Anghelo Carvajal &lt;anghelo.carvajal.14@sansano.usm.cl&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Add a clang-format config and reformat all source files (#63)</title>
<updated>2021-03-20T09:17:39+00:00</updated>
<author>
<name>Léo Lam</name>
<email>leo@leolam.fr</email>
</author>
<published>2021-03-20T09:17:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/ZAPDTR/commit/?id=4751db5c9ee0a25a26379ca5b44efad72215d256'/>
<id>4751db5c9ee0a25a26379ca5b44efad72215d256</id>
<content type='text'>
* build: Add genbuildinfo as a dependency for ZAPD object files

* Add a clang-format config and reformat all source files

The existing code style is mostly preserved; this just makes formatting
more consistent and prevents lines from getting too long.

* Fix missing includes</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* build: Add genbuildinfo as a dependency for ZAPD object files

* Add a clang-format config and reformat all source files

The existing code style is mostly preserved; this just makes formatting
more consistent and prevents lines from getting too long.

* Fix missing includes</pre>
</div>
</content>
</entry>
<entry>
<title>CollisionHeader XML support, LOD limbs, various bug fixes and tweaks (#35)</title>
<updated>2020-12-31T21:23:01+00:00</updated>
<author>
<name>Nicholas Estelami</name>
<email>NEstelami@users.noreply.github.com</email>
</author>
<published>2020-12-31T21:23:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/ZAPDTR/commit/?id=65332778f1994820db7008e23c6e2247e0db02d1'/>
<id>65332778f1994820db7008e23c6e2247e0db02d1</id>
<content type='text'>
* Update Makefile

* - Removed basefile.txt writes
- CollisionHeader can now be defined in the XML
- Fixed nonmatching issue with ZCutscene
- LOD Limbs should work, but still needs testing
- Fixed bug where default limb DL names would not be generated
- CFG Files no longer generated, since it is no longer necessary.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Update Makefile

* - Removed basefile.txt writes
- CollisionHeader can now be defined in the XML
- Fixed nonmatching issue with ZCutscene
- LOD Limbs should work, but still needs testing
- Fixed bug where default limb DL names would not be generated
- CFG Files no longer generated, since it is no longer necessary.</pre>
</div>
</content>
</entry>
<entry>
<title>ZAP2 project renamed to ZAPD (#27)</title>
<updated>2020-12-31T00:25:06+00:00</updated>
<author>
<name>Kenix3</name>
<email>kenixwhisperwind@gmail.com</email>
</author>
<published>2020-12-31T00:25:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/ZAPDTR/commit/?id=27c17b20d38a72b7a8016852fa85311dcdc40f11'/>
<id>27c17b20d38a72b7a8016852fa85311dcdc40f11</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
