summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2023-03-30Effect table (#1209)Anghelo Carvajal
* effect_ss_table.h * monkaBSS * format * Remove InitVars extern headers * Remove `const` from InitVars * cleanup * cleanup * format * bss * bss * bss
2023-03-30`z_parameter`: Buttons (part 9) (#1192)engineer124
* import button docs * cleanup * sync timer val * add flag comments * Update src/code/z_parameter.c Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> * Update src/code/z_parameter.c Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> * Update src/code/z_parameter.c Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> * fix merge master --------- Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
2023-03-30Audio `sequence.c` OK and documented (#1201)engineer124
* import sequence docs * cleanup * do not need raw hex
2023-03-24`z64game_over.h` (#1183)Anghelo Carvajal
* z64game_over.h * format * Update include/z64game_over.h Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> --------- Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
2023-03-24THA docs (#1177)Anghelo Carvajal
* THA docs Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com> * format * namefixer * yada * remove zero pad comment * Update include/z64.h Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> * Update include/thga.h Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> * namefixer * bss * namefixer --------- Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com> Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
2023-03-23z_room (1 non-matching) (#1143)engineer124
* begin room docs and decomp * match Room_DrawImageSingle * match Room_DrawImageMulti * Room_AllocateAndLoad non-matching * big improvements on Room_DrawCullable * match Room_AllocateAndLoad * improvement? * cleanup * comments * cleanup * small pr suggestions * PR Suggestions * cleanup sceneCmds * some PR * PR Suggestions * more PR Suggestions * col to collision
2023-03-21Misc Cleanup 14 (#1214)Derek Hensley
* bgId * z64scene.h whitespace * SubS_ComputeTrackPointRot casts * Macros cleanup * ifs * Empty Loops * Lights_FindBufSlot void * SkelAnime_GetFrameData * }; * Struct inits * fs * @todo * Bug comments * EnPofusen and ObjUm * Trailing comma * Revert "bgId" This reverts commit eea073c5ac30fd41f50436eeade43a811d0f0981. * Revert "z64scene.h whitespace" This reverts commit 399fd57550b7536b357ab6283360042f2e3e1467. * Revert "SubS_ComputeTrackPointRot casts" This reverts commit dea896c8743475508a3c7391e9d19cdb6b63f6a7. * FAKE * Review * Format
2023-03-20Slowly Cleanup (#1213)Derek Hensley
* Add slowly.h * Init and destroy * File header
2023-03-16Document z_en_time_tag (#1140)engineer124
* time-tag docs * simplify enums * PR Reviews * PR Suggestions * small change * small fix * PR Suggestions * add extra func ref * rm raw text from first actor I decompiled * Stock Pot Inn * fix master merge
2023-03-15Audio `seqplayer.c`: AudioSeq_ to AudioScript_ (#1202)engineer124
* AudioSeq_ to AudioScript_ * Update src/audio/lib/playback.c Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> * format --------- Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
2023-03-09`z_actor` documentation pass (#1154)Anghelo Carvajal
* ActorContext_unk_1F4 * a * ACTOR_FLAG_IGNORE_QUAKE * ACTOR_FLAG_TALK_REQUESTED and ACTOR_FLAG_CANT_LOCK_ON * actorCtx->unkC => ctorCtx->halfDaysBit * HALFDAYBIT defines * actor.halfDaysBits * format * Actor_InitHalfDaysBit * Name actor-killing functions * cleanup variables.h a bit * DAWN * bss * Actor_RequestRumble and Actor_GetArrowDmgFlags * name vars of func_800BC620 * format * fix missing PLAYER_IA * Actor_OfferGetItem * Actor_SetClosestSecretDistance * freezeCategoryPlayerFlags1 Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com> * DROPFLAG_ * a * COLORFILTER * format * sCategoryFreezeMasks * Actor_OfferCarry * review Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com> * change hex to dec * COLORFILTER_INTENSITY_FLAG * format * review Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> * shiftedHalfDaysBit Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> * cleanup * Undo Actor_RequestRumble * Undo ACTOR_FLAG_IGNORE_QUAKE * format * Remove COLORFILTER_GET_BUFFLAG * Undo Actor_KillAllFromUnloadedRooms * format * Update Actor_OfferGetItem comment * Update Actor_OfferGetItem description * diving * bss * namefixer * format * speed * review --------- Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com> Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
2023-03-08Rename `GameInfo` to `RegEditor` (#1178)Anghelo Carvajal
* Rename RegEditor and move it to regs.h * bring over some minor doc from oot * add missing include * Update tools/disasm/variables.txt Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> * update comment * bss --------- Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
2023-03-08Stack cleanups (#1193)Anghelo Carvajal
* Use STACK and STACK_TOP everywhere * format * remove fake variable * bss * review Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> * Update src/boot_O2_g3/boot_main.c Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> * review * renames * more renames * and more * whoopsie, forgot those too * hopefully the last cleanup * forgot some stuff * a * bss --------- Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
2023-03-08Debug mode (#1185)Derek Hensley
* OK * Docs * PR * Format * Update include/z64debug_display.h Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> * Update include/z64debug_display.h Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> --------- Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
2023-03-07Misc cleanup 13 (#1189)Derek Hensley
* FaultAddrConv Functions * Invisible Ruppe macros * skybox * Z64 header defines * ActorId * remove i from KaleidoManager_FaultAddrConv * size_t and parens
2023-03-07z64frameadvance.h (#1182)Anghelo Carvajal
2023-03-07NPC Tracking (#1184)engineer124
* npc tracking * fix func declaration * more cleanup * rm named var * more cleanup
2023-03-07Documented `object_sth` and `object_ahg`, both used by `EnSth` (Moon gazer ↵Isghj
who wants to buy Ocean spiderhouse) (#1169) * object_sth/object_ahg: docs * Ssh: formatter * Apply suggestions from code review Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com> * Oops missed one Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com> * Seth: fixes * Sth: more requested changes * Apply suggestions from code review Co-authored-by: Tom Overton <tom-overton@users.noreply.github.com> * Sth/Ahg: requested changes * Apply suggestions from code review Co-authored-by: Tom Overton <tom-overton@users.noreply.github.com> * Sth: further function name requested changes * Sth: minor note * Sth: fix animation name * Sth: forgot to rename saved flag * Seth: change ocean wallet week reg name * Sth: some requested changes * Sth: fixed week event reg, added more * Sth/Ssh/Si: changed from two defines to 1 * Si/Sth/Ssh: mistook fanfare for sfx, token define renamed * Sth/Ssh/Sekihi: requested changes and some weekregflag docs * Sekihi: fix missing header for skull count * Sekihi: moved flag description to z64save * Sekihi: moved flag description to z64save * Sth: removed flag * Update include/z64save.h Co-authored-by: Tom Overton <tom-overton@users.noreply.github.com> --------- Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com> Co-authored-by: Tom Overton <tom-overton@users.noreply.github.com>
2023-03-04Introduce BgCheckFlags Defines (#1195)engineer124
* flags * cleanup * adjust comment
2023-03-04`z_fireobj.h` header (#1179)Anghelo Carvajal
* fireobj.h * name states and cleanups * minor cleanups * format * bss * review * bss * review
2023-03-03speedXZ -> speed (#1186)engineer124
* speedXZ to speed * brackets
2023-03-03Name `Actor_PlaySfx` and `Player_PlaySfx` (#1190)engineer124
* name funcs * namefixer * function comments
2023-03-02actor math cleanup (#1187)engineer124
2023-02-27`z_eff_footmark` cleanup (#1180)Anghelo Carvajal
* z64eff_footmark.h * arraycount and other clenaups * flag * extract data * gEffFootprints * singular * minor cleanup * review * pos * mf * format
2023-02-24TransitionFade OK (#1160)Derek Hensley
* Match fade * Some adjustments from OoT PR * Missed 1 * iREG(50) * Fill * Sync * PR review
2023-02-24WeekEventFlags: Entrance Cutscenes Watched (#1166)engineer124
* entrance regs * cleanup comments * add comment * comments * missed a space * fix placement of comment
2023-02-24EnGe2 (Gerudo in Purple) OK and documented, object_gla documented (#1071)EllipticEllipsis
* OK, data imported * Permuter settings * Name data, a few functions and variables, cleanup * Small amount of cleanup on some related actors * Oops * Document object * Type and other macros * Some cutscene stuff and temporary function names * Proper path function names * Name a couple more functions * A couple more function names * Name PathStatus enum * Name rest of functions and formalise the documentation a bit * Apply suggestions from code review Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> * limbs * Format * Review * format * weekeventregconvert and format --------- Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> Co-authored-by: angie <angheloalf95@gmail.com>
2023-02-21Debloating `z64.h` 1: Introducing `z64skybox.h` (#1150)Anghelo Carvajal
* z64skybox.h * Add a few placeholder values on the enum * Remove unused structs on z64.h * Update include/z64skybox.h Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> * move skybox functions * format * Revert ARRAY_COUNT(msg) * bss * whoops * Update include/z64.h Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> * SkyboxDraw -> Skybox_ * use enum in z_play * format --------- Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
2023-02-21Introduce `object_table.h` (#1136)Anghelo Carvajal
* object_table * segmentsymbols * format * review Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> * bss * add more descriptions to the object_table * DEFINE_OBJECT_SIZE_ZERO * Update include/tables/object_table.h Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com> * Rename `z_scene_dlftbls.c` to `object_table.c` * bss * bss * bss * bss --------- Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com>
2023-02-21Fbdemo (TransitionTile) OK (#1163)Derek Hensley
* Fbdemo OK * Cleanup * sync and format * Fix functions.h * format * SQ
2023-02-21Lens docs (#1123)engineer124
* match MirRay_ReflectedBeam * match Actor_DrawLensActors * match func_80B9E8D4 * lens docs * more lens docs * fix * cleanup * move define down * Actor_AddToLensActors * small comment adj * add one more comment * fix bss
2023-01-14Play (2 NON_MATCHINGS) (#1109)Derek Hensley
* Bring over progress from another branch Co-authored-by: Maide <34639600+Kelebek1@users.noreply.github.com> * cleanup, fake match Play_Init * small fixes * Some small cleanup * Match func_80165460 (from debug) * Match func_80165658 * Match func_80165DB8, func_80165DCC, func_80165DF0, func_80165E04 * Match func_80167DE4 (from debug) * Match func_80167F0C * Match func_80168DAC * Matched func_80169100 * Matched func_801691F0 * import D_801DFA18 * match Play_Main thanks to debug * cleanup * synray does it again * add docs from debug * fix func_801656A4 * more docs and cleanup * Match func_80166B30 and diff fake match in Init * import transition docs from OoT * Play Update, sort of * cleanup Play_Update * more cleanup * slightly more docs * small docs * Play_Draw WIP Thanks @petrie911 * progress? * two more matches * format * misc play docs * transitions cleanup * Motion Blur * Transitions * Fog * Bombers notebook + small cleanup * bss * Camera Functions * Picto functions * Init * MotionBlur Clean up * Floor Surface * Pictographs some more * regs * fix circular dependency problem * Cleanup PR commits outside play * namefixer * PR picto * PR audio * PR small clean ups * debug strings * Picto defines * bss * enums * remove void * typedefs * Hireso -> BombersNotebook * bss comments * bss and I8/I5 functions * Smaller PR comments * Transitions * Combine enums * Revert "Combine enums" This reverts commit 0da1ebcaed69a3ce0fbd5942460b67f80f0e15e7. * Fix Transition defines * RGBA16 macros * Unname * worldCoverAlpha * Rename Update and Draw * PR review, plus annotate bug * Clean up nonmatchings with a closer DrawGame * Format * New macros * UpdateMain and DrawMain * Fix merge * Small cleanups from PR * zFar * Intensity macros * Format * Remove bss comments * Compression/decompression * Small cleanup * Format * More PR cleanup * Cleanup picto stuff * format * Fix compression comments * Play processes state enums DONE -> READY * cutscene comment * fix bss Co-authored-by: Maide <34639600+Kelebek1@users.noreply.github.com> Co-authored-by: engineer124 <engineer124engineer124@gmail.com> Co-authored-by: petrie911 <pmontag@PHYS-S129.iowa.uiowa.edu> Co-authored-by: angie <angheloalf95@gmail.com>
2023-01-14sys_cmpdata OK (#1065)mzxrules
* sys_cmpdata decomp * implement suggestions * sys_cmpdata OK * format * implement suggestion * make bss data public * format bleh
2023-01-01Update MinimapList struct + ZAPD (#1165)Derek Hensley
* Update MinimapList struct * git subrepo pull --force tools/ZAPD subrepo: subdir: "tools/ZAPD" merged: "5786abbdd" upstream: origin: "https://github.com/zeldaret/ZAPD.git" branch: "master" commit: "5786abbdd" git-subrepo: version: "0.4.5" origin: "https://github.com/ingydotnet/git-subrepo" commit: "dbb99be"
2022-12-08`audio_thread.c` OK and Documented (code_80192BE0.c) (#1117)engineer124
* copy docs from audio * PR Suggestions Round 1 * more PR suggestions * fix bss * PR Suggestions * oops, duplicate * apply OoT Feedback, fix bss * cleanup * spacing * bss Co-authored-by: angie <angheloalf95@gmail.com>
2022-12-08Import `EnAObj`'s data and a few cleanups (#1111)Anghelo Carvajal
* try to import data * bss * spec * name actionfuncs * macros for params * review Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com> Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com>
2022-12-08code_801780F0 OK and documented, EnPaper documented (#1061)EllipticEllipsis
* File split * Split, OK and documented Co-authored-by: petrie911 <69443847+petrie911@users.noreply.github.com> Co-authored-by: engineer124 <engineer124engineer124@gmail.com> Co-authored-by: Synray <31429825+Synray@users.noreply.github.com> * Document relevant parts of DmBal * Some EnPaper docs * Document EnPaper * Name functions * Defake Actor_UpdateActor a bit * Reword * \cdot * Fiddle with the description of the DE again * Actually force is probably more correct * Probably time to stop fiddling * Format? * Review * Remove bug comment * Review * Rename to su_mtx, split off code_80140CE0 * Format Co-authored-by: petrie911 <69443847+petrie911@users.noreply.github.com> Co-authored-by: engineer124 <engineer124engineer124@gmail.com> Co-authored-by: Synray <31429825+Synray@users.noreply.github.com> Co-authored-by: angie <angheloalf95@gmail.com>
2022-12-08`z_parameter`: Main (#1157)engineer124
* main docs * formatting and bss issues * PR Suggestions * missed enums * better macros/enums * restrictions improvement, still wip * fix name, more common restriction patterns * more restrictions cleanup * rm comment
2022-11-21Use pointer types instead of s32 (#1151)louist103
* pointers * remove from segment_symbols * format
2022-11-20`z_parameter`: Time (1 non-matching) (#1144)engineer124
* import time docs * cleanup * fix display list * missed one * three-day events * PR Suggestions and cleanup * adjust comment * more macros * PR Suggestions * move InterfaceContext
2022-11-19`z_parameter`: Minigames (#1131)engineer124
* minigame docs * cleanup * vertices and cleanup * fix bss * change to perfectLetters * fix parameter static * more PR, namefixer * PR Suggestions
2022-11-08`z_parameter`: Textures (#1076)engineer124
* match and doc texture functions * name suggestions @Tharo * << 2 as much as possible * gfx * fix merge * texture docs
2022-11-07Fix last two functions in sys_math_atan (#1066)mzxrules
* Fix extra Atan2 funcs * format * make Math_GetAtan2Tbl private * rename Depr to XY * ./format.sh i loathe thee * namefixer.py changes
2022-11-06Rename `ActionParam` to `ItemAction` (#1069)Anghelo Carvajal
* Rename `ActionParam` to `ItemParam` * namefixer * ItemAction * merge issues * merge * fixes * format * renames * format * <= PLAYER_IA_MINUS1 * fixes * more fixes * e * revew * simple replace in namefixer * fixes * merge fixes * merge fixes
2022-11-06Player preparation 1 (#1058)Anghelo Carvajal
* Bring over new stuff from player.h * door type * PlayerModelGroup * CSMODE * PLAYER_PARAMS * functions.h * item.h * a * format * ED * stuff * Magic_Reset * bodyPartsPos * format * review Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com> Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> * format * params and fixes * GetItemId * yes * 2 * warnning * closestSecretDistSq Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com> * Name the other PLAYER_DOORTYPE * review Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> Co-authored-by: fig02 <fig02srl@gmail.com> * remove pyelftools * PlayerActionParam Player_GetExchangeItemId * Update include/z64animation.h Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> * bss * bss * fix linkanimation warning * bss * bss * format * fix * namefixer * format * fix * fixes * namefixer * bss * fixes Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com> Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> Co-authored-by: fig02 <fig02srl@gmail.com>
2022-11-05EnTest3 (Kafei) (#1013)petrie911
Co-authored-by: petrie911 <69443847+petrie911@users.noreply.github.com> Co-authored-by: Angie <angheloalf95@gmail.com>
2022-11-05Macros for `weekEventReg` and `eventInf` (#984)Anghelo Carvajal
* make macros * script * Use the script on the whole codebase * fix script * Rename GET to CHECk * More replacements * Update weekeventflags on schedule scripts * eventinf defines * eventinfconvert * run the scripts on the codebase * format * RACE_FLAGS * format * remove redundant parenthesis * format * add macros to permuter_settings * comments on WEEKEVENTREG_ * format * CHECK_WEEKEVENTREG_ALT * don't automatically generate the macros on the script to allow naming them * format D_801C66D0 a bit * add TODOs * Update src/overlays/actors/ovl_Boss_03/z_boss_03.c Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> * Update src/overlays/actors/ovl_En_Baisen/z_en_baisen.c Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> * Update src/overlays/actors/ovl_Boss_06/z_boss_06.c Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> * Update src/overlays/actors/ovl_Elf_Msg6/z_elf_msg6.c Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> * Update src/overlays/actors/ovl_En_Raf/z_en_raf.c Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> * review Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> * new files * format * weekeventreg * review Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> * review Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com> * update * format * review Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com> * flags * a * eventinf stuff * format * EnGakufu * flags * run the script * format * whoops * cleanup * fix * update weekeventregs * format * format * review * format Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com>
2022-11-03ovl_En_Kaizoku OK (#945)Synray
* ovl_En_Kaizoku OK * format.sh * Review changes Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> Co-authored-by: Isghj <42048411+isghj5@users.noreply.github.com> * Fix building * first pass * picto * format * object * sfx * morecleanup * and more naming * boyo * Update src/overlays/actors/ovl_En_Kaizoku/z_en_kaizoku.c Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> * Update src/overlays/actors/ovl_En_Kaizoku/z_en_kaizoku.c Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> * review Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> * Update src/overlays/actors/ovl_En_Kaizoku/z_en_kaizoku.c Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com> * Review Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com> * review Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com> * floats * steal some docs from OoT * review * format * sort * parens Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> Co-authored-by: Isghj <42048411+isghj5@users.noreply.github.com> Co-authored-by: angie <angheloalf95@gmail.com> Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com>
2022-10-28Add ALIGN16 to GRAPH_ALLOC (#1137)Derek Hensley
* Add ALIGN16 to GRAPH_ALLOC * format * DebugDisplay_PathDisplayList * 1 more * PR * Format * Reverse gfxHead and gfx * PR
2022-10-28Match func_80142440 (z_vr_box.c OK) (#1127)engineer124
* match func_80142440 * run full formatter * docs and cleanup * PR Suggestions