Commit Graph

1421 Commits

Author SHA1 Message Date
Ryan Dwyer ddac1c7bab Set filenames for artifact.c, chraireset.c, gset.c, projectile.c and text.c 2024-09-08 17:31:29 +10:00
Ryan Dwyer 9263e77116 Find workaround for many DTOR precision issues 2024-09-08 16:26:31 +10:00
Ryan Dwyer a617fd62b1 Convert llcvt.c to assembly 2024-09-05 20:48:45 +10:00
Ryan Dwyer 28f678bfee Fix build in gcc 2024-09-05 20:48:12 +10:00
Ryan Dwyer 6f5a361610 Document most of camdraw.c 2024-09-05 17:48:21 +10:00
Ryan Dwyer f412795c0a Remove headers for private functions 2024-08-31 21:10:44 +10:00
Ryan Dwyer 66adbfb179 Remove struct size literals in geo traversal code 2024-08-20 23:18:14 +10:00
Ryan Dwyer 54b681798e Remove geotilef union hack 2024-08-20 21:53:39 +10:00
Ryan Dwyer 0e9b6938ca Identify object geometry functions 2024-08-20 21:28:55 +10:00
Ryan Dwyer f97b24ec40 Identify unnamed eyespy functions 2024-08-18 18:23:22 +10:00
Ryan Dwyer 748a32c59e Identify unnamed chr functions 2024-08-18 17:02:55 +10:00
Ryan Dwyer 504cdb1f78 Discover chr anim run speeds 2024-08-18 11:00:56 +10:00
Ryan Dwyer 983e7a1edc Document LOS room detection functions 2024-08-17 22:46:27 +10:00
Ryan Dwyer f697dfe170 Rename all non-ultra functions to snake case 2024-08-17 17:15:55 +10:00
Ryan Dwyer 573e764650 Introduce RAD macro 2023-09-03 14:58:02 +10:00
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