Commit Graph

1406 Commits

Author SHA1 Message Date
Alexandre-Xavier e4742bcafb Fix array out of bound in decoder.c 2023-08-29 01:07:44 +00:00
Ryan Dwyer d7926f12ad Fix incorrect rounding in C version of sinf 2023-08-20 16:34:38 +10:00
Ryan Dwyer d7c94b4d04 Fix UB in modelasm chrinfo handler 2023-08-19 19:14:10 +10:00
Ryan Dwyer 032c5166f4 Fix improper casting of model rwdata 2023-08-19 19:01:00 +10:00
Ryan Dwyer 24657743ff Fix mtx3Copy in C translation 2023-08-15 22:28:11 +10:00
Ryan Dwyer cef885db72 Replace a heap of literals, mostly in sound code 2023-07-07 22:10:48 +10:00
Ryan Dwyer 3b4451a2d1 Name more pak symbols 2023-06-25 22:33:57 +10:00
Ryan Dwyer 83e8265d5b Introduce RoomNum typedef 2023-06-20 19:14:13 +10:00
Ryan Dwyer c55f9c805c Decompile viUpdateMode 2023-06-18 19:43:27 +10:00
Ryan Dwyer a53320f35a ntsc-beta: Decompile mainInit 2023-06-18 10:28:15 +10:00
Ryan Dwyer 38c478259f Name and document pathfinding functions 2023-06-13 21:44:29 +10:00
Ryan Dwyer b97228e682 Fix beta builds when DEBUG is not defined 2023-06-03 12:43:56 +10:00
Ryan Dwyer 1df5e4dc51 Document propsnd functions 2023-06-03 11:17:22 +10:00
Ryan Dwyer 2e386f7a34 Use ARRAYCOUNT in many more places 2023-05-28 00:48:58 +10:00
Ryan Dwyer 5255f7c346 Use Vtx/Col instead of struct gfxvtx, struct colour and u32 2023-05-27 13:22:14 +10:00
Ryan Dwyer d5a21a8459 Replace gDPSetVerticeArray with gSPVertex, rename gDPSetColorArray to gSPColor and rename gDPTri4 to gSPTri4 2023-05-27 10:27:15 +10:00
Ryan Dwyer a8d92b1845 Replace calls to SetCombineLERP with custom modes 2023-05-24 18:24:28 +10:00
Ryan Dwyer 92075c6fe7 Name almost all BG symbols 2023-05-23 19:37:20 +10:00
Ryan Dwyer 4017d5cba5 Rename vm.c to vminit.c, tlb.s to vm.s and annotate vm.s 2023-05-21 15:54:54 +10:00
Ryan Dwyer b4355ab55f Annotate exceptasm.s 2023-05-20 16:43:48 +10:00
Ryan Dwyer 21cda43806 Use li and move pseudo instructions in ASM where possible 2023-05-20 00:08:54 +10:00
Ryan Dwyer 134ca8206f Introduce NUM_FRAMEBUFFERS and NUM_GFXTASKS constants 2023-05-15 12:42:13 +10:00
Ryan Dwyer 8559aeed1f Introduce FBALLOC and SCREEN constants for dimensions 2023-05-14 13:00:29 +10:00
Ryan Dwyer 73fc947f44 Name and document z-buffer functions 2023-05-14 09:23:24 +10:00
Ryan Dwyer 7349c3b172 Create functionally equivalent C for handwritten modelasm functions 2023-04-30 22:51:02 +10:00
Ryan Dwyer 63c57f9075 Rename some scheduler symbols and message queues 2023-04-24 20:13:33 +10:00
Ryan Dwyer 2d0c0583de Decompile cdExamCylMove01 2023-04-12 22:32:42 +10:00
Ryan Dwyer 4651682d76 Decompile animReadBits 2023-04-12 21:31:02 +10:00
Ryan Dwyer edebe0b1f0 Discover more object 3 flags 2023-01-17 21:33:16 +10:00
Ryan Dwyer c78ff83fc8 Discover more chrflags 2023-01-16 19:10:31 +10:00
Ryan Dwyer 7f62d1d74a Introduce -DDEBUG to enable crash screen and debug menu 2023-01-12 21:56:54 +10:00
Ryan Dwyer 68f2cd6db6 Merge version-specific debug files into one 2023-01-12 21:13:56 +10:00
Ryan Dwyer 2ef95d741a Decompile memaAlloc 2023-01-09 17:46:51 +10:00
Ryan Dwyer 97dde15464 Identify music event type 5 2023-01-06 22:05:49 +10:00
Ryan Dwyer d9213de09a Use consistent file naming for C equivalents of ASM files 2022-12-08 23:36:00 +10:00
Ryan Dwyer ba11c5634b Introduce uintptr_t 2022-12-07 21:00:03 +10:00
Ryan Dwyer 45524f06b2 Rename remapped anim frames to repeat anim frames and improve documentation 2022-12-04 13:57:04 +10:00
Ryan Dwyer c20a31db57 Create functionally equivalent C for handwritten func0002f490 and func0002f560 2022-12-02 20:18:50 +10:00
Ryan Dwyer d6123cbe72 Remove apparent recursion from strcmp and strncmp 2022-12-01 19:09:56 +10:00
Ryan Dwyer e59fc870ad Set names for all anim functions 2022-11-30 21:00:37 +10:00
Ryan Dwyer 087861fd3a Write a file docblock for models 2022-11-28 23:47:13 +10:00
Ryan Dwyer f3461b900c Rename modelfiledata to modeldef 2022-11-28 22:59:47 +10:00
Ryan Dwyer 3484a4faed Set names for all model C functions 2022-11-28 22:22:41 +10:00
Ryan Dwyer 3248fa9849 Rename and document room mtx functions 2022-11-28 17:48:59 +10:00
Ryan Dwyer 2b661d2bb4 Decompile vmInit 2022-11-27 23:17:25 +10:00
Ryan Dwyer 259fab6a6d jpn-final: Introduce support for gcc 2022-11-27 19:53:42 +10:00
Ryan Dwyer c790bc5db4 jpn-final: Decompile langGetJpnCharPixels 2022-11-27 15:44:00 +10:00
Ryan Dwyer 2d6d88cd6d ntsc-beta, pal-beta and pal-final: Introduce support for gcc 2022-11-26 19:53:48 +10:00
Ryan Dwyer 493afe7b4f pal-beta and pal-final: Decompile viUpdateMode 2022-11-26 09:19:52 +10:00
Ryan Dwyer 9f3481ccee Make remaining versions shiftable 2022-11-24 21:58:09 +10:00