fig02
28cc9d68cf
Remove "z64" prefix from all headers ( #2518 )
...
* z64 - a
* z64 - b
* z64 - c
* z64 - d
* z64 - e
* z64 - f
* z64 - g
* z64 - h
* z64 - i
* z64 - l
* z64 - m
* z64 - o
* z64 - p
* z64 - q
* z64 - r
* z64 - s
* z64 - t
* z64 - v
* restore file
* fix merge
* fix merge
---------
Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
2025-06-04 14:38:33 -04:00
Pepe20129
1f9bf023a0
Document kaleido debug menu ( #2506 )
...
* Document kaleido debug menu
* Fix BSS
* bss
* Address reviews
* bss
* add #pragma increment_block_number to z_parameter and let CI do its thing
* bss
* buffer -> digitBuf
* reformat comments on sSectionPositions. trick clang-format into not ruining the array by adding // comments on their own line
* rename to KaleidoScope_DrawInventoryEditor
---------
Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
2025-06-01 17:10:49 +02:00
Dragorn421
6d56b1b8e0
Cleanup includes in header files ( #2540 )
...
* Cleanup includes in header files
* include libc headers without libc/ prefix
* fix
* fix2
* fix3
* fix4
* some bss lol
* bss
* fix
2025-05-24 16:20:51 -04:00
fig02
f7a270655b
Delete macros.h; Delete global.h ( #2516 )
2025-04-27 12:48:11 -04:00
fig02
bed76a3bf3
add array_count.h ( #2514 )
2025-04-26 18:17:02 -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
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
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
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
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
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
Tharo
afa0842de4
[iQue] Import libultra audio library files ( #2433 )
...
Note about comments in these files:
The libultra audio library was originally available to developers in
source code form, unlike most of libultra. These files are based on
these source code forms, adapted to meet the style of this project.
The comments in the files as of this commit are, apart from the style,
comments from the original SGI authors.
2025-01-21 15:21:48 -05:00
cadmic
c3806155c3
[iQue] Don't use -funsigned-char for z_std_dma ( #2427 )
2025-01-19 21:41:57 -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
cadmic
e4ad4e5eee
[iQue] Match remaining src/boot files ( #2417 )
...
* [iQue] Match remaining src/boot files
* Fix debug ROM
* Use -funsigned-char
* Sort ique before gc in LNx macros
2025-01-10 18:47:55 +01:00
cadmic
26f91bd3bb
[iQue] Match gzip/zlib decompression ( #2416 )
...
* [iQue] Match gzip/zlib decompression
Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com>
* Update missed renames in disassembly
* Fix some formatting
---------
Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com>
2025-01-10 14:31:20 +01: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
fig02
ff78b1263b
Add macros for line number differences ( #2365 )
...
* initial work, think I got all of them
* cleanup line_numbers.h
* fix gc-eu-mq-dbg
* fix matching problems
* remove old lines
* format
* missed some stuff
* comment fixes
* other
* review changes
2024-12-15 11:07:21 -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
Tharo
3f703a39d9
Fix some more GCC warnings, mark some bugs based on GCC warnings ( #2309 )
...
* Fix some more GCC warnings, mark some bugs based on GCC warnings
* Weird formatting
* Suggested changes
* More weird indentation I guess
* UNREACHABLE() macro, add missing NORETURNs to fault_n64.c
* AVOID_UB for PAL path in z_file_nameset.c
* Remove comments about return types
* Remove temp no longer needed
2024-12-02 04:40:49 -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
cf4dc98cc9
Use debug macros even in N64-only code ( #2298 )
...
* Use debug macros even in N64-only code
* Use UNK_FILE/UNK_LINE instead
2024-11-15 13:18:05 -05:00
cadmic
2048a65dd8
[ntsc-1.0/1.1] Match line numbers in debug strings ( #2255 )
2024-10-09 13:41:16 +02: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
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
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
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
cadmic
a30f130eb9
Fix some boot and code data ( #2155 )
2024-09-07 08:10:52 -04:00