Commit Graph

83 Commits

Author SHA1 Message Date
Yanis
b65f664159 Started Debug Menu (#104)
* started basic debugger

* documentation and added rectangle configurator

* updated f3dex3 patches + made some for profiling stuff

* started profiler

* fix issues and moved profiler functions to gamestate/hide by default

* fix folders not being created properly

* started menu

* memory management

* fix english

* debug disp

* started collision view

* improvements

* basic collider view

* revert profiler changes

* improvements
2024-05-08 12:04:46 +02:00
Yanis
4b0858ec14 Add Gamecube support (#102)
* updated gzinject to use cadmic's iso support

* first part

* changes

* fixed gzinject issues (cadmic)

* fixed issue where last scene doesn't get its romend

* fixed small "issue" with iso terminal printing

* better safeguard for f3dex3

* fixed libultra issues (thanks to cadmic)

* revert unwanted change

* small fix
2024-05-08 11:58:56 +02:00
Yanis
a10bfb24e5 Added a config file for memory stuff (#100)
* memory management

* fix english

* debug disp
2024-04-25 22:14:57 +02:00
Yanis42
3f2fd94500 Merge remote-tracking branch 'decomp/main' into v2 2024-03-05 16:35:42 +01:00
Dragorn421
5c3a722aca Fixup permuter_settings (#1746)
* fix how permuter imports PRINTF macros wrt the ido-has-no-variadic-macros hack

* more permuter_settings fixups
2024-02-20 07:38:58 -05:00
Yanis42
b158d97209 replaced oot_debug by is_debug and proper check for hackeroot on/off 2024-02-03 23:09:03 +01:00
Yanis42
14c6526f35 fixed kanfont issue + renames 2024-02-03 22:59:58 +01:00
Yanis42
65ef8b5115 fix camera not updating 2024-02-03 19:48:10 +01:00
Yanis42
1ae788b208 fix issues 2 2024-02-03 19:06:20 +01:00
Yanis42
879fe98a1e Merge remote-tracking branch 'decomp/main' into v2 2024-02-03 17:40:34 +01:00
Yanis42
1bf7f41748 macros for "is debug and feature enabled" 2024-02-03 17:31:58 +01:00
Yanis42
dc651efdbe debug features part 2 2024-02-03 17:02:10 +01:00
cadmic
178e95ae50 Give debug_malloc.c the same treatment as system_malloc.c and z_malloc.c (#1700) 2024-02-03 10:59:25 -05:00
cadmic
67d4f0f36a Match retail z_skin.c, z_skin_awb.c, z_skin_matrix.c (#1697)
* Match retail z_skin_matrix.c

* Match retail z_skin_awb.c

* Match retail z_skin.c

* Remove same-line hacks
2024-02-02 13:29:58 -05:00
cadmic
4e2d2885bc Match retail padmgr.c and sys_rumble.c (#1693)
* Match retail padmgr.c

* Match retail sys_rumble.c

* Poke jenkins
2024-02-02 12:25:44 -05:00
engineer124
1e21f69b37 z_play retail OK (#1688)
* z_play OK

* cleanup spacing

* PR
2024-02-01 17:00:27 -05:00
Tharo
5e8e01f110 z_view.c gc-eu-mq OK (#1681)
* z_view.c retail

* Replace PERSPECTIVE_EDITOR_ACTIVE, adjust PRINTF selection condition

* Macro-ify View_ErrorCheckEyePosition
2024-01-31 20:09:16 -05:00
cadmic
4bd005520d Remove a double #endif (#1672) 2024-01-30 20:15:57 -05:00
cadmic
9816f62129 Define OOT_DEBUG=0 in retail builds (#1658)
* Define OOT_DEBUG=0 in retail builds

* Fix ifndef

* Replace VI_MODE_EDITOR_INACTIVE

* Revert "Replace VI_MODE_EDITOR_INACTIVE"

This reverts commit f7c4cae7c3b3d9fdc56e97183690c05f2dcec215.

* Replace VI_MODE_EDITOR_INACTIVE, take 2

* Revert EnBom_Draw
2024-01-30 13:54:38 -05:00
Yanis42
9f169a67cd Match `game.c` - OK (#1644) 2024-01-29 15:27:29 -05:00
cadmic
90a6268460 Test for __sgi instead of __GNUC__ for PRINTF macro (#1612) 2024-01-18 08:47:22 -05:00
cadmic
6b5533ccd9 Create debug macros for LogUtils functions (#1610) 2024-01-16 09:59:02 -05:00
cadmic
324db1d578 Replace most osSyncPrintf calls with PRINTF macro (#1598)
* Replace most osSyncPrintf calls with PRINTF macro

* DEBUG -> OOT_DEBUG
2024-01-12 10:38:13 -05:00
cadmic
cd917b0cb8 Create debug macros for common functions (#1597)
* Create debug macros for common functions

* Revert NDEBUG change

* MALLOCR -> MALLOC_R

* DEBUG -> OOT_DEBUG

* Use the same name for debug and non-debug matrix functions

* Fix file/line argument order

* Revert g[s]DPNoOp[Tag]

* Use SystemArena_MallocDebug directly in GameAlloc_MallocDebug

* MTXF_TO_MTX -> MATRIX_TO_MTX
2024-01-09 07:59:03 -05:00
Tharo
3475651701 libc cleanup (#1568)
* libc cleanup

* Suggested changes, small alloca tweak

* Remove printf include
2023-10-27 16:06:44 +02:00