summaryrefslogtreecommitdiff
path: root/src/code
AgeCommit message (Collapse)Author
2021-12-23More progress and docsengineer124
2021-12-23Copy over previous WIPengineer124
2021-12-23Migrate data and bssengineer124
2021-12-23Copy z64Save.h docs from z_sram_nes WIPengineer124
2021-12-19Name coordinate transformation matrix similar to OoT (#499)engineer124
* name coordiante transformation names similar to OoT * update actorfixer
2021-12-19Code_800f07c0 OK with some documentation (#373)Derek Hensley
* Matched func_800F07C0 * Matched func_800F0888 * Matched func_800F0944 * Matched func_800F09B4 * Matched func_800F0A94 * Matched func_800F0E94 * Matched func_800F0EEC * Matched func_800F0F28 * Matched func_800F0FF0 * Matched func_800F10AC * Matched func_800F112C * Matched func_800F0DD4 * Matched func_800F0CE4 * Matched func_800F0A20 * Matched func_800F0BB4 * Fix functions.h * Migrated data and add some doc comments, having BSS issues * BSS fix * Fix merge conflict * Document * Run Formatter * Actually save functions.h * Rename UnusedNPC to EnHy * Change some rets and run format * PR review * Fix merge conflict * Minor touchups * Fix renamed func * Change char to UNK_TYPE1 * Add header * Rename two functions * Fix capital X's in undefined_syms * Convert char to UNK_TYPE1 in EnDoor * Change huge ternary into if else for readability * Fix up EnIn * Better whitespace * Format * Revert UNK_TYPE1s in EnDoor * Rename file * Missed rename in undefined_syms
2021-12-19sys_ucode OK (#432)EllipticEllipsis
* sys_ucode OK * Update file split of data * Format * Name symbols, sizes -> u32 * Correct undefined_syms * Format
2021-12-19Importing Audio Init Params (#471)engineer124
* Import audio init params * Add comments describing what these sizes represents * Fix variables.txt * Remove leading zero's from gTatumsPerBeat * Name variables
2021-12-19pause (Frame Advance) OK (#455)Derek Hensley
* Matched * Rename and format * typo * Missed renames * Revert "Missed renames" This reverts commit 64d9f7046407eac71b849420457968e3b38fc4d8. * Revert "typo" This reverts commit 81696364d3db71b6085fda1aa99855def390628e. * Revert "Rename and format" This reverts commit aec7d245e896777d70eb7024c336f76ed2a32c7f. * Rename functions * Add header explaining frame advance * Header * Format
2021-12-16Tutorial (#362)EllipticEllipsis
* ObjTree OK, data imported * EnMs OK, data imported * And the spec * OK * Some minor edits * A lot of preliminary stuff * Mostly complete beginning * First draft of other functions doc * Whoops, forgot the GlobalContext pad * Draw functions (minus colour), create Data * Data * gitignore, some progress on documenting * Review comments, continue documenting * spec * Finish off documentation * undefined_syms * Add a couple of todos * One more * At least add tools for object decomp * Start conversion table stuff * Document ObjTree * Document EnMs * Add more tables to conversions * Maide's review * Review * Review * Typos and incomplete thoughts * Update vscode.md * Correct function/variable names * Review suggestions * Format * Missed one * Rename functions and format * Fix ObjTree * Update actorfixer.py, fix some variable names * Some review * Review suggestions * More review * Hopefully fix all the thisx references * Missed one
2021-12-15ZAPD fixes in `sys_initial_check`, update subrepos (#507)EllipticEllipsis
* git subrepo pull --force tools/ZAPD subrepo: subdir: "tools/ZAPD" merged: "a3363333d" upstream: origin: "https://github.com/zeldaret/ZAPD.git" branch: "master" commit: "a3363333d" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo.git" commit: "2f68596" * git subrepo pull tools/asm-differ --force subrepo: subdir: "tools/asm-differ" merged: "70c33cc12" upstream: origin: "https://github.com/simonlindholm/asm-differ.git" branch: "main" commit: "70c33cc12" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo.git" commit: "2f68596" * git subrepo pull (merge) tools/z64compress --force subrepo: subdir: "tools/z64compress" merged: "ac5b1a0d0" upstream: origin: "https://github.com/z64me/z64compress.git" branch: "main" commit: "ac5b1a0d0" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo.git" commit: "2f68596" * Use defines for texture sizes in sys_initial_check * Update extract_assets.py * Add null check * git subrepo pull --force tools/ZAPD subrepo: subdir: "tools/ZAPD" merged: "50242eca9" upstream: origin: "https://github.com/zeldaret/ZAPD.git" branch: "master" commit: "50242eca9" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo.git" commit: "2f68596"
2021-12-07z_vr_box_draw OK (#481)Lucas Shaw
* z_vr_box_draw OK * ok * Removed z_vr_box_draw.data.s, its actually z_sram_NES.data.s * Added enum SkyboxId
2021-12-07Macro Clean up (#454)engineer124
* Add OS macros * MTXMODE cleanup * format * More matrix mode macros missed
2021-12-07Importing Audio Sfx Params (#472)engineer124
* Import audio sfx params * Add TODO: description for this file
2021-12-06Elf_Message OK (#457)Derek Hensley
* Matched * Rename function
2021-11-25Merge branch 'master' into voiceengineer124
2021-11-23z_bgcheck.c (#357)mzxrules
* first few functions * two more almost matching functions * Rebase to NBS, get it to compile * BgCheck_RaycastFloorStaticList OK, fix-up some functions * BgCheck_SphVsStaticWall OK! and a few others * more z_bgcheck NON_MATCHINGS * OK more functions, reorganize external reference #defines * More functions OK, more struct fixes * More OKs * Decomp all the way to the end of bgcheck * All functions attempted * Rename functions * formatting, data migration * Give names to unk structs, rename some structs, fix some non-equivalent functions * WaterBox_GetSurfaceImpl OK * BgCheck_ResetPolyCheckTbl OK, improve WaterBox_GetSurface2 codegen, eliminate warnings and clean up source. * BcCheck3_BgActorInit ->BgCheck3_BgActorInit, fix warnings * pr change requests * fix crc maybe * implement more changes * implement alf's changes
2021-11-20En_Tk (#338)Maide
* En_Tk * PR * Warnings Co-authored-by: root <root@Careface.localdomain>
2021-11-20Audio BGM Macros (#460)engineer124
* Introduce bgms * Fill in bgm enums * Rename bgm to clearer names * Fix spacing * Fix "No_Music" define * remove comment * Improve bgm names, found another seqId function * Another seqId function * Another name change * Woods of Mystery -> Sarias Song * add saria's song bgm to pierre * Another bgm function found! * Add bgm's to `gSaveContext.seqIndex`
2021-11-20Merge branch 'audio_bgm' into voiceengineer124
2021-11-20Merge branch 'master' into audio_bgmengineer124
2021-11-19`z_jpeg`, `jpegutils` and `jpegdecoder` OK (#322)Anghelo Carvajal
* this is a disaster * two more * func_800F470C * split and rename jpegutils and jpegdecoder * match jpegutils * match jpegdecoder.c * audio_rodata * data split * Split rsp * Steal documentation from OoT * cleanup * Format * remove removed members in JpegContext * Update include/z64.h Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> * Update src/code/jpegdecoder.c Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> * Update include/functions.h Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> * Update src/code/jpegutils.c Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> * review renames * true * Some type fixes * Update include/z64.h Co-authored-by: EllipticEllipsis <73679967+EllipticEllipsis@users.noreply.github.com> * add comment * Update src/code/z_jpeg.c Co-authored-by: EllipticEllipsis <73679967+EllipticEllipsis@users.noreply.github.com> * format * bss fix * decr * format * z64jpeg.h * Add stdbool * Rename audio_init_params * whoops * whoops++ * whoops# * remove extra dumb variables in variables.txt * fix Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> Co-authored-by: EllipticEllipsis <73679967+EllipticEllipsis@users.noreply.github.com>
2021-11-20Merge branch 'master' into audio_bgmengineer124
2021-11-20Merge branch 'master' into voiceengineer124
2021-11-19Sub_S Prototypes and approriate header stuff (#408)Derek Hensley
* Add sub_s prototypes * Rename limbDrawTable to jointTable * Rename UnkActorDraws * Fix warnings * Fix warnings
2021-11-19Audio Files & Data: Fix File/Data Splits and Compiler Flags (#456)engineer124
* Properly split audio voice * Split off jpeg code from audio * Fix compiler flags * Properly split libultra audio file * Split audio data for many files correctly * Fix remaining data splits * Fix up troublesome data * Fix variables.txt * Missed two files that need to go in audio/ * Add missing `/` * `D_801E1100` -> audio_init_params * Properly split code_801D9090.data.s * Fix code_801A5BD0 bss * Move audio_dramStack to a blob
2021-11-19Add bgm's to `gSaveContext.seqIndex`engineer124
2021-11-19Another bgm function found!engineer124
2021-11-19Merge branch 'master' into audio_bgmengineer124
2021-11-17Fix bss file splitengineer124
2021-11-17Fix bss reorderingengineer124
2021-11-17Merge branch 'master' into voiceengineer124
2021-11-15sys_initial_check OK, documented, error message files debinarised (#437)EllipticEllipsis
* OK * Symbols and other documentation * Remove externs * spec * More documentation, decompile the texture files, some uintptr_t and size_t * Top-of-file comment * Move symbols back into right order * Use some defines * Missed an osTvType and a size_t * Add missing header to os.h * Use segment symbol macros * Remove duplicate header * Address review suggestions
2021-11-15import rodataengineer124
2021-11-15Merge branch 'master' into audio_bgmengineer124
2021-11-14Moves func_800CB000 to z_bg_item, decompiles func_800CB000, and documents ↵Kenix3
z_bg_item and a few DynaPolyActor struct members. (#407) * Moves func_800CB000 to z_bg_item, decompiles func_800CB000, and documents z_bg_item and a few DynaPolyActor struct members. * Adding usage of dynapoly state flag defines. * Formats z_bg_item * Update z_bg_item.c * Update z_bg_collect.c * Update z_bg_item.c * Update z_bg_item.c * Renames z_bg_item system to DynaPolyActor * Format
2021-11-14sched.h (#341)Anghelo Carvajal
* sched.h * format * screen.h * sched.h and scheduler.h * empty commit * remove screen.h * format * Fix * fix bss * remove line * Whoops * remove dupllicated structs * ... * c'mon * Add TASK_FRAMEBUFFER macro * format
2021-11-13Fill in bgm enumsengineer124
2021-11-12Dictionary: u8 -> u16engineer124
2021-11-12Introduce Word Id enumengineer124
2021-11-12Import code_801A4EB0 dataengineer124
2021-11-12Fix bssengineer124
2021-11-12More voice docsengineer124
2021-11-12Merge remote-tracking branch 'Decompollaborate/voice' into voiceengineer124
2021-11-12Introduce OSVoiceDictionaryengineer124
2021-11-11Improve/Add Enums for Player, Items, and Quest (#275)engineer124
* Create enums (non-matching monkaBSS) * Add effect enum * Almost fix bss reordering (1 different word) * Fix capacity * Fully fix bss * Add PlayerBoots * PR Feedback & add missing playerForm enums * Clean-Up * Script to check global bss ordering * Bit of cleanup * Format * Remove global_bss_check PR * Fix bss * Add enums to new PRs & previously missed ones * Remove Effect Enums * Missed one * Format * Remove old prevent_bss_reordering.h comments * Use a better macro * A few more uses of enums found * Add enums to recent PRs * Improve GI enums * Add enums from new PRs * PR Suggestions * format * Fix bss * Fix mistake in GI * No actually, part of it was correct before Co-authored-by: Elliptic Ellipsis <elliptic.ellipsis@gmail.com>
2021-11-12Clean up dictionaryengineer124
2021-11-11Cleanupengineer124
2021-11-11formatengineer124
2021-11-11Better match for func_801A5A1Cengineer124