summaryrefslogtreecommitdiff
path: root/src/d/d_kankyo.cpp
AgeCommit message (Collapse)Author
2026-04-10Replace magic constants derived from framebuffer size (#3144)Max Roncace
2026-03-17Fix a bunch of compiler warnings and document several more bugs (#3130)Max Roncace
2026-03-09Actor status consolidation & process profile definition editing (#3117)Huitzi
* Consolidate fopAcM_STATUS into fopAc_Status_e * Add _e suffix to fopAcStts enums * Prepare for profile enumeration * Correct typo in scene_process_profile_definition * Manually handle g_profile_Obj_DamCps (inline preprocessing) * Correct g_profile_TAG_LV5SOUP procname to enum * Create d_priority.h * Update process profile definitions * Moved inline comments to the left * Add missing fopAcStts enums * Add d_priority.h include in f_pc_leaf.h * Manually update d_a_obj_damCps profile * Replace fopAcStts enums replacing and anticipatory profile size correction * Changed profile size from literal to sizeof() in anticipation of PR #3116 * Provided putative names to staff-related status enums * Replaced appropriate literals with fopAcStts enums * Fix borked merge * Rename item number enums and move to d_item_data.h * Rename process profile name & draw priority enums * Move process profile name & draw priority enums to appropriate files * Moved fpcNm_ enums from d/d_procname.h to f_pc/f_pc_name.h * Moved fpcDwPi_ enums from d/d_priority.h to f_pc/f_pc_draw_priority.h * ACTUALLY (whoops) stage merge * Correct item mistranslation Co-authored-by: LagoLunatic <LagoLunatic@users.noreply.github.com> --------- Co-authored-by: LagoLunatic <LagoLunatic@users.noreply.github.com>
2026-03-06d_s_room / d_s_name / d_a_title debug work (#3123)TakaRikka
* d_s_room / d_s_name debug work * camera_class rtti fix * d_a_title debug / handle shield rel changes * fix shield build * fix regressions
2026-03-01Reorganize library code into `libs/` (#3119)Luke Street
* Reorganize files into libs/{dolphin,JSystem,PowerPC_EABI_Support,revolution,TRK_MINNOW_DOLPHIN} * Update configure.py and project.py for new libs structure * Refactor `#include <dolphin/x.h>` -> `<x.h>` * Remove `__REVOLUTION_SDK__` forwards from dolphin * Fix dolphin/ references in revolution * Wrap `#include <dolphin.h>` in `!__REVOLUTION_SDK__` * Always build TRK against dolphin headers * Resolve revolution SDK header resolution issues
2026-02-28Some GCC compilation fixes (#3114)Luke Street
* Fix 6-byte multichar literals * Add `struct` to `e_ga_class::ga_s` * Fix remaining wrong forward declares (struct/class) * Replace `#include <string>` with `#include <cstring>` * Guard FLT_EPSILON define to prevent redefinition * Add missing `#include <cstring>` for direct cstring function usage
2026-02-20Big cast cleanup (#3076)roeming
* Big cast cleanup * fix for name conflict * rename header * rename cast macros * fix rename mistake --------- Co-authored-by: roeming <roeming@users.noreply.github.com>
2026-01-29Add configuration for DZDE01 (USA kiosk demo) (#3073)Max Roncace
2026-01-19Use default parameter values in JORMContext calls where appropriate (#3057)Max Roncace
2026-01-13standard compiler compatibility changes (#3040)kipcode66
* move math to cmath * replace stdarg to cstdarg * change stdint to stdint.h * minor fixes * change stdio to cstdio * change stdlib to stdlib * renamed ctype to cctype * fix missing argument for UNSET_FLAG
2026-01-05Add guards around std library headers (#3013)kipcode66
* Last fix for standard compiler error * adding define guards around headers * rename cmath.h and climits.h to cmath and climits respectively * renaming cstdarg.h to cstdarg * renaming cstdlib.h to cstdlib * renaming cstring.h to cstring * renaming cstdio.h to cstdio * renaming cmath locale ctype * renaming stdarg string and va_list * renaming cstddef * renaming stdio stddef stdlib * renaming algorithm, functional, iterator, memory, and utility * renaming bitset, cstdint, limits, and stdint * renaming new and type_traits * update quote includes for standard library headers to angle bracket includes
2025-12-24Resolve all gameInfo fakematches (#2995)LagoLunatic
* Clean up various inlines/fakematches/comments * Copy OptRuby inline name from TWW debug * Resolve all dEvt_control_c related fakematches, return pointer instead of reference * Fix some more missing inline usages
2025-12-23Clean up code, remove fakematches, add UNUSED, enable warnings (#2992)LagoLunatic
* Remove NDEBUG_DEFINED fakematch, clean up getName temps * Fix ifdef * Fix bad JSystem pch ifdef breaking decomp.me * Remove Acch Chk fakematches * Private Acch fields * Fix some clangd errors in headers * Add UNUSED macro for matching debug parameters * Enable clangd unused-parameter warning * Remove extern from initializers Probably added by dol2asm? * Fix process profile definitions * Remove leftover dol2asm address comments * Remove some unnecessary double casts * Enable some more clangd warnings * Fix missing usages of fopAcM_ct * Fix wrong enum usage * Fix more fakematches
2025-12-23MSL_C header cleanup (#2988)TakaRikka
* msl_c header cleanup * math header cleanup * fix rest of shieldD configs * cleanup cflag configs a bit * fix shield build
2025-12-19m_Do_main debug (#2965)Jcw87
2025-12-08Improving standard compiler compatibility (#2926)kipcode66
* Adding explicit dolphin/ prefix & fix characters * Rename ShiftJIS to SJIS * Separate JASSeqReader read methods implementation between compilers. * Fix pointer.h * fix d_item_data typo * fix gcn matching issue
2025-12-07match debug for D_menu_fmap2_d (#2925)roeming
* menu_fmap2d debug progress * match debug for d_menu_fmap2D * fix broken function * fix weird shield mismatch * fix other shield mismatch * fix suggestions * fix func for wii version * match func for all versions * remove cast from saveBitLabels
2025-12-06Improving compatibility with standard cpp compiler (#2920)kipcode66
* Improving compatibility with standard cpp compiler * Add __REGISTER macro for non mwcc compatibility * Fix for PR comments * fix missing define for revolution * Simplifying cSAngle conversion
2025-12-06Fix const loop invariant issues (#2921)LagoLunatic
* Fix const loop invariant issues by defining explicit operator= for structs * Fix J2DMatBlock weak func order
2025-12-06d_kankyo debug work (#2918)Max Roncace
* Global: Define DEBUG as 0 if not already defined * Clean up DEBUG-guarded code * d_kankyo debug almost matching
2025-12-06Various debug conditional compilation cleanup (#2915)Max Roncace
* Global: Define DEBUG as 0 if not already defined * Clean up DEBUG-guarded code
2025-11-30project cleanup (#2895)TakaRikka
* some wii OS fixes * remove old dol2asm comments * remove dol2asm.h * remove function address comments * normalize ATTRIBUTE_ALIGN usage * DECL_WEAK macro * fix gcc attribute weak macro * wrap more mwcc specific things in ifdefs * fixes * fix revo sdk version flags * fixes
2025-11-26d_kankyo matching (#2872)Max Roncace
2025-11-21Misc matches (#2845)LagoLunatic
* Misc debug matches * Fix d_map weak function order * Remove old nonmatching comments * d_menu_dmap and JASAudioThread OK, fix weak func order and rodata alignment * More misc matches
2025-11-17wii building OK / m_Do_graphic debug work (#2815)TakaRikka
* wii building OK + m_Do_graphic debug work * d_meter_HIO debug cleanup * wii m_Do_graphic stuff * tag_attack_item OK, mirror_chain almost * fix build * mg_fshop matching
2025-11-09Debug work + some retail regalloc fixes (#2787)LagoLunatic
* Debug work + some retail regalloc fixes * Use AUDIO_INSTANCES in places it's missing, link d_a_e_bee * Link m_Do_machine * Fix clang putting other includes before the pchs * Link some more debug TUs that already match
2025-10-28kankyo / m_do_ext debug stuff (#2759)TakaRikka
* kankyo debug work * finish draw packets
2025-10-17Some henna documentation (#2739)Luzagar
* henna minor cleanup * rename light to kankyo * more cleanup * pos * more cleanup * fix build * final fix
2025-09-28d_a_e_ge OK and linked (#2707)Trueffel
* match one func and remove old comments * d_a_e_ge matching and linked * format files * some docs * try pal and jpn too * remove comments * merge upstream
2025-09-28Fix JUT_ASSERT and several other macros (#2711)LagoLunatic
* Fix JUT_ASSERT to be a nested define * Switch names that appear in asserts to be constants instead of defines * Replace `0` in asserts with `NULL` or `FALSE` * Fix fpclassify * Fix ARRAY_SIZE * Use G_CM3D_F_INF * More fixes for fpclassify * Remove FLOAT_LABEL * Remove incorrect FLAG_ON macro * Remove UNK_BSS macro * Silence clangd unused header warning for PCH
2025-09-17More miscellaneous TU improvements (#2665)Max Roncace
2025-09-03d_camera improvements (part 1) (#2623)Max Roncace
* Rename several dCamera_c fields * Refactor mWork to generic buffer instead of union * d_camera match improvements * Implement several dCamera_c functions * Remove d_camera.h from PCH The symbol names in d_camera indicate that this header wasn't included in the PCH (as they're compiled directly in d_camera.cpp).
2025-08-24Add a precompiled header for RELs (#2597)Max Roncace
2025-05-22Update dtk-template (#2453)LagoLunatic
* Update dtk-template * Fix debug build * Fix d_event_debug includes * Progress reports: Enable function relocation diffing (data_value) * Fix some diffs * Fix a few more diffs * More fixes
2025-04-13d_stage cleanup (#2392)LagoLunatic
2025-04-08JSystem work (#2384)LagoLunatic
* object-id 100% on debug Can't be linked due to .text alignment issues? * J3DMaterialFactory and J3DMaterialFactory_v21 OK * Match dKy_bg_MAxx_proc
2025-04-01d_camera work (#2369)Caroline Madsen
* bumpCheck matching * checkGroundInfo matching * chaseCamera matching * lockonCamera attempted * talktoCamera matching * subjectCamera, magneCamera matching * colosseumCamera close, plus various fixes * towerCamera attempted * hookshotCamera matching
2025-03-23b_gnd equivalent (#2340)TakaRikka
* b_gnd equivalent * fix dEvt_info_c inlines * fix some more inlines
2025-03-15passer_mng work (#2328)hatal175
2025-03-14b_dr equivalent, update dtk-template (#2327)TakaRikka
* d_a_tag_allmato almost done * d_a_swhit0 done * some SSystem cleanup * treesh done * swball done, some other rel cleanup * b_dr equivalent * update dtk-template * rename j3dframectrl mode enum
2025-02-23d_a_npc work (#2306)Caroline Madsen
2025-02-10copy dolsdk2004 to tp / b_bh + e_mb done (#2299)TakaRikka
* move dolsdk2004 over * cleanup some temp work * finish and cleanup gf * b_bh done * d_a_e_mb done
2024-12-24kankyo mostly done (#2269)TakaRikka
* work on kankyo * some more kankyo work * kankyo almost done * kankyo mostly done * first cleanup pass * some more renaming * rename a bunch of kankyo vars * fix regression
2024-12-18kankyo_rain / obj_life_container mostly done, obj_glowsphere done (#2266)TakaRikka
* obj_life_container mostly done * obj_glowSphere done * kankyo_rain mostly done * some cleanup * more kankyo_rain cleanup
2024-12-10tbox/camera/d_bg_w_kcol work and cleanup (#2262)TakaRikka
* some camera/tbox cleanup * d_bg_w_kcol work * make item name enum better
2024-11-29some cleanup of f_pc/f_op files (#2254)TakaRikka
* cleanup f_pc files * cleanup f_op files * fix a couple f_op_actor_mng functions * minor JSystem work
2024-11-01J3DMatBlock, J3DMaterialFactory work (#2233)Caroline Madsen
2024-10-17cleanup (#2216)Caroline Madsen
2024-10-12d_a_alink work / bump dtk version (#2205)TakaRikka
2024-10-10switch to dtk setup (#2203)TakaRikka
* switch to dtk setup * some cleanup / fixes * cleanup d_a_alink literals * Restore doxygen, update CI & README.md (#1) * Fix build image ref (#2) --------- Co-authored-by: Luke Street <luke@street.dev>