100 Commits
Author SHA1 Message Date
Ryan Dwyer 0235a971d6 Fix bot name array overflow 2023-08-29 21:36:58 +10:00
Ryan Dwyer 4f56cd4c09 Set names for symbols relating to the gfx C0 command 2023-08-28 22:18:05 +10:00
Ryan Dwyer 0b1aabf345 Set names for a heap of shotdata symbols 2023-08-27 21:27:53 +10:00
Ryan Dwyer 79a94b29ce Name some texture symbols, mostly relating to LODs 2023-08-26 12:20:04 +10:00
Ryan Dwyer 38345c1672 Set names for menumodel symbols 2023-08-22 08:48:32 +10:00
Ryan Dwyer 09edfb8545 Fix some global data placement issues 2023-08-20 16:48:35 +10:00
Ryan Dwyer d7926f12ad Fix incorrect rounding in C version of sinf 2023-08-20 16:34:38 +10:00
Ryan Dwyer e18167d8ae Fix C version of portalConvertCoordinates 2023-08-20 12:49:21 +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 fb5b505bab Untangle menuitemdata structs 2023-08-16 18:34:08 +10:00
Ryan Dwyer f020543599 Use sizeof for setup prop sizes instead of literals 2023-08-16 14:36:34 +10:00
Ryan Dwyer 24657743ff Fix mtx3Copy in C translation 2023-08-15 22:28:11 +10:00
Ryan Dwyer f1e1e6b204 Set names for headanim symbols 2023-08-05 18:16:16 +10:00
Ryan Dwyer aeca25d984 Fix arguments for if_chr_same_floor_distance_to_pad_lt 2023-07-21 00:03:01 +10:00
Ryan Dwyer cef885db72 Replace a heap of literals, mostly in sound code 2023-07-07 22:10:48 +10:00
Ryan Dwyer a780b5f179 Identify hov and hovtype properties 2023-06-28 23:37:39 +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 ca6ce095f0 jpn-final: Decompile text0f154f38 2023-06-17 17:27:45 +10:00
Ryan Dwyer 8647634a54 Decompile bgLoadRoom 2023-06-16 21:10:03 +10:00
Ryan Dwyer e78d65b6e3 Improve mismatch of weatherRenderSnow 2023-06-14 17:43:51 +10:00
Ryan Dwyer 38c478259f Name and document pathfinding functions 2023-06-13 21:44:29 +10:00
Ryan Dwyer 154153b605 Discover remaining pad flags 2023-06-12 22:16:28 +10:00
Ryan Dwyer cac9aaf9bf Decompile weatherRenderRain 2023-06-10 17:04:30 +10:00
Ryan Dwyer 7c1c377db0 Decompile titleRenderPdLogo 2023-06-07 17:57:00 +10:00
Ryan Dwyer 8c22681e35 Set names for more bondgun symbols 2023-06-04 16:44:37 +10:00
Ryan Dwyer f9ba47b8a7 Decompile bodiesReset 2023-06-04 09:41:54 +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 e9a6e9849b Decompile propsndTickChannel 2023-06-01 21:02:06 +10:00
Ryan Dwyer 8afead29db Decompile aiSayQuip 2023-05-31 22:44:30 +10:00
Ryan Dwyer 8a7c22adda Decompile bgRenderGdlInXray 2023-05-31 17:48:41 +10:00
Ryan Dwyer 9b4c64d7ff Replace remaining pad literals in MP setup files 2023-05-30 21:05:50 +10:00
Ryan Dwyer e79e1d8068 Decompile beamRender 2023-05-30 20:51:02 +10:00
Ryan Dwyer 0ebce0dcf9 Set names for menucolourpalette properties 2023-05-29 18:31:26 +10:00
Ryan Dwyer 953afe9925 Name remaining aibot properties 2023-05-28 14:07:16 +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 a7f00522c1 gbi.h: Remove unused ifdefs and reformat the file 2023-05-26 22:29:08 +10:00
Ryan Dwyer 5eb422d599 Make graphics microcode data shiftable 2023-05-26 20:25:08 +10:00
Ryan Dwyer be585be596 Name most sky symbols 2023-05-25 17:35:22 +10:00
Ryan Dwyer 5cc44be4da Name all env symbols 2023-05-24 21:54:47 +10:00
Ryan Dwyer 740be5e96b Tidy up gfxreplace.c 2023-05-24 21:06:48 +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 8e131f3aa4 Find workaround for pheadSaveFile hack 2023-04-14 20:55:19 +10:00
Ryan Dwyer ea772c439b Decompile pheadSaveFile 2023-04-14 20:12:27 +10:00
Ryan Dwyer 5c5e45bef4 Decompile lightTickBroken 2023-04-14 17:44:43 +10:00
Ryan Dwyer 89152f7b40 Rename a heap of light and brightness symbols 2023-04-13 20:13:13 +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 47add757e0 Decompile chr0f0260c4 2023-03-27 22:15:42 +10:00
Ryan Dwyer 2714d12e86 Identify debug menu labels using XBLA data 2023-03-15 22:40:20 +10:00
Ryan Dwyer 109929667f Decompile playermgrGetModelOfWeapon 2023-02-01 17:16:24 +10:00
Ryan Dwyer c87aa0567b Replace BG pointer math with a more semantically correct equivalent 2023-01-20 20:38:01 +10:00
Ryan Dwyer 9c6b0f246a Separate hovtype field in setup macros 2023-01-17 21:46:08 +10:00
Ryan Dwyer edebe0b1f0 Discover more object 3 flags 2023-01-17 21:33:16 +10:00
Ryan Dwyer 93acca065d Discover more object 2 flags 2023-01-17 20:14:19 +10:00
Ryan Dwyer 49301f9265 Discover more object flags 2023-01-16 21:39:49 +10:00
Ryan Dwyer c78ff83fc8 Discover more chrflags 2023-01-16 19:10:31 +10:00
Ryan Dwyer 47f8b83062 Discover more chr hidden flags 2023-01-14 19:49:51 +10:00
Ryan Dwyer 702d8627ec Replace some language ID literals with constants 2023-01-13 21:47:07 +10:00
Ryan Dwyer 528235552b Improving naming of chr line of sight functions 2023-01-13 21:46:27 +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 4be874210b Tweak cover JSON format and set names for remaining cover flags 2023-01-05 22:12:16 +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 50b54d42ff Identify a heap of gun MODELPART constants 2022-12-08 21:58:47 +10:00
Ryan Dwyer a2ad0014e3 Improve naming relating to mpweapon struct 2022-12-07 22:18:23 +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 ac256277d2 Disassemble graphics microcode 2022-12-04 10:03:59 +10:00
Ryan Dwyer 4994fcccee Update pirack checks documentation 2022-12-02 23:47:48 +10:00
Ryan Dwyer 0063dcc71c Rename "close" gun function type to "melee" 2022-12-02 22:46:40 +10:00
Ryan Dwyer c20a31db57 Create functionally equivalent C for handwritten func0002f490 and func0002f560 2022-12-02 20:18:50 +10:00
Ryan Dwyer b39c317812 Fix some typoed function names 2022-12-02 07:58:14 +10:00
Ryan Dwyer 901028d5a3 Decompile func0f14c50c 2022-12-02 00:03:45 +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 1c6a5d98a4 Decompile wallhitsTick 2022-11-29 19:18:23 +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