summaryrefslogtreecommitdiff
path: root/src/code
AgeCommit message (Collapse)Author
2024-09-12Add OOT_PAL_N64 and move other shorthands to versions.h (#2188)cadmic
* Move definitions of OOT_NTSC/OOT_PAL/OOT_MQ to versions.h * Add PAL_N64 shorthand
2024-09-11Colliders: colType -> colMaterial (#2186)Dragorn421
* colType -> colMaterial * fixups
2024-09-11Pause doc: Prompt page and save prompt state (#2170)Dragorn421
* Pause doc: Prompt page and save prompt state * bss * `QUAD_PROMPT_` -> `PROMPT_QUAD_` * `QUAD_MAP_WORLD_`, `QUAD_MAP_` -> `WORLD_MAP_QUAD_` * `PAUSE_QUAD_CURSOR_` -> `PAUSE_CURSOR_QUAD_` * `PAUSE_SAVE_PROMPT_STATE_RETURN_TO_MENU_ALT` -> `_2` * bss * bss * add comments to help clarify save prompt vs prompt
2024-09-11[ntsc-1.2] Match remaining functions (#2182)cadmic
* Match remaining ntsc-1.2 functions * "fake" -> "Fake match?"
2024-09-11[headers 14] libc64 headers (#2177)Dragorn421
* [headers 14] libc64 headers * bss * bss
2024-09-11[headers 12] Add kaleido_manager.h, move various protos to headers (#2174)Dragorn421
* [headers 12] add kaleido_manager.h, move various protos to headers * BSS * bss
2024-09-11Cleanup gSPMatrix, rename `Matrix_New` -> `Matrix_Finalize`, add ↵Dragorn421
`MATRIX_FINALIZE_AND_LOAD` (#1983) * clean up gSPMatrix usage * add weird hybrid macro gSPMATRIX_SET_NEW * Matrix_NewMtx, MATRIX_NEW -> Matrix_Finalize, MATRIX_FINALIZE * gSPMATRIX_SET_NEW -> MATRIX_FINALIZE_AND_LOAD * format
2024-09-10More target related state flags (#2184)fig02
* name some more flags * format * cdi suggestion
2024-09-09Boomerang related state flags (#2180)fig02
* boomerang state flags * finish comment
2024-09-08[headers 13] osMalloc.h -> include/libc64/os_malloc.h (#2175)Dragorn421
* [headers 13] osMalloc.h -> include/libc64/os_malloc.h * also update the #includes :)
2024-09-08Name `PLAYER_STATE1_ACTOR_CARRY` (#2173)fig02
* actor carry flag * format and add comments * comment changes
2024-09-08[headers 9] Add src/libc64/ and new "z64" rand.h (#2164)Dragorn421
* rand.h -> libc64/qrand.h * Add rand.h with z64 rand wrappers * yeet comment * code/rand.c -> libc64/qrand.c * fixup * move libc64 source to src/libc64/ * fix * bss * update file splits disasm metadata
2024-09-08Document `ACTOR_FLAG_SFX_` flags and functions (#2162)Dragorn421
* Document `ACTOR_FLAG_SFX_` flags and functions * format
2024-09-08[headers 11] stackcheck.h, jpeg functions (#2171)Dragorn421
* [headers 11] stackcheck.h, jpeg functions * bss
2024-09-08Player Docs - Parallel (#2167)fig02
* name func and flag * rest of the docs * format and comment change * comment
2024-09-07Pause doc: Cursor drawing (#2159)Dragorn421
* Pause doc: Cursor drawing * bss
2024-09-07Document Attention/Lock-on Related Actor Flags (#2161)fig02
* document actor flags 0, 2, 3, and 27 * format * fly -> hover * wodring
2024-09-07[headers 8] Add `main.h`, `segmented_address.h`, and changes for `main.c` ↵Dragorn421
symbols (#2151) * [headers 8] Add main.h and changes for main.c symbols * fix gSystemHeapSize is size_t only in MM * segmented_address.h * rm now useless include * actually commit segmented_address.h, oops * rm gGraphThread (faulty copypaste from MM) * bss
2024-09-07Match more GC button colors (#2156)cadmic
2024-09-07Target -> Attention (System Rename) (#2149)fig02
* TargetContext -> Attention * targetCtx -> attention * Target_ -> Attention_ * FindTargetableActor -> FindActor * targetableActorP -> attentionActorP * data vars (and 1 function I missed) * targetMode -> attentionRangeType * attention range enum comments * ATTENTION_RANGE_ * attention range data * TargetColor -> AttentionColor * missed one * fixup color variables * targetArrowOffset -> lockOnArrowOffset * focus pos comment * targetPriority -> attentionPriority * assets * loose-ends * Attention System Description * format * skj range type * enemy bgm
2024-09-07Fix some boot and code data (#2155)cadmic
2024-09-07Move `Graph_Alloc` and open/close Disps to `gfx.h` (#1976)Dragorn421
* move graph_alloc and open/close Disps to gfx.h * zcolchk bss reeeeeee * fix matching gc-eu-mq (bss) * remove __gfxCtx extern * revert makefile -Werror=implicit-function-declaration * bss
2024-09-07[ntsc-1.2] Match z_map_exp.c, z_map_mark.c (#2140)cadmic
* Match z_map_exp.c, z_map_mark.c * Format * DMA_REQUEST_SYNC -> DmaMgr_RequestSync * Remove Gfx forward declaration
2024-09-07Pause doc: World map points (#2141)Dragorn421
* Pause doc: World map points * bss * `WORLD_MAP_POINT_HYLIA_LAKESIDE` -> `_LAKE_HYLIA`
2024-09-07[headers 6] collision_check functions and structs (#2148)Dragorn421
* [headers 6] collision_check functions and structs * bss
2024-09-07[ntsc-1.2] Match z_file_choose.c and z_boss_tw.c (#2146)cadmic
* Match z_file_choose.c * Match z_boss_tw.c * Format * end: -> close_disps:
2024-09-06[ntsc-1.2] Match more draw functions (#2145)cadmic
* Match z_vr_box.c * Match TitleCard_Draw * Match z_player_lib.c? * Match Lights_Draw
2024-09-06T() macro 8 (#2142)Dragorn421
* T() macro in fault * T() macro in game.c, gfxprint.c * T() macro in ucode_disas.c * T() macro in z_actor.c * T() macro in z_message.c * push fault key combo T() * z_message T: koko -> "here" * format
2024-09-07[ntsc-1.2] Match z_actor_dlftbls.c (#2144)cadmic
* Match z_actor_dlftbls.c * Update src/code/z_actor_dlftbls.c Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com> --------- Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
2024-09-06Miscellaneous libultra header fixes (#2139)cadmic
* Miscellaneous libultra header fixes * Fix bss? * Reword RCP timeout
2024-09-06Clean up uses of !PLATFORM_N64 vs PLATFORM_GC (#2134)cadmic
* Clean up uses of !PLATFORM_N64 vs PLATFORM_GC * Put N64 button colors first
2024-09-06Move button macros to include/controller.h (#2138)cadmic
* Move button macros to include/controller.h * Fix z_mag button ordering
2024-09-05Document `Target_ShouldReleaseLockOn` [Target Docs 8/8] (#2135)fig02
* target range and leash docs * format
2024-09-05Update Room Documentation (#2015)mzxrules
* Update Room Documentation * Write more complete documentation, implement suggestions. * Function name changes; minor comment tweaks * nit * Resolve Dragorn fixes * Resolve Fig suggestions, fix comment wording * fix bss, fig suggestion * bss
2024-09-04Target Mode Enum [Target Docs 7/?] (#2133)fig02
* TargetMode Enum * format * add default comment * bss * bss 2 * fix bss 3
2024-09-04istargeted -> islockedon (#2132)fig02
2024-09-04Pause docs: `WorldMapArea` enum and related data (#2130)Dragorn421
* Pause docs: WorldMapArea enum and related data * `WORLD_MAP_AREA_20` -> `_QUESTION_MARK` * bss
2024-09-04Fix merge issue between z_message.c match and n64dd renames (#2131)Dragorn421
2024-09-05[ntsc-1.2] Match z_message.c (#2098)Dragorn421
* match Message_ResetOcarinaNoteState, Message_DrawTextChar * match Message_OpenText * Match Message_SetTables * Match Message_StartTextbox * forgor #if * format * match Message_DrawMain (ty inspect) * review
2024-09-05[ntsc-1.2] Organize n64dd declarations and convert to 1.0 addresses (#2127)cadmic
* Reorganize n64dd declarations * Fix bss * Really fix bss
2024-09-05unk_664 -> focusActor [Target Docs 5/?] (#2126)fig02
* unk_664 -> focusActor * capitalization * missed a temp
2024-09-04[ntsc-1.2] Partially match gfxprint.c (#2101)Dragorn421
* [ntsc-1.2] Partially match gfxprint.c * yeet bss * fix * review
2024-09-04[ntsc-1.2] Match __osMalloc.c and code_800FC620.c (new/delete) (#2106)cadmic
* Match __osMalloc * Match src/code/code_800FC620.c (new/delete) * Wrap versions-specific files in ifdefs to fix compilation * Fix bss * Remove {FAULT,RAND,OSMALLOC}_VERSION in favor of PLATFORM_N64 * Fix __osMalloc data splits, add unused strings * __osMalloc.h -> osMalloc.h * Fix merge
2024-09-04[ntsc-1.2] Match game.c, z_play.c, z_room.c (#2117)cadmic
* Match z_room.c * Match game.c and z_play.c * Add undefined syms * Rewrite condition based on other file matches
2024-09-04Match fp_math.c (#2116)cadmic
2024-09-04[ntsc-1.2] Update spec for boot and code (#2114)cadmic
* Update spec for boot and code * Fix merge
2024-09-03Rename FaultDrawer_ functions to Fault_ (#2113)cadmic
* Rename FaultDrawer_ functions to Fault_ * Rename FaultDrawer_Init to Fault_InitDrawer
2024-09-03[ntsc-1.2] Match z_camera.c (#2112)cadmic
* Add CAMERA_CHECK_BTN * Match Camera_Demo3
2024-09-03[ntsc-1.2] Match padmgr.c, sys_cfb.c, rcp_utils.c (#2111)cadmic
* Match padmgr.c * Match sys_cfb.c, rcp_utils.c * Format
2024-09-03Document Target_Update [Target Docs 4/?] (#2123)fig02
* document Target_Update * add comments * try CLAMP (dbg is ok but ci will check retail)