Commit Graph

510 Commits

Author SHA1 Message Date
Luke Street f6f1040fff Various rstl fixes; continue CScriptMazeNode & CScriptPlatform
Former-commit-id: 7608f27ed2
2022-09-18 13:51:07 -04:00
Luke Street 0d94a5a5f3 Implement rstl::optional_object_null
Former-commit-id: feac221b4d
2022-09-18 02:16:53 -04:00
Luke Street 234afca6c2 clang-format pass
Former-commit-id: 6a979e343f
2022-09-18 02:05:46 -04:00
Luke Street 41a2efa884 Start matching CScriptPlatform; more CScriptMazeNode
Former-commit-id: 135d63412c
2022-09-18 01:55:13 -04:00
Phillip Stephens 50047f2398 Match CScriptMazeNode::SendScriptMsgs
Former-commit-id: 972aa78e61
2022-09-15 21:30:20 -07:00
Phillip Stephens ba98f00f60 Link CSmallAllocPool.cpp, minor fixes
Former-commit-id: 7f768f8405
2022-09-15 20:38:03 -07:00
Phillip Stephens 5aee142c62 Link CSfxHandle.cpp
Former-commit-id: 79301314e9
2022-09-15 20:24:27 -07:00
Phillip Stephens 207ceef5c0 Remove padding from g721.cpp, move unused bytes to CStaticAudioPlayer.cpp
Former-commit-id: 6898a9cc90
2022-09-15 19:17:34 -07:00
Phillip Stephens 5b44016209 Link g721.cpp
Former-commit-id: 004dc6d1d0
2022-09-15 18:58:34 -07:00
Phillip Stephens 047ee1a32e Match dvd.c, not linking for now (links with patched 1.2.5)
Former-commit-id: d0ad5f5ef8
2022-09-15 18:18:29 -07:00
Luke Street e5dd64ab55 CScriptMazeNode progress
Former-commit-id: ff0275b48f
2022-09-15 00:08:57 -04:00
Phillip Stephens f4731daebe Link CTimeProvider.cpp
Former-commit-id: ea51b901e8
2022-09-13 22:53:26 -07:00
Phillip Stephens 64fe52845f Link CDolphinController.cpp
Former-commit-id: 0450f7b1f1
2022-09-13 22:25:20 -07:00
Luke Street 86c16b4b9d Begin matching CScriptMazeNode
Former-commit-id: 38ca1f6816
2022-09-14 01:24:12 -04:00
Luke Street 48c7444acb Match & link CScriptDebugCameraWaypoint
Former-commit-id: 0eefeac3c6
2022-09-13 22:25:14 -04:00
Phillip Stephens 6bd48a457a I forgot this because I'm an idiot
Former-commit-id: 2163b09aa4
2022-09-12 21:53:19 -07:00
Luke Street 329618c585 More main progress; tons of headers & stuff
Former-commit-id: a6e365791b
2022-09-13 00:28:02 -04:00
Phillip Stephens 6b306c1121 Link DolphinIController.cpp, start matching CSmallAllocPool
Former-commit-id: 228319e2a5
2022-09-11 11:45:19 -07:00
Phillip Stephens 4f851a605b Link CCircularBuffer.cpp
Former-commit-id: 5d82d47660
2022-09-10 22:54:54 -07:00
Phillip Stephens fcdeb21704 Link nearly all of CARD
Former-commit-id: e3de3f9e5d
2022-09-10 21:54:54 -07:00
Phillip Stephens ae2f662c33 Link CARDOpen.c
Former-commit-id: 28a4b75d39
2022-09-10 20:18:17 -07:00
Phillip Stephens f9cecfd4b1 Link CARDDir.c
Former-commit-id: df0484585a
2022-09-10 17:25:05 -07:00
Phillip Stephens c5ead9fe1b Link CARDBlock.c
Former-commit-id: e00208cc49
2022-09-10 15:41:14 -07:00
Phillip Stephens b1441a1bae Minor cleanup
Former-commit-id: 172d5efc91
2022-09-10 14:32:57 -07:00
Phillip Stephens 8a8523b6ee Link CARDRdwr.c
Former-commit-id: b0405b7673
2022-09-10 14:31:25 -07:00
Phillip Stephens 57d8500376 Link CARDUnlock.c, CARDBios.c matches, but can't be linked due to frank issues
Former-commit-id: 58d5c4a816
2022-09-10 13:32:26 -07:00
Phillip Stephens feff8c6ec3 Merge text_80008894_80009144.s back into main.s
Former-commit-id: fb95ae4748
2022-09-07 22:01:54 -07:00
Phillip Stephens 698c784a00 Minor cleanup, move files to
Former-commit-id: c1abac8c9e
2022-09-07 21:51:31 -07:00
Phillip Stephens 18d45a80a7 Fully link __ppc_eabi_init.cpp
Former-commit-id: e8bf411356
2022-09-07 21:42:56 -07:00
Luke Street 0f25a3c8d4 Migrate s32->int, u32->uint; fix dolphin/types.h
Former-commit-id: 7eb08b6ee8
2022-09-05 00:01:22 -04:00
Luke Street 5726400667 More CCubeMaterial
Former-commit-id: 78022784ef
2022-09-05 00:01:22 -04:00
Phillip Stephens 928d673a86 musyx: link synth_ac.c
Former-commit-id: 1179a651b3
2022-09-04 02:30:03 -07:00
Luke Street b851577337 Header cleanup, NONMATCHING option
Former-commit-id: 174a2d98f7
2022-08-31 20:22:20 -04:00
Luke Street 8b28b129e2 Link CGX
Former-commit-id: 3e43c0878f
2022-08-31 12:06:56 -04:00
Luke Street 40271117df Almost done with CGX
Former-commit-id: 89284f17b2
2022-08-31 00:54:17 -04:00
Luke Street 4660679da4 More CGX matches part 2
Former-commit-id: 4758103774
2022-08-30 18:48:44 -04:00
Luke Street 7cdb1aef65 More CGX matches
Former-commit-id: 6fbaa00f07
2022-08-30 01:12:32 -04:00
Luke Street 6768dfc9b4 Begin CGX/CCubeMaterial; add dolphin headers from aurora
Former-commit-id: b28e24862b
2022-08-30 00:05:16 -04:00
Luke Street 00c77e6195 Runtime/math matches; better libc headers
Former-commit-id: bef7db1748
2022-08-25 23:46:24 -04:00
Luke Street f7fb2d5cee Fully shiftable??
Former-commit-id: 326199f2f4
2022-08-21 01:23:57 -04:00
Luke Street 57bfdc2000 Create & link TCastTo.cpp
Former-commit-id: f41c87eea7
2022-08-16 17:47:16 -04:00
Luke Street f3e607a3af Renaming & more CActor progress
Former-commit-id: bcfefcc34a
2022-08-15 22:14:28 -04:00
Phillip Stephens 9675db47b4 Minor CActor/CModelData fixes, add matching CActor::UpdateAnimation
Former-commit-id: 8e90988b5c
2022-08-14 22:50:25 -07:00
Luke Street 94e27faee8 Continued work on CActor
Former-commit-id: 09dfe946fc
2022-08-15 00:51:06 -04:00
Luke Street e9704b7718 Revert bad rename
Former-commit-id: 16514e942e
2022-08-14 14:42:30 -04:00
Luke Street eb6819f1fd Continue work on CActor::UpdateAnimation; lots of headers n stuff
Former-commit-id: 85284f7640
2022-08-14 14:38:41 -04:00
Phillip Stephens 97847d1d61 Remove non-matching comment from Lerp
Former-commit-id: 7c92358bf6
2022-08-13 14:44:29 -07:00
Phillip Stephens eb554f79dd Link DolphinCColor.cpp, thanks encounter and Ninji
Former-commit-id: 4999c1ded5
2022-08-13 14:43:45 -07:00
Phillip Stephens 38ec6e5984 Merge branch 'main' of github.com:PrimeDecomp/prime
Former-commit-id: fb3a2950f9
2022-08-13 05:59:49 -07:00
Phillip Stephens da85e24623 DolphinCColor imps, only `Lerp(u32, u32, float)` isn't matching
Former-commit-id: d36775e76a
2022-08-13 05:57:38 -07:00
Luke Street 64c034c9f7 Start filling out CVector3f/CTransform4f
Former-commit-id: e16e6bca49
2022-08-13 00:32:42 -04:00
Luke Street 361f2bb9ce Initial work on CActor.cpp
Former-commit-id: 44b17813bd
2022-08-12 21:26:54 -04:00
Phillip Stephens 1c213b5cc2 use clang-format on CColor.cpp
Former-commit-id: 6bf68f9808
2022-08-11 11:50:15 -07:00
Phillip Stephens 6f8c6b28ba Add unused statics, fix CColor constructor
Former-commit-id: e7117197da
2022-08-11 11:35:12 -07:00
Phillip Stephens fe1f119091 Link CColor.cpp
Former-commit-id: d59665aaad
2022-08-11 11:20:15 -07:00
Phillip Stephens 70b617a99f Implement IWeaponRenderer, can't link yet due to vtable shenanigans
Former-commit-id: ba035cfa44
2022-08-11 02:24:45 -07:00
Phillip Stephens d1768a3076 More musyx imps, cleanups
Former-commit-id: 3d19d9ea82
2022-08-11 01:12:35 -07:00
Luke Street 4ad9b20d1a Add & link CEntity.cpp
Former-commit-id: 0b6ce7f781
2022-08-10 22:33:46 -04:00
Luke Street 8588af60be Link zlib
Former-commit-id: 107ea767f9
2022-08-09 23:00:57 -04:00
Phillip Stephens ba5057c084 Give MusyX it's own types
Former-commit-id: 79eff1f8b5
2022-08-05 12:43:46 -07:00
Phillip Stephens 3a23f40720 Various imps
Former-commit-id: 7043befead
2022-08-05 03:23:49 -07:00
Phillip Stephens a889a5b919 Minor correction to CInputStream::Get
Former-commit-id: 7cd80cf53b
2022-07-30 17:38:13 -07:00
Phillip Stephens 8db2425e27 Link CHUDMemoParms.cpp, minor data fixes
Former-commit-id: 2f39c70005
2022-07-30 13:10:04 -07:00
Phillip Stephens 18d6a7ebbd Link CCrc32.cpp
Former-commit-id: a404575f97
2022-07-30 05:33:31 -07:00
Phillip Stephens 3aa9c03819 Link CRandom16.cpp
Former-commit-id: 4a01665439
2022-07-30 03:34:28 -07:00
Phillip Stephens a108e76a1f Minor cleanups
Former-commit-id: 5bfa43d591
2022-07-30 02:12:25 -07:00
Phillip Stephens 0ff6365a89 Start trying to get zlib linked
Former-commit-id: 7107b307e2
2022-07-28 22:03:24 -07:00
Phillip Stephens 317c4a497e Link creverb_fx.c, minor fixes
Former-commit-id: 7e1b3eeb58
2022-07-28 08:50:05 -07:00
Phillip Stephens 7d56323cd4 Line match reverb_fx.c and delay_fx.c for S&Gs
Former-commit-id: 51a84f6ed2
2022-07-28 07:24:49 -07:00
Phillip Stephens 13d2ba0a49 Link delay_fx.c
Former-commit-id: 14dc741030
2022-07-28 07:00:20 -07:00
Luke Street 1efd8da0b0 Migrate to inline=deferred,noauto
Former-commit-id: 863cf71312
2022-07-28 09:19:26 -04:00
Phillip Stephens 6fc7123b94 Link reverb_fx.c
Former-commit-id: 5b08fd287a
2022-07-26 23:32:31 -07:00
Phillip Stephens 6406aa05cf Link seq_api.c
Former-commit-id: 848a80e9d7
2022-07-26 22:54:00 -07:00
Phillip Stephens ae52b8482c Link snd_service.c and hw_memory.c
Former-commit-id: e88f46cb28
2022-07-26 22:11:36 -07:00
Phillip Stephens 509dc4d622 IWeaponRender decomp (can't link yet)
Former-commit-id: 0e20e67870
2022-07-25 21:36:32 -07:00
Phillip Stephens e11b88ea1e Link IAllocator.cpp
Former-commit-id: 0680c9d62d
2022-07-20 21:47:03 -07:00
Phillip Stephens d26b7a4753 Correct EOwnerShip values
Former-commit-id: d17fbf3684
2022-07-19 23:20:28 -07:00
Phillip Stephens 6473aae6a9 Link CMemoryInStream.cpp
Former-commit-id: 437b1dd3a6
2022-07-19 23:19:07 -07:00
Luke Street bed1bb88de Reorganize includes to match asm
Former-commit-id: 848752477e
2022-07-18 18:42:58 -04:00
Luke Street 6a471a6abe Link CInputStream.cpp
Former-commit-id: 69ddd71fc8
2022-07-18 13:53:58 -04:00
Luke Street 9404d679f8 Link CStringTable.cpp
Former-commit-id: f511aba228
2022-07-18 09:51:34 -04:00
Luke Street 7ffab529b8 Link CSWDataDolphin.cpp
Former-commit-id: cb48c96516
2022-07-18 01:37:40 -04:00
Luke Street 3f96fa4865 Almost matched CInputStream
Former-commit-id: 18079ecfee
2022-07-14 20:48:18 -04:00
Luke Street ffd6ba5818 Implement TObj*/IObj; finish matching CStringTable
Former-commit-id: e98f62c3a6
2022-07-14 12:24:26 -04:00
Luke Street 03357b2acd Begin decompiling CCameraFilterPass::DrawWideScreen
Former-commit-id: 44d675d87d
2022-07-02 01:30:11 -04:00
Phillip Stephens 8492e9ab26 Use static rather than extern on DSP's init flag
Former-commit-id: a48c51dedf
2022-04-30 01:36:02 -07:00
Phillip Stephens e0bd52d345 Decompile dsp.c start OSReset.c
Former-commit-id: 6753bb7115
2022-04-30 01:32:00 -07:00
EpochFlame 3ffb92066d minor OSAudioSystem correction
Former-commit-id: 3966d4be28
2022-04-27 22:34:14 -04:00
Phillip Stephens 8f10416874 Forgot OSAudioSystem.c
Former-commit-id: c852d2fa07
2022-04-24 10:44:07 -07:00
Phillip Stephens f4ebb6554d Start splitting sbss.s
Former-commit-id: b1efa7e9c4
2022-04-24 10:43:04 -07:00
Phillip Stephens c6bc664505 Move Kyoto_CWD to MetroidPrime
Former-commit-id: d9393c0953
2022-04-15 21:01:44 -07:00
Luke Street 936f63b05d Updates to rstl; rename some symbols; update CFLAGS
Former-commit-id: b8c0242ea7
2022-04-15 15:24:52 -04:00
Phillip Stephens d7fb5cd6c2 Split CWeaponMgr
Former-commit-id: 51e56ed135
2022-04-12 01:55:54 -07:00
Phillip Stephens d99f1ebce3 Remove TRK Functions from main.cpp
Former-commit-id: 9760947be0
2022-04-11 21:56:27 -07:00
Phillip Stephens 37584253a3 Split mslsupp.c rename TRK functions
Former-commit-id: 1974f6fc22
2022-04-11 21:53:51 -07:00
Luke Street b96bbbad88 Quick reformat
Former-commit-id: 85aad63173
2022-04-11 18:45:06 -04:00
Luke Street 61ffa2b5ab main: Add EnsureWorldPakReady
Former-commit-id: 292dfa1eea
2022-04-11 18:42:14 -04:00
Phillip Stephens 9c59ddae13 PAD: name PADRecalibrate
Former-commit-id: 7a95698329
2022-04-09 19:40:54 -07:00
Luke Street 27d94af97b Add headers, clang-format, decompctx.py & more
Former-commit-id: 53f8d3cba7
2022-04-09 20:17:13 -04:00
Phillip Stephens 73b7b4df3a MusyX: Correct global variable locations, and move synth_dbtab to C
Former-commit-id: 7f90b8de58
2022-04-09 01:51:35 -07:00
Phillip Stephens ca924e27b4 Match snd_init
Former-commit-id: 95f655b9db
2022-04-08 01:30:31 -07:00
Phillip Stephens 6faf948c9a Split bss down to game data
Former-commit-id: 0b3818ffc1
2022-04-07 22:17:01 -07:00
Phillip Stephens a602b71981 musyx: start renaming symbols to reflect original library
Former-commit-id: aff4d12557
2022-04-06 03:44:04 -07:00
Phillip Stephens 57eb04bb05 Move asm/Runtime/PPCEABI/H code into asm/Runtime
Former-commit-id: 19206f91f9
2022-04-06 01:17:53 -07:00
Luke Street fc22b7d051 Add WIP main.cpp / CStringTable.cpp
Former-commit-id: 051cc6d15f
2022-04-05 19:22:28 -04:00
EpochFlame e584e961b3 match PPCArch.c
match PPCArch and remove its .s counterpart


Former-commit-id: c8c12cc8f8
2022-04-04 10:51:16 -04:00
Luke Street 651862fa2f Symbol fixes & cleanup
Former-commit-id: 8a13a04b78
2022-04-04 10:22:31 -04:00
Phillip Stephens f007b5c68e Add missing files
Former-commit-id: 58412b389a
2022-04-04 03:20:15 -07:00
Phillip Stephens 7fd3105836 Continue splitting data
Former-commit-id: 50c7ccf05b
2022-04-04 03:14:22 -07:00
Luke Street dfe56fda27 Initial commit
Former-commit-id: ce247fb264
2022-03-23 17:22:48 -04:00