summaryrefslogtreecommitdiff
path: root/src/d/d_bright_check.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
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-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-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-03-30Debug build now takes .alf as input instead of .dol (#2360)LagoLunatic
* Fix debug build * Debug build now takes .alf as input instead of .dol I had to manually remove the following line from symbols.txt for DTK to work: ``` .data = .sbss:0x8074C97C; // type:object size:0x4 scope:local data:byte ``` After that it built OK, and DTK automatically modified all other lines in symbols.txt. * Fix pragma in header messing up debug optimization level
2025-03-22Debug version now builds OK and all_source compiles (#2343)LagoLunatic
* Fix missing arg to JUT_ASSERT * Fix some MWCC version diff errors * Compile m_Do_ext, d_demo, actor_mng * Add VSCode task to quickly switch between versions * Unlink magLift for debug * Update the hash of the debug dol The old cbea5fa... hash here was for the dol generated by the alf2dol.py script, which produces incorrect alignment. The dol with the new hash can be obtained by using `dtk elf2dol` to convert the debug .alf file to a dol. The DOL now builds OK. * Fix all debug REL dtor splits All RELs now also build OK, meaning `ninja build/ShieldD/ok` now succeeds. * Add genMessage declarations to all HIO subclasses * Fixing more compilation errors * m_Do_mtx 100% on debug Cannot be linked due to weak function name mangling? * Improve various matches * Fix all remaining compilation errors * Fix new compilation errors from main * Fix retail regression * Link f_pc_profile_lst
2025-01-26Fix spurious differences when using `ninja diff` (#2294)LagoLunatic
* Fix spurious differences when using ninja diff * Fix some clangd errors/warnings
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-02-17d_map OK (#2074)TakaRikka
2024-01-17d_timer / d_bright_check done (#2034)TakaRikka
* d_bright_check mostly fixed * d_timer done * remove asm
2023-09-18d_menu_insect basically OK, optimizations, match one func in d_menu_ring (#1934)Trueffel
* next d_menu_insect pass * work on d_menu_ring & d_menu_insect * d_menu_insect basically OK * remove unused asm
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-08-10d_file_select work + misc changes (#1873)Pheenoh
* setup TU * JASResArcLoader OK * d_a_obj_stoneMark work * some funcs in d_a_obj_stoneMark * many changes * quat, d_a_obj_stone, d_a_alink, fix python script, tidy makefile * d_file_select functions + pr cleanup * match many dfile_select_c methods * m_Do_main OK * selFileWakuAnm & bookIconAnm * selCopyFileWakuAnm & copyBookIconAnm * dataDelEffAnm & dataCopyEffAnm * selectDataBaseMoveAnmInitSet & selectDataBaseMoveAnm * dataSelectIn * _move & dataSelectInit * match a few more * comment * J2DPicture::drawTexCoord * draw_function * dScnPly_Create + fix typing on request_of_phase_process_fn * checkpoint * checkpoint * checkpoint * checkpoint 2 (fixed) * dFile_select_c::dataSelectAnmSet * dFile_select_c::selectDataOpenMove * dFile_select_c::copySelMoveAnmInitSet * fix brightcheck issues * rm comments, fix status update * small mod to pr template
2023-06-09JASSeqCtrl OK + misc functions (#346)hatal175
* JASSeqCtrl OK + misc functions * Work on JASAudioThread
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