summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2025-01-11[iQue] Use CPP includes in spec and update for iQue (#2399)cadmic
* Update spec for iQue * Use CPP includes for spec overlays, scenes, and libultra * Fix iQue + DEBUG_FEATURES * Define BBPLAYER, merge function definitions * Add Makefile dependency on spec_includes * Fix libc order for iQue * Match src/libultra/bb/sa/common.c to fix linker errors * Use C versions of getcount/setcompare for iQue * Format * Small fixes to line up boot segment * Remove zlib.c
2025-01-10[iQue] Match PI-related files in libultra/io (#2408)Tharo
* [iQue] Match PI-related files in libultra/io, set correct thread ID for vimgr * Create a define for the hardcoded address in devmgr.c * Fix BSS
2025-01-10[iQue] Match remaining libultra/os files (#2414)Tharo
* 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[iQue] Match remaining src/boot files (#2417)cadmic
* [iQue] Match remaining src/boot files * Fix debug ROM * Use -funsigned-char * Sort ique before gc in LNx macros
2025-01-10[iQue] Match gzip/zlib decompression (#2416)cadmic
* [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[iQue] Match handwritten asm files in libultra/os, match C replacements of ↵Tharo
osGetCount and __osSetCompare (#2413) * [iQue] Match handwritten asm files in libultra/os, match C replacements of osGetCount and __osSetCompare * Format * Adjust some label names in dcache functions
2025-01-10[iQue] Import vimodes from ultralib (#2403)Tharo
* [iQue] Import vimodes from ultralib * Account for pixel_advance change on iQue * Actually do the fix properly
2025-01-09[iQue] Match remaining libultra/io files (#2411)Tharo
* [iQue] Match remaining libultra/io files * Match osSpTaskYielded * Fix bss, remove double space in controller.h * Fix BSS
2025-01-08[iQue] Create/update macros for printing debug strings (#2398)cadmic
2025-01-07[iQue] Match libultra/libc (#2407)Tharo
2025-01-07[iQue] Match osViSetMode (#2404)Tharo
2025-01-06[iQue] Match exceptasm.s and parameters.s (#2401)Tharo
2025-01-03[iQue] Match skapi.s, create bbskapi.h documenting the syscalls (#2400)Tharo
2025-01-02[iQue] Build some C files with EGCS (#2396)cadmic
2024-12-28Restructure event flags in z64save.h (3/?): Cursed Family Rewards (#2392)mzxrules
* Cursed Family reward event flags * tunic -> shirt
2024-12-28Use IDO for assembling handwritten asm files in src (#2390)Tharo
* as0 * Fix ASOPTFLAGS for src/libc, remove unnecessary noreorder region in kanread * Suggested changes * Use %half to load the boot bss size for matching Co-authored-by: cadmic <cadmic24@gmail.com> * Wrap all of __osProbeTLB in noreorder --------- Co-authored-by: cadmic <cadmic24@gmail.com>
2024-12-27Restructure event flags in z64save.h (2/?): Carpenters (#2385)mzxrules
* Clean up EVENTCHKINF for Carpenters * hardcode EVENTCHKINF_INDEX_CARPENTERS_RESCUED
2024-12-26Fix iQue audio and line numbers (#2386)cadmic
2024-12-24Move D_80134488 from system_heap.c to fp.s (#2387)cadmic
* Move D_80134488 from system_heap.c to fp.s * Add declarations * Fix bss
2024-12-21Restructure event flags in z64save.h (1/?) (#2380)mzxrules
* Simplify most event flags * EVENTINF_HORSES_INDEX -> EVENTINF_INDEX_HORSES * Add missing index numbers * pr suggestions * Clean up INGO_RACE flags
2024-12-21Set up build system for ique-cn (#2382)cadmic
* Set up build system for ique-cn * Fix size of fbdemo_circle assets * Treat iQue as NTSC and Use "NES" for Chinese text * Revert z_kanfont
2024-12-20Move const-qualified data from session_config.c to session_init.c, no longer ↵Tharo
qualify them as const and incrementally link instead (#2381)
2024-12-17Document z_horse.c and related actors (#2278)mzxrules
* document z_horse.h * .bss * suggestions and more comments * bss * INGORACE -> INGO_RACE * format header macros * FIx incorrect type comparision * EnInMode -> EnInStartMode * R_EXITED_SCENE_RIDING_HORSE
2024-12-16Rename event check flags for boss battles (#2376)Jordan Longstaff
2024-12-16Name cutscenes from the Master Sword and Deku Tree Mouth actors (#2364)Yanis
* name cs from master sword & deku tree actors * review 1 * review 2 * choice declined/accepted renames * review 3 * updated comment about the ms reveal flag
2024-12-15Add macros for line number differences (#2365)fig02
* 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-14document `func_8002F368` (#2358)Leonid Kapitonov
2024-12-13Move build.c definitions to the makefile, introduce and use libultra version ↵Tharo
defines in libultra instead of PLATFORM defines (#2353) * Move build.c definitions to the makefile, introduce and use libultra version defines in libultra instead of PLATFORM defines * MAJOR+MINOR versions -> VERSION+PATCH, stringify build defines in makefile, let the libultra version determine the OPTFLAGS for libultra files * Clang format moment * Remove LIBULTRA_VERSION_ID, tweak OS_VERSION and libultra version definitions * Better fix for formatting problems
2024-12-13[Audio 10/10] Loose ends (#2337)Tharo
* 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-13Naming cutscenes from Lon-Lon Ranch (#2359)Yanis
* name cs from ranch * fixed llr credits cs dest part 5 and 6 being inverted * format
2024-12-13Document Culling (#2318)fig02
* document culling * format * depth -> distance * format * var name * new graph link * rephrase actor flags * tharo's comments + some more tweaks * is this causing the problem? * change wording * cant scope the temp * format * dragorn review * bad merge * player -> camera in descriptions * more its * cadmic review * goddamn it why do i have that habit * projected
2024-12-12Rename EVENTCHKINF flags for payments to Happy Mask salesman (#2331)Jordan Longstaff
* Rename EVENTCHKINF flags for payments to Happy Mask salesman * Tweak renames
2024-12-12Rename item get flags for Forest Stage upgrades (#2333)Jordan Longstaff
* Rename item get flags for Forest Stage upgrades * Fix Jenkins build error * Document shared flag bug * Rename shared flag * Massive documenting comments * GDI - remove one trailing whitespace
2024-12-11Rename EVENTCHKINF_69 (#2330)Jordan Longstaff
* Rename EVENTCHKINF_69 * Rename CS flag
2024-12-10Renamed EVENTCHKINF_3C (#2324)Jordan Longstaff
* Renamed EVENTCHKINF_3C * Renamed to Nabooru Knuckle * Format for Jenkins
2024-12-10Rename symbols related to Kakariko Well being drained (#2332)Jordan Longstaff
2024-12-09Renamed EVENTCHKINF_33 (#2326)Jordan Longstaff
* Renamed EVENTCHKINF_33 * Rename: Gave letter to King Zora
2024-12-09Rename EVENTCHKINF_4D (#2329)Jordan Longstaff
* Rename EVENTCHKINF_4D * Second rename
2024-12-09Document Mido functions, fields, and animations (#2289)Leonid Kapitonov
* Document `func_80AAA250` new name: `EnMd_ReverseAnimation` * rename `enum EnMdAnimation` > `enum EnMdAnimIndex` * Document `struct EnMd` fields (and functions) the list: * `func_80AAAC78` -> `EnMd_TrackMessageState` * `func_80AAAA24` -> `EnMd_UpdateAnimState_WithTalking` * `func_80AAA92C` -> `EnMd_SetAnimState` * `func_80AAA93C` -> `EnMd_UpdateAnimState` * `func_80AAA274` -> `EnMd_UpdateAnimState1` * `func_80AAA308` -> `EnMd_UpdateAnimState2` * `func_80AAA39C` -> `EnMd_UpdateAnimState3` * `func_80AAA474` -> `EnMd_UpdateAnimState4` * `func_80AAA508` -> `EnMd_UpdateAnimState5` * `func_80AAA5A4` -> `EnMd_UpdateAnimState6` * `func_80AAA638` -> `EnMd_UpdateAnimState7` * `func_80AAA6D4` -> `EnMd_UpdateAnimState8` * `func_80AAA768` -> `EnMd_UpdateAnimState9` * `func_80AAA7FC` -> `EnMd_UpdateAnimState10` * `func_80AAA890` -> `EnMd_UpdateAnimState11` * Document `func_80AAB158` new name: `EnMd_UpdateTalking` * Document `func_80034DD4` @ `z_actor.c` new name: `Actor_SmoothStep_Attention` * Document `func_80AAB5A4` new name: `EnMd_SmoothStep_Attention` * Document Mido's action functions the list: * `func_80AAB874` -> `EnMd_Idle` * `func_80AAB8F8` -> `EnMd_Watch` * `func_80AAB948` -> `EnMd_BlockPath` * `func_80AABC10` -> `EnMd_ListenToOcarina` * `func_80AABD0C` -> `EnMd_Walk` * rename flag `temp2` -> `canUpdateTalking` * (re)document Mido's animations via blender and fast64 * marginally improve comments * marginally improve comments * actually, yes, let's name action functions as such * Document eye textures as an enum to clarify for `EnMd_UpdateEyes` * rename `eyeIdx` -> `eyeTexIndex` Mido has two eyes and different textures for them * Undocument eye textures as an enum i was wrong: `_Draw` function might not follow the eyes texture order it is its own thing, like `enum EnMdBlinking` or nothing at all, yeah * ugh, and fix a typo with blinking rushing is no good * drop the `Action` suffix https://github.com/zeldaret/oot/pull/2289#discussion_r1837272286 * rename animation states as sequences https://github.com/zeldaret/oot/pull/2289#discussion_r1837274923 * `func_80034DD4` -> `Actor_FadeInOut` https://github.com/zeldaret/oot/pull/2289#discussion_r1837267267 * rename animation states as sequences a continuation of b11a9e9942e1725824e54099f84085ff2165e854 * `func_80034DD4` -> `Actor_UpdateAlphaByDistance` https://github.com/zeldaret/oot/pull/2289#discussion_r1838398475 * clarify a comment * Document `actor.params` bits allocation * apply review suggestions * apply review suggestions * apply review suggestions * apply review suggestions * apply review suggestions
2024-12-08Document Player Params (#2307)fig02
* document player params * better bgcamindex comment * cant use -1 for condition * fix match * define for default bgcam * doesnt work * matches * better comment
2024-12-07Renamed EVENTCHKINF_4B (#2328)Jordan Longstaff
2024-12-07Replaced EVENTCHKINF_4E (#2327)Jordan Longstaff
* Replaced EVENTCHKINF_4E * Add "set but unused" comment Co-authored-by: mzxrules <mzxrules@gmail.com> --------- Co-authored-by: mzxrules <mzxrules@gmail.com>
2024-12-07Rename EVENTCHKINF_02 (#2322)Jordan Longstaff
* Rename EVENTCHKINF_02 * Rename to EVENTCHKINF_MIDO_DENIED_DEKU_TREE_ACCESS
2024-12-07Renamed EVENTCHKINF_3A (#2325)Jordan Longstaff
* Renamed EVENTCHKINF_3A * Remove redundant comment
2024-12-02More descriptive names for CS_BEGIN_CUTSCENE and CS_END (#2311)mracsys
* rename CS_BEGIN_CUTSCENE and CS_END * matching * naming consistency for END command, improved comments * remove CS_CMD_NONE Co-authored-by: mzxrules <mzxrules@gmail.com> * remove comma from end of enum * git subrepo pull --force tools/ZAPD subrepo: subdir: "tools/ZAPD" merged: "c04562d30" upstream: origin: "https://github.com/zeldaret/ZAPD.git" branch: "master" commit: "c04562d30" git-subrepo: version: "0.4.9" origin: "https://github.com/ingydotnet/git-subrepo.git" commit: "cce3d93" --------- Co-authored-by: mzxrules <mzxrules@gmail.com> Co-authored-by: fig02 <fig02srl@gmail.com>
2024-12-02Fix some more GCC warnings, mark some bugs based on GCC warnings (#2309)Tharo
* 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-01Minor Cleanup (#2308)engineer124
* cleanup * more * fix floats
2024-11-27Player Docs: Document Some Start Mode Actions (#2305)fig02
* document blue warp arrive * document warp song, door, and time travel * document grotto and farores wind * move animsfx * review * unname appear
2024-11-27Document Actor "Fidget Tables" (#2287)Leonid Kapitonov
* Document `func_80034F54` and related data new name: `UpdateLimbOverrides` reason: - `0x814` and `0x940` constants - `*_OverrideLimbDraw` functions additionally: - move constants into `z64animation.h` - use these constant for existing formulas - properly name corresponding actors' fields - add occasional explicit limbs limit constants * port over the MM "fidget" naming * remove redundant comments * move and rename `FIDGET_*` constants * introduce a `FIDGET_SCALE` constant, as no other value is applied * remove generally unrelated changes * apply PR suggestion Co-authored-by: mzxrules <mzxrules@gmail.com> * fix (?) fidgetTable size following the https://github.com/zeldaret/oot/pull/2287#discussion_r1832371833 suggestion * remove an unused `struct EnMu` field @ `0x024A` a continuation to the 211263295cd8768d63c1426025cf913ba6bedc18 automatic padding commpensates its absence * remove MM mention as "it would get unruly fast" https://github.com/zeldaret/oot/pull/2287#discussion_r1833470468 * rename `overridePerLimb` -> `fidgetFrequency` https://github.com/zeldaret/oot/pull/2287#discussion_r1837211873 * give better names to the constants https://github.com/zeldaret/oot/pull/2287#discussion_r1837211873 * remove unnecesasry braces from a comment https://github.com/zeldaret/oot/pull/2287#discussion_r1842642196 * make the comment multiline "officially" * restore `limbIndex` naming for this PR https://github.com/zeldaret/oot/pull/2287/commits/43afb7b7cb54aa7b086d8cb7fca4cffaa7d145bf#r1842644602 * apply a PR suggestion https://github.com/zeldaret/oot/pull/2287#discussion_r1842787653 --------- Co-authored-by: mzxrules <mzxrules@gmail.com>
2024-11-23Name Remaining Hookshot Actor Flags (#2306)fig02
* name remaining hookshot flags * tweak comments * period