Commit Graph

220 Commits

Author SHA1 Message Date
Henrique Gemignani Passos Lima f52d22a620 Add a disaster called CEulerAngles
Former-commit-id: c93d6060e8
2022-10-17 01:49:37 +03:00
Pwootage 0fbdb1f381 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

Former-commit-id: d8804b5244
2022-10-16 13:20:36 -07:00
Henrique Gemignani Passos Lima de3ac9c9d5 Add CInputStream::Get<bool>
Former-commit-id: 8b12f9a986
2022-10-15 19:09:59 +03:00
Phillip Stephens ff2b38dc53 Match but don't link CSegIdList (rstl::vector inlining)
Former-commit-id: dc69b9f2fd
2022-10-14 22:22:32 -07:00
Phillip Stephens 9a35941d7c Remove CCallStack hack
Former-commit-id: 20ccef8a33
2022-10-14 21:33:23 -07:00
Phillip Stephens d694d5e4ea Match and link CCallStackDolphin
Former-commit-id: 2606c5f4a1
2022-10-14 08:46:40 -07:00
Henrique Gemignani Passos Lima 86fbf83a6b Match and link CPatternedInfo
Former-commit-id: 14bf190ed2
2022-10-14 18:12:16 +03:00
Henrique Gemignani Passos Lima c576574bde Match(?) CABSFlinch, but hash fails after linking
Former-commit-id: 6a7cfb135f
2022-10-14 16:36:01 +03:00
Henrique Gemignani Passos Lima 4a5fe82469 Match and link CTweakParticle
Former-commit-id: 3e06682f37
2022-10-14 13:01:20 +03:00
Henrique Gemignani Passos Lima 18de83f2e4 Match but don't link CAudioStateWin
Former-commit-id: 2313ccfa1d
2022-10-14 02:31:53 +03:00
Henrique Gemignani Passos Lima e869267b6c CParticleGen has a destructor
Former-commit-id: e6cec60cc0
2022-10-14 02:15:13 +03:00
Phillip Stephens 183e241c45 Add missing header, and fix zlib.h header guards
Former-commit-id: 125fef14cf
2022-10-12 23:13:55 -07:00
Phillip Stephens 0613bb5ea4 Match and link all remaining stream classes
Former-commit-id: 55617d2753
2022-10-12 23:10:20 -07:00
Henrique Gemignani Passos Lima 08804f22b8 Improve COutputStream::WriteChar
Former-commit-id: ef751ff69f
2022-10-12 19:58:24 +03:00
Phillip Stephens 58d095dcd4 Match and link CMemory
Former-commit-id: 16d013b419
2022-10-12 01:07:35 -07:00
Phillip Stephens 90df73af90 Match CCubeSurface
Former-commit-id: 0787cc17d0
2022-10-11 23:50:03 -07:00
Phillip Stephens 67fff47df5 Missed a header
Former-commit-id: 08e0d97ba3
2022-10-11 20:33:22 -07:00
Phillip Stephens 637de45b40 Match COutputStream::FlushShiftRegister, start DoFlush/WriteBits
Former-commit-id: 9510f70f9d
2022-10-11 20:18:01 -07:00
Henrique Gemignani Passos Lima 756f43e2d6 Move EMemoryCardPort/CCardFileInfo back to CMemoryCardSys
Former-commit-id: cfcf615e23
2022-10-12 01:11:22 +03:00
Phillip Stephens 85173e2bd8 More COutputStream
Former-commit-id: f27c87a5b5
2022-10-11 11:38:08 -07:00
Henrique Gemignani Passos Lima 7ec4707661 Use COutputStream::Put
Former-commit-id: a02037e266
2022-10-11 21:35:41 +03:00
Henrique Gemignani Passos Lima 9a4d5ae6bc Almost match CMemoryCardDriver::InitializeFileInfo
Former-commit-id: c41d43ebcb
2022-10-11 20:51:39 +03:00
Henrique Gemignani Passos Lima cc98c4bdaf Match SGameFileSlot::InitializeFromGameState (and a few others)
Former-commit-id: 9bd9f9c32f
2022-10-11 20:10:00 +03:00
Phillip Stephens 950d8e9d31 Match CMemoryCardDriver::GetCardFreeBytes
Former-commit-id: 03a49bb75e
2022-10-11 10:02:35 -07:00
Henrique Gemignani Passos Lima 5198e478f2 Add CMemoryCardDriver::BuildExistingFileSlot
Former-commit-id: 8487d3751b
2022-10-11 19:28:27 +03:00
Henrique Gemignani Passos Lima 4f2a8704db Fix errors and warnings
Former-commit-id: 9f4fc78c16
2022-10-11 18:37:27 +03:00
Luke Street 45c469d8ee CPlayerGun progress
Former-commit-id: a963804889
2022-10-11 11:31:28 -04:00
Henrique Gemignani Passos Lima 4ee3345bb2 Almost match CMemoryCardDriver::ReadFinished
Former-commit-id: da2b4706db
2022-10-11 18:21:27 +03:00
Henrique Gemignani Passos Lima c97527ba03 Add CMemoryCardDriver::InitializeFileInfo, CMemoryStreamOut
Former-commit-id: b0ce4e26f1
2022-10-11 16:41:20 +03:00
Henrique Gemignani Passos Lima df01c5f965 Match CMemoryCardDriver::StartCardFormat
Former-commit-id: 408d89630c
2022-10-11 15:31:52 +03:00
Henrique Gemignani Passos Lima db146fb35e Match CMemoryCardDriver::StartFileDeleteAltTransactional
Former-commit-id: bab26cf95f
2022-10-11 15:29:57 +03:00
Henrique Gemignani Passos Lima 063f045fb2 Match CMemoryCardDriver::StartFileWrite
Former-commit-id: 4cc0a1d579
2022-10-11 15:19:51 +03:00
Henrique Gemignani Passos Lima 2680a196e3 Add CMemoryCardDriver::StartFileCreate
Former-commit-id: ec88e2ac35
2022-10-11 15:17:26 +03:00
Henrique Gemignani Passos Lima 5b16d7f3d4 Match CMemoryCardDriver::StartFileDeleteBad
Former-commit-id: 7ca5b720aa
2022-10-11 14:50:30 +03:00
Henrique Gemignani Passos Lima 4c97e4562b Match CMemoryCardDriver::IndexFiles
Former-commit-id: c3fd91f641
2022-10-11 14:37:01 +03:00
Henrique Gemignani Passos Lima d28534812a Match CMemoryCardDriver::StartCardCheck
Former-commit-id: 65231b6191
2022-10-11 12:44:26 +03:00
Henrique Gemignani Passos Lima 62e0ee072e Match CMemoryCardDriver::StartMountCard
Former-commit-id: e5832f4854
2022-10-11 12:43:09 +03:00
Henrique Gemignani Passos Lima 3218c6bd2f Add CMemoryCardDriver::UpdateCardProbe
Former-commit-id: 0a7858ac6b
2022-10-11 12:41:19 +03:00
Luke Street 3fca1f9c89 CMemoryCardDriver progress
Former-commit-id: 32a5ad5b71
2022-10-11 00:00:52 -04:00
Henrique Gemignani Passos Lima 6cb0bff072 Add CMemoryCardDriver::UpdateCardCheck
Former-commit-id: 9fe421822a
2022-10-11 02:08:19 +03:00
Henrique Gemignani Passos Lima 3abff9b9c6 Add CMemoryCardDriver::HandleCardError
Former-commit-id: 209a12ea88
2022-10-11 02:02:10 +03:00
Henrique Gemignani Passos Lima 958a36bbb8 Add CMemoryCardDriver::Update
Former-commit-id: 45e1578166
2022-10-11 01:53:28 +03:00
Henrique Gemignani Passos Lima 2db05d2334 Add body for CMemoryCardDriver
Former-commit-id: b00d23812a
2022-10-10 22:58:25 +03:00
Henrique Gemignani Passos Lima ac0ac6abb4 Almost match CPlayerGun::TakeDamage
Former-commit-id: fbfdc6cd09
2022-10-10 22:15:26 +03:00
Phillip Stephens 9e9b501f6b Match and link TGameTypes
Former-commit-id: 8787239165
2022-10-09 19:27:35 -07:00
Phillip Stephens 21dfc645f5 Match and link CCollisionSurface
Former-commit-id: 736cec9baa
2022-10-09 16:05:06 -07:00
Phillip Stephens 484b18ae07 Match CAABox::GetTransformedAABox, minor fixes start CMetroidModelInstance
Former-commit-id: a31407c69c
2022-10-09 13:55:07 -07:00
Phillip Stephens 5e8d7a33a8 Remove unecessary padding from CVector3f
Former-commit-id: ca87e890b5
2022-10-09 10:57:13 -07:00
Luke Street f64e9c953a Match & link CIntElement
Former-commit-id: a110979970
2022-10-09 12:35:06 -04:00
Henrique Gemignani Passos Lima ac84b38d5d Add CPlayerGun::CMotionState::Update
Former-commit-id: ac068fd97d
2022-10-09 17:41:13 +03:00
Phillip Stephens ac0e3ef534 Match CConsoleOutputWindow, regswaps in constructor
Former-commit-id: 27bd20ff1d
2022-10-08 23:55:36 -07:00
Luke Street 2f62a31d18 Fix CColor Get*u8 functions
Former-commit-id: 4d40ca80d8
2022-10-09 01:44:48 -04:00
Luke Street 7ca3a1c0bb 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.


