TakaRikka
3623b27f37
Revert "Isolate JKRHeap operator overloads" ( #39 )
2026-03-06 19:49:35 -08:00
PJB3005
3ffc3266d7
Merge branch 'main' into 26-02-27-allocator-isolation
2026-03-05 00:15:09 +01:00
Luke Street
4df8ccc871
Reorganize library code into libs/ ( #3119 )
...
* 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-03-01 14:35:36 -08:00
Luke Street
29c96f5c65
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
PJB3005
038ef4216f
Isolate JKRHeap operator overloads
...
Fixes #25
This isolates the JKRHeap operator new/delete overloads. Every single new/delete site in the code has been replaced with a macro.
Sadly for new[] and delete[] we have to keep global operators. The global new[] just allocates into malloc() however, and delete[] goes into free() if it's not in a JKRHeap. So that's fine.
2026-02-27 23:11:59 +01:00
roeming
07ef4b6d26
Big cast cleanup ( #3076 )
...
* 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-02-20 02:48:29 -08:00
TakaRikka
c9e2a73dda
general cleanup, d_menu_quit / d_a_obj_testcube mostly done, d_msg_scrn_explain debug ( #3065 )
...
* typedef for cPhs_Step
* make sdk includes consistent
* d_menu_quit / d_msg_scrn_explain debug
* d_a_obj_testcube mostly done
* d_debug_pad mostly done
* jstudio tool library headers
* some JStudioCameraEditor headers
* d_jcam_editor mostly done
* try fixing some shield regressions
* d_bg_parts mostly done
* fix merge errors
* debug fix
2026-01-24 23:36:23 -08:00
roeming
0571b8c22d
fopAcM_Register cleanup (#3047 )
...
* use macro `fopAcM_Register` more consistently
* replace fopAcM_RegisterCreateID with version that doesn't create `a_this`
2026-01-17 15:52:32 +02:00
kipcode66
9b7e55965f
standard compiler compatibility changes ( #3040 )
...
* 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-13 00:48:25 +02:00
roeming
6906b0b4c8
attempt 2 at d_a_cow debug work ( #3030 )
...
* transfer cow progress
* fix symbol names
* Fix shield names
* typo
* remove predefined macro
2026-01-12 22:17:09 +02:00
LagoLunatic
e8c70fb18f
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
kipcode66
bda8dc6af8
4th round of standard compiler fixes ( #2984 )
...
* 4th round of standard compiler fixes
* use of fpcM_ERROR_PROCESS_ID_e in gWolfBustersID
2025-12-22 02:20:08 -08:00
TakaRikka
dfa8efa97b
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
LagoLunatic
6ec6fce8cb
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
TakaRikka
ab64210b40
npc_kakashi done ( #2651 )
2025-09-13 00:29:20 +03:00
TakaRikka
5fce8ea1e1
scannon / scannon_crs / scannon_ten done ( #2632 )
...
* scannon done
* scannon_crs done
* scannon_ten done
* pr
* attention debug stuff
* attn flags
* fix build
2025-09-08 12:01:20 +03:00
TakaRikka
87069235c0
some J3D/misc cleanup ( #2628 )
...
* some j3d cleanup
* begin using uintptr_t
* j3dgraphbase cleanup
* j3dgraphanimator cleanup
2025-09-04 17:56:59 +03:00
Max Roncace
30afae62d1
d_camera improvements (part 1) ( #2623 )
...
* 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-09-03 10:32:02 +03:00
Max Roncace
c897597fc1
Add a precompiled header for RELs ( #2597 )
2025-08-24 09:52:08 +03:00
hatal175
5b8f2102e7
Sakuita rope Matching ( #2470 )
...
* Change dComIfGp_getAttention to return a pointer
* d_a_obj_sakuita_rope Matching
2025-06-01 20:36:19 -07:00
LagoLunatic
a87e831b18
Fix dPnt struct ( #2361 )
...
* Fix dPnt struct
* Fix Vec warning
2025-03-30 15:45:59 -07:00
soruh
0e90acdb9f
Name d_a_cow Animations ( #2355 )
...
* name d_a_cow animations
* name run type according to animation name
2025-03-27 20:12:13 -07:00
soruh
8e562847be
d_a_cow Equivalent ( #2353 )
...
* decompile d_a_cow
* rescope enums to daCow_c class
* apply suggestions by TakaRikka
* fix JUT_ASSERT
2025-03-27 17:56:51 -07:00
TakaRikka
b5b157ab34
d_a_horse mostly done ( #2284 )
...
* checkpoint
* d_a_horse mostly done
* some horse doc
2025-01-09 15:45:46 +02:00
TakaRikka
073992df8d
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
178194ccb2
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