Luke Street
6a48380461
More GCC compatibility/warning fixes ( #3118 )
...
* 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-28 20:19:17 -08:00
Luke Street
c900a043b8
Some GCC compilation fixes ( #3114 )
...
* 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-28 12:11:00 -08:00
Max Roncace
1fba6e13e5
Use default parameter values in JORMContext calls where appropriate ( #3057 )
2026-01-19 18:18:30 -08:00
LagoLunatic
877889c510
Clean up code, remove fakematches, add UNUSED, enable warnings ( #2992 )
...
* 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-23 15:53:10 -08:00
Jcw87
2c62444df1
m_Do_main debug ( #2965 )
2025-12-19 21:22:03 +02:00
TakaRikka
a6e76c0841
project cleanup ( #2895 )
...
* 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-30 15:23:42 -07:00
TakaRikka
540217c31b
wii building OK / m_Do_graphic debug work ( #2815 )
...
* 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-17 20:01:03 +02:00
LagoLunatic
23a1c94063
Regalloc/debug/misc fixes ( #2794 )
...
* Fix "0" asserts
* More debug and regalloc fixes
* Fix PTMF syntax for compatibility with other compilers
* Fix some fakematches, link more TUs for J/P
2025-11-10 18:25:00 -08:00
TakaRikka
850fae1aa3
m_Do_main / f_ap_game / f_op_actor debug work and misc ( #2744 )
...
* m_Do_main / f_ap_game debug stuff
* revolution sdk compatibility
* f_op_actor debug work
* rename fopAcM_SetupActor to fopAcM_ct
* fix build
* fix jp/pal splits
2025-10-19 20:30:49 +03:00
LagoLunatic
9eea9289b1
Fix JUT_ASSERT and several other macros ( #2711 )
...
* 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-28 13:11:07 -07:00
Max Roncace
513816ce5c
Add a precompiled header for RELs ( #2597 )
2025-08-24 09:52:08 +03:00
Max Roncace
541501d781
d_a_balloon equivalent ( #2542 )
2025-07-19 22:20:19 +03:00
TakaRikka
e8e36445ba
cleanup d_meter2_info / little JMessage work ( #2460 )
...
* d_meter2_info cleanup
* parseBlock_next matching
2025-05-28 14:04:30 +03:00
TakaRikka
0e281cb975
various matches / cleanup ( #2271 )
...
* cleanup various TUs
* checkpoint
* d_attention doc
2024-12-29 17:53:54 +02:00
TakaRikka
24b72a5302
some cleanup of f_pc/f_op files ( #2254 )
...
* cleanup f_pc files
* cleanup f_op files
* fix a couple f_op_actor_mng functions
* minor JSystem work
2024-11-29 18:24:26 +02:00
TakaRikka
12eb254d76
switch to dtk setup ( #2203 )
...
* 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-10-10 08:29:58 -06:00