Commit Graph

360 Commits

Author SHA1 Message Date
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
Henrique Gemignani Passos Lima bda30a003b
Add CRipple::CRipple 2022-10-17 01:32:15 +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 d410febb1d
Match and link CTweakSlideShow 2022-10-16 19:36:07 +03:00
Henrique Gemignani Passos Lima eec8e29044
Add CTweakPlayerControl 2022-10-16 18:59:40 +03:00
Henrique Gemignani Passos Lima 0a7aa39f41
Match and link CScriptPlayerStateChange.
Thanks Antidote
2022-10-16 18:16:28 +03:00
Henrique Gemignani Passos Lima e2c87919cb
Match and link CTweakGame 2022-10-16 17:57:07 +03:00
Henrique Gemignani Passos Lima 44282da01f
Add CScriptRipple 2022-10-16 17:41:14 +03:00
Henrique Gemignani Passos Lima 2c7dcd7665
Match and link CScriptRelay 2022-10-16 16:59:20 +03:00
Henrique Gemignani Passos Lima 7cb4d107ca
Match and link CScriptCounter 2022-10-16 16:31:44 +03:00
Henrique Gemignani Passos Lima e9f0009c47
Add CScriptPlayerStateChange, one regswap away from matching 2022-10-16 16:20:53 +03:00
Henrique Gemignani Passos Lima 7b1fc72739
Add CScriptDockAreaChange 2022-10-16 03:03:19 +03:00
Henrique Gemignani Passos Lima 0648bc0e59
Match and link CScriptMemoryRelay 2022-10-15 19:24:27 +03:00
Phillip Stephens dc69b9f2fd Match but don't link CSegIdList (rstl::vector inlining) 2022-10-14 22:22:32 -07:00
Henrique Gemignani Passos Lima 0bdf386768
CScriptAreaAttributes showSkybox uses uchar 2022-10-14 19:27:11 +03:00
Henrique Gemignani Passos Lima 62e9ad1c54
Add CScriptAreaAttributes 2022-10-14 19:03:48 +03:00
Henrique Gemignani Passos Lima 14bf190ed2
Match and link CPatternedInfo 2022-10-14 18:12:16 +03:00
Henrique Gemignani Passos Lima 5549e1b6d4
Add CAABoxFilter 2022-10-14 17:06:06 +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 79efb3b29c
Almost match SPositionHistory 2022-10-14 15:20:36 +03:00
Henrique Gemignani Passos Lima 4999dff1f2
Almost match CTweakPlayer 2022-10-14 13:41:25 +03:00
Henrique Gemignani Passos Lima 3e06682f37
Match and link CTweakParticle 2022-10-14 13:01:20 +03:00
Henrique Gemignani Passos Lima c4045da4b3
Match and link CABSIdle 2022-10-14 11:49:48 +03:00
Henrique Gemignani Passos Lima 1f5290572d
Add CInstruction 2022-10-14 11:49:48 +03:00
Phillip Stephens 9d4efb09ae Nearly match Decode.cpp 2022-10-14 00:45:18 -07:00
Phillip Stephens b57ec9605e Match and link GameObjectLists.cpp 2022-10-13 22:58:49 -07:00
Phillip Stephens ba9184e06f Match and link CObjectList 2022-10-13 21:50:56 -07:00
Henrique Gemignani Passos Lima 2313ccfa1d
Match but don't link CAudioStateWin 2022-10-14 02:31:53 +03:00
Henrique Gemignani Passos Lima 4b593647d6
Add CEffect 2022-10-14 02:06:56 +03:00
Henrique Gemignani Passos Lima 5dc8a60233
Match and link CBallFilter 2022-10-14 01:49:37 +03:00
Henrique Gemignani Passos Lima a859570ce0
Match and link CHealthInfo 2022-10-14 01:37:32 +03:00
Phillip Stephens 16d013b419 Match and link CMemory 2022-10-12 01:07:35 -07:00
Henrique Gemignani Passos Lima 1d323af190
Use a struct instead of pair for x198_fileInfo 2022-10-12 01:37:14 +03:00
Henrique Gemignani Passos Lima cfcf615e23
Move EMemoryCardPort/CCardFileInfo back to CMemoryCardSys 2022-10-12 01:11:22 +03:00
Henrique Gemignani Passos Lima a02037e266
Use COutputStream::Put 2022-10-11 21:35:41 +03:00
Henrique Gemignani Passos Lima 9bd9f9c32f
Match SGameFileSlot::InitializeFromGameState (and a few others) 2022-10-11 20:10:00 +03:00
Henrique Gemignani Passos Lima fb0c6815ac
Add SGameFileSlot/SSaveHeader constructors 2022-10-11 20:10:00 +03:00
Henrique Gemignani Passos Lima 93ef9574e1
Add CMemoryCardDriver::ExportPersistentOptions 2022-10-11 19:56:45 +03:00
Henrique Gemignani Passos Lima 46335059ec
Match CMemoryCardDriver::ImportPersistentOptions 2022-10-11 19:38:13 +03:00
Henrique Gemignani Passos Lima 8487d3751b
Add CMemoryCardDriver::BuildExistingFileSlot 2022-10-11 19:28:27 +03:00
Henrique Gemignani Passos Lima cdfda89fa6
Almost match CMemoryCardDriver::BuildNewFileSlot 2022-10-11 19:08:45 +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 ec88e2ac35
Add CMemoryCardDriver::StartFileCreate 2022-10-11 15:17:26 +03:00
Henrique Gemignani Passos Lima c3fd91f641
Match CMemoryCardDriver::IndexFiles 2022-10-11 14:37:01 +03:00
Henrique Gemignani Passos Lima d7cf2ebdde
Match CMemoryCardDriver::CheckCardCapacity 2022-10-11 14:07:44 +03:00
Henrique Gemignani Passos Lima d780a22b4e
Match CMemoryCardDriver::WriteBackupBuf 2022-10-11 12:03:10 +03:00
Luke Street 32a5ad5b71 CMemoryCardDriver progress 2022-10-11 00:00:52 -04:00
Henrique Gemignani Passos Lima 711a67cc54
Add almost matched CMemoryCardDriver::UpdateFileRead 2022-10-11 02:22:28 +03: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 8d49e80502
Add CMemoryCardDriver::CMemoryCardDriver 2022-10-11 00:46:32 +03:00
Henrique Gemignani Passos Lima b00d23812a
Add body for CMemoryCardDriver 2022-10-10 22:58:25 +03:00
Henrique Gemignani Passos Lima e7e54730a3
Add CMemoryCardDriver 2022-10-10 22:44:11 +03:00
Henrique Gemignani Passos Lima fbfdc6cd09
Almost match CPlayerGun::TakeDamage 2022-10-10 22:15:26 +03:00
Henrique Gemignani Passos Lima f14ca94607
Fix building `ninja all_source` 2022-10-10 12:46:51 +03:00
Phillip Stephens 8787239165 Match and link TGameTypes 2022-10-09 19:27:35 -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 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 39700ad779 clang-format source files 2022-10-09 01:16:21 -04:00
Luke Street 261ee48bba Standardize include guards, clang-format headers 2022-10-09 01:13:17 -04:00
Henrique Gemignani Passos Lima caef0a6d66
Match CGSFreeLook::Update 2022-10-09 01:20:30 +03:00
Henrique Gemignani Passos Lima a1ee7b17e8
Almost match CGSFreeLook::SetAnim 2022-10-09 01:20:30 +03:00
Phillip Stephens 954e820f65 Match and link all CArchMsgParm* 2022-10-08 12:38:29 -07:00
Phillip Stephens e6969f0236 Match and link CAxisAngle 2022-10-08 10:39:03 -07:00
Phillip Stephens 1029d92fd4 Match and link CIOWin 2022-10-08 02:21:38 -07:00
Phillip Stephens 9ae9e52ed7 Start matching CFire, weird regswaps in constructor, rmemory_allocator constructors 2022-10-08 01:44:58 -07:00
Phillip Stephens a4a1d189da Formatting fix 2022-10-07 23:56:56 -07:00
Phillip Stephens 9cfd7f1776 Match and link CScriptSwitch 2022-10-07 23:55:54 -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
Henrique Gemignani Passos Lima 8f1d21ac83
Match CGunMotion::LoadAnimations 2022-10-07 02:44:37 +03:00
Henrique Gemignani Passos Lima 77ad228fdb
Match CGunMotion::Draw/GetFreeLookSetId 2022-10-07 02:28:42 +03:00
Henrique Gemignani Passos Lima d54cc35e8d
Match CGunMotion::Update 2022-10-07 02:12:59 +03:00
Henrique Gemignani Passos Lima 38e19caf18
Move CPASDatabase to Kyoto/Animation 2022-10-07 02:10:07 +03:00
Henrique Gemignani Passos Lima b4e3361020
Things for CGunMotion 2022-10-07 01:53:47 +03:00
Henrique Gemignani Passos Lima c68d72a84c
Add CGunController 2022-10-07 01:53:47 +03:00
Henrique Gemignani Passos Lima a6a103de01
Fix compilation 2022-10-06 23:40:41 +03:00
Henrique Gemignani Passos Lima a9f4b00047
Add CPlayerGun::UpdateGunIdle 2022-10-06 23:40:41 +03:00
Henrique Gemignani Passos Lima b7c1e4145e
Add SFX indices from metaforce 2022-10-06 23:15:46 +03:00
Henrique Gemignani Passos Lima 3b152e5efa
Add CPlayerGun::UpdateWeaponFire 2022-10-06 22:45:21 +03:00
Henrique Gemignani Passos Lima c059b527ec
Almost match CPlayerGun::GetTargetId 2022-10-06 19:57:29 +03:00
Henrique Gemignani Passos Lima e804eb8373
Add CPlayerGun::GetBeamVelocity 2022-10-06 19:45:09 +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 fa1c86c129
Add all methods declarations to CPlayerGun 2022-10-06 15:34:36 +03:00
Henrique Gemignani Passos Lima 6d2ab5775d
Add CPlayerGun::PreRender/CPlayerGun::AddToRenderer 2022-10-06 14:37:57 +03:00
Henrique Gemignani Passos Lima 2ea891339a
More destructor declarations 2022-10-06 14:06:55 +03: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
Henrique Gemignani Passos Lima 835ea5361f
Add CPlayerGun::CPlayerGun 2022-10-06 13:38:28 +03:00
Henrique Gemignani Passos Lima 074cb7ff98
Add CTweakGunRes and CTweakPlayerGun 2022-10-06 13:38:27 +03:00
Phillip Stephens b039acfac8 Match CLight, has issues with constants 2022-10-06 01:40:00 -07:00
Henrique Gemignani Passos Lima 44e4110ffb
Compilation fix for many files 2022-10-06 02:34:48 +03:00
Luke Street 45c5450376 Header merge & CScriptPickup progress 2022-10-05 19:06:15 -04:00
Henrique Gemignani Passos Lima 24acd9863f
Add CPlayerGun, CGidget, CPlayerCameraBob 2022-10-06 01:56:52 +03: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 7c14c56219 Don't link snd_math 2022-10-05 10:59:51 -07:00
Phillip Stephens 75909783bc Get/SetPhysicsState fixes 2022-10-05 10:53:15 -07: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 8dd881eab1 CPlayerState fixes 2022-10-04 23:46:30 -07:00
Luke Street 84d590be2f CScriptSpecialFunction progress & symbol updates 2022-10-04 20:16:35 -04:00
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 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 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 87c0a6041c More CScriptSpecialFunction; start rstl::map/red_black_tree 2022-10-03 00:49:20 -04:00
Luke Street fdbd70eea1 CScriptSpecialFunction: More matches 2022-10-02 18:27:13 -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 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
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
Luke Street 6944a14e89 Symbol fixes, headers & main progress 2022-10-01 02:19:15 -04: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
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
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 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
Luke Street ff0275b48f CScriptMazeNode progress 2022-09-15 00:08:57 -04: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
Luke Street a6e365791b More main progress; tons of headers & stuff 2022-09-13 00:28:02 -04:00
Luke Street 7eb08b6ee8 Migrate s32->int, u32->uint; fix dolphin/types.h 2022-09-05 00:01:22 -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 85284f7640 Continue work on CActor::UpdateAnimation; lots of headers n stuff 2022-08-14 14:38:41 -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
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 7043befead Various imps 2022-08-05 03:23:49 -07:00
Phillip Stephens 2f39c70005 Link CHUDMemoParms.cpp, minor data fixes 2022-07-30 13:10:04 -07:00
Luke Street 848752477e Reorganize includes to match asm 2022-07-18 18:42:58 -04:00