Commit Graph

242 Commits

Author SHA1 Message Date
Henrique Gemignani Passos Lima 4d53116169
Almost match CPlayerState::CalculateItemCollectionRate 2022-10-04 21:15:07 +03:00
Henrique Gemignani Passos Lima c10ddd017e
Fix CCameraManager::GetCurrentCamera symbols 2022-10-04 17:08:26 +03:00
Henrique Gemignani Passos Lima 65e7aeddab
Add CPlayerState::CPlayerState(CInputStream& stream) 2022-10-04 16:29:05 +03:00
Luke Street 39b5f3c01e Lots of stuff 2022-10-03 20:00:46 -04:00
Henrique Gemignani Passos Lima 0acb1e0e40
CSfxManager: make priority values const 2022-10-03 20:03:50 +03:00
Henrique Gemignani Passos Lima 4b08f70a0b
CSfxManager: Add kAllAreas, areaId to int 2022-10-03 20:00:51 +03:00
Henrique Gemignani Passos Lima b423771f97
Add kMaxPriority/kMedPriority to CSfxManager 2022-10-03 19:23:22 +03:00
Henrique Gemignani Passos Lima 97282648b4
Fix CSfxManager::PitchBend types 2022-10-03 19:04:56 +03:00
Henrique Gemignani Passos Lima e48f6478f9
Match CScriptSpecialFunction::DeleteEmitter 2022-10-03 18:59:07 +03:00
Henrique Gemignani Passos Lima fcf2e43f1e
CAnimData: default animation is s16 2022-10-03 18:45:08 +03:00
Henrique Gemignani Passos Lima 3f4e53ec74
Improve CAABox::GetExtents
Thanks encounter
2022-10-03 18:05:16 +03:00
Henrique Gemignani Passos Lima ce2276b310
TAverage: don't implement AddValue inline 2022-10-03 18:03:57 +03:00
Henrique Gemignani Passos Lima 01792db891
Add fmod to math.h 2022-10-03 16:24:59 +03:00
Henrique Gemignani Passos Lima 80843df748
Improve match for CScriptSpecialFunction::Render 2022-10-03 16:15:34 +03:00
Henrique Gemignani Passos Lima 3256933c63
Add missing w_fmod.h 2022-10-03 15:15:06 +03:00
Henrique Gemignani Passos Lima d26a30f186
Implement CScriptSpecialFunction::ThinkSpinnerController 2022-10-03 14:55:03 +03:00
Luke Street 60c82b0a89 Fix CUnitVector3f non-match 2022-10-03 00:56:11 -04:00
Luke Street 87c0a6041c More CScriptSpecialFunction; start rstl::map/red_black_tree 2022-10-03 00:49:20 -04:00
Phillip Stephens 9f8f1ab7f7 Split, match and link CVector3i 2022-10-02 20:09:01 -07:00
Phillip Stephens 302df55a60 Match and link CPlane 2022-10-02 19:55:05 -07:00
Phillip Stephens 19c1aa3ae1 Forgot something.... 2022-10-02 18:16:06 -07:00
Phillip Stephens 09999a24a1 Minor fixes, add COsContextDolphin to completed list in configure.py 2022-10-02 18:04:35 -07:00
Luke Street fdbd70eea1 CScriptSpecialFunction: More matches 2022-10-02 18:27:13 -04:00
Luke Street e8133e9476 Add missing TAverage.hpp 2022-10-02 17:53:28 -04:00
Luke Street f16397257b Match CScriptSpecialFunction constructor 2022-10-02 17:45:14 -04:00
Henrique Gemignani Passos Lima 2c857a9fa4
Add CScriptSpecialFunction.hpp/cpp 2022-10-02 18:21:56 +03:00
Henrique Gemignani Passos Lima 6ffb16e4a9
Preparing other headers for CScriptSpecialFunction 2022-10-02 18:21:51 +03:00
Henrique Gemignani Passos Lima f40c4e6555
Add CDamageInfo 2022-10-02 13:14:12 +03:00
Phillip Stephens cc514ecf6e Match and link COsContext 2022-10-02 00:43:00 -07:00
Phillip Stephens 70a1e449bd Match and link CPhsyicsActor 2022-10-01 23:06:32 -07:00
Henrique Gemignani Passos Lima 882cebb9b3
Fix linking issues with CDamageVulnerability 2022-10-02 01:06:20 +03:00
Henrique Gemignani Passos Lima dc47a3af22
Add CDamageVulnerability.cpp, fill header 2022-10-02 00:39:52 +03:00
Luke Street a0876b5c34 CAABox 90% 2022-10-01 16:39:55 -04:00
Luke Street bbf3b658c2 Link CFontImageDef 2022-10-01 15:00:38 -04:00
Henrique Gemignani Passos Lima 1e30daa096
Add CPlayerState (#5)
* Start CPlayerState

* CPlayerState::CalculateHealth symbol rename

* Add inline constructor for CHealthInfo

* Add skeleton for the rest of CPlayerState

* Match CPlayerState::DecrPickUp

* Match more methods in CPlayerState

* Run formatting

* Fix function order

* Improving the constants
2022-10-01 10:08:15 -04:00
Phillip Stephens 77b921601a Match CFontImageDef, can't link due to extraneous TToken destructor 2022-10-01 01:33:18 -07:00
Luke Street 6944a14e89 Symbol fixes, headers & main progress 2022-10-01 02:19:15 -04:00
Luke Street 797070bb0a rstl/algorithm: Remove dangling template<> 2022-09-30 10:17:07 -04:00
Henrique Gemignani Passos Lima 675a1904c4
algorithm.hpp header fixes 2022-09-30 15:46:54 +03:00
Phillip Stephens e39a8e4c47 Minor fixes, start CTextParser 2022-09-29 21:24:13 -07:00
Luke Street c8c05c2cd5 Fix GetSortingBounds symbol; various fixes 2022-09-29 20:24:12 -04:00
Luke Street 602109d8f0 Halfway match CAABox; continue CBallCamera 2022-09-29 19:55:43 -04:00
Henrique Gemignani Passos Lima 7e8bc34cab
Start RAssertDolphin (#3)
* Start RAssertDolphin

* Add OSContext

* Add missing files, Prime2's ErrorHandler

* Progress in ErrorHandler

* comments

* Don't link new code

* Format code

* Slight adjustments

* Use u16 for OSError
2022-09-29 19:09:11 -04:00
Luke Street e91b0c43cc CStateManager: Forward declare CMaterialFilter 2022-09-29 01:31:19 -04:00
Luke Street 3831cfa905 Some CBallCamera progress 2022-09-29 01:30:20 -04:00
Phillip Stephens fc2d2455dc More allocator work 2022-09-21 23:03:38 -07:00
Phillip Stephens 4d14f750d4 Match and link CStopwatch 2022-09-21 23:03:09 -07:00
Luke Street 2afec50c52 Remove some hacks from CBallCamera 2022-09-21 01:40:03 -04:00
Luke Street 21f597aeb7 Begin CBallCamera & more headers 2022-09-21 01:18:20 -04:00
Phillip Stephens 57ce723ec2 More allocator work 2022-09-19 21:35:24 -07:00
Luke Street 5d9f7afa3b CPlayer header, more CScriptPlatform, renaming 2022-09-19 00:19:46 -04:00
Luke Street 7608f27ed2 Various rstl fixes; continue CScriptMazeNode & CScriptPlatform 2022-09-18 13:51:07 -04:00
Luke Street feac221b4d Implement rstl::optional_object_null 2022-09-18 02:16:53 -04:00
Luke Street 6a979e343f clang-format pass 2022-09-18 02:05:46 -04:00
Luke Street 135d63412c Start matching CScriptPlatform; more CScriptMazeNode 2022-09-18 01:55:13 -04:00
Phillip Stephens 972aa78e61 Match CScriptMazeNode::SendScriptMsgs 2022-09-15 21:30:20 -07:00
Phillip Stephens 7f768f8405 Link CSmallAllocPool.cpp, minor fixes 2022-09-15 20:38:03 -07:00
Phillip Stephens 79301314e9 Link CSfxHandle.cpp 2022-09-15 20:24:27 -07:00
Phillip Stephens 004dc6d1d0 Link g721.cpp 2022-09-15 18:58:34 -07:00
Phillip Stephens d0ad5f5ef8 Match dvd.c, not linking for now (links with patched 1.2.5) 2022-09-15 18:18:29 -07:00
Luke Street ff0275b48f CScriptMazeNode progress 2022-09-15 00:08:57 -04:00
Phillip Stephens ea51b901e8 Link CTimeProvider.cpp 2022-09-13 22:53:26 -07:00
Phillip Stephens 0450f7b1f1 Link CDolphinController.cpp 2022-09-13 22:25:20 -07:00
Luke Street 38ca1f6816 Begin matching CScriptMazeNode 2022-09-14 01:24:12 -04:00
Luke Street 0eefeac3c6 Match & link CScriptDebugCameraWaypoint 2022-09-13 22:25:14 -04:00
Phillip Stephens 32dc934203 Forgot gba.h too 2022-09-12 21:53:49 -07:00
Phillip Stephens 4de9950cda Start matching CDolphinController 2022-09-12 21:52:59 -07:00
Luke Street a6e365791b More main progress; tons of headers & stuff 2022-09-13 00:28:02 -04:00
Phillip Stephens 228319e2a5 Link DolphinIController.cpp, start matching CSmallAllocPool 2022-09-11 11:45:19 -07:00
Phillip Stephens 5d82d47660 Link CCircularBuffer.cpp 2022-09-10 22:54:54 -07:00
Phillip Stephens e3de3f9e5d Link nearly all of CARD 2022-09-10 21:54:54 -07:00
Phillip Stephens df0484585a Link CARDDir.c 2022-09-10 17:25:05 -07:00
Phillip Stephens c33b42a7c0 Commit missed files 2022-09-10 15:41:46 -07:00
Phillip Stephens 172d5efc91 Minor cleanup 2022-09-10 14:32:57 -07:00
Phillip Stephens b0405b7673 Link CARDRdwr.c 2022-09-10 14:31:25 -07:00
Phillip Stephens 58d5c4a816 Link CARDUnlock.c, CARDBios.c matches, but can't be linked due to frank issues 2022-09-10 13:32:26 -07:00
Phillip Stephens e8bf411356 Fully link __ppc_eabi_init.cpp 2022-09-07 21:42:56 -07:00
Luke Street 7eb08b6ee8 Migrate s32->int, u32->uint; fix dolphin/types.h 2022-09-05 00:01:22 -04:00
Luke Street 78022784ef More CCubeMaterial 2022-09-05 00:01:22 -04:00
Luke Street 174a2d98f7 Header cleanup, NONMATCHING option 2022-08-31 20:22:20 -04:00
Luke Street 3e43c0878f Link CGX 2022-08-31 12:06:56 -04:00
Luke Street 89284f17b2 Almost done with CGX 2022-08-31 00:54:17 -04:00
Luke Street 4758103774 More CGX matches part 2 2022-08-30 18:48:44 -04:00
Luke Street 6fbaa00f07 More CGX matches 2022-08-30 01:12:32 -04:00
Luke Street b28e24862b Begin CGX/CCubeMaterial; add dolphin headers from aurora 2022-08-30 00:05:16 -04:00
Luke Street bef7db1748 Runtime/math matches; better libc headers 2022-08-25 23:46:24 -04:00
Luke Street f41c87eea7 Create & link TCastTo.cpp 2022-08-16 17:47:16 -04:00
Luke Street bcfefcc34a Renaming & more CActor progress 2022-08-15 22:14:28 -04:00
Phillip Stephens 8e90988b5c Minor CActor/CModelData fixes, add matching CActor::UpdateAnimation 2022-08-14 22:50:25 -07:00
Luke Street 09dfe946fc Continued work on CActor 2022-08-15 00:51:06 -04:00
Luke Street 16514e942e Revert bad rename 2022-08-14 14:42:30 -04:00
Luke Street 85284f7640 Continue work on CActor::UpdateAnimation; lots of headers n stuff 2022-08-14 14:38:41 -04:00
Phillip Stephens fb3a2950f9 Merge branch 'main' of github.com:PrimeDecomp/prime 2022-08-13 05:59:49 -07:00
Phillip Stephens d36775e76a DolphinCColor imps, only `Lerp(u32, u32, float)` isn't matching 2022-08-13 05:57:38 -07:00
Luke Street e16e6bca49 Start filling out CVector3f/CTransform4f 2022-08-13 00:32:42 -04:00
Luke Street 04a7213fa7 More defs for CStateManagerContainer & friends 2022-08-12 22:48:34 -04:00
Luke Street 44b17813bd Initial work on CActor.cpp 2022-08-12 21:26:54 -04:00
Phillip Stephens e418784c51 Fix IWeaponRenderer and link 2022-08-12 02:18:28 -07:00
Phillip Stephens e7117197da Add unused statics, fix CColor constructor 2022-08-11 11:35:12 -07:00
Phillip Stephens d59665aaad Link CColor.cpp 2022-08-11 11:20:15 -07:00
Phillip Stephens ba035cfa44 Implement IWeaponRenderer, can't link yet due to vtable shenanigans 2022-08-11 02:24:45 -07:00
Phillip Stephens 3d19d9ea82 More musyx imps, cleanups 2022-08-11 01:12:35 -07:00
Luke Street 0b6ce7f781 Add & link CEntity.cpp 2022-08-10 22:33:46 -04:00
Luke Street 1107bdaa26 Move back to 1.3.2 compiler 2022-08-09 19:07:49 -04:00
Phillip Stephens 47201d2495 Move extern C in musyx.h up 2022-08-05 12:46:33 -07:00
Phillip Stephens 79eff1f8b5 Give MusyX it's own types 2022-08-05 12:43:46 -07:00
Phillip Stephens 7043befead Various imps 2022-08-05 03:23:49 -07:00
Phillip Stephens 7cd80cf53b Minor correction to CInputStream::Get 2022-07-30 17:38:13 -07:00
Phillip Stephens 2f39c70005 Link CHUDMemoParms.cpp, minor data fixes 2022-07-30 13:10:04 -07:00
Phillip Stephens a404575f97 Link CCrc32.cpp 2022-07-30 05:33:31 -07:00
Phillip Stephens 4a01665439 Link CRandom16.cpp 2022-07-30 03:34:28 -07:00
Phillip Stephens 5bfa43d591 Minor cleanups 2022-07-30 02:12:25 -07:00
Phillip Stephens 7e1b3eeb58 Link creverb_fx.c, minor fixes 2022-07-28 08:50:05 -07:00
Phillip Stephens 14dc741030 Link delay_fx.c 2022-07-28 07:00:20 -07:00
Luke Street 863cf71312 Migrate to inline=deferred,noauto 2022-07-28 09:19:26 -04:00
Phillip Stephens 5b08fd287a Link reverb_fx.c 2022-07-26 23:32:31 -07:00
Phillip Stephens 848a80e9d7 Link seq_api.c 2022-07-26 22:54:00 -07:00
Phillip Stephens e88f46cb28 Link snd_service.c and hw_memory.c 2022-07-26 22:11:36 -07:00
Phillip Stephens 0e20e67870 IWeaponRender decomp (can't link yet) 2022-07-25 21:36:32 -07:00
Phillip Stephens 0680c9d62d Link IAllocator.cpp 2022-07-20 21:47:03 -07:00
Phillip Stephens d17fbf3684 Correct EOwnerShip values 2022-07-19 23:20:28 -07:00
Phillip Stephens 437b1dd3a6 Link CMemoryInStream.cpp 2022-07-19 23:19:07 -07:00
Luke Street 848752477e Reorganize includes to match asm 2022-07-18 18:42:58 -04:00
Luke Street 69ddd71fc8 Link CInputStream.cpp 2022-07-18 13:53:58 -04:00
Luke Street f511aba228 Link CStringTable.cpp 2022-07-18 09:51:34 -04:00
Luke Street 18079ecfee Almost matched CInputStream 2022-07-14 20:48:18 -04:00
Luke Street e98f62c3a6 Implement TObj*/IObj; finish matching CStringTable 2022-07-14 12:24:26 -04:00
Luke Street 16298ccb35 Fix CTexture.hpp header guard 2022-07-02 01:34:01 -04:00
Luke Street 44d675d87d Begin decompiling CCameraFilterPass::DrawWideScreen 2022-07-02 01:30:11 -04:00
Phillip Stephens 6753bb7115
Decompile dsp.c start OSReset.c 2022-04-30 01:32:00 -07:00
Phillip Stephens 85c0f37226
Finish splitting text.s! 2022-04-16 00:50:32 -07:00
Luke Street b8c0242ea7 Updates to rstl; rename some symbols; update CFLAGS 2022-04-15 15:24:52 -04:00
Phillip Stephens 51e56ed135
Split CWeaponMgr 2022-04-12 01:55:54 -07:00
Phillip Stephens 1974f6fc22
Split mslsupp.c rename TRK functions 2022-04-11 21:53:51 -07:00
Luke Street 292dfa1eea main: Add EnsureWorldPakReady 2022-04-11 18:42:14 -04:00
Luke Street 53f8d3cba7 Add headers, clang-format, decompctx.py & more 2022-04-09 20:17:13 -04:00
Phillip Stephens 7f90b8de58
MusyX: Correct global variable locations, and move synth_dbtab to C 2022-04-09 01:51:35 -07:00
Phillip Stephens 95f655b9db
Match snd_init 2022-04-08 01:30:31 -07:00
Luke Street 051cc6d15f Add WIP main.cpp / CStringTable.cpp 2022-04-05 19:22:28 -04:00
Luke Street 8a13a04b78 Symbol fixes & cleanup 2022-04-04 10:22:31 -04:00
Phillip Stephens 58412b389a
Add missing files 2022-04-04 03:20:15 -07:00
Luke Street ce247fb264 Initial commit 2022-03-23 17:22:48 -04:00