summaryrefslogtreecommitdiff
path: root/src/d/d_error_msg.cpp
AgeCommit message (Collapse)Author
2026-02-28More GCC compatibility/warning fixes (#3118)Luke Street
* Wrap >4-char literals in a MULTI_CHAR macro Modern compilers do not support CW's non-standard behavior with >4 char literals. We can, however, use a constexpr function to compute the u64 values directly. This leaves <=4 char literals unchanged. * Replace non-pointer usages of NULL with 0 * Define NULL to nullptr on C++11 and above * Fix more -Wpointer-arith and -Woverflow warnings * Replace u32/s32 with uintptr_t/intptr_t where appropriate * JSUOutputStream: Overload all standard int types
2026-02-28Another round of GCC fixes (#3115)Luke Street
* Fix remaining <string> -> <cstring> for GCC compilation (#3114 follow-up) MWerks' <string> header transitively includes C string functions (memcpy, strlen, strcmp, etc.), but GCC/Clang's <string> is the C++ std::string header. These files all use C string functions and should include <cstring> instead. * Use std::isnan instead of isnan for GCC compilation GCC's <cmath> places isnan in the std namespace. Using the unqualified isnan fails to compile with GCC/Clang. * Fix cCcD_Src types: s32 -> u32 for bitmask fields cCcD_SrcObjCommonBase::mSPrm, cCcD_SrcObjTg::mType, and cCcD_SrcObjAt::mType are used as bitmasks (SetType/SetSPrm take u32, MskType/MskSPrm use u32, values like 0xFFFFFFFF are common in aggregate inits). Change from s32 to u32 to match usage. Also fix AT_TYPE_WOLF_ATTACK/AT_TYPE_UNK to use unsigned literals, and remove now-unnecessary (s32) casts on hex literals in collision source data. * Mark dummy() functions as static to avoid multiple definition errors These decomp artifact functions have the same name and signature across TUs, causing linker errors when building as a single binary.
2026-01-19Fix misspelled dSv_config_language enum values (#3056)Max Roncace
2026-01-06f_pc mostly linked for Wii/Shield (#3015)Max Roncace
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-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-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-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-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-21d_a_obj_kznkarm OK (#2678)hatal175
* d_a_obj_kznkarm OK * d_a_title GZ2P01 Matching * More GZ2P01 Matches * d_s_name matching for PAL * d_msg_scrn_light Matching for PAL * d_menu_fishing Matches on PAL * d_file_sel_info Matches on PAL * d_a_npc_cd Matching on PAL * d_error_msg Matches on PAL * d_cam_param matches as is on PAL * Fix PAL JSystem and Z2AudioLib splits/symbols * Aligning the rest of TUs to compile on all GC versions
2025-08-24Several more TUs matching (#2601)Max Roncace
2025-08-24Add a precompiled header for RELs (#2597)Max Roncace
2025-06-18fix GC JPN dol splits / d_a_npc_prayer mostly done (#2488)TakaRikka
* jmessage cleanup pass * more JMessage cleanup * d_msg_class cleanup * fix a bunch of gc jpn dol splits * d_a_npc_prayer pretty much equivalent
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-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
2025-01-31Fix false pointer relocations in data breaking shiftability (#2296)LagoLunatic
* Fix false pointer relocations in data breaking shiftability * Update matDL_dis.py from tww * remove debug prints from matDL build script * matDL build rule: Allow specifying global/local scope * Use asset extraction for ShieldD * Set mode `+x` on executable Python scripts * set `+x` on matDL_dis
2024-11-12d_error_msg mostly done, little Z2LinkMgr work (#2248)TakaRikka
2024-11-03alink_grab done (#2234)TakaRikka
* work on alink grab * some grab work * grab almost done * finish alink grab * alink_wolf mostly done * fix cLib_minMaxLimit * alink guard mostly done * extract some embedded assets * extract grass data. wip, alignment wrong
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>
2024-04-12d_a_e_fz work, doxygen revamp (#2127)Pheenoh
* initial freezard actor struct + setActionMode OK * daE_FZ_Draw * setReflectAngle * mBoundSoundset * daE_FZ_Execute & execute * demoDelete * daE_FZ_Delete & _delete * CreateHeap * useHeapInit * cc_set * mtx_set * action WIP * way_gake_check * executeRollMove * executeMove * draw WIP * executeDamage * checkpoint * create * checkpoint * daE_FZ_c::executeWait * checkpoint * daE_FZ_c::damage_check almost done * rm asm * rm headers * setup_profile WIP + doxygen update * fix merge issues * docs fix? * fix2 * doxygen updates * setup g_profile_E_FZ, profile setup script WIP * update github actions * update progress.md
2024-01-20almost all of dolphin matched (#2036)TakaRikka
* TRK full match * remove trk asm * ar done * cleanup some dolphin headers * more dolphin cleanup * cleanup / GD fully matched * almost all of GX fully matched * GX / Mtx full matched * most of OS done * pad done * most of VI * remove asm * forgot couple vec funcs * couple JUtility matches
2023-08-16d_a_obj_carry work, SETUP_ACTOR macro, header cleanup (#1885)Pheenoh
* d_a_obj_carry work, SETUP_ACTOR macro * rm headers, add script * progress * macro rename, consistent spacing
2023-05-12Remove #includes from headers (#334)Jcw87
* add "global.h" to files that use it * add MSL_C includes to files that use them * remove dolphin includes from headers that don't need them * remove JSupport includes from headers that don't need them * remove JKernel includes from headers that don't need them * remove JUtility includes from headers that don't need them * remove J3D includes from headers that don't need them * remove J2D includes from headers that don't need them * remove JAudio2 includes from headers that don't need them * remove Z2AudioLib includes from headers that don't need them * remove JMessage includes from headers that don't need them * remove JParticle includes from headers that don't need them * remove SComponent includes from headers that don't need them * remove dol includes from headers that don't need them * sort includes
2023-03-07Misc Changes (#306)Pheenoh
2023-02-10d_a_dmidna OK / f_op + misc cleanup (#276)TakaRikka
* some f_op / d_insect cleanup * rename some vars according to tww * d_a_dmidna OK * remove asm
2022-07-04d_menu_save / pane_class / rename some data (#205)TakaRikka
* work on fop actor / actor mng, daalink, d_a_obj_item * d_a_title mostly decompiled * daalink / d_event / JMessage / dmsg_out_font work * msg_scrn_base / msg_scrn_boss * some work on mDo machine, d_menu_save, d_tresure, and various * remove asm * progress * finish d_menu_save / d_pane_class_alpha / d_pane_class / rename some data * rename more data * remove asm / progress * match all of d_pane_class * fixes / some dKankyo doc
2022-01-25d_kankyo_wether / d_eye_hl (#178)TakaRikka
* d_eye_hl / d_kankyo_wether wip * more d_kankyo_wether + format * remove asm * some d_kankyo wip * fix dccs vtable * some m_Do_graphic / d_meter2_draw work
2021-04-10moved strings + decompile simple store functionsJulgodis
2021-04-08demangle data-symbolsJulgodis
2021-04-07detect more floats/doubles, including from relocationsJulgodis
2021-04-06building RELsJulgodis
2021-04-01__sinit and progress script updateJulgodis
2021-03-31.dead section fixJulgodis
2021-03-30re-generate with bug fixesJulgodis
2021-03-29clang-formatJulgodis
2021-03-28dol2asm OKJulgodis
2020-08-29okunknown