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
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
fig02
ecf65e797e
Some functions.h and variables.h work ( #2491 )
...
* sort fuctions and variables
* bss
2025-03-26 16:08:10 -04: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
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
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
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
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
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
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
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
Tharo
c028db03b4
Finish matching ique-cn ( #2451 )
...
* git subrepo clone git@github.com:Thar0/com-plugin.git tools/com-plugin
subrepo:
subdir: "tools/com-plugin"
merged: "e8543312d"
upstream:
origin: "git@github.com:Thar0/com-plugin.git"
branch: "main"
commit: "e8543312d"
git-subrepo:
version: "0.4.6"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "110b9eb"
* ique-cn OK
* Review suggestions
* Most suggestions
* git subrepo pull tools/com-plugin
subrepo:
subdir: "tools/com-plugin"
merged: "81595ed1c"
upstream:
origin: "git@github.com:Thar0/com-plugin.git"
branch: "main"
commit: "81595ed1c"
git-subrepo:
version: "0.4.6"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "110b9eb"
* Fix other versions
2025-02-04 06:55:04 -05:00
mzxrules
d855f2bfd8
Split z64debug_display.h, z64draw.h, z_en_item00.h ( #2443 )
...
* z64debug_display.h
* z64draw.h
* z_en_item00.h
* bss
2025-01-27 13:01:54 -05:00
mzxrules
f448a48cd6
Create headers for some libu64 files ( #2440 )
...
* Create headers for some libu64 files
* apply bss patch
2025-01-24 13:25:05 -05:00
cadmic
d066586872
[iQue] Match z_sram ( #2426 )
...
* [iQue] z_sram: Use iQue-specific read/write macros
* [iQue] z_sram: Make checksum a struct
* [iQue] z_sram: Finish matching
* Call the trigraph usage a bug
* Fix bss
* Sram_iQueReadWrite -> Sram_ReadWriteIQue
* Use SRAM_HEADER_MAGIC for loop bound
* Rename sZeldaMagic -> sSramDefaultHeader and use less char literals
2025-01-17 06:56:22 -05:00
Tharo
b19b06a531
[iQue] Match remaining libultra/os files ( #2414 )
...
* Match remaining libultra/os files
* Align box id macros
* Fix bss, format
* Fix BSS
* Clarify some comments
* More bug comment
* Comment
* Fix BSS
2025-01-10 18:54:02 -05:00
Tharo
a57d449196
[iQue] Match remaining libultra/io files ( #2411 )
...
* [iQue] Match remaining libultra/io files
* Match osSpTaskYielded
* Fix bss, remove double space in controller.h
* Fix BSS
2025-01-09 19:31:11 -05:00
cadmic
f329507f97
[iQue] Create/update macros for printing debug strings ( #2398 )
2025-01-08 10:33:49 -05:00
Tharo
aaf9c939a4
[iQue] Match osViSetMode ( #2404 )
2025-01-07 00:21:25 -05:00
cadmic
9dafc2f2e4
[iQue] Build some C files with EGCS ( #2396 )
2025-01-02 03:35:22 -05:00
Tharo
df5d4cb467
[Audio 10/10] Loose ends ( #2337 )
...
* Introduce afile_sizes, generate headers of sizes for soundfonts and sequences
* Initial tools/audio README
* Versioning for samplebank extraction
* Clean up the disassemble_sequence.py runnable interface
* Add static assertions for maximum bank sizes
* Boost optimization for audio tools
* Samplebank XML doc
* Soundfont XML doc
* More docs in sampleconv for vadpcm
* Various tools fixes/cleanup
* VADPCM doc
* Try to fix md formatting
* VADPCM doc can come later
* Fix merge with PR 9
* Fix blobs from MM
* Try to fix bss
* Try fix bss round 2
* Fix sampleconv memset bug
* Suggested documentation tweaks
2024-12-13 19:26:36 -05:00
fig02
ae1a1adcf1
Player Docs: Begin "Start Mode" Documentation ( #2301 )
...
* set up start mode
* note unused modes
* fix bss
2024-11-18 18:47:41 -05:00
fig02
17edb82c0d
Decouple Debug Features From gc-eu-mq-dbg ( #2296 )
...
* rename OOT_DEBUG to DEBUG_FEATURES
* makefile changes
* add DEBUG_ASSETS
* fix DEBUG_FEATURES usages
* format
* fix errors
* review
* fix problem and review2
* review
* add DEBUG_FEATURES to DEBUG_ASSETS check
* review
* whoops
* format
2024-11-17 17:02:07 -05:00
cadmic
8ce69c3ac9
Completely match ntsc-1.0/1.1 bss and add to CI ( #2294 )
2024-11-12 17:39:08 -05:00
cadmic
60f9607569
[ntsc-1.0/1.1] Match "system" files ( #2254 )
2024-10-09 09:48:53 -04:00
fig02
7dd8f2b6ad
Document Player_ChooseNextIdleAnim
( #2262 )
...
* document most of Player_ChooseNextIdleAnim
* finish documenting Player_ChooseNextIdleAnim
* capital letter
* dummy block numbers for the script
* fix bss
* bug comment
* SpeicalIdle -> Fidget, clean up related things
* fix rng chance comment
* normal -> default
* rework Player_CheckForIdleAnim
* swap idle anim defines
* remove COMMON_FIDGET
* add ARRAY_COUNT_2D
* change macro def
2024-10-08 00:19:10 -04:00
Dragorn421
ed77e143b6
[headers] Create one_point_cutscene.h
, z64olib.h
and move stuff to z64{object,player,scene}.h
( #2250 )
...
* [headers] Create `one_point_cutscene.h`, `z64olib.h` and move stuff to `z64{object,player,scene}.h`
* bss
* sSceneCmdHandlers
* bss
* bss
2024-10-01 13:14:54 -04:00
Dragorn421
47c6c36dc3
[headers] Create zelda_arena.h, move protos to z64effect.h, and misc fixups ( #2248 )
...
* [headers] Create z64malloc.h, move protos to z64effect.h, and misc fixups
* zelda_arena.h
* bss
* bss2
* bss3
* bss
2024-10-01 08:46:56 +02:00
cadmic
f7f38ff874
[PAL N64] Completely match pal-1.0 and pal-1.1 and add to CI ( #2246 )
...
* [PAL N64] Match pal-1.0 and pal-1.1 and add to CI
* bss fixes from Jenkins
2024-09-28 20:52:45 -04:00
Dragorn421
fbf797f1e2
[headers] Create gfxalloc.h
, map.h
, move protos to gfx.h
, z64{player,view}.h
( #2233 )
...
* [headers] Create gfxalloc.h, map.h, move protos to z64{actor,player,view}.h
* oops
* bss
* comment on player_lib protos & format
* format map.h
* Move SCREEN_{WIDTH,HEIGHT} and SET_FULLSCREEN_VIEWPORT to z64view.h
* bss
* revert move screen_width/height
* bss
2024-09-27 14:51:00 -04:00
Dragorn421
bc8945eb3a
[headers] Move libultra protos to ultra64.h (as a temporary measure) ( #2234 )
...
* [headers] Move libultra protos to ultra64.h (as a temporary measure)
* format ultra64.h
* bss
* bss
* bss
2024-09-26 23:58:43 -04:00
cadmic
bccb219ea3
Fix typos found by codespell ( #2229 )
2024-09-26 00:21:00 -04:00
Dragorn421
7ccb0a641e
[headers] Create letterbox.h, move more protos from functions.h ( #2225 )
...
* [headers] Create z64shrink_window.h, move more protos from functions.h
* format
* include
* bss
* letterbox.h
2024-09-25 13:45:06 -04:00
Dragorn421
5ed5f196d9
[headers] audio functions to z64audio.h and z64ocarina.h ( #2223 )
...
* [headers] audio functions to z64audio.h and z64ocarina.h
* bss
2024-09-25 10:25:49 +02:00
Dragorn421
a09ea76025
[headers] gfx_setupdl.h and z64skin_matrix.h ( #2221 )
...
* [headers] gfx_setupdl.h and z64skin_matrix.h
* include z64skin_matrix.h
* bss
* bss
2024-09-24 18:18:01 -04:00
mzxrules
dc1501e7a0
create ucode_disas.h ( #2222 )
...
* ucode_disas.h
* create UcodeType
* bss
2024-09-24 13:45:53 -04:00
mzxrules
56981d5297
Document Player Knockback related functions ( #1601 )
...
* document knockback related functions
* rotation -> yRot
* implement some changes
* Renames and comments
* mq bss
* format
* Intangibility and Invulnerability
* bss
* .bss
* add #pragma increment_block_number to z_en_item00.c
* .bss
2024-09-23 18:31:00 -04:00
Dragorn421
0f725405d1
[headers] Move z_actor functions to z64actor.h ( #2216 )
...
* move
* format
* bss
2024-09-23 11:06:43 -04:00
Dragorn421
a1a192b1a2
[headers] z64inventory.h, move savectx/inventory macros to z64save.h ( #2209 )
...
* [headers] z64inventory.h
* move savectx/inventory macros to z64save.h
* commit the file
* bss
2024-09-18 15:40:59 -04:00
cadmic
f089adf20c
[ntsc-1.2] Match ntsc-1.2 BSS and add to CI ( #2187 )
...
* Match ntsc-1.2
* Add ntsc-1.2 to CI
* Apply fixes from Jenkins
* Promote ntsc-1.2 to "supported" in Makefile
* Declare D_80858AD8 as a u64 array
* Tweak wording
* Hopefully make ntsc-1.2 bss more stable
* Restore segmented_address.h include
2024-09-12 14:10:43 -04:00
Dragorn421
277ce1c0d3
[headers 8] Add main.h
, segmented_address.h
, and changes for main.c
symbols ( #2151 )
...
* [headers 8] Add main.h and changes for main.c symbols
* fix gSystemHeapSize is size_t only in MM
* segmented_address.h
* rm now useless include
* actually commit segmented_address.h, oops
* rm gGraphThread (faulty copypaste from MM)
* bss
2024-09-07 16:55:06 -04:00
mzxrules
acb5c7f20c
Update Room Documentation ( #2015 )
...
* Update Room Documentation
* Write more complete documentation, implement suggestions.
* Function name changes; minor comment tweaks
* nit
* Resolve Dragorn fixes
* Resolve Fig suggestions, fix comment wording
* fix bss, fig suggestion
* bss
2024-09-05 21:08:21 +09:00
cadmic
8153c952f6
[ntsc-1.2] Organize n64dd declarations and convert to 1.0 addresses ( #2127 )
...
* Reorganize n64dd declarations
* Fix bss
* Really fix bss
2024-09-05 03:56:24 +09:00
cadmic
2152d1df2d
[ntsc-1.2] Import libleo from Decompollaborate/n64dd ( #2104 )
...
* Create stack.h for STACK/STACK_TOP
* Import libleo from Decompollaborate/n64dd
Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com>
Co-authored-by: Elliptic Ellipsis <elliptic.ellipsis@gmail.com>
* Use (unsigned) int when in mdebug
* Apply suggestions from code review
Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>
* Use && in leocmdex.c
* Use proper names for character tables, revert sNonKanjiIndices
* Fix incorrect OSMesg casts
* Use LEO_ERROR_GOOD even where docs say 0
Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>
* Remove "Presumably" comment
* Whitespace
* Remove redundant (debug-only) returns
---------
Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com>
Co-authored-by: Elliptic Ellipsis <elliptic.ellipsis@gmail.com>
Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>
2024-09-03 15:30:14 -04:00
Dragorn421
68818044db
[ntsc-1.2] Decompile fault.c ( #2046 )
...
* wip decomp ntsc-1.2 fault.c
* more ntsc-1.2 fault.c
* decompiled fault_v1.c
* name fault_v1 functions, wip
* try to clean up build system (two versions of the fault system coexisting)
* cleanup
* cleanup2
* fix build gc-eu-mq-dbg
* match 2 more, ty anon
* matched
* review
* more review
* fixup spec
* `(uintptr_t)ptr op int` instead of `ptr op (type*)int`
* move fault.h out of global headers, properly include fault.h and versions.h
* compile all fault_*.c files regardless of version by overriding FAULT_VERSION
* n64 FaultMgr.framebuffer s32 -> u16*
* FaultMgr.framebuffer -> FaultMgr.fb
* make gc FaultMgr.fb u16* (yes, thats everything)
* bss
* fix Fault_Printf return type
* noop FaultDrawer_SetFontColor, FaultDrawer_SetCharPad in fault_n64
* fault_color_ stuff is only for fault_gc
* rm empty line in makefile
* I guess `D_80105A90_unknown` is `[sg]TotalAllocFailures`
* bss
* `Fault_WaitInput` -> `Fault_WaitForInput`
* use named fault funcs in pointers array
* FAULT_OOT{N64,GC} -> FAULT_{N64,GC}
* Apply suggestions from code review
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com>
* review, sync fault_{gc,n64}
* Apply `FPCSR_CE` suggestions from code review
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
---------
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com>
2024-08-28 09:38:42 +02:00