1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-05-10 02:54:24 +00:00
Commit graph

2408 commits

Author SHA1 Message Date
fig02
123a9352e0
Audio Internal Library: Document original function names from Animal Crossing (#2513)
* finish thread.c

* load.c complete

* complete seqplayer.c

* format
2025-04-30 17:16:06 -04:00
Tharo
cfd23f9cd2
Use cpp for soundfont dependencies (#2519) 2025-04-28 17:08:55 -04:00
Tharo
a9b5aaadf0
Add makefile dependencies for all build objects (#2517)
* Add makefile dependencies for all build objects

* Fix generating encoded message headers
2025-04-28 06:28:34 -04:00
fig02
f7a270655b
Delete macros.h; Delete global.h (#2516) 2025-04-27 12:48:11 -04:00
fig02
ea22c2ac38
create ACTOR_FLAGS_CHECK_ALL (#2515) 2025-04-26 19:07:52 -04:00
fig02
bed76a3bf3
add array_count.h (#2514) 2025-04-26 18:17:02 -04:00
fig02
25b2fa4bca
macros.h 3/5: Split various macros (#2512)
* split out various macros

* fix

* fix2

* fix dw

* libc path

* fix macro

* does this fix bss

* fix bss
2025-04-25 21:12:35 -04:00
cadmic
d4528a0541
Add macOS instructions for installing mips-linux-gnu-gcc (#2508)
* Add macOS instructions for installing mips-linux-gnu-gcc

* Add --with-system-zlib to fix binutils build on macOS 15.3.1
2025-04-24 19:35:01 -04:00
fig02
2341c44a6c
Use official macros for Physical Address conversion (#2511) 2025-04-24 14:53:18 -04:00
fig02
de59ad3db7
macros.h 1/?: PRINTF and T (#2509)
* create printf and translation headers

* non-overlays complete

* printf finished

* move T macro

* edit comment

* fix error

* fix bss

* remove is_64

* fix bss
2025-04-23 19:31:49 -04:00
fig02
680ba667c7
cleanup z64h (#2510) 2025-04-23 16:44:02 -04:00
fig02
2278bcb2c3
Remove Variables.h; Decouple z64.h from global.h (#2507)
* progress

* z64.h issues sorted

* remove variables.h

* format

* n64 fix

* another fix

* did the wrong fix

* fix libleo

* fix bss

* review

* remove instead of comment
2025-04-19 22:04:08 -04:00
fig02
655ec77138
variables.h: migrate all remaining varaibles, remove other dependencies except z64.h (#2505)
* move remaining variables from variables.h

* fix other dependencies

* extra newline

* fix and adjust comment

* is this the problem

* fix bss
2025-04-16 08:22:42 -04:00
fig02
0c5282ba66
variables.h cleaning: migrate audio variables (#2504)
* migrate audio variables, fix libultra thing

* remove extra newlines

* fix

* add required pragmas

* fix bss

* audio table fixes

* fix bss
2025-04-11 02:10:19 -04:00
fig02
80564bf40b
variables.h cleaning: migrate libultra variables (#2503)
* variables.h cleaning: migrate libultra variables

* another increment_block_number

* fix bss
2025-04-06 22:32:40 -04:00
fig02
5133db15a3
Remove functions.h (#2501)
* split most of functions.h

* osdriverominit

* forgot include

* fix

* remove functions.h

* temporary fix for fix_bss

* fix bss

* revert fix_bss.py change
2025-04-05 19:16:52 -04:00
Derek Hensley
1beeff9658
Account for z_rumble's unreferenced bss at the start in fix_bss script (#2502)
* Account for z_rumble's unreferenced bss at the start

* z_locale and black
2025-04-04 19:54:18 -04:00
fig02
ba9ca90c15
system_heap -> runtime (#2500)
* very light documentation for runtime

* more renaming

* one more rename

* RunTime -> Runtime
2025-04-02 22:04:08 -04:00
Tharo
dc9a1dca1e
Rename absf to fabsf (#2499) 2025-03-28 06:35:27 -04:00
Derek Hensley
1b1070d0f4
Seperate baserom segments dir from output dir (#2498) 2025-03-27 02:20:41 -04:00
fig02
7416f413db
SoundMode -> SoundOutputMode (#2475)
* SoundOutputMode, and move SoundSetting

* missed a couple

* format

* move SoundSetting
2025-03-27 01:47:44 -04:00
Dragorn421
919b78ecbe
T() macro in overlays 2 (#2487)
* T() "Warning : move BG"

* more T() up to (incl.) z_bg_spot09

* T() done up to (including) z_bg_*

* bulk T() "main/draw mode is wrong"

* -> "the main mode is wrong"

* "Lon Lon"
2025-03-27 01:24:59 -04:00
Tharo
7972967a8a
Make the rounding mode setting explicit in osInitialize (#2497) 2025-03-27 00:24:30 -04:00
Tharo
65b317abc3
Fix some hardcoded sfx ids (#2496) 2025-03-26 17:58:29 -04:00
Derek Hensley
c1eb0a79bc
Move skin unused bss to rumble (#2495) 2025-03-26 17:23:38 -04:00
fig02
ecf65e797e
Some functions.h and variables.h work (#2491)
* sort fuctions and variables

* bss
2025-03-26 16:08:10 -04:00
Dragorn421
05faab33f1
T() macro in overlays 1 (#2486)
* More T()

* More T(), up to (including) z_bg_mori*

* home pos~~e~~
2025-03-26 14:15:06 -04:00
Dragorn421
b45f3eba2a
Add colors to sym_info.py full map print (#2474) 2025-03-26 11:53:39 -04:00
Tharo
db90c9fc88
Unbreak gcc builds (#2493) 2025-03-01 19:20:06 -05:00
cadmic
3d1af54628
Revert "Always use LF line endings, even on Windows (#2489)" (#2492)
This reverts commit 2b30c61a26.
2025-02-27 20:52:49 -05:00
mzxrules
cf1a39c26f
Reduce dependencies on global.h (10) (#2490)
* reduce z64.h size

* fix z_cheap_proc.inc.c

* ,bss

* remove temp delcaration
2025-02-26 17:18:30 -05:00
cadmic
2b30c61a26
Always use LF line endings, even on Windows (#2489) 2025-02-25 23:09:54 -05:00
Dragorn421
e6a9ad9620
Fixup includes (#2483) 2025-02-24 21:18:24 -05:00
mzxrules
2e4c42719b
Reduce dependencies on global.h (9) (#2488)
* split game states

* split all GameState headers

* match fig names

* deduplicate headers from bad merge

* split z64actor.h into z64actor_profile.h, z_actor_dlftbls.h

* fix compile error

* .bss
2025-02-24 20:55:55 -05:00
Dragorn421
70fde8ac3b
Macroify MML opcodes (#2485)
* add defines for sequence opcodes

* name aseq_cmd_id defines from the corresponding macro names

* ASEQ_CMD_ID_ -> ASEQ_OPC_

* remove previous opcode defines

* ASEQ_OPC_LAYER_STEP3_ -> ASEQ_OPC_LAYER_

* sync with MM and fixups

* format

* ASEQ_OPC_ -> ASEQ_OP_

* ASEQ_OP_CTRLFLOW_ -> ASEQ_OP_

* tab-align

* ASEQ_OP_SEQUENCE_ -> ASEQ_OP_SEQ_

* ASEQ_OP_CHANNEL_ -> ASEQ_OP_CHAN_

* define MML_VERSION in the Makefile for seqplayer.c
2025-02-23 06:43:15 -05: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
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 8fc74c0672.

* 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