Former-commit-id: 133326ae40
2022-10-09 01:37:23 -04:00
Luke Street 7f83e1fa03 Standardize include guards, clang-format headers
Former-commit-id: 261ee48bba
2022-10-09 01:13:17 -04:00
Henrique Gemignani Passos Lima 98e4732d20 Almost match CGSFreeLook::SetAnim
Former-commit-id: a1ee7b17e8
2022-10-09 01:20:30 +03:00
Phillip Stephens 52e270ebf7 Match and link CFinalInput
Former-commit-id: bacfa6a458
2022-10-08 15:05:33 -07:00
Phillip Stephens b486f6a890 Match and link all CArchMsgParm*
Former-commit-id: 954e820f65
2022-10-08 12:38:29 -07:00
Phillip Stephens 3aefff6950 Match and link CIOWin
Former-commit-id: 1029d92fd4
2022-10-08 02:21:38 -07:00
Luke Street dbd1477d01 Match & link CScriptPickup
Former-commit-id: a7cefd7c4b
2022-10-08 01:12:48 -04:00
Luke Street 3cbf350f85 CScriptPickup progress
Former-commit-id: 27fedfee46
2022-10-08 00:53:34 -04:00
Phillip Stephens ef3466ac1b Match and link CCollisionInfo
Former-commit-id: dbaf1f40ca
2022-10-06 21:23:10 -07:00
Henrique Gemignani Passos Lima e75876c5ea Move CPASDatabase to Kyoto/Animation
Former-commit-id: 38e19caf18
2022-10-07 02:10:07 +03:00
Henrique Gemignani Passos Lima 698badd39d Fix compilation
Former-commit-id: a6a103de01
2022-10-06 23:40:41 +03:00
Henrique Gemignani Passos Lima dc7903e2c7 Add CPlayerGun::UpdateWeaponFire
Former-commit-id: 3b152e5efa
2022-10-06 22:45:21 +03:00
Phillip Stephens f507623c40 More CPlayerGun matches
Former-commit-id: ec34055dbb
2022-10-06 07:24:38 -07:00
Phillip Stephens 9b1b52d774 Initial CRumbleVoice, various fixes
Former-commit-id: ed90d87a4b
2022-10-06 05:51:36 -07:00
Henrique Gemignani Passos Lima f9c75b90ee Almost match ~CPlayerGun
Former-commit-id: c332d1ef47
2022-10-06 14:04:05 +03:00
Henrique Gemignani Passos Lima ba9faeb44c Reasonably match CPlayerGun constructor
Former-commit-id: 72d07311fd
2022-10-06 13:38:28 +03:00
Henrique Gemignani Passos Lima 3caccf5974 Progress in CPlayerGun constructor
Former-commit-id: a40d835759
2022-10-06 13:38:28 +03:00
Phillip Stephens 143a96518e Match and link RubmleAdsr
Former-commit-id: 08d4f2a080
2022-10-06 02:50:00 -07:00
Phillip Stephens df58a7e690 Add missing include
Former-commit-id: a37c4fde2e
2022-10-06 02:27:07 -07:00
Phillip Stephens 5c0e4be01c Match and link IObj
Former-commit-id: bef91d45de
2022-10-06 02:23:45 -07:00
Phillip Stephens ec9e639009 Match CLight, has issues with constants
Former-commit-id: b039acfac8
2022-10-06 01:40:00 -07:00
Phillip Stephens 96236df954 Match and link CSphere
Former-commit-id: 68616cba51
2022-10-05 16:45:56 -07:00
Henrique Gemignani Passos Lima 94eb8324a8 Compilation fix for many files
Former-commit-id: 44e4110ffb
2022-10-06 02:34:48 +03:00
Phillip Stephens 8c4c08865b Almost forgot these
Former-commit-id: 4ba459c876
2022-10-05 16:26:43 -07:00
Luke Street a578b055a2 Header merge & CScriptPickup progress
Former-commit-id: 45c5450376
2022-10-05 19:06:15 -04:00
Phillip Stephens a3aa74f563 More CPhysicsActor
Former-commit-id: bc81e35c6b
2022-10-05 15:50:12 -07:00
Henrique Gemignani Passos Lima e2e4fe7f6c Add CScriptPickup and all dependencies
Former-commit-id: 78aebc8960
2022-10-05 21:06:23 +03:00
Phillip Stephens 2d128edc26 More CPhysicsActor
Former-commit-id: 248a703cb4
2022-10-05 10:24:06 -07:00
Phillip Stephens 69dbad8bce Start work on CPhysicsActor
Former-commit-id: dc8e4b8106
2022-10-05 09:28:48 -07:00
Phillip Stephens 3ed47d5cde Fix linking with static libs, CVector3f work, Initial COutputStream
Former-commit-id: 693fe93eab
2022-10-04 18:31:56 -07:00
Luke Street e7ecda7a36 CScriptSpecialFunction progress & symbol updates
Former-commit-id: 84d590be2f
2022-10-04 20:16:35 -04:00
Phillip Stephens 60cc687cd1 Match and link CVector2f
Former-commit-id: b85528fbab
2022-10-04 14:00:16 -07:00
Phillip Stephens 171da931cc Match and link CVector2i
Former-commit-id: 45312e97ea
2022-10-04 13:11:34 -07:00
Phillip Stephens f8688e02e3 Initial pass at CDecal classes
Former-commit-id: 4b24bba57e
2022-10-04 12:58:17 -07:00
Phillip Stephens 2ef9d69288 Match and link CVector3d, add CVector3i.s
Former-commit-id: cdbbfba34e
2022-10-04 12:57:04 -07:00
Henrique Gemignani Passos Lima e56a45c6c4 First pass at CPlayerState::PutTo
Former-commit-id: 4fcad1ada2
2022-10-04 21:50:29 +03:00
Luke Street bc202ba493 Lots of stuff
Former-commit-id: 39b5f3c01e
2022-10-03 20:00:46 -04:00
Henrique Gemignani Passos Lima 469c499a6b CSfxManager: make priority values const
Former-commit-id: 0acb1e0e40
2022-10-03 20:03:50 +03:00
Henrique Gemignani Passos Lima a90e68436b CSfxManager: Add kAllAreas, areaId to int
Former-commit-id: 4b08f70a0b
2022-10-03 20:00:51 +03:00
Henrique Gemignani Passos Lima bd8d881f6b Add kMaxPriority/kMedPriority to CSfxManager
Former-commit-id: b423771f97
2022-10-03 19:23:22 +03:00
Henrique Gemignani Passos Lima d55ba2e58e Fix CSfxManager::PitchBend types
Former-commit-id: 97282648b4
2022-10-03 19:04:56 +03:00
Henrique Gemignani Passos Lima 8cac11d25d Match CScriptSpecialFunction::DeleteEmitter
Former-commit-id: e48f6478f9
2022-10-03 18:59:07 +03:00
Henrique Gemignani Passos Lima 1ede41207b Improve CAABox::GetExtents
Thanks encounter


Former-commit-id: 3f4e53ec74
2022-10-03 18:05:16 +03:00
Henrique Gemignani Passos Lima c5a4f660bb TAverage: don't implement AddValue inline
Former-commit-id: ce2276b310
2022-10-03 18:03:57 +03:00
Henrique Gemignani Passos Lima 3997f75e24 Improve match for CScriptSpecialFunction::Render
Former-commit-id: 80843df748
2022-10-03 16:15:34 +03:00
Henrique Gemignani Passos Lima 16e4de9bfe Implement CScriptSpecialFunction::ThinkSpinnerController
Former-commit-id: d26a30f186
2022-10-03 14:55:03 +03:00
Luke Street 682ce50113 Fix CUnitVector3f non-match
Former-commit-id: 60c82b0a89
2022-10-03 00:56:11 -04:00
Luke Street cd85b46d6d More CScriptSpecialFunction; start rstl::map/red_black_tree
Former-commit-id: 87c0a6041c
2022-10-03 00:49:20 -04:00