mzxrules
981af4b6af
Reduce overlay dependencies on global.h (8) ( #2478 )
...
* move variables into z64environment.h
* z_room.h
* z64sram.h, z64ss_sram.h, z64font.h, kanread.h
* z64lifemeter.h, z64debug.h, debug_arena.h
* buffers.h
* remove z_bgcheck global
* gamealloc.h
* suggestions
* .bdd
2025-02-19 05:54:39 -05:00
Tharo
3d61fb85ef
Add n64texconv and bin2c tools to convert extracted .png and .bin to C arrays during build ( #2477 )
...
* n64texconv and bin2c
* mv tools/n64texconv tools/assets/
* fix
* more light fixes
* Silence -Wshadow for libimagequant
* Add reference counting gc for palette objects in python bindings
* Fix missing alignment in n64texconv_*_to_c functions
Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com >
* Check palette size in n64texconv_image_from_png
* accept memoryview as well as bytes for binary data
* minimal doc on n64texconv_quantize_shared
* fix a buffer size passed to libimagequant
* assert pal count <= 256 on png write
* Disable palette size check for input pngs, ZAPD fails the check
* No OpenMP for clang
* When reading an indexed png into a CI format, requantize if there are too many colors for the target texel size
---------
Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com >
2025-02-17 17:09:42 -05:00
Dragorn421
ec30dcbe4e
assets xmls fixes ( #2476 )
2025-02-16 18:10:26 -05:00
mzxrules
652478c338
Reduce overlay dependencies on global.h (7) ( #2472 )
...
* z64env_flags, z64quest_hint_commands
* z64cutscene_spline, z64save.h moved from z64.h
* bss
* pr suggestion
* bss
* suggestions
2025-02-16 15:33:55 -05:00
Dragorn421
137e178790
fix assembly warning in normalize.s ( #2473 )
2025-02-15 21:21:07 -05:00
cadmic
aba3720d62
Use enums for settings in SRAM header ( #2429 )
...
* Use enums for settings in SRAM header
* Fix bss
* Uglify z_en_mag to match ique
2025-02-15 19:36:19 -05:00
cadmic
a64fd8dea8
fix_bss.py: Try to handle one-past-the-end pointers ( #2471 )
...
* fix_bss.py: Try to handle one-past-the-end pointers
* Proofread
2025-02-15 16:24:25 -05:00
Dragorn421
6f8b4d82d5
Cleanup colliders 3 ( #2467 )
...
* standardize s[Name][Collider]JntSphElementsInit[Name]
* standardize ColliderCylinder struct members names on `[name]collider[s][Cylinder]`
* format
* fix
* fix2
* fix3
* collidersCylinder -> colliderCylinders
2025-02-14 22:41:32 -05:00
fig02
c859678d5f
Document sSceneInitLetterboxTimer ( #2469 )
...
* document scene init letterbox timer
* reword
2025-02-14 13:55:11 -05:00
cadmic
bbcdf22647
Identify some unaccounted and blob asset data ( #1953 )
...
* Identify some unaccounted and blob asset data
* Add bug comments for flex skeleton weirdness
* Use (SkeletonHeader*) cast instead of .sh
* Fix vtx counts
2025-02-14 08:06:49 +01:00
mzxrules
4639914583
Reduce overlay dependencies on global.h (6) ( #2468 )
...
* add some headers, split some of z64.h
* MtxClear -> IdentityMtx
* more misc cleanups
* move D_80116280 to header, fix build issue
* remove z64.h
* Revert "MtxClear -> IdentityMtx"
This reverts commit 8fc74c0672f72b91ae4068e73228fc46fe9465d4.
* split z64path.h and z64skin.h functions
* z64face_reaction.h
* cleanup overlay global references
* trim padding
* bss
2025-02-13 18:15:14 -05:00
mzxrules
494aecc9fc
Reduce overlay dependencies on global.h (5) ( #2466 )
...
* remove global.h dependency from all actors
* fix compiler error
* fix another build issue
* fix bss
2025-02-12 21:50:46 +01:00
Dragorn421
1d2c912fbb
Cleanup colliders struct members 2 ( #2465 )
...
* Cleanup colliders 2
* format
* fixes & review
2025-02-12 13:37:05 -05:00
Dragorn421
e3831947b0
Assets fixups 2 ( #2461 )
2025-02-12 12:56:04 -05:00
fig02
96e13149ea
Name Actor_DrawAll ( #2464 )
2025-02-11 17:33:09 -05:00
Dragorn421
ae89a8e47b
Polish up docs on EnDaiku and EnDaikuKakariko ( #2463 )
2025-02-11 09:02:05 -05:00
Dragorn421
3dd893c210
Cleanup colliders struct members 1 ( #2462 )
...
* Standardize some ColliderJntSphElement buffer members on `colliderElements`
* Standardize some ColliderTrisElement buffer members on `colliderElements`
* format
2025-02-10 20:02:56 -05:00
cadmic
be1f9e75f0
Read static symbols from .mdebug in sym_info.py ( #2460 )
...
* Patch .mdebug for data_with_rodata objects
* Read static symbols from .mdebug in sym_info.py
* Add ability to print all symbols
* Add license
* Fix bug when missing .mdebug section
* /patch_data_with_rodata_mdebug.py license + nitpicks
2025-02-09 18:16:18 -05:00
Dragorn421
36b71ca2de
Update csdis.py ( #2459 )
...
* csdis: move filemap import to main() as it is only needed there
* csdis: fix CS_TIME macro
* csdis: make `disassemble_cutscene` return cutscene size in words
* add comment on why total_entries+1
2025-02-09 16:42:39 -05:00
mzxrules
130ac11458
Reduce overlay dependencies on global.h (4) ( #2456 )
...
* remove more global.h references
* .bss
2025-02-08 19:30:24 -05:00
mzxrules
03a2612246
Rename gMtx(F)Clear to gIdentityMtx(F) ( #2458 )
2025-02-08 19:00:32 -05:00
Dragorn421
924d8e81b9
Assets fixups ( #2454 )
...
* Assets fixups
* gDCRoom0TLUT, also object_mo.xml and ddan.xml
* gMegami3TLUT -> Tex
* yeet gDCRoom0TLUT (crashes ZAPD for an unknown reason)
2025-02-07 12:43:09 -05:00
cadmic
e63d2b73b7
Use CIC 6102 for iQue decompressed ROMs ( #2457 )
...
* Use CIC 6102 for iQue decompressed ROMs
* Future-proof is_ique
* Make things more readable
2025-02-06 21:10:30 +01:00
Tharo
9a3878ec7e
git subrepo clone --force git@github.com:Thar0/com-plugin.git tools/com-plugin ( #2455 )
...
subrepo:
subdir: "tools/com-plugin"
merged: "fc5aa5eda"
upstream:
origin: "git@github.com:Thar0/com-plugin.git"
branch: "main"
commit: "fc5aa5eda"
git-subrepo:
version: "0.4.6"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "110b9eb"
2025-02-05 22:53:35 -05:00
mzxrules
54939bac3a
Reduce overlay dependencies on global.h (3) ( #2449 )
...
* kill more global.h references
* .format.py
* bss
* ique
2025-02-05 21:07:19 +01:00