summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2023-10-29Boss01 (Odolwa) OK and documented (#1452)Tom Overton
* Boss01 (Odolwa) OK and documented * Unify existing InitRand implementations * Remove newlines after `// fallthrough` * Respond to the rest of engineer's review * Respond to most of anon's review * Try to comment the shadow thing correctly * Fix boss_01 after merge * SEGMENTED_TO_VIRTUAL -> SEGMENTED_TO_K0 * Review * Use DMG_SWORD_BEAM and update the comment in z64collision_check.h * Respond to engineer's review
2023-10-28Fix `/* */` to `/**/` (#1455)Anghelo Carvajal
2023-10-27player unions (#1453)engineer124
2023-10-27Remove `(ActorFunc)` cast on `InitVars` (#1148)Anghelo Carvajal
* Remove ActorFunc cast * Format * Revert "Format" This reverts commit a6e89b39692c22cfae26c8aa3a8fe288ccd61c32. * Messing with formatting * format header a bit * Revert "Messing with formatting" This reverts commit c8db520278d7730a83e3fbc460ebe87929c16928. * comment * format * more comments * format * format * format * properly format
2023-10-26Yet another libultra cleanup (#1384)Anghelo Carvajal
* os symbols * various variables * more variables * more cleanup * yeet HW_REG * OS_PHYSICAL_TO_K0 and other cleanups * Rename r4300.h * migrate pimgr data and cleanup on initialize.c * rename osFlash symbols * cleanup gu * vimodes * yeet rmon, do libc files * some os files * hardwareinterrupt * cleanup a lot of os files * cleanup osVirtualToPhysical * various io files * another io chunk * final io chunk * yeet hardware.h * yeet PHYSICAL_TO_VIRTUAL and VIRTUAL_TO_PHYSICAL * fix typo * fix merge * remove global.h from libultra files * fixes and format * brief explanation * review * review * review * review * SEGMENTED_TO_K0 * Revert "SEGMENTED_TO_K0" This reverts commit f8d62d670f91af401feb56489e1cbc45a1260049. * take two * bss * bss
2023-10-26Decompile Remaining code_8019AF00.c Functions (1 non-matching) (#1442)engineer124
* remaining code_8019AF00 functions * oops * decimal duration * PR Review
2023-10-26`code_80140E80` OK and preliminary documentation, Fbdemo_Wipe4 OK and ↵EllipticEllipsis
documented (#1106) * OK, start documentation * More documentation Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com> * Decompile func_80167F0C * FbdemoWipe4 OK and documented * Mark bug in Wipe4 * More docs Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com> * Mark bug * Few more notes * Fix function in Play * Format * Review * Name Play_PostWorldDraw * functions.h... * Revert func_80167F0C * Review * functions.h * Review * Update Wipe4 * Rename system * Format * Put skeleton back in the cupboard * bss * Fix build * rename to z_visfbuf * review * format * bss * some bss cleanup * review * bss * review --------- Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com> Co-authored-by: angie <angheloalf95@gmail.com>
2023-10-26Player Docs: csMode -> csAction (#1433)engineer124
* csAction * more cleanup * namefixer * simpleReplace * fix brackets * sneak in 2 player typos * fix merge
2023-10-24object_test3 (kafei) (#1431)Nuss
* naming * improvements * improvements * ups
2023-10-23Anju objects (#1444)Anghelo Carvajal
* bring over the objects from the other branch * kafeis mask * use symbols * dman naming after assets * stateFlags * remaining stuff * anim array bug * Name everything in DmGm after DmAn * WEEKEVENTREG_COUPLES_MASK_CUTSCENE_FINISHED * undef * format * idk * ing * format * name animations from an4, thanks emil! * emptydl * disbelief * review * format * Update assets/xml/objects/object_mask_kerfay.xml Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> * review --------- Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
2023-10-23object_owl (#1430)Nuss
* some naming * naming * comments * improvements * improvements
2023-10-22obj_oyu (#1436)Wimmer
* object_oyu object_oyu.xml / z_bg_goron_oyu.c updated * Hot Spring Water Update * updated comments * GoronGraveyard prefix * Update object_oyu.xml
2023-10-22`SCHEDULE_TIME` (#1438)Anghelo Carvajal
* SCHEDULE_CALC_TIME_ALT * add s32 cast to avoid f32 -> u16 direct cast * SCHEDULE_TIME * remove the alts * Update explanation about the script
2023-10-21Match `Camera_Battle1` (#1445)engineer124
* match Camera_Battle1 * more cleanup * more docs from OoT
2023-10-21Match `Camera_KeepOn1` (#1447)engineer124
* Match Camera_KeepOn1 * small cleanup
2023-10-20Match `Camera_Normal1` (#1446)engineer124
* improve Camera_Normal1 * decompme * Match Camera_Normal1, thanks darkeye * use the pad
2023-10-15object_zoraegg (#1439)Nuss
* naming * improvements * bss order
2023-10-15object_po (#1426)Nuss
* naming * typos and sLimbToBodyParts * POE_LIMB_MAX instead of 21 * typos * EnumName * prefix
2023-10-15Switch Flag "None" macro (#1412)engineer124
* switch flag none * cleanup brackets * individual actor switch flag none * missed some, small cleanup * <= 0x80
2023-10-15EnJso (Garo) OK and documented (#1440)Tom Overton
* EnJso (Garo) OK and documented * Respond to review * Replace some weird ifs with early returns * Respond to Anghelo's review
2023-10-13Audio Sequences Decompiled & Documented (z_obj_sound OK, more ↵engineer124
code_8019AF00.c) (#1407) * import audio docs * cleanup * SEQ_SCREEN_WEIGHTED_DIST * PR * PR
2023-10-13Obj_visiblock (#1422)Wimmer
* Obj_visiblock Object for the Lens of Truth Platforms * Update assets/xml/objects/object_visiblock.xml DList update Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> * Update assets/xml/objects/object_visiblock.xml Tex outname update Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> * Update z_obj_visiblock.c DList name update * Revert "Update assets/xml/objects/object_visiblock.xml " This reverts commit 228d6e8914d1a9df7f996809bd876b44130ddf86. * Revert "Update assets/xml/objects/object_visiblock.xml " This reverts commit 53a8786f269e60899408946283e2e55513890486. * Update object_visiblock.xml --------- Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
2023-10-13ovl_Door_Spiral decompiled (#1432)Nuss
* data * some matching * all funcs * improvements * improvements * improvements * small clean up
2023-10-13obj_big_fwall (#1435)Wimmer
* Big Fire Wall Big fire wall.xml / Z en encount3.c update * RingOfFire update
2023-10-13Boyo (#1341)CodeOverFLow
* updated variables.txt * continue investigation * format to style * matching more asm * still more asm matching * finally matching * matching even more * add rodata * match more asm for Update * matching 99.58% of ObjBoyo_Update * matched ObjBoyo_Update * some cleanup * formatted * review: remove ACTOR_COLLISION_HANDLING_CASES define * review: fix main functions parameters * review: fix collision function signatures * review: fix ObjBoyo_FindCollidedActor parameters * review: better formatting for InitVars * review: fix ObjBoyoCollisionHandler typedef * review: fix segmented AnimatedMaterial * review: fix static ColliderCylinderInit * review: disassembled initchain * review: fix collision functions * review: fix functions.txt * review: fix variables.txt * review: clean z_obj_boyo.h * review: fix ObjBoyo_Destroy * remove fake variable from ObjBoyo_Init * review: rematch FindCollidedActor * review: make asm match again * review: update spec file * review: fix spec file * review: remove static D_*** * review: fix bad logic to find collided actor * review: fix ObjBoyo size (local make is now OK) * review: rename collision handlers array * review: use constant * review: clean PushPlayer function * review: fix LSP bad renaming * review: use GET_PLAYER macro * review: remove ugly pointer deref * review: replace += 1 with ++ * review: return NULL to emphasize it is a pointer * review: check against NULL instead of 0 * review: remove unnecessary casts * review: use constants * review: remove unnecessary include * review: rename variables + fix assembly matching * review: change ++i to i++ * review: fix inline comments * review: replace != with < in for loop
2023-10-11object_icicle (#1421)Nuss
* Naming * naming * naming * top comment
2023-10-11ovl_Obj_Grass_Unit OK and some grass documentation (#1172)mzxrules
* z_obj_grass_unit OK * document some grass * pr suggestions, add grass_unit comment * pr suggestions * implement constants
2023-10-09object_kinsta1_obj (#1415)Nuss
* naming * Original naming * Original naming * wrong file * Swamp Spider House Door * naming * ups * fix
2023-10-08object_ladder (#1419)Nuss
* naming * Original naming * removed comments * comments
2023-10-08object_random_obj (#1416)Nuss
* naming * Secret Shrine doors * naming * OutName
2023-10-08object_redead_obj (#1417)Nuss
* naming * comment * Out Name * The Gibdo's Well Doors * naming * typos
2023-10-08naming (#1425)Nuss
2023-10-08object_f40_switch (#1418)Nuss
* naming * naming to gStoneTowerFloorSwitch
2023-10-08Object Name Cleanup (#1427)engineer124
2023-10-07Document object_skb (#1404)Zach North
* object_skb: Limb and Anim docs * object_skb: DL and text docs * Formatting changed files * Changed names for some bones to reflect oot names * updating some names to address code review comments * Whoops, forgot to change the name of MAX * Rename EnHinkSkbAnimation in src/overlays/actors/ovl_En_Hint_Skb/z_en_hint_skb.c Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> * Changed STALCHILD_ANIM_x to STALCHILD_HINT_ANIM_x * forgot to rename both parts of a typedef enum * gStalchildSwingOnBranch missing Anim tag Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> * Fixed all instances of gStalchildSwingOnBranchAnim --------- Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
2023-10-07object_comb (#1420)Nuss
* naming * OutName
2023-10-07ovl_En_Takaraya decompiled (#1409)Nuss
* EnTakaraya_Destroy * some matching * some matching * some matching * matched func_80ADF7CC * func_80ADEF74 wrong arg * data * clean up * improvements * actionFunc pointer * fake * improvements * improvements * naming for the bool * function naming * improvements * improvements * GET_PLAYER_FORM macro * macro
2023-10-07object_lightblock (#1414)Nuss
* naming * Original naming * sun block
2023-10-05Object Cleanup (#1410)engineer124
* object cleanup * namefixer * objectPtr * PR Review * PR Review * more uses of macro * missed another one
2023-10-05Skeleton and shin name cleanup (#1413)Tom Overton
* Skeleton and shin name cleanup * Use ANI_LIMB_MAX
2023-10-05z_kankyo pt 1 (#1377)Derek Hensley
* z64environment.h * remove todo * Cleanup * data + bss + 2 functions * Bring over simple functions * Remove lerp comment * code functions csv * Remove docs changes * ZBufValToFixedPoint * Remove leading 0's * SEGMENT macros * eventDayCount * format * z64bombers_notebook.h * fix merge * Comments --------- Co-authored-by: angie <angheloalf95@gmail.com>
2023-10-05Switch Flag Cleanup (#1406)engineer124
* cleanup switchFlag * more cleanup * switchFlags
2023-10-04Port Proposed OoT Object Docs (#1361)fig02
* port docs in z_scene * undo accidental ctrl-f * another fix * expose Object_SpawnPersistent --------- Co-authored-by: engineer124 <engineer124engineer124@gmail.com>
2023-10-04document object_kanban (cuttable sign) (#1364)MegaIDK
* initial commit of doc * comment * model and material * indeed c file exists * renamed confusing stuff * space Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> --------- Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
2023-10-04Z_message (2 NON_MATCHINGS) (#1398)Derek Hensley
* matched func_8014D62C * matched func_8014D304 * matched func_80149048 * matched func_80159438 & func_8014CDF0 * matched Message_GetState * matched func_80152CAC * matched func_80149454 * matched func_801491DC * matched func_80150A84 * matched func_801496C8 * matched func_80149C18 * func_8014995C progress * matched 8014995C * matched func_80153EF0 * fix MessageContext lottery guess array size to match func_801496C8 * matched 80148D64 * matched func_8014AAD0 * progress func_8014CFDC * matched func_8014CFDC * progress func_801514B0 * progress#2 func_801514B0 * matched func_801514B0 * progress func_8014C70C * Progress on few functions * fix some variables & func name * change unk11F00 type and usages * func_8014C70C matched * match func_8015268c * fix building * format * engi message WIP * enums, cleanup * missed one * oops * even more enums * another oops * func_8015E7EC NON_MATCHING * cleanup Message_DrawTextCredits * MSGMODE cleanup * import sFontWidths * Import z_message_nes data * Message_DrawTextNES draft * fix types in message_nes * Message_DrawTextNES NON_EQUIVALENT * Message_DrawTextNES improvement Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> * Import bss * fixes * Data clean up * Delete Message_Decode m2c output * Readd Message_Update data * import data * func declaration * cleanup * Language enum * fix naming, some flags * Update functions and variables related to the bombers notebook event queue. * Update renamed variables.txt * format * attempt Message_DecodeCredits * begin Message_DecodeNES * decode cleanup * incremental improvements on Message_DecodeNES * oops * more progress * first attempt at Message_Decode * cleanup Message_Decode * Message_Decode progress * good progress on decode loops * more progress * good Message_Decode progress, thank anon * decode creep * big improvements, thanks anon/hatal * small nes improvement * cleanup * match Message_DrawTextDefault, big progress on Message_DrawTextNES * namefixer for save structs * Some cleanup/fix non-equivalencies in decodes * cleanup * Small cleanup * func_80150A84 * TextBoxType enum usage * Format * match Message_DecodeCredit by Maide, small improvement in Message_DrawTextNES * comments * some docs * cleanup, improve matches * Some improvement Co-Authored-By: Santiago <github-santaclose-noreplay@NA.com> * Fixes * Missed * Match Message_DrawTextNES * Move functions to z64message.h * string macros * Small cleanups * 1 more small thing * decompme scratches * Cleanup * Item enum * PR * SEGMENT_ROM_START * PR * format * ocarina cleanup --------- Co-authored-by: andzura <andzura@andzura.fr> Co-authored-by: Angie <angheloalf95@gmail.com> Co-authored-by: engineer124 <engineer124engineer124@gmail.com> Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> Co-authored-by: Zoey Zolotova <zoey.zolotova@gmail.com> Co-authored-by: Santiago <github-santaclose-noreplay@NA.com>
2023-10-04`ovl_Bg_Dy_Yoseizo` and related docs (#1390)Anghelo Carvajal
* Add ido setting to permuter * OK * Data imported & named, change spec * Some easy naming * Cleanup * More object stuff and enums * Document EnDyExtra * Document DemoGetitem * Document DemoEffect * Some work on Elforg * Elforg params macro, some more on Elfgrp * Defines for number of fairies * Tweak some flags wording * Label beam * Elfgrp: Name most of the stray fairy handling stuff * cleanup * fix typo * GreatFairyAnimation * name animations * BgDyYoseizo_TrainPlayer * Choose behaviour? * fix merge * format * self review * WEEKEVENTREG_OBTAINED_GREAT_SPIN_ATTACK * jenkins * review * Update src/overlays/actors/ovl_Bg_Dy_Yoseizo/z_bg_dy_yoseizo.c Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> * review * Update src/overlays/actors/ovl_En_Elfgrp/z_en_elfgrp.c Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> * Update src/overlays/actors/ovl_En_Elfgrp/z_en_elfgrp.c Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> * Update src/overlays/actors/ovl_Bg_Dy_Yoseizo/z_bg_dy_yoseizo.c Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> * Update src/overlays/actors/ovl_En_Elfgrp/z_en_elfgrp.c * review --------- Co-authored-by: Elliptic Ellipsis <elliptic.ellipsis@gmail.com> Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
2023-10-03En_Encount3 decompiled (#1405)Nuss
* data * some matches * draw func * Update func * improvements * forgot extern * improvements * improvements * improvements * improvements
2023-10-03Speedmeter OK (#1393)Derek Hensley
* Match * data + bss * x * Small cleanup * maxVal * gUnkTimeAcc * SET_FULLSCREEN_VIEWPORT_HIRES * Update permuter settings * SET_FULLSCREEN_VIEWPORT_DYNAMIC
2023-10-01Animation Cleanup: En_J* (#1401)engineer124
* cleanup J * small fix
2023-10-01Animation Cleanup: En_K* (#1402)engineer124
* cleanup k * one more name