Commit Graph

285 Commits

Author SHA1 Message Date
Henrique Gemignani Passos Lima 83fe50ee1f
Fix CElementGen being abstract 2022-10-20 01:06:17 +03:00
Phillip Stephens 8281bd5424 Remove fake destructor definitions 2022-10-18 20:51:49 -07:00
Luke Street 9bb016c149 Link CParticleGenInfo 2022-10-18 23:50:15 -04:00
Luke Street 3029184d1e Implement rstl::list::push_back; CInputGenerator 98% 2022-10-18 23:35:26 -04:00
Phillip Stephens 73c5e9eaf8 Start CVectorElement.cpp 2022-10-18 20:04:02 -07:00
Luke Street 2c60ca8c47 Add CColorElement, CUVElement 2022-10-18 19:13:57 -04:00
Henrique Gemignani Passos Lima 61215c124c
Match and link CGameLight 2022-10-19 01:00:44 +03:00
Henrique Gemignani Passos Lima f091a58822
Also match CGameLight 2022-10-18 23:21:14 +03:00
Luke Street bb99d88d3b Add several particle classes; link CParticleGlobals
Adds CModVectorElement, CParticleDataFactory, CParticleGlobals, CRealElement
CRealElement & CModVectorElement are very close to matching
2022-10-17 22:06:45 -04:00
Henrique Gemignani Passos Lima 629a014207
Improving match of CPhysicsActor 2022-10-18 03:37:11 +03:00
Henrique Gemignani Passos Lima f7715e98f6
Add CParticleGenInfo and CParticleGenInfoGeneric 2022-10-17 18:02:11 +03:00
Henrique Gemignani Passos Lima 6aaf6fbd0d
Match and link CRumbleManager 2022-10-17 14:10:16 +03:00
Luke Street 608f103163 Rename kEnvPassThru -> kEnvPassthru 2022-10-16 23:01:00 -04:00
Luke Street cd88e8eedd CDecal progress 2022-10-16 22:33:08 -04:00
Luke Street 5e367d95ee Link Decode & CABSFlinch 2022-10-16 20:46:56 -04:00
Henrique Gemignani Passos Lima c93d6060e8
Add a disaster called CEulerAngles 2022-10-17 01:49:37 +03:00
Pwootage d8804b5244
CGBASupport (#13)
* Start work on GBASupport

* Match update

* Almost perfect match

* Very close to 100% match

* Match & link CGBASupport

* Fix some naming

* use c-cstle cast and round-up
2022-10-16 13:20:36 -07:00
Henrique Gemignani Passos Lima 8b12f9a986
Add CInputStream::Get<bool> 2022-10-15 19:09:59 +03:00
Phillip Stephens dc69b9f2fd Match but don't link CSegIdList (rstl::vector inlining) 2022-10-14 22:22:32 -07:00
Phillip Stephens 20ccef8a33 Remove CCallStack hack 2022-10-14 21:33:23 -07:00
Phillip Stephens 2606c5f4a1 Match and link CCallStackDolphin 2022-10-14 08:46:40 -07:00
Henrique Gemignani Passos Lima 14bf190ed2
Match and link CPatternedInfo 2022-10-14 18:12:16 +03:00
Henrique Gemignani Passos Lima 6a7cfb135f
Match(?) CABSFlinch, but hash fails after linking 2022-10-14 16:36:01 +03:00
Henrique Gemignani Passos Lima 3e06682f37
Match and link CTweakParticle 2022-10-14 13:01:20 +03:00
Henrique Gemignani Passos Lima 2313ccfa1d
Match but don't link CAudioStateWin 2022-10-14 02:31:53 +03:00
Henrique Gemignani Passos Lima e6cec60cc0
CParticleGen has a destructor 2022-10-14 02:15:13 +03:00
Phillip Stephens 125fef14cf Add missing header, and fix zlib.h header guards 2022-10-12 23:13:55 -07:00
Phillip Stephens 55617d2753 Match and link all remaining stream classes 2022-10-12 23:10:20 -07:00
Henrique Gemignani Passos Lima ef751ff69f
Improve COutputStream::WriteChar 2022-10-12 19:58:24 +03:00
Phillip Stephens 16d013b419 Match and link CMemory 2022-10-12 01:07:35 -07:00
Phillip Stephens 0787cc17d0 Match CCubeSurface 2022-10-11 23:50:03 -07:00
Phillip Stephens 08e0d97ba3 Missed a header 2022-10-11 20:33:22 -07:00
Phillip Stephens 9510f70f9d Match COutputStream::FlushShiftRegister, start DoFlush/WriteBits 2022-10-11 20:18:01 -07:00
Henrique Gemignani Passos Lima cfcf615e23
Move EMemoryCardPort/CCardFileInfo back to CMemoryCardSys 2022-10-12 01:11:22 +03:00
Phillip Stephens f27c87a5b5 More COutputStream 2022-10-11 11:38:08 -07:00
Henrique Gemignani Passos Lima a02037e266
Use COutputStream::Put 2022-10-11 21:35:41 +03:00
Henrique Gemignani Passos Lima c41d43ebcb
Almost match CMemoryCardDriver::InitializeFileInfo 2022-10-11 20:51:39 +03:00
Henrique Gemignani Passos Lima 9bd9f9c32f
Match SGameFileSlot::InitializeFromGameState (and a few others) 2022-10-11 20:10:00 +03:00
Phillip Stephens 03a49bb75e Match CMemoryCardDriver::GetCardFreeBytes 2022-10-11 10:02:35 -07:00
Henrique Gemignani Passos Lima 8487d3751b
Add CMemoryCardDriver::BuildExistingFileSlot 2022-10-11 19:28:27 +03:00
Henrique Gemignani Passos Lima 9f4fc78c16
Fix errors and warnings 2022-10-11 18:37:27 +03:00
Luke Street a963804889 CPlayerGun progress 2022-10-11 11:31:28 -04:00
Henrique Gemignani Passos Lima da2b4706db
Almost match CMemoryCardDriver::ReadFinished 2022-10-11 18:21:27 +03:00
Henrique Gemignani Passos Lima b0ce4e26f1
Add CMemoryCardDriver::InitializeFileInfo, CMemoryStreamOut 2022-10-11 16:41:20 +03:00
Henrique Gemignani Passos Lima 408d89630c
Match CMemoryCardDriver::StartCardFormat 2022-10-11 15:31:52 +03:00
Henrique Gemignani Passos Lima bab26cf95f
Match CMemoryCardDriver::StartFileDeleteAltTransactional 2022-10-11 15:29:57 +03:00
Henrique Gemignani Passos Lima 4cc0a1d579
Match CMemoryCardDriver::StartFileWrite 2022-10-11 15:19:51 +03:00
Henrique Gemignani Passos Lima ec88e2ac35
Add CMemoryCardDriver::StartFileCreate 2022-10-11 15:17:26 +03:00
Henrique Gemignani Passos Lima 7ca5b720aa
Match CMemoryCardDriver::StartFileDeleteBad 2022-10-11 14:50:30 +03:00
Henrique Gemignani Passos Lima c3fd91f641
Match CMemoryCardDriver::IndexFiles 2022-10-11 14:37:01 +03:00
Henrique Gemignani Passos Lima 65231b6191
Match CMemoryCardDriver::StartCardCheck 2022-10-11 12:44:26 +03:00
Henrique Gemignani Passos Lima e5832f4854
Match CMemoryCardDriver::StartMountCard 2022-10-11 12:43:09 +03:00
Henrique Gemignani Passos Lima 0a7858ac6b
Add CMemoryCardDriver::UpdateCardProbe 2022-10-11 12:41:19 +03:00
Luke Street 32a5ad5b71 CMemoryCardDriver progress 2022-10-11 00:00:52 -04:00
Henrique Gemignani Passos Lima 9fe421822a
Add CMemoryCardDriver::UpdateCardCheck 2022-10-11 02:08:19 +03:00
Henrique Gemignani Passos Lima 209a12ea88
Add CMemoryCardDriver::HandleCardError 2022-10-11 02:02:10 +03:00
Henrique Gemignani Passos Lima 45e1578166
Add CMemoryCardDriver::Update 2022-10-11 01:53:28 +03:00
Henrique Gemignani Passos Lima b00d23812a
Add body for CMemoryCardDriver 2022-10-10 22:58:25 +03:00
Henrique Gemignani Passos Lima fbfdc6cd09
Almost match CPlayerGun::TakeDamage 2022-10-10 22:15:26 +03:00
Phillip Stephens 8787239165 Match and link TGameTypes 2022-10-09 19:27:35 -07:00
Phillip Stephens 736cec9baa Match and link CCollisionSurface 2022-10-09 16:05:06 -07:00
Phillip Stephens a31407c69c Match CAABox::GetTransformedAABox, minor fixes start CMetroidModelInstance 2022-10-09 13:55:07 -07:00
Phillip Stephens ca87e890b5 Remove unecessary padding from CVector3f 2022-10-09 10:57:13 -07:00
Luke Street a110979970 Match & link CIntElement 2022-10-09 12:35:06 -04:00
Henrique Gemignani Passos Lima ac068fd97d
Add CPlayerGun::CMotionState::Update 2022-10-09 17:41:13 +03:00
Phillip Stephens 27bd20ff1d Match CConsoleOutputWindow, regswaps in constructor 2022-10-08 23:55:36 -07:00
Luke Street 4d40ca80d8 Fix CColor Get*u8 functions 2022-10-09 01:44:48 -04:00
Luke Street 133326ae40 Replace int types in Retro code
Retro seemingly avoided using the Dolphin
typedefs in most places, opting to use int/uint
instead. This likely means they didn't use
u8/s8/u16/s16/etc either.
2022-10-09 01:37:23 -04:00
Luke Street 261ee48bba Standardize include guards, clang-format headers 2022-10-09 01:13:17 -04:00
Henrique Gemignani Passos Lima a1ee7b17e8
Almost match CGSFreeLook::SetAnim 2022-10-09 01:20:30 +03:00
Phillip Stephens bacfa6a458 Match and link CFinalInput 2022-10-08 15:05:33 -07:00
Phillip Stephens 954e820f65 Match and link all CArchMsgParm* 2022-10-08 12:38:29 -07:00
Phillip Stephens 1029d92fd4 Match and link CIOWin 2022-10-08 02:21:38 -07:00
Luke Street a7cefd7c4b Match & link CScriptPickup 2022-10-08 01:12:48 -04:00
Luke Street 27fedfee46 CScriptPickup progress 2022-10-08 00:53:34 -04:00
Phillip Stephens dbaf1f40ca Match and link CCollisionInfo 2022-10-06 21:23:10 -07:00
Henrique Gemignani Passos Lima 38e19caf18
Move CPASDatabase to Kyoto/Animation 2022-10-07 02:10:07 +03:00
Henrique Gemignani Passos Lima a6a103de01
Fix compilation 2022-10-06 23:40:41 +03:00
Henrique Gemignani Passos Lima 3b152e5efa
Add CPlayerGun::UpdateWeaponFire 2022-10-06 22:45:21 +03:00
Phillip Stephens ec34055dbb More CPlayerGun matches 2022-10-06 07:24:38 -07:00
Phillip Stephens ed90d87a4b Initial CRumbleVoice, various fixes 2022-10-06 05:51:36 -07:00
Henrique Gemignani Passos Lima c332d1ef47
Almost match ~CPlayerGun 2022-10-06 14:04:05 +03:00
Henrique Gemignani Passos Lima 72d07311fd
Reasonably match CPlayerGun constructor 2022-10-06 13:38:28 +03:00
Henrique Gemignani Passos Lima a40d835759
Progress in CPlayerGun constructor 2022-10-06 13:38:28 +03:00
Phillip Stephens 08d4f2a080 Match and link RubmleAdsr 2022-10-06 02:50:00 -07:00
Phillip Stephens a37c4fde2e Add missing include 2022-10-06 02:27:07 -07:00
Phillip Stephens bef91d45de Match and link IObj 2022-10-06 02:23:45 -07:00
Phillip Stephens b039acfac8 Match CLight, has issues with constants 2022-10-06 01:40:00 -07:00
Phillip Stephens 68616cba51 Match and link CSphere 2022-10-05 16:45:56 -07:00
Henrique Gemignani Passos Lima 44e4110ffb
Compilation fix for many files 2022-10-06 02:34:48 +03:00
Phillip Stephens 4ba459c876 Almost forgot these 2022-10-05 16:26:43 -07:00
Luke Street 45c5450376 Header merge & CScriptPickup progress 2022-10-05 19:06:15 -04:00
Phillip Stephens bc81e35c6b More CPhysicsActor 2022-10-05 15:50:12 -07:00
Henrique Gemignani Passos Lima 78aebc8960
Add CScriptPickup and all dependencies 2022-10-05 21:06:23 +03:00
Phillip Stephens 248a703cb4 More CPhysicsActor 2022-10-05 10:24:06 -07:00
Phillip Stephens dc8e4b8106 Start work on CPhysicsActor 2022-10-05 09:28:48 -07:00
Phillip Stephens 693fe93eab Fix linking with static libs, CVector3f work, Initial COutputStream 2022-10-04 18:31:56 -07:00
Luke Street 84d590be2f CScriptSpecialFunction progress & symbol updates 2022-10-04 20:16:35 -04:00
Phillip Stephens b85528fbab Match and link CVector2f 2022-10-04 14:00:16 -07:00
Phillip Stephens 45312e97ea Match and link CVector2i 2022-10-04 13:11:34 -07:00
Phillip Stephens 4b24bba57e Initial pass at CDecal classes 2022-10-04 12:58:17 -07:00
Phillip Stephens cdbbfba34e Match and link CVector3d, add CVector3i.s 2022-10-04 12:57:04 -07:00
Henrique Gemignani Passos Lima 4fcad1ada2
First pass at CPlayerState::PutTo 2022-10-04 21:50:29 +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 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 80843df748
Improve match for CScriptSpecialFunction::Render 2022-10-03 16:15:34 +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 e8133e9476 Add missing TAverage.hpp 2022-10-02 17:53:28 -04:00
Henrique Gemignani Passos Lima 6ffb16e4a9
Preparing other headers for CScriptSpecialFunction 2022-10-02 18:21:51 +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
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
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
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 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 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 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 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
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
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