Commit Graph

546 Commits

Author SHA1 Message Date
Phillip Stephens 6a869c568d Disable clang-format for runtime.c 2022-10-25 22:58:54 -07:00
Phillip Stephens 5bad64c75a Convert runtime.s to inline assembly and link 2022-10-25 22:54:37 -07:00
Phillip Stephens 2263c6843f Match and link OSTime 2022-10-25 22:00:49 -07:00
Henrique Gemignani Passos Lima 1bb8002205
97% rbtree_rebalance 2022-10-26 01:55:04 +03:00
Henrique Gemignani Passos Lima cb11fd2320
Add rstl_map.cpp 2022-10-26 00:55:17 +03:00
Henrique Gemignani Passos Lima 368fff5a2e
Add CBSGenerate 2022-10-25 22:35:44 +03:00
Henrique Gemignani Passos Lima 5161698bef
Add CBodyStateInfo 2022-10-25 18:43:42 +03:00
Henrique Gemignani Passos Lima 4db5549046
Add CBSSlide very close to matching 2022-10-25 02:29:11 +03:00
Phillip Stephens 25294591f6 Minor fixes, rename CStateFlowSetter to CStateSetterFlow 2022-10-23 19:03:16 -07:00
Phillip Stephens f18a1963f0 Add CMainFlow 2022-10-23 18:44:54 -07:00
Phillip Stephens dd62a7eaa0 Match and link PatternedCastTo 2022-10-23 11:36:25 -07:00
Henrique Gemignani Passos Lima 2999309f13
Add CScriptVisorFlare and CVisorFlare 2022-10-23 16:44:06 +03:00
Phillip Stephens 06464964dd Add CStateMachine, mostly matched, constructor needs work 2022-10-22 21:49:41 -07:00
Phillip Stephens 8fad208125 Add CScannableObjectInfo (this thing is a confusing mess) 2022-10-22 20:02:37 -07:00
Phillip Stephens dc4e515746 Match and link CControlMapper 2022-10-22 14:11:03 -07:00
Phillip Stephens 3ef2263170 Add CControlMapper 2022-10-22 13:57:30 -07:00
Phillip Stephens 65ea70e44b Link dsp.c 2022-10-22 09:49:11 -07:00
Luke Street d4601c22b0 CScriptMidi: Update for CEntity getters 2022-10-22 12:00:11 -04:00
Luke Street 3e2ea84c7e Use private fields + getters for CEntity 2022-10-22 11:57:01 -04:00
Phillip Stephens 1ddf72b492 Match and link fstload.c 2022-10-22 00:02:30 -07:00
Phillip Stephens c4e4352c4f Add dvdidutils.c 2022-10-21 22:09:43 -07:00
Henrique Gemignani Passos Lima 1b5ee3bee8
Add CScriptMidi 2022-10-22 00:40:29 +03:00
Henrique Gemignani Passos Lima 890d2bb2d1
Add almost matching CScriptCameraWaypoint 2022-10-21 19:43:34 +03:00
Henrique Gemignani Passos Lima 4b457fed70
Match and link CScriptCameraHintTrigger 2022-10-21 19:23:06 +03:00
Henrique Gemignani Passos Lima de4370288f
Match and link CScriptAiJumpPoint 2022-10-21 19:00:19 +03:00
Henrique Gemignani Passos Lima 83d4e0b613
Improve CScriptSpiderBallAttractionSurface constructor 2022-10-21 18:34:44 +03:00
Henrique Gemignani Passos Lima 18ebd4146e
Almost match CScriptSpiderBallAttractionSurface 2022-10-21 18:13:34 +03:00
Henrique Gemignani Passos Lima e1d392927c
Match and link CScriptPointOfInterest 2022-10-21 17:52:45 +03:00
Henrique Gemignani Passos Lima d99637766d
Add almost matching CScriptDistanceFog 2022-10-21 17:38:36 +03:00
Henrique Gemignani Passos Lima 0a0483489c
Add almost matching CFaceplateDecoration 2022-10-21 16:48:25 +03:00
Henrique Gemignani Passos Lima 6ead1d3fae
Match and link CRepulsor 2022-10-21 15:52:22 +03:00
Henrique Gemignani Passos Lima 9234899097
Add CScriptSteam 2022-10-21 15:01:25 +03:00
Henrique Gemignani Passos Lima c473566160
Fix all compilation errors when building for host 2022-10-21 14:24:45 +03:00
Phillip Stephens f7964a3908 Link the rest of CARD 2022-10-20 23:32:50 -07:00
Phillip Stephens ced8b0325f Link GBAXfer.c 2022-10-20 23:06:41 -07:00
Luke Street 9dacbaf36c Simplify CVector3f::IsMagnitudeSafe 2022-10-21 00:48:12 -04:00
Luke Street 2659556809 Various build fixes for host builds 2022-10-20 21:32:04 -04:00
Luke Street f535084540 Actually add CMetroidAreaColliderg 2022-10-20 20:27:39 -04:00
Luke Street 71ff684be4 Add CMetroidAreaCollider 2022-10-20 20:26:45 -04:00
Henrique Gemignani Passos Lima 865e2d58f2
Add CScriptTrigger 2022-10-20 19:33:06 +03:00
Phillip Stephens 89d1d945dc Revert accidental change 2022-10-20 09:17:55 -07:00
Phillip Stephens c8560022f0 Match and link CAmbientAI 2022-10-20 09:16:55 -07:00
Phillip Stephens b8d23f2ff6 Add CAmbientAI, just needs Think implmented 2022-10-20 08:43:17 -07:00
Phillip Stephens 724dc8226e Remove unnecessary const_cast 2022-10-20 07:30:53 -07:00
Phillip Stephens ff40d50c8d Match and link CToken 2022-10-20 07:28:13 -07:00
Henrique Gemignani Passos Lima 1a83aa2aac
Match and link CTweakAutoMapper. With a slight hack. 2022-10-20 15:45:54 +03:00
Henrique Gemignani Passos Lima 928ade0175
Match and link CProjectileInfo 2022-10-20 14:18:42 +03:00
Henrique Gemignani Passos Lima a5685638b5
Match and link CBurstFire 2022-10-20 05:00:49 +03:00
Henrique Gemignani Passos Lima 5b4dfc0258
Improve CRippleManager::AddRipple 2022-10-20 04:10:34 +03:00
Henrique Gemignani Passos Lima 3fb706ec17
CRippleManager has defeated me 2022-10-20 03:25:03 +03:00
Henrique Gemignani Passos Lima 8e0266da21
Match and link CScriptHUDMemo 2022-10-20 02:08:22 +03:00
Luke Street 2883468211 Link CAABoxFilter 2022-10-19 00:12:05 -04:00
Phillip Stephens 8281bd5424 Remove fake destructor definitions 2022-10-18 20:51:49 -07:00
Luke Street b45d9d9a48 Link CTweakPlayerControl 2022-10-18 23:46:19 -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 a1b52467ea Link CEffect 2022-10-18 21:47:26 -04:00
Phillip Stephens fc60e9b7c4 More musyx imps 2022-10-18 18:01:03 -07:00
Luke Street 2c60ca8c47 Add CColorElement, CUVElement 2022-10-18 19:13:57 -04:00
Henrique Gemignani Passos Lima 16738400c7
Match and link CFidget 2022-10-19 01:37:01 +03:00
Henrique Gemignani Passos Lima f091a58822
Also match CGameLight 2022-10-18 23:21:14 +03:00
Henrique Gemignani Passos Lima d745551c48
Match and link CScriptTimer 2022-10-18 18:17:17 +03:00
Luke Street b2493140d6 Link CRealElement 2022-10-18 08:59:56 -04:00
Phillip Stephens 9ad66e9f2d Fix CREKeyframeEmitter::GetValue 2022-10-17 22:41:12 -07: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 6d086a09e7
Add CScriptSpawnPoint 2022-10-17 22:19:07 +03:00
Henrique Gemignani Passos Lima 49f6652114
Match and link CScriptGrapplePoint 2022-10-17 21:28:33 +03:00
Henrique Gemignani Passos Lima 061bf00af6
Match and link CScriptTargetingPoint 2022-10-17 21:17:46 +03:00
Henrique Gemignani Passos Lima 4f7c5ec7e2
Use ECameraFilterStage 2022-10-17 20:52:49 +03:00
Henrique Gemignani Passos Lima 45aa20e25e
Match and link CScriptCameraBlurKeyframe 2022-10-17 20:43:21 +03:00
Henrique Gemignani Passos Lima 0e9d00b19b
Match and link CParticleGenInfoGeneric 2022-10-17 19:02:54 +03:00
Henrique Gemignani Passos Lima c6d3f0ae8b
Change CEntity::SetActive argument to uchar 2022-10-17 18:59:36 +03:00
Henrique Gemignani Passos Lima f7715e98f6
Add CParticleGenInfo and CParticleGenInfoGeneric 2022-10-17 18:02:11 +03:00
Henrique Gemignani Passos Lima 2cd913399f
Match and link CPreFrontEnd 2022-10-17 14:47:47 +03:00
Henrique Gemignani Passos Lima 6aaf6fbd0d
Match and link CRumbleManager 2022-10-17 14:10:16 +03:00
Henrique Gemignani Passos Lima 993506f7db
Fix build for CCameraFilter.cpp 2022-10-17 13:52:19 +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
Henrique Gemignani Passos Lima bda30a003b
Add CRipple::CRipple 2022-10-17 01:32:15 +03:00
Phillip Stephens 87a74c0b48 CGBASupport: Add version differences for korean release 2022-10-16 13:54:59 -07: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
Phillip Stephens 903d979c05 More minor cleanup, use macros from gba.h 2022-10-15 23:26:42 -07:00
Phillip Stephens 8a35c9640a Minor cleanup, use macros from gba.h 2022-10-15 23:01:20 -07:00
Phillip Stephens 68e2da3ccb Match but don't link GBAXfer 2022-10-15 22:53:55 -07:00
Phillip Stephens 55fac9eb37 Match and link GBARead/Write 2022-10-15 19:14:54 -07:00
Phillip Stephens 024fb634e9 Match and link GBA.c 2022-10-15 17:58:36 -07: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
Phillip Stephens 20ccef8a33 Remove CCallStack hack 2022-10-14 21:33:23 -07:00
Phillip Stephens b818531567 Get close to matching CScriptAreaAttributes 2022-10-14 11:06:32 -07:00
Henrique Gemignani Passos Lima 62e9ad1c54
Add CScriptAreaAttributes 2022-10-14 19:03:48 +03: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 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 95c00f709d
Don't use final as variable name 2022-10-14 12:44:42 +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 a0f32028e4
Fix function order and then link CAudioStateWin 2022-10-14 02:34:22 +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 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 b923d9cb52 Match and link SISamplingRate 2022-10-13 11:30:13 -07:00
Phillip Stephens 2806b45058 Match and link db 2022-10-13 09:33:30 -07:00
Phillip Stephens a1ea985b7c Match and link FILE_POS 2022-10-13 08:19:18 -07:00
Phillip Stephens 8b0c414ae0 Match and link most of Runtime 2022-10-13 01:02:37 -07:00
Phillip Stephens 55617d2753 Match and link all remaining stream classes 2022-10-12 23:10:20 -07: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 26d6394bb1 Match COutputStream::DoPut (Thanks HeartPiece!) 2022-10-11 21:44:08 -07:00
Phillip Stephens 1c956d06f2 Share min_containing_bytes between CInputStream and COutputStream 2022-10-11 20:32:26 -07:00
Phillip Stephens 9510f70f9d Match COutputStream::FlushShiftRegister, start DoFlush/WriteBits 2022-10-11 20:18:01 -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
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 fdd31b8283
Improve CMemoryCardDriver::InitializeFileInfo 2022-10-11 20:32:10 +03:00
Henrique Gemignani Passos Lima 8674f1e6a3
Match SGameFileSlot::LoadGameState 2022-10-11 20:14:48 +03:00
Phillip Stephens eb3be0bc36 Match CMemoryCardDriver::GetGameFileStateInfo 2022-10-11 10:12:00 -07: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
Phillip Stephens 03a49bb75e Match CMemoryCardDriver::GetCardFreeBytes 2022-10-11 10:02:35 -07: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
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
Phillip Stephens d3d6ea4c44 Missed a couple 2022-10-11 08:31:01 -07:00
Phillip Stephens 1c46c7161e Use __ppc_linker.h in start.c 2022-10-11 08:28:59 -07:00