| Age | Commit message (Collapse) | Author |
|
|
|
|
|
* wip
* Finished.
|
|
Conflicts:
ZAPD/Declaration.h
ZAPD/Globals.cpp
ZAPD/Globals.h
ZAPD/Main.cpp
ZAPD/OtherStructs/SkinLimbStructs.cpp
ZAPD/OtherStructs/SkinLimbStructs.h
ZAPD/ZAnimation.cpp
ZAPD/ZCollision.cpp
ZAPD/ZCollision.h
ZAPD/ZDisplayList.cpp
ZAPD/ZFile.cpp
ZAPD/ZLimb.cpp
ZAPD/ZLimb.h
ZAPD/ZPath.cpp
ZAPD/ZResource.h
ZAPD/ZRoom/Commands/SetCsCamera.cpp
ZAPD/ZRoom/Commands/SetCutsceneEntryList.cpp
ZAPD/ZRoom/Commands/SetCutscenes.cpp
ZAPD/ZRoom/Commands/SetCutscenes.h
ZAPD/ZRoom/Commands/SetEntranceList.cpp
ZAPD/ZRoom/Commands/SetLightingSettings.cpp
ZAPD/ZRoom/Commands/SetMesh.cpp
ZAPD/ZRoom/Commands/SetMinimapList.cpp
ZAPD/ZTexture.cpp
ZAPDUtils/Makefile
ZAPDUtils/Utils/BitConverter.h
ZAPDUtils/Utils/Directory.h
ZAPDUtils/Utils/File.h
ZAPDUtils/Utils/Path.h
ZAPDUtils/Utils/StringHelper.h
ZAPDUtils/ZAPDUtils.vcxproj
|
|
|
|
* progress
* fixed non-matching issues
* moved the enums to their own file & improvements
* format
* split MM and OoT
* more cleanup
* initial MM update
* MM improvements
* format
* class/function name update
* reduce the amount of zeroes (match)
* enum rename
* format
* removed hardcoded enums for OoT
* review 1
* remove mm hardcoded enums
* format
* ActorCutscene -> CutsceneEntry
CutsceneEntry -> CutsceneScriptEntry
* format
* some changes in (actor) cutsceneentry
* config "CutsceneEnumData" -> "EnumData"
* add ``else if``s inside ``ConfigFunc_EnumData``
* more ``else if``s
* removed reference in ``~CutsceneCommand``
|
|
|
|
|
|
* Initial draft
* crashes a lot less
* Some scenes matches
* GiveTatl
* A class for every command
* CS_MISC
* A few macros
* More commands
* Macros for unknown commands
* small cleanup
* Remove useless destructors and fix warnings
* More cleanup
* format
* Move stuff around
* move commands to commands file
* oot builds again
* Mix OoT and MM SetTime commands
* Name Terminator and Camera
* MOTIONBLUR
* Use CS_TEXT_LEARN_SONG in OoT
* Macros for each type of textbox
* Mix PlaySec and PlayBgm classes
* Mix StopSeq and StopBgm
* Mix the actor actions from oot and mm
* Merge unknown command
* Mix ZCutscene and ZCutsceneMM into one
* Fix SCENE_CMD_CUTSCENE_LIST not using symbol and hardcoded MM cutscenes names
* Mix OoT and MM LIGHTING class
* Mix OoT and MM misc
* Rumble
* format
* remove redundant else
* CS_FADESCREEN
* argument change
* Remove some redundant parameters
* Renames
* format
* Rename ChooseCredits class
* Final cleanup
* line
* GenericCmd class for MM
* Move some extra commands to csCommandsDescMM
* Remove redundant GetCommandOoTFromID
* CutsceneCommand_GenericCmd for OoT
* Move CS_UNK_DATA to GenericCmd
* Final cleanup
* format
* warning
|
|
* proof of concept
* SetLimbIndex
* LIMB_DONE
* use proper enum name in limbs
* fix naming
* add ifdefs
* fix me being dumb
* format
* Add EnumPrefix
* EnumName
* Remove autogenerator stuff
* Add warnings
* format
* Use HANDLE_WARNING_RESOURCE for warning
* object_box special case
* whoops
* Remove overloaded bitconverter methods and use boundary-checker .at method when possible
* Fix warning
* Fix warning
* format
* Hopefully fix every warning now
* docs
* Review
* typo
* Update jenkinsfile for MM
* format
* Force functionpreamble printing in development mode
* Use ARRAY_COUNT on SkeletonHeaders
* Simplify endif in header guards
* fix limbs using the wrong enum value
* use hex in enum comments
|
|
* Fill buffer to a multiple of 8 bytes
* Remove overloaded bitconverter methods and use boundary-checker .at method when possible
* Add a warning in oob reads in the bitconverter
* Remove repeated code
* format
* Whoops
* whoops++
|
|
* first draft
* take vt.h from mm repo
* Colors
* Fix argument types
* Add argument parser to errorhandler
* Rename ErrorHandler to WarningHandler
* Add -Wno- and more warning types
* header and body in warnings
* Small cleanup
* Replace a bunch of warnings with the new system
Co-authored-by: EllipticEllipsis <EllipticEllipsis@users.noreply.github.com>
* Move stuff around
* Move stuff to header
* Make some more VT macros, new Warning_Build function + macro, ZBackground
* Add remaining warnings
* Add ZResource* param to Warning_Resource
* Add warning help message
* Simplify help message a bit
* Refactor warnings into lots of helper functions
* Fix HANG_INDT in the wild
* Builds now
* Update macros to use bold
* Fix body printing and error colour
* Add -Werror=
* Add warningType to HANDLE_ERROR
* Change some throws into HANDLE_ERROR
* Create init and main maps and write new help printer
* Changed ZTextureAnimation to new w/e
* Typo
* Delete build warnings list file
* Use ERROR in ZResource and ZPath
* Remove extra structs
* Move ifdef into the InitMap, add descriptions
* Actually move into initMap and add descriptions...
* Remove Everything from the WarningType enum
* Make more of the handler arguments const for compatibility
* Fix warning
* Document macros a bit
* Add ImageBackend ERRRORs
* Note on Weverything, rename InvalidData to InvalidExtractedData
* add texture and mesh warnings/errors
* InvalidExtractedData
* Add description for InvalidPNG
* print which warnings are enabled by using debug verbosity
* Fix everything
* Fix some newlines
* Move help to the end, start some documentation
* Remove unnecessary `WarningHandler::`s
* Remove commented code
* Some more documentation
* Make first letters consistenty lowercase, more docs
* Consistently use lowercase, more docs
* Format consistently, more detail in documentation
* Simplify enabled warnings checks
* Rename HANDLE_WARNING_BUILD and add HANDLE_ERROR_PROCESS
* Delete BuildInfo.cpp
* Use PROCESS where possible, bit more documentation
* Add documenation to README, sort when printing help
* Add an example, escalate the rest of the invalids by default
* Format warning names in table
* format readme
* Remove old flags info
* Remove obsolete variables
* Format
* assert.h -> cassert
* Replace some asserts in ZTexture
* Remove test file
* Minor cleanup
* Bit more in the help
* Fix header includes
* Format
* One character in readme
* Update README.md
Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com>
* Some Morita inspiration
* Convert new errors
* Static warnings/errors
* Merge remote-tracking branch 'upstream/master' into errorlib
* Add explanation for switch control flow
* format
* whooops
* Fix segment warning that doesn't apply now we assume no segment means use VRAM
* Comment out MM in Jenkinsfile
Co-authored-by: Angie <angheloalf95@gmail.com>
Co-authored-by: EllipticEllipsis <EllipticEllipsis@users.noreply.github.com>
|
|
* 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
|
|
* all possible strings use const & and make some strings const char*
* remove ='' from new strings
* formatter
* revert globals
* Fix warning (error)
|
|
* Add some general use methods to ZResource
* change zarray
* adapt ztexture
* Clean up ZCollision, ZPath, ZScalar and ZVector
* cleanup background
* cleanup zmtx
* Clean up skeleton and limb
* mark GetSourceTypeName as abstract
* Remove redundant ExtractFromXML
* Reorder stuff to minimize changes in github
* remove extra ZDisplayList constructor
* Remove using namespace tinyxml2;
* run formatter
* Add some brief descriptions, and remove some methods
* Remove trivials GetSourceOutputCode and a bit of cleanup
* Add more descriptions to methods
* Fix blob build
* improve descriptions a bit
* Run formatter
* Now builds
* Add attributes and fix some warnings
* format
* fix merge issues
* fix merge issues and some clang warnings
* format
* Run formatter
* Fix merge issues
* Format
* add SEGMENTED_NULL
* Fix merge issues
* Run format
* dumb fix
* whoops
* format
* whoops
|
|
* Start
* Fix new warnings onClang 14
|
|
* 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
|
|
* Nuke DeclarationPadding
* Remove DeclarationAlignment::None
* Fix AddDeclaration memory leaks
* Run formatter
* Remove extra AddDeclarationPlaceholder
* Revert "Remove extra AddDeclarationPlaceholder"
This reverts commit 7a5d6a19d80bb246e0a6c8fde009b2a00a84ef96.
|
|
* Change VTXs incloudes to be consistent
* Remove redundant check
* Run formatter
* Emtpy commit to trigger Jenkins
* update gitignore
|
|
* Fix gsSPBranchList intersection warning
* Run formatter
|
|
* Initial files
* Add resource header, first go at ExtractFromXML
* Now prints plenty to terminal, but not to file
* Main array now declared in file
* Erroring, but need to checkout master to test
* Not erroring any more, hooray
* TextureScrollingParams working, missing pointer
* Scrolling works
* Cycling params should work completely now
* Type 2 works, type 4 crashes
* Fixed iterator bound, works for Type 4 too now
* Correct a couple more EnvColor things
* Add null checks to declarations
* Switch to Seg2Offset, make TextureAnimationEntry an ordinary struct, delete some obsolete functions
* Remove Unknown (throws exception at construction instead)
* Move GetResourceType down
* Begin rewrite of SetAnimatedMaterialList
* Remove old structs in SetAnimatedMaterialList
* Fix infinite loop
* Tested and working for MM, objects and scenes
* Add warnings for undeclared textures (MM OK)
* Make `__PRETTY_FUNCTION__` work on GCC/Clang, at least
* Remove address from GetDefault name, add fancy errors
* Format (also added some extensive documentation last time)
* More formatting
* Fiddle with errors a bit more
* Fix pointer offsets and alignment
* Format, add comment to SetAnimatedMaterialList
* Add to docs
* Review
* Add [[maybe_unused]]
* uint to get rid of warnings
* makefile
* Fix most warnings
* Add default to shut GCC up
* Format
|
|
* 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
|
|
* add -Wextra -Werror
* remove void arg in GfxdCallback_FormatSingleEntry
* mark CRC32 functions as maybe_unused
* remove useless comment
* fix clang warnings
* replace (void) with [[maybe_unused]]
* run make format
|
|
* Fix oversight
* Format
* Fix decimals
|
|
* Export cutscene floats as floats
* Use CS_CMD_CONTINUE
* Change SCmdBase to SceneCmd
|
|
* 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 <7463599+Jack-Walker@users.noreply.github.com>
|
|
* Remove rawData from ZResource
* Remove dlistRawData and some leftovers extra params
* Run format
* Unused variable warning
|
|
std" (#132)
* started on basic type errors
* Done. For now
* remove libgfxd binary
* const
* no more namespace std
* revert alloca
* re add a few missing consts
|
|
* Refactor: Removed relPath since it is no longer used.
* Removed remaining references
Co-authored-by: Jack Walker <7463599+Jack-Walker@users.noreply.github.com>
|
|
(#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
|
|
* 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
|
|
|
|
* remove unnecessary param
* Fix Cutscene tag
* Fix a missing declaration
* Add Path as a node
* run format
|
|
|
|
format and change some structs used. (#107)
* Extract BgImage
Signed-off-by: angie <angheloalf95@gmail.com>
* improve the output a bit
Signed-off-by: angie <angheloalf95@gmail.com>
* extract backgrounds for multipoly
Signed-off-by: angie <angheloalf95@gmail.com>
* Extract the dlists of PolygonDlist
Signed-off-by: angie <angheloalf95@gmail.com>
* commands in the next line
Signed-off-by: angie <angheloalf95@gmail.com>
* Move a lot of repeated code into a class
Signed-off-by: angie <angheloalf95@gmail.com>
* Use PolygonDlist instead of MeshEntry0
Signed-off-by: angie <angheloalf95@gmail.com>
* Rename prerender to background
Signed-off-by: angie <angheloalf95@gmail.com>
* format
Signed-off-by: angie <angheloalf95@gmail.com>
* last cleanup
Signed-off-by: angie <angheloalf95@gmail.com>
* Handle jpg padding
Signed-off-by: angie <angheloalf95@gmail.com>
* Add a few checks and warnings for jpeg validity
Signed-off-by: Angie <angheloalf95@gmail.com>
* typo
Signed-off-by: Angie <angheloalf95@gmail.com>
* fix merge error
Signed-off-by: angie <angheloalf95@gmail.com>
* Fix background extraction that somehow was broken
Signed-off-by: angie <angheloalf95@gmail.com>
* re-add the trailling line feed
Signed-off-by: angie <angheloalf95@gmail.com>
* add trailing line feed again
Signed-off-by: angie <angheloalf95@gmail.com>
* fix an already fixed warning
Signed-off-by: angie <angheloalf95@gmail.com>
* fix crash when no config file is provided
* run format
|
|
* 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>
|
|
* Enough to get 1 scene OK
* More MM progress
* Fixes for scenes. 376/401 match
* Fix last of MM scenes
* Add SetWorldMapVisited
* Cleanup
* Hopefully fix OOT build
* Address feedback
* Add macro for rotation flags in MM
* remove Align2
* Cleanup
* Conditionally use looser alignment only in MM
|
|
* its kinda functional
Signed-off-by: angie <angheloalf95@gmail.com>
* Looks nicer now
Signed-off-by: angie <angheloalf95@gmail.com>
* cleanup the makefile
Signed-off-by: angie <angheloalf95@gmail.com>
* Fix small issues with error handling
Signed-off-by: angie <angheloalf95@gmail.com>
* fix order of dependencies of main.cpp in makefile
Signed-off-by: Angie <angheloalf95@gmail.com>
* Add varname to the intersection warning
Signed-off-by: angie <angheloalf95@gmail.com>
* run clang-format
Signed-off-by: angie <angheloalf95@gmail.com>
* Don't print the backtrace two times
Signed-off-by: angie <angheloalf95@gmail.com>
|
|
* 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
|
|
* started on basic type errors
* Done. For now
* remove libgfxd binary
* Fix Clang Warnings
* Fix2
* Fix rollback of #92 and missed warning in ZCutscene.cpp
* ?
* add stdexcept to ZResource
* Fix make clean
* PR fixes
* Fix make file stuff
* Remove many more errors and remove -Wall
* Turns out Globals was used
* Final pass
Co-authored-by: Fig02 <fig02srl@gmail.com>
|
|
* started on basic type errors
* Done. For now
* remove libgfxd binary
* Fix Clang Warnings
* Fix2
* Fix rollback of #92 and missed warning in ZCutscene.cpp
* ?
* add stdexcept to ZResource
* Fix make clean
* PR fixes
* Fix make file stuff
* Remove many more errors and remove -Wall
* Turns out Globals was used
Co-authored-by: Fig02 <fig02srl@gmail.com>
|
|
* Fix extra params in some macros
Signed-off-by: Angie <angheloalf95@gmail.com>
* Add missing * entries.size();
Signed-off-by: Angie <angheloalf95@gmail.com>
* add CS_PLAYER_ACTION
Signed-off-by: Angie <angheloalf95@gmail.com>
* Remove an extra ampersand
Signed-off-by: Angie <angheloalf95@gmail.com>
* Add a trailling \n to blobs
Signed-off-by: Angie <angheloalf95@gmail.com>
* Add trailling \n to ZTexture
Signed-off-by: Angie <angheloalf95@gmail.com>
* Add 'Standard' as a valid ZSkeleton type
Signed-off-by: angie <angheloalf95@gmail.com>
* print an error on invalid xml files instead of failing silently
Signed-off-by: angie <angheloalf95@gmail.com>
* Change limbs array type to void*
Signed-off-by: angie <angheloalf95@gmail.com>
|
|
* remove extra %i in ZCutscene
Signed-off-by: angie <angheloalf95@gmail.com>
* Don't extract vertices from a unknown segment.
Signed-off-by: Angie <angheloalf95@gmail.com>
* Fix SurfaceType in CollisionHeader
Signed-off-by: Angie <angheloalf95@gmail.com>
* Fix merge issue
Signed-off-by: angie <angheloalf95@gmail.com>
|
|
virtual functions. (#73)
|
|
* Fixed bug with extraction of ci4 textures
* Made a bunch of declarations static
* Removed manual writes to declarations dictionary from external classes.
* Fixed SharpOcarina related bug.
|
|
(#65)
* Fixed bug with extraction of ci4 textures
* Made a bunch of declarations static
* Removed manual writes to declarations dictionary from external classes.
* Added a bunch of deconstructors, freed a bunch of stuff
* Fixed bug with declarations at 0x0000, and fixed issue with palette sizing.
* Fixed VS Lib and Include Dirs
|
|
Pass some parameters by reference to avoid unnecessary copies.
When the parameter is intended to be copied into a member variable,
pass it by value and move it into the member instead.
This doesn't fix every occurrence of the issue but this diff is already
getting big so let's stop here for the moment.
|
|
point values. (#49)
* Bitconverter now supports more types and should correctly read floating points.
* BitConverter now uses a better way to convert between data read from the object to float.
|
|
characters (#39)
|
|
* 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.
|