Commit Graph

2586 Commits

Author SHA1 Message Date
Yanis002
788efc6814 fix build issues 2025-02-23 01:22:15 +01:00
Yanis002
f99ac86bbb Merge remote-tracking branch 'decomp/main' into decomp_merge 2025-02-23 00:34:01 +01:00
fig02
5ddb3e68b6 Clean out z64.h (#2484)
* Clean out z64.h

* fix version include

* overlay.h

* pr suggestion

* try fixing main.c

* add back forward declare

* fix bss

* header guard

* prefix
2025-02-22 14:01:09 -05:00
fig02
2e4d7a1101 Create headers for Game States (#2482)
* make headers for gamestates

* fixes

* fixes 2

* bss
2025-02-20 07:50:13 -05:00
fig02
4cfb5f05a0 Use "entry" terminology in map select (#2479)
* use entry terminology in map select

* missed one
2025-02-19 19:59:21 -05:00
Yanis002
d7db68476b Merge remote-tracking branch 'decomp/main' into decomp_merge 2025-02-19 15:55:51 +01:00
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
Yanis002
7257ea8efc format 2025-02-11 17:24:31 +01:00
Yanis002
09dd5e135e fix build issues 2025-02-11 17:21:23 +01:00
Yanis002
a3c5d66e58 Merge remote-tracking branch 'decomp/main' into decomp_merge 2025-02-11 17:05:12 +01:00
Yanis
24d86e3a38 Added make rules for the SC64 (#167)
* added rules for summercart64

* fixed an oopsie
2025-02-11 15:43:20 +01:00