summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2023-10-17update to latest version used by SoHbriaguya
2022-08-24remove overlayslouis
2022-04-06Revert "Update README.md (#239)" (#247)Nicholas Estelami
This reverts commit 81454630ba1fd4245669b29048a72e07ed9a7771.
2022-04-06Update README.md (#239)MegaMech
2021-09-21Cleanup libs (#173)louist103
* Cleanup libs * Cleanup Makefile * Update ExporterTest.vcxproj
2021-09-13ZRoom cleaning 3 (#140)Anghelo Carvajal
* Remove redundant scene member * altheaders clean * it is broken and I don't know why * fix VTXs * Fix the stuff I broke in SetRoomList * Add RoomAltHeader and SceneAltHeader * fix syotes again and set the size of each ZRoomCommand * Add SCENE_CMD_UNK_09 todo * Nuke HintSystem * run format * Remove `canHaveInner` from ZRoom since the HintSystem doesn't exists anymore * Remove sourceOutput member from ZResource * Update docs * run format * Add non 64-bits aligned textures warning * remove unused json library * Update SCENE_CMD_UNK_09 * Fix merge issues * run format * Clean up actorlist output * Fix merge conflicts * format * Fix actorlist extraction * Unify AltHeader * fix merge conflicts * Run formatter * minor style changes * fix using wrong symbols for extracted vtxs from overlays * format * fix makefile stuff * fix merge issue
2021-08-23Update subrepo libgfxd (#169)EllipticEllipsis
* git subrepo pull (merge) lib/libgfxd subrepo: subdir: "lib/libgfxd" merged: "5629265" upstream: origin: "https://github.com/glankk/libgfxd.git" branch: "master" commit: "008f73d" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo.git" commit: "2f68596" * start over * git subrepo clone git@github.com:glankk/libgfxd.git lib/libgfxd subrepo: subdir: "lib/libgfxd" merged: "008f73d" upstream: origin: "git@github.com:glankk/libgfxd.git" branch: "master" commit: "008f73d" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo.git" commit: "2f68596"
2021-08-08Moved utility code into its own library (#162)Nicholas Estelami
* 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. * Moved utility code into its own library * Fixed merge issues * Fixed compilation issue * Added missing classes * Updated makefile * Minor update * Forgot to make an enum an 'enum class' * Minor fix * Few more adjustments * Bug fix * Another bug fix * Bug fix again * added comment * New functions added for exporters * Made certain fields public Co-authored-by: Jack Walker <7463599+Jack-Walker@users.noreply.github.com>
2021-06-23git subrepo pull --force lib/libgfxd (#155)Anghelo Carvajal
subrepo: subdir: "lib/libgfxd" merged: "01db163" upstream: origin: "https://github.com/glankk/libgfxd.git" branch: "master" commit: "01db163" git-subrepo: version: "0.4.3" origin: "???" commit: "???"
2021-05-07Change image library to `libpng` and improve how palettized textures are ↵Anghelo Carvajal
extracted (#133) * trying to change to libpng * It works again! * move the libpng abstraction to another file * GetBytesPerPixel * I'm dumb * fix warnings and remove dead code * Fix CRC being called multiples times and clean up code * textureDataRaw * code clean * Optimizations and removal of redundant data moves * ups * run format * use fs::path more * i'm dumb again * Add a Readme * remove texDeclarations * handle tluts better * vtx change and set segment file * small changes * Fix ZAPD ignoring textures declared in a scene in the XML * small cleanup before tluts * paletted images are broken * kinda works for automatic textures * fix automatic ci * TEXTURE_DEBUG * Remove extra `-j` * Fix extraction of ci4 * Finally palettes OK * ups * Move textures map to ZFile * Fix intersection warnings * Add `TlutOffset` attribute * Move Tlut declaration to a later step * Hopefully the last cleanup of this branch * Run format * Always calc hash * run format * Delete stb * fix merge issues * run format
2021-04-28Use OutputFormatter for every C and H file, to improve the generated output ↵Anghelo Carvajal
(#122) * Small changes in collision * Use outputformatter to write C files * Outputformatter for .h files * Use more fs::path * Use gfxd_udata_set and gfxd_udata_get instead of an instance * Fix merge issues and warnings * run format
2021-04-24Fix most -Wall warnings (#115)louist103
* 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
2021-04-13Refactoring and various features added (#108)Nicholas Estelami
* 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 <angheloalf95@gmail.com> * 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 <7463599+Jack-Walker@users.noreply.github.com> Co-authored-by: Anghelo Carvajal <anghelo.carvajal.14@sansano.usm.cl>
2021-03-27Update libgfxd and convert it into a subrepo (#103)Anghelo Carvajal
* remove libgfxd Signed-off-by: angie <angheloalf95@gmail.com> * git subrepo clone https://github.com/glankk/libgfxd.git lib/libgfxd/ subrepo: subdir: "lib/libgfxd" merged: "2f00ff7" upstream: origin: "https://github.com/glankk/libgfxd.git" branch: "master" commit: "2f00ff7" git-subrepo: version: "0.4.3" origin: "???" commit: "???"
2021-03-19Fix `make setup` (#95)Anghelo Carvajal
* Fix `make setup` Signed-off-by: angie <angheloalf95@gmail.com> * Use current libgfxd makefile instead Signed-off-by: Angie <angheloalf95@gmail.com> * change make clean a bit Signed-off-by: Angie <angheloalf95@gmail.com>
2021-03-17Remove libgfxd binary (#90)louist103
* started on basic type errors * Done. For now * remove libgfxd binary * New libgfxd with MSVC support
2021-03-12Use libgfxd (gfxdis) for display lists (#84)fig02
* start * dlists work * progress * vtx works * texture wip * debugging * palletes sorta working * pal issue sort of fixed * progress * fiix * switching to master * progress * OK * fixes * whitespace * libgfxd update * prep for merge * use new seg2filespace function * vtx
2021-01-05Move libraries into their own folder (#57)Léo Lam
Libraries are typically put into a separate "libraries" or "externals" directory to keep project source code and external code separate.