Commit Graph

808 Commits

Author SHA1 Message Date
Henrique Gemignani Passos Lima d005719e62 Match and link CBSStep
Former-commit-id: 1f6f501f86
2022-10-28 14:41:31 +03:00
Henrique Gemignani Passos Lima 1a369240b2 Match and link CBSTaunt
Former-commit-id: 9c26f252bb
2022-10-28 14:34:03 +03:00
Henrique Gemignani Passos Lima 7c7f523da0 Match and link CBSGenerate
Former-commit-id: ec41101509
2022-10-28 14:26:17 +03:00
Henrique Gemignani Passos Lima 0b24eb18af Match and link CBSScripted
Former-commit-id: 07479bf310
2022-10-28 14:25:08 +03:00
Henrique Gemignani Passos Lima 076bcf8c43 Match and link CBSLieOnGround
Former-commit-id: 0ed302f71c
2022-10-28 13:49:33 +03:00
Henrique Gemignani Passos Lima 1429792970 Match and link CBSGetup
Former-commit-id: 41bf7e38fb
2022-10-28 12:17:39 +03:00
Henrique Gemignani Passos Lima a021c59f55 Match and link CBSDie
Former-commit-id: 8996496d00
2022-10-28 11:57:00 +03:00
Henrique Gemignani Passos Lima c40e91f133 Fix CMemoryCardDriver
Former-commit-id: 3c1358dab1
2022-10-28 11:47:25 +03:00
Henrique Gemignani Passos Lima 99dac1a072 Progress for rbtree_rebalance_for_erase
Former-commit-id: f05b3c0b01
2022-10-28 11:44:17 +03:00
Phillip Stephens 391f8389d9 Add CWeapon.cpp
Former-commit-id: 831aaf2435
2022-10-26 22:57:38 -07:00
Phillip Stephens 0319fbbf47 Rename CSaveWorld to CWorldSaveGameInfo, minor fixes
Former-commit-id: 9b3a16477f
2022-10-26 21:40:49 -07:00
Henrique Gemignani Passos Lima 64292a911e Match rbtree_rebalance. Thanks encounter
Former-commit-id: 88dcc77ca7
2022-10-26 19:16:41 +03:00
Phillip Stephens 80fff02477 Disable clang-format for runtime.c
Former-commit-id: 6a869c568d
2022-10-25 22:58:54 -07:00
Phillip Stephens c6502a089c Convert runtime.s to inline assembly and link
Former-commit-id: 5bad64c75a
2022-10-25 22:54:37 -07:00
Phillip Stephens 4a4fa33aca Match and link OSTime
Former-commit-id: 2263c6843f
2022-10-25 22:00:49 -07:00
Henrique Gemignani Passos Lima 4ce01361f8 97% rbtree_rebalance
Former-commit-id: 1bb8002205
2022-10-26 01:55:04 +03:00
Henrique Gemignani Passos Lima 88813e9e7c Add rstl_map.cpp
Former-commit-id: cb11fd2320
2022-10-26 00:55:17 +03:00
Henrique Gemignani Passos Lima 0f990300fd Add CBSGenerate
Former-commit-id: 368fff5a2e
2022-10-25 22:35:44 +03:00
Henrique Gemignani Passos Lima d6b660c936 Add CBodyStateInfo
Former-commit-id: 5161698bef
2022-10-25 18:43:42 +03:00
Henrique Gemignani Passos Lima 4a7fe9a91c Add CBSSlide very close to matching
Former-commit-id: 4db5549046
2022-10-25 02:29:11 +03:00
Phillip Stephens 3a96e695f0 Minor fixes, rename CStateFlowSetter to CStateSetterFlow
Former-commit-id: 25294591f6
2022-10-23 19:03:16 -07:00
Phillip Stephens bb6cc62a9d Add CMainFlow
Former-commit-id: f18a1963f0
2022-10-23 18:44:54 -07:00
Phillip Stephens 47a12b876a Match and link PatternedCastTo
Former-commit-id: dd62a7eaa0
2022-10-23 11:36:25 -07:00
Henrique Gemignani Passos Lima 22aca437ce Add CScriptVisorFlare and CVisorFlare
Former-commit-id: 2999309f13
2022-10-23 16:44:06 +03:00
Phillip Stephens 8173a671c2 Add CStateMachine, mostly matched, constructor needs work
Former-commit-id: 06464964dd
2022-10-22 21:49:41 -07:00
Phillip Stephens 920b8b3e56 Add CScannableObjectInfo (this thing is a confusing mess)
Former-commit-id: 8fad208125
2022-10-22 20:02:37 -07:00
Phillip Stephens c0a93798ae Match and link CControlMapper
Former-commit-id: dc4e515746
2022-10-22 14:11:03 -07:00
Phillip Stephens 54e5a6f106 Add CControlMapper
Former-commit-id: 3ef2263170
2022-10-22 13:57:30 -07:00
Phillip Stephens 599aa5347e Link dsp.c
Former-commit-id: 65ea70e44b
2022-10-22 09:49:11 -07:00
Luke Street b7d74c3237 CScriptMidi: Update for CEntity getters
Former-commit-id: d4601c22b0
2022-10-22 12:00:11 -04:00
Luke Street 3df1cc45b6 Use private fields + getters for CEntity
Former-commit-id: 3e2ea84c7e
2022-10-22 11:57:01 -04:00
Phillip Stephens 1a5a013158 Match and link fstload.c
Former-commit-id: 1ddf72b492
2022-10-22 00:02:30 -07:00
Phillip Stephens c1fdbe95ae Add dvdidutils.c
Former-commit-id: c4e4352c4f
2022-10-21 22:09:43 -07:00
Henrique Gemignani Passos Lima 2af0d744cc Add CScriptMidi
Former-commit-id: 1b5ee3bee8
2022-10-22 00:40:29 +03:00
Henrique Gemignani Passos Lima 4383f6bdaa Add almost matching CScriptCameraWaypoint
Former-commit-id: 890d2bb2d1
2022-10-21 19:43:34 +03:00
Henrique Gemignani Passos Lima b7c315e2f4 Match and link CScriptCameraHintTrigger
Former-commit-id: 4b457fed70
2022-10-21 19:23:06 +03:00
Henrique Gemignani Passos Lima 75e1e3f144 Match and link CScriptAiJumpPoint
Former-commit-id: de4370288f
2022-10-21 19:00:19 +03:00
Henrique Gemignani Passos Lima 501ea1c654 Improve CScriptSpiderBallAttractionSurface constructor
Former-commit-id: 83d4e0b613
2022-10-21 18:34:44 +03:00
Henrique Gemignani Passos Lima cf20221c70 Almost match CScriptSpiderBallAttractionSurface
Former-commit-id: 18ebd4146e
2022-10-21 18:13:34 +03:00
Henrique Gemignani Passos Lima 8af356062b Match and link CScriptPointOfInterest
Former-commit-id: e1d392927c
2022-10-21 17:52:45 +03:00
Henrique Gemignani Passos Lima 195d942406 Add almost matching CScriptDistanceFog
Former-commit-id: d99637766d
2022-10-21 17:38:36 +03:00
Henrique Gemignani Passos Lima 0c3d5d2a07 Add almost matching CFaceplateDecoration
Former-commit-id: 0a0483489c
2022-10-21 16:48:25 +03:00
Henrique Gemignani Passos Lima 418d420434 Match and link CRepulsor
Former-commit-id: 6ead1d3fae
2022-10-21 15:52:22 +03:00
Henrique Gemignani Passos Lima e36d4654dc Add CScriptSteam
Former-commit-id: 9234899097
2022-10-21 15:01:25 +03:00
Henrique Gemignani Passos Lima d68b8e27cc Fix all compilation errors when building for host
Former-commit-id: c473566160
2022-10-21 14:24:45 +03:00
Phillip Stephens b07a2d74b5 Link the rest of CARD
Former-commit-id: f7964a3908
2022-10-20 23:32:50 -07:00
Phillip Stephens f5deea9cda Link GBAXfer.c
Former-commit-id: ced8b0325f
2022-10-20 23:06:41 -07:00
Luke Street d601ed62f9 Simplify CVector3f::IsMagnitudeSafe
Former-commit-id: 9dacbaf36c
2022-10-21 00:48:12 -04:00
Luke Street 5580c42dc6 Various build fixes for host builds
Former-commit-id: 2659556809
2022-10-20 21:32:04 -04:00
Luke Street 1c3d63ed98 Actually add CMetroidAreaColliderg
Former-commit-id: f535084540
2022-10-20 20:27:39 -04:00
Luke Street 2a8516d4cc Add CMetroidAreaCollider
Former-commit-id: 71ff684be4
2022-10-20 20:26:45 -04:00
Henrique Gemignani Passos Lima 8395bf8e95 Add CScriptTrigger
Former-commit-id: 865e2d58f2
2022-10-20 19:33:06 +03:00
Phillip Stephens 24b35b411d Revert accidental change
Former-commit-id: 89d1d945dc
2022-10-20 09:17:55 -07:00
Phillip Stephens 3778827d3b Match and link CAmbientAI
Former-commit-id: c8560022f0
2022-10-20 09:16:55 -07:00
Phillip Stephens 8846b1df1b Add CAmbientAI, just needs Think implmented
Former-commit-id: b8d23f2ff6
2022-10-20 08:43:17 -07:00
Phillip Stephens 984417bd3c Remove unnecessary const_cast
Former-commit-id: 724dc8226e
2022-10-20 07:30:53 -07:00
Phillip Stephens 0488b6e955 Match and link CToken
Former-commit-id: ff40d50c8d
2022-10-20 07:28:13 -07:00
Henrique Gemignani Passos Lima 6f4ade76fb Match and link CTweakAutoMapper. With a slight hack.
Former-commit-id: 1a83aa2aac
2022-10-20 15:45:54 +03:00
Henrique Gemignani Passos Lima 9d78c47057 Match and link CProjectileInfo
Former-commit-id: 928ade0175
2022-10-20 14:18:42 +03:00
Henrique Gemignani Passos Lima a4473acb2a Match and link CBurstFire
Former-commit-id: a5685638b5
2022-10-20 05:00:49 +03:00
Henrique Gemignani Passos Lima 4f1099b640 Improve CRippleManager::AddRipple
Former-commit-id: 5b4dfc0258
2022-10-20 04:10:34 +03:00
Henrique Gemignani Passos Lima d1c7ac8887 CRippleManager has defeated me
Former-commit-id: 3fb706ec17
2022-10-20 03:25:03 +03:00
Henrique Gemignani Passos Lima c292880a94 Match and link CScriptHUDMemo
Former-commit-id: 8e0266da21
2022-10-20 02:08:22 +03:00
Luke Street e96ff9bdb5 Link CAABoxFilter
Former-commit-id: 2883468211
2022-10-19 00:12:05 -04:00
Phillip Stephens 3281966a44 Remove fake destructor definitions
Former-commit-id: 8281bd5424
2022-10-18 20:51:49 -07:00
Luke Street 2460b6e91b Link CTweakPlayerControl
Former-commit-id: b45d9d9a48
2022-10-18 23:46:19 -04:00
Luke Street 1537d151f4 Implement rstl::list::push_back; CInputGenerator 98%
Former-commit-id: 3029184d1e
2022-10-18 23:35:26 -04:00
Phillip Stephens f22cb43557 Start CVectorElement.cpp
Former-commit-id: 73c5e9eaf8
2022-10-18 20:04:02 -07:00
Luke Street 2accaf4c60 Link CEffect
Former-commit-id: a1b52467ea
2022-10-18 21:47:26 -04:00
Phillip Stephens 927d07d839 More musyx imps
Former-commit-id: fc60e9b7c4
2022-10-18 18:01:03 -07:00
Luke Street eedb4229d3 Add CColorElement, CUVElement
Former-commit-id: 2c60ca8c47
2022-10-18 19:13:57 -04:00
Henrique Gemignani Passos Lima 15bd6fa4a7 Match and link CFidget
Former-commit-id: 16738400c7
2022-10-19 01:37:01 +03:00
Henrique Gemignani Passos Lima a1776db0cf Also match CGameLight
Former-commit-id: f091a58822
2022-10-18 23:21:14 +03:00
Henrique Gemignani Passos Lima 5e844d9e54 Match and link CScriptTimer
Former-commit-id: d745551c48
2022-10-18 18:17:17 +03:00
Luke Street 6c47edb61e Link CRealElement
Former-commit-id: b2493140d6
2022-10-18 08:59:56 -04:00
Phillip Stephens 2b0a843ec8 Fix CREKeyframeEmitter::GetValue
Former-commit-id: 9ad66e9f2d
2022-10-17 22:41:12 -07:00
Luke Street 8af6095198 Add several particle classes; link CParticleGlobals
Adds CModVectorElement, CParticleDataFactory, CParticleGlobals, CRealElement
CRealElement & CModVectorElement are very close to matching


Former-commit-id: bb99d88d3b
2022-10-17 22:06:45 -04:00
Henrique Gemignani Passos Lima d00cfae24e Improving match of CPhysicsActor
Former-commit-id: 629a014207
2022-10-18 03:37:11 +03:00
Henrique Gemignani Passos Lima e3d6fb4111 Add CScriptSpawnPoint
Former-commit-id: 6d086a09e7
2022-10-17 22:19:07 +03:00
Henrique Gemignani Passos Lima 33543d78fc Match and link CScriptGrapplePoint
Former-commit-id: 49f6652114
2022-10-17 21:28:33 +03:00
Henrique Gemignani Passos Lima ad67d2787d Match and link CScriptTargetingPoint
Former-commit-id: 061bf00af6
2022-10-17 21:17:46 +03:00
Henrique Gemignani Passos Lima a0b0753ddc Use ECameraFilterStage
Former-commit-id: 4f7c5ec7e2
2022-10-17 20:52:49 +03:00
Henrique Gemignani Passos Lima 4d8926d3bd Match and link CScriptCameraBlurKeyframe
Former-commit-id: 45aa20e25e
2022-10-17 20:43:21 +03:00
Henrique Gemignani Passos Lima 78bf3c6826 Match and link CParticleGenInfoGeneric
Former-commit-id: 0e9d00b19b
2022-10-17 19:02:54 +03:00
Henrique Gemignani Passos Lima c7f154e26a Change CEntity::SetActive argument to uchar
Former-commit-id: c6d3f0ae8b
2022-10-17 18:59:36 +03:00
Henrique Gemignani Passos Lima aacfe7feff Add CParticleGenInfo and CParticleGenInfoGeneric
Former-commit-id: f7715e98f6
2022-10-17 18:02:11 +03:00
Henrique Gemignani Passos Lima 0ad2519985 Match and link CPreFrontEnd
Former-commit-id: 2cd913399f
2022-10-17 14:47:47 +03:00
Henrique Gemignani Passos Lima c90ff954d5 Match and link CRumbleManager
Former-commit-id: 6aaf6fbd0d
2022-10-17 14:10:16 +03:00
Henrique Gemignani Passos Lima 8ac54390b7 Fix build for CCameraFilter.cpp
Former-commit-id: 993506f7db
2022-10-17 13:52:19 +03:00
Luke Street da754cef88 Rename kEnvPassThru -> kEnvPassthru
Former-commit-id: 608f103163
2022-10-16 23:01:00 -04:00
Luke Street 38570b9f6e CDecal progress
Former-commit-id: cd88e8eedd
2022-10-16 22:33:08 -04:00
Luke Street d849cbcc10 Link Decode & CABSFlinch
Former-commit-id: 5e367d95ee
2022-10-16 20:46:56 -04:00
Henrique Gemignani Passos Lima f52d22a620 Add a disaster called CEulerAngles
Former-commit-id: c93d6060e8
2022-10-17 01:49:37 +03:00
Henrique Gemignani Passos Lima 2fb748f25c Add CRipple::CRipple
Former-commit-id: bda30a003b
2022-10-17 01:32:15 +03:00
Phillip Stephens dd5e5fb342 CGBASupport: Add version differences for korean release
Former-commit-id: 87a74c0b48
2022-10-16 13:54:59 -07: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 8db24c473a Match and link CTweakSlideShow
Former-commit-id: d410febb1d
2022-10-16 19:36:07 +03:00
Henrique Gemignani Passos Lima b6b39b7412 Add CTweakPlayerControl
Former-commit-id: eec8e29044
2022-10-16 18:59:40 +03:00
Henrique Gemignani Passos Lima fef02639bf Match and link CScriptPlayerStateChange.
Thanks Antidote


Former-commit-id: 0a7aa39f41
2022-10-16 18:16:28 +03:00
Henrique Gemignani Passos Lima af4dab39be Match and link CTweakGame
Former-commit-id: e2c87919cb
2022-10-16 17:57:07 +03:00
Henrique Gemignani Passos Lima 72ddd3ca89 Add CScriptRipple
Former-commit-id: 44282da01f
2022-10-16 17:41:14 +03:00
Henrique Gemignani Passos Lima b4897e53be Match and link CScriptRelay
Former-commit-id: 2c7dcd7665
2022-10-16 16:59:20 +03:00
Henrique Gemignani Passos Lima e8997a3d63 Match and link CScriptCounter
Former-commit-id: 7cb4d107ca
2022-10-16 16:31:44 +03:00
Henrique Gemignani Passos Lima fb17250a02 Add CScriptPlayerStateChange, one regswap away from matching
Former-commit-id: e9f0009c47
2022-10-16 16:20:53 +03:00
Phillip Stephens 0907da2026 More minor cleanup, use macros from gba.h
Former-commit-id: 903d979c05
2022-10-15 23:26:42 -07:00
Phillip Stephens f7e3ed9818 Minor cleanup, use macros from gba.h
Former-commit-id: 8a35c9640a
2022-10-15 23:01:20 -07:00
Phillip Stephens 644e2c8853 Match but don't link GBAXfer
Former-commit-id: 68e2da3ccb
2022-10-15 22:53:55 -07:00
Phillip Stephens cb7e35b615 Match and link GBARead/Write
Former-commit-id: 55fac9eb37
2022-10-15 19:14:54 -07:00
Phillip Stephens 2d138c60bd Match and link GBA.c
Former-commit-id: 024fb634e9
2022-10-15 17:58:36 -07:00
Henrique Gemignani Passos Lima 0019a1bd46 Add CScriptDockAreaChange
Former-commit-id: 7b1fc72739
2022-10-16 03:03:19 +03:00
Henrique Gemignani Passos Lima 2de628515f Match and link CScriptMemoryRelay
Former-commit-id: 0648bc0e59
2022-10-15 19:24:27 +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 f0261ab3c5 Get close to matching CScriptAreaAttributes
Former-commit-id: b818531567
2022-10-14 11:06:32 -07:00
Henrique Gemignani Passos Lima add73abd49 Add CScriptAreaAttributes
Former-commit-id: 62e9ad1c54
2022-10-14 19:03:48 +03: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 3787c422ed Add CAABoxFilter
Former-commit-id: 5549e1b6d4
2022-10-14 17:06:06 +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 37122489ac Almost match SPositionHistory
Former-commit-id: 79efb3b29c
2022-10-14 15:20:36 +03:00
Henrique Gemignani Passos Lima 33bf3ac9af Almost match CTweakPlayer
Former-commit-id: 4999dff1f2
2022-10-14 13:41:25 +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 a0b77904ca Don't use final as variable name
Former-commit-id: 95c00f709d
2022-10-14 12:44:42 +03:00
Henrique Gemignani Passos Lima ba6308823a Match and link CABSIdle
Former-commit-id: c4045da4b3
2022-10-14 11:49:48 +03:00
Henrique Gemignani Passos Lima 4624d02e51 Add CInstruction
Former-commit-id: 1f5290572d
2022-10-14 11:49:48 +03:00
Phillip Stephens 2258c581c0 Nearly match Decode.cpp
Former-commit-id: 9d4efb09ae
2022-10-14 00:45:18 -07:00
Phillip Stephens 503020b195 Match and link GameObjectLists.cpp
Former-commit-id: b57ec9605e
2022-10-13 22:58:49 -07:00
Phillip Stephens 48261eb77e Match and link CObjectList
Former-commit-id: ba9184e06f
2022-10-13 21:50:56 -07:00
Henrique Gemignani Passos Lima 09fe85b522 Fix function order and then link CAudioStateWin
Former-commit-id: a0f32028e4
2022-10-14 02:34:22 +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 a7ca62c0dc Add CEffect
Former-commit-id: 4b593647d6
2022-10-14 02:06:56 +03:00
Henrique Gemignani Passos Lima 7391174814 Match and link CBallFilter
Former-commit-id: 5dc8a60233
2022-10-14 01:49:37 +03:00
Henrique Gemignani Passos Lima 85358450a7 Match and link CHealthInfo
Former-commit-id: a859570ce0
2022-10-14 01:37:32 +03:00
Phillip Stephens 7e940d50d7 Match and link SISamplingRate
Former-commit-id: b923d9cb52
2022-10-13 11:30:13 -07:00
Phillip Stephens f886907c07 Match and link db
Former-commit-id: 2806b45058
2022-10-13 09:33:30 -07:00
Phillip Stephens 34b752de3e Match and link FILE_POS
Former-commit-id: a1ea985b7c
2022-10-13 08:19:18 -07:00
Phillip Stephens aab14dc7b0 Match and link most of Runtime
Former-commit-id: 8b0c414ae0
2022-10-13 01:02:37 -07:00
Phillip Stephens 0613bb5ea4 Match and link all remaining stream classes
Former-commit-id: 55617d2753
2022-10-12 23:10:20 -07: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 b08714313d Match COutputStream::DoPut (Thanks HeartPiece!)
Former-commit-id: 26d6394bb1
2022-10-11 21:44:08 -07:00
Phillip Stephens 8d0b032e01 Share min_containing_bytes between CInputStream and COutputStream
Former-commit-id: 1c956d06f2
2022-10-11 20:32:26 -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 49a74b70e9 Use a struct instead of pair for x198_fileInfo
Former-commit-id: 1d323af190
2022-10-12 01:37:14 +03: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 3249380a37 Improve CMemoryCardDriver::InitializeFileInfo
Former-commit-id: fdd31b8283
2022-10-11 20:32:10 +03:00
Henrique Gemignani Passos Lima eb781ef4ea Match SGameFileSlot::LoadGameState
Former-commit-id: 8674f1e6a3
2022-10-11 20:14:48 +03:00
Phillip Stephens e8b2c502d4 Match CMemoryCardDriver::GetGameFileStateInfo
Former-commit-id: eb3be0bc36
2022-10-11 10:12:00 -07: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
Henrique Gemignani Passos Lima b1da312932 Add SGameFileSlot/SSaveHeader constructors
Former-commit-id: fb0c6815ac
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 155de1457f Add CMemoryCardDriver::ExportPersistentOptions
Former-commit-id: 93ef9574e1
2022-10-11 19:56:45 +03:00
Henrique Gemignani Passos Lima 280928fc65 Match CMemoryCardDriver::ImportPersistentOptions
Former-commit-id: 46335059ec
2022-10-11 19:38:13 +03: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 b079ad7432 Almost match CMemoryCardDriver::BuildNewFileSlot
Former-commit-id: cdfda89fa6
2022-10-11 19:08:45 +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
Phillip Stephens e60197175c Missed a couple
Former-commit-id: d3d6ea4c44
2022-10-11 08:31:01 -07:00
Phillip Stephens f4d549e0b9 Use __ppc_linker.h in start.c
Former-commit-id: 1c46c7161e
2022-10-11 08:28:59 -07:00
Henrique Gemignani Passos Lima 1706935abb Match CMemoryCardDriver::EraseFileSlot
Former-commit-id: eec621aacc
2022-10-11 18:28:32 +03:00
Phillip Stephens 71e610936b Match and link float.c
Former-commit-id: 9afec991ab
2022-10-11 08:23:29 -07: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 d8b79aa4c1 Match CMemoryCardDriver::StartFileWriteTransactional
Former-commit-id: 40409bedab
2022-10-11 15:26:58 +03:00
Henrique Gemignani Passos Lima d3a4e72aa5 Add CMemoryCardDriver::StartFileCreateTransactional
Former-commit-id: 7ed13f92a3
2022-10-11 15:26:29 +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 e9d1f43c65 Match CMemoryCardDriver::StartFileRead
Former-commit-id: 50d7b3633f
2022-10-11 14:56:25 +03:00
Henrique Gemignani Passos Lima e163abed48 Match CMemoryCardDriver::StartFileDeleteAlt
Former-commit-id: 8fd374a0bb
2022-10-11 14:54:12 +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 fd08fbc2d1 Match CMemoryCardDriver::NoCardFound
Former-commit-id: 89c215ba4e
2022-10-11 14:08:20 +03:00
Henrique Gemignani Passos Lima aac70facff Match CMemoryCardDriver::CheckCardCapacity
Former-commit-id: d7cf2ebdde
2022-10-11 14:07:44 +03:00
Henrique Gemignani Passos Lima d5b10b0daa Match CMemoryCardDriver::ClearError
Former-commit-id: 72155084fa
2022-10-11 12:47:04 +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
Henrique Gemignani Passos Lima f641b5704c Match CMemoryCardDriver::StartCardProbe
Former-commit-id: b8b83360f4
2022-10-11 12:05:48 +03:00
Henrique Gemignani Passos Lima 6bb106c522 Match CMemoryCardDriver::UpdateCardFormat
Former-commit-id: 23fd21ff1d
2022-10-11 12:05:12 +03:00
Henrique Gemignani Passos Lima ab500d3d22 Match CMemoryCardDriver::UpdateFileAltDeleteTransactional
Former-commit-id: bd4afb5aae
2022-10-11 12:04:30 +03:00
Henrique Gemignani Passos Lima 165cc200e4 Match CMemoryCardDriver::WriteBackupBuf
Former-commit-id: d780a22b4e
2022-10-11 12:03:10 +03:00
Phillip Stephens 7a2928b531 Match and link OSReset
Former-commit-id: fecef57a18
2022-10-11 00:01:27 -07:00
Phillip Stephens 92306d04c8 Verify constants in OSRtc
Former-commit-id: 111a04b74f
2022-10-10 22:51:26 -07:00
Phillip Stephens 5fbb00a892 Match OSRtc, more frank issues >.<
Former-commit-id: 76ac2bfd74
2022-10-10 22:33:20 -07:00
Luke Street 3fca1f9c89 CMemoryCardDriver progress
Former-commit-id: 32a5ad5b71
2022-10-11 00:00:52 -04:00
Henrique Gemignani Passos Lima 24cc7fda7d Add almost matched CMemoryCardDriver::UpdateFileRead
Former-commit-id: 711a67cc54
2022-10-11 02:22:28 +03: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 2d98788360 Add CMemoryCardDriver::UpdateMountCard
Former-commit-id: 4b98d8c3ae
2022-10-11 02:04:24 +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 077a16896f Add CMemoryCardDriver::CMemoryCardDriver
Former-commit-id: 8d49e80502
2022-10-11 00:46:32 +03:00
Henrique Gemignani Passos Lima 4ac2f273b4 Add CMemoryCardDriver
Former-commit-id: e7e54730a3
2022-10-10 22:44:11 +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 3b463154be Build and link NMWException, rename extab to it's correct name
Former-commit-id: a842f320f8
2022-10-10 11:19:26 -07:00
Phillip Stephens 7fbf44a471 Match and link Gecko_ExceptionPPC and uart_console_write
Former-commit-id: 0e8b7c5637
2022-10-10 10:44:50 -07:00
Phillip Stephens 387f4a4019 Match and link OSSync
Former-commit-id: 9203a4e0bc
2022-10-10 10:05:17 -07:00
Henrique Gemignani Passos Lima f3ef565768 Fix building `ninja all_source`
Former-commit-id: f14ca94607
2022-10-10 12:46:51 +03:00
Phillip Stephens f6425fe3d8 Minor formatting cleanup
Former-commit-id: 111d3b0d70
2022-10-10 02:34:20 -07:00
Phillip Stephens 21ea716106 Match and link __va_arg and ptmf
Former-commit-id: adaa52fede
2022-10-10 02:30:42 -07:00
Phillip Stephens 6f4c7cdbad Match and link more of Runtime
Former-commit-id: 91943cb93e
2022-10-10 01:49:11 -07:00
Luke Street a138fafdcf Update macros.inc with SPR names; PPCArch cleanup
Former-commit-id: 102f41c062
2022-10-09 23:42:28 -04: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 b598dbb411 Near match CMetroidModelInstances, regswaps in BoundingBoxFromData
Former-commit-id: cf99f3047b
2022-10-09 15:43:43 -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
Phillip Stephens aaf11d85f6 Match and link CLight *FINALLY*
Former-commit-id: ff90f64231
2022-10-09 10:48:11 -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 f0ea5144ea clang-format source files
Former-commit-id: 39700ad779
2022-10-09 01:16:21 -04:00
Henrique Gemignani Passos Lima edd4b5d0f7 Match CGSFreeLook::Update
Former-commit-id: caef0a6d66
2022-10-09 01:20:30 +03:00
Henrique Gemignani Passos Lima 98e4732d20 Almost match CGSFreeLook::SetAnim
Former-commit-id: a1ee7b17e8
2022-10-09 01:20:30 +03:00
Phillip Stephens f0a3ee192c Don't be dumb and use fabsf
Former-commit-id: fedb0daa18
2022-10-08 15:18:21 -07: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 7ccf78c0a2 Match and link CAxisAngle
Former-commit-id: e6969f0236
2022-10-08 10:39:03 -07:00
Phillip Stephens 3aefff6950 Match and link CIOWin
Former-commit-id: 1029d92fd4
2022-10-08 02:21:38 -07:00
Phillip Stephens b4aff47c3c Allow implicit conversion to rstl::string
Former-commit-id: fdbb3376ff
2022-10-08 01:46:42 -07:00
Phillip Stephens 28bfac18ed Start matching CFire, weird regswaps in constructor, rmemory_allocator constructors
Former-commit-id: 9ae9e52ed7
2022-10-08 01:44:58 -07:00
Phillip Stephens 50453f5b7c Match and link CScriptSwitch
Former-commit-id: 9cfd7f1776
2022-10-07 23:55:54 -07:00
Phillip Stephens bb45a64b7b Initial work on SIBios
Former-commit-id: b841756b36
2022-10-07 22:53:41 -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 eefc0f609c Match and link dtk
Former-commit-id: f779e5819d
2022-10-07 19:38:36 -07:00
Phillip Stephens 0aeb567b3d Match and link PadClamp, pad is matched but can't be linked
Former-commit-id: 9ab1aea84f
2022-10-07 12:08:55 -07:00
Phillip Stephens ef3466ac1b Match and link CCollisionInfo
Former-commit-id: dbaf1f40ca
2022-10-06 21:23:10 -07:00
Henrique Gemignani Passos Lima 2bd75275fe Match CGunMotion::LoadAnimations
Former-commit-id: 8f1d21ac83
2022-10-07 02:44:37 +03:00
Henrique Gemignani Passos Lima 6ecf25d4b7 Match CGunMotion::EnterFidget
Former-commit-id: 4d43a17eed
2022-10-07 02:40:45 +03:00
Henrique Gemignani Passos Lima f62ac3be8f Almost match CGunMotion::BasePosition
Former-commit-id: 3ffec6266c
2022-10-07 02:39:53 +03:00
Henrique Gemignani Passos Lima f4b3f5b872 Match CGunMotion::Draw/GetFreeLookSetId
Former-commit-id: 77ad228fdb
2022-10-07 02:28:42 +03:00
Henrique Gemignani Passos Lima 02fc116666 Match CGunMotion::Update
Former-commit-id: d54cc35e8d
2022-10-07 02:12:59 +03: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 01c1b77b2e Things for CGunMotion
Former-commit-id: b4e3361020
2022-10-07 01:53:47 +03:00
Henrique Gemignani Passos Lima 6bfb08fd07 Add CGunController
Former-commit-id: c68d72a84c
2022-10-07 01:53:47 +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 72ba8f32df Add CPlayerGun::UpdateGunIdle
Former-commit-id: a9f4b00047
2022-10-06 23:40:41 +03:00
Henrique Gemignani Passos Lima e426f60820 Use SFX defines for UpdateWeaponFire
Former-commit-id: c906dd6d23
2022-10-06 23:40:40 +03:00
Henrique Gemignani Passos Lima dc7903e2c7 Add CPlayerGun::UpdateWeaponFire
Former-commit-id: 3b152e5efa
2022-10-06 22:45:21 +03:00
Phillip Stephens 54e2e23a86 Match and link CMaterialFilter/List
Former-commit-id: 480e975add
2022-10-06 11:26:32 -07:00
Henrique Gemignani Passos Lima 1d574dea1c Almost match CGunMorph::Update
Former-commit-id: 9e99dc2d36
2022-10-06 20:12:19 +03:00
Henrique Gemignani Passos Lima 71986fcb89 Almost match CGunMorph::StartWipe
Former-commit-id: 55820e0a07
2022-10-06 20:12:19 +03:00
Henrique Gemignani Passos Lima 877d3ce2c7 Add CGunMorph::CGunMorph
Former-commit-id: 7fac18cc48
2022-10-06 20:12:19 +03:00
Phillip Stephens 569b210e37 Match and link CMaterialList, nearly match CMaterialFilter
Former-commit-id: e25205bd69
2022-10-06 10:00:27 -07:00
Henrique Gemignani Passos Lima 291515c5ee Almost match CPlayerGun::GetTargetId
Former-commit-id: c059b527ec
2022-10-06 19:57:29 +03:00
Henrique Gemignani Passos Lima f3656746b6 Add CPlayerGun::GetBeamVelocity
Former-commit-id: e804eb8373
2022-10-06 19:45:09 +03:00
Henrique Gemignani Passos Lima 40ae0acae1 Add CPlayerGun::InitCTData, auto_ptr "copy" assignment
Former-commit-id: fcbfade432
2022-10-06 19:39:33 +03:00
Henrique Gemignani Passos Lima 8fb4e17199 Work on CPlayerGun::InitMuzzleData
Former-commit-id: a73a47654d
2022-10-06 19:19:40 +03:00
Henrique Gemignani Passos Lima 4ac2a5ad52 Mostly match CPlayerGun::InitBombData
Former-commit-id: a3cd818248
2022-10-06 18:50:11 +03:00
Phillip Stephens 61eee21924 Match and link CMRay
Former-commit-id: 166a545542
2022-10-06 08:36:53 -07:00
Henrique Gemignani Passos Lima 64037a01e3 Match CPlayerGun::InitBeamData
Former-commit-id: 450f793c49
2022-10-06 18:17:12 +03:00
Phillip Stephens f507623c40 More CPlayerGun matches
Former-commit-id: ec34055dbb
2022-10-06 07:24:38 -07:00
Phillip Stephens 514fd7f501 Add missing CRumbleVoice.cpp
Former-commit-id: 9712ece8fe
2022-10-06 05:52:31 -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 29b79186db Add all methods declarations to CPlayerGun
Former-commit-id: fa1c86c129
2022-10-06 15:34:36 +03:00
Henrique Gemignani Passos Lima 758feb2c59 Add CPlayerGun::PreRender/CPlayerGun::AddToRenderer
Former-commit-id: 6d2ab5775d
2022-10-06 14:37:57 +03: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
Henrique Gemignani Passos Lima b85a66c2ee Add CPlayerGun::CPlayerGun
Former-commit-id: 835ea5361f
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 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 7f30b385b2 Attempt to match CVector3f::Slerp
Former-commit-id: 710a2dc991
2022-10-05 17:11:50 -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
Phillip Stephens fd92b6bd05 Match and link CloseEnough
Former-commit-id: 02297fee2d
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
Henrique Gemignani Passos Lima b95f4a88b2 Add CPlayerGun, CGidget, CPlayerCameraBob
Former-commit-id: 24acd9863f
2022-10-06 01:56:52 +03: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 aa1df3e7d7 Get/SetPhysicsState fixes
Former-commit-id: 75909783bc
2022-10-05 10:53:15 -07: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
Henrique Gemignani Passos Lima 7ba573dfda Match CPlayerState::StartTransitionToVisor
Former-commit-id: e20618ee83
2022-10-05 19:08:27 +03:00
Phillip Stephens 2638a5a81a CPlayerState fixes
Former-commit-id: 8dd881eab1
2022-10-04 23:46:30 -07:00
Phillip Stephens 11ffb47af0 Match and link __mem
Former-commit-id: fb1a503cce
2022-10-04 22:17:40 -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 c8528fc2ee Match and link CUnitVector3f
Former-commit-id: 831bc1a9ed
2022-10-04 14:07:00 -07: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 bbe6b504a5 Match CPlayerState::CalculateItemCollectionRate
Thanks Roeming for the help


Former-commit-id: 7d5775a78a
2022-10-04 22:46:42 +03:00
Henrique Gemignani Passos Lima 33dba857b9 Fully match CPlayerState::PutTo
Former-commit-id: 5a4def3076
2022-10-04 22:45:30 +03:00
Henrique Gemignani Passos Lima e56a45c6c4 First pass at CPlayerState::PutTo
Former-commit-id: 4fcad1ada2
2022-10-04 21:50:29 +03:00
Henrique Gemignani Passos Lima 08efa3fd4f Implement CPlayerState::InitializeScanTimes
Former-commit-id: 62c7e2688d
2022-10-04 21:22:56 +03:00
Henrique Gemignani Passos Lima cc5b5a3cd9 Almost match CPlayerState::CalculateItemCollectionRate
Former-commit-id: 4d53116169
2022-10-04 21:15:07 +03:00
Henrique Gemignani Passos Lima 80ac406bc4 Match CPlayerState::GetIsFusionEnabled
Former-commit-id: fdd1a06d31
2022-10-04 17:15:27 +03:00
Henrique Gemignani Passos Lima 96c28d1391 Format file
Former-commit-id: 70cea3cc33
2022-10-04 17:15:16 +03:00
Henrique Gemignani Passos Lima 5c0e5e0bdf Match and fix CPlayerState::CanVisorSeeFog
Former-commit-id: d2b61199e4
2022-10-04 17:11:35 +03:00
Henrique Gemignani Passos Lima 19957192ca CPlayerState: match GetActiveVisor and GetIsVisorTransitioning
Former-commit-id: ad931516a5
2022-10-04 17:09:01 +03:00
Henrique Gemignani Passos Lima 8e4b169dc7 Adding some constants to CPlayerState.cpp
Former-commit-id: 3748652dad
2022-10-04 16:46:43 +03:00
Henrique Gemignani Passos Lima 3a953cf075 Add CPlayerState::CPlayerState(CInputStream& stream)
Former-commit-id: 65e7aeddab
2022-10-04 16:29:05 +03:00
Luke Street bc202ba493 Lots of stuff
Former-commit-id: 39b5f3c01e
2022-10-03 20:00:46 -04:00
Henrique Gemignani Passos Lima 162137f920 Explicit cast in AddOrUpdateEmitter
Former-commit-id: d531b082ea
2022-10-03 20:01:20 +03:00
Henrique Gemignani Passos Lima 05c7189fbb Add CRingSorter
Former-commit-id: 6e7a6fb846
2022-10-03 19:51:19 +03:00
Henrique Gemignani Passos Lima 250461ddec Use GetIdListForScript in CScriptSpecialFunction::AcceptScriptMsg
Former-commit-id: 3fd463fc8a
2022-10-03 19:30:33 +03:00
Henrique Gemignani Passos Lima 01b02f2397 Using kMedPriority in CScriptSpecialFunction
Former-commit-id: 2a8278c1b3
2022-10-03 19:23:44 +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 13fa06c8a4 Better matching for CScriptSpecialFunction
Former-commit-id: 10908935db
2022-10-03 18:49:22 +03:00
Henrique Gemignani Passos Lima e2ba417809 Add fmod to math.h
Former-commit-id: 01792db891
2022-10-03 16:24:59 +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
Phillip Stephens 1b617eee75 Split, match and link CVector3i
Former-commit-id: 9f8f1ab7f7
2022-10-02 20:09:01 -07:00
Phillip Stephens 22d8819770 Match and link CPlane
Former-commit-id: 302df55a60
2022-10-02 19:55:05 -07:00
Phillip Stephens 477189a490 Forgot something....
Former-commit-id: 19c1aa3ae1
2022-10-02 18:16:06 -07:00
Phillip Stephens 867d66b72d Minor fixes, add COsContextDolphin to completed list in configure.py
Former-commit-id: 09999a24a1
2022-10-02 18:04:35 -07:00
Luke Street c8f194b18c CScriptSpecialFunction: More matches
Former-commit-id: fdbd70eea1
2022-10-02 18:27:13 -04:00
Luke Street 2df36f08d9 CScriptSpecialFunction: Fix function order
Former-commit-id: 3c42d19078
2022-10-02 17:52:33 -04:00
Luke Street f04048e917 Match CScriptSpecialFunction constructor
Former-commit-id: f16397257b
2022-10-02 17:45:14 -04:00
Luke Street 5d42957243 Match CScriptSpecialFunction::PreRender
Former-commit-id: 3a23d993a0
2022-10-02 16:34:41 -04:00
Henrique Gemignani Passos Lima becebbe290 Add CScriptSpecialFunction.hpp/cpp
Former-commit-id: 2c857a9fa4
2022-10-02 18:21:56 +03:00
Henrique Gemignani Passos Lima 63988f60bc Preparing other headers for CScriptSpecialFunction
Former-commit-id: 6ffb16e4a9
2022-10-02 18:21:51 +03:00
Henrique Gemignani Passos Lima 00375b9c6a Add CDamageInfo
Former-commit-id: f40c4e6555
2022-10-02 13:14:12 +03:00
Phillip Stephens b9ea7a76b9 Match and link COsContext
Former-commit-id: cc514ecf6e
2022-10-02 00:43:00 -07:00
Phillip Stephens 6b23e11db8 Match and link CPhsyicsActor
Former-commit-id: 70a1e449bd
2022-10-01 23:06:32 -07:00
Phillip Stephens eedecae300 WeaponHits/Hurts fixes
Former-commit-id: d7b2bd3479
2022-10-01 15:13:35 -07:00
Henrique Gemignani Passos Lima 72e31ef65b Fix linking issues with CDamageVulnerability
Former-commit-id: 882cebb9b3
2022-10-02 01:06:20 +03:00
Henrique Gemignani Passos Lima ac12cf1321 Add CDamageVulnerability.cpp, fill header
Former-commit-id: dc47a3af22
2022-10-02 00:39:52 +03:00
Luke Street 4318fab3ab CAABox 90%
Former-commit-id: a0876b5c34
2022-10-01 16:39:55 -04:00
Luke Street f6cde6899c Link CFontImageDef
Former-commit-id: bbf3b658c2
2022-10-01 15:00:38 -04:00
Henrique Gemignani Passos Lima bb86f3dc01 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

Former-commit-id: 1e30daa096
2022-10-01 10:08:15 -04:00
Phillip Stephens ba75752e14 Match CFontImageDef, can't link due to extraneous TToken destructor
Former-commit-id: 77b921601a
2022-10-01 01:33:18 -07:00
Luke Street adb54a9892 Symbol fixes, headers & main progress
Former-commit-id: 6944a14e89
2022-10-01 02:19:15 -04:00
Henrique Gemignani Passos Lima 1e59dd91fc algorithm.hpp header fixes
Former-commit-id: 675a1904c4
2022-09-30 15:46:54 +03:00
Phillip Stephens 4e754e9163 Minor fixes, start CTextParser
Former-commit-id: e39a8e4c47
2022-09-29 21:24:13 -07:00
Luke Street 8659785c5c Fix GetSortingBounds symbol; various fixes
Former-commit-id: c8c05c2cd5
2022-09-29 20:24:12 -04:00
Luke Street 1f56cefe8c Halfway match CAABox; continue CBallCamera
Former-commit-id: 602109d8f0
2022-09-29 19:55:43 -04:00
Henrique Gemignani Passos Lima 8f3807da18 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

Former-commit-id: 7e8bc34cab
2022-09-29 19:09:11 -04:00
Luke Street 453bc3c3d6 Some CBallCamera progress
Former-commit-id: 3831cfa905
2022-09-29 01:30:20 -04:00
Phillip Stephens befc3f4ce7 More allocator work
Former-commit-id: fc2d2455dc
2022-09-21 23:03:38 -07:00
Phillip Stephens 7698af1f45 Match and link CStopwatch
Former-commit-id: 4d14f750d4
2022-09-21 23:03:09 -07:00
Luke Street 5c343128e4 Remove some hacks from CBallCamera
Former-commit-id: 2afec50c52
2022-09-21 01:40:03 -04:00
Luke Street 9637b6f796 Begin CBallCamera & more headers
Former-commit-id: 21f597aeb7
2022-09-21 01:18:20 -04:00
Phillip Stephens 57bb02906e More allocator work
Former-commit-id: 57ce723ec2
2022-09-19 21:35:24 -07:00
Luke Street b32c6018e8 CPlayer header, more CScriptPlatform, renaming
Former-commit-id: 5d9f7afa3b
2022-09-19 00:19:46 -04:00
Luke Street f6f1040fff Various rstl fixes; continue CScriptMazeNode & CScriptPlatform
Former-commit-id: 7608f27ed2
2022-09-18 13:51:07 -04:00
Luke Street 0d94a5a5f3 Implement rstl::optional_object_null
Former-commit-id: feac221b4d
2022-09-18 02:16:53 -04:00
Luke Street 234afca6c2 clang-format pass
Former-commit-id: 6a979e343f
2022-09-18 02:05:46 -04:00
Luke Street 41a2efa884 Start matching CScriptPlatform; more CScriptMazeNode
Former-commit-id: 135d63412c
2022-09-18 01:55:13 -04:00
Phillip Stephens 50047f2398 Match CScriptMazeNode::SendScriptMsgs
Former-commit-id: 972aa78e61
2022-09-15 21:30:20 -07:00
Phillip Stephens ba98f00f60 Link CSmallAllocPool.cpp, minor fixes
Former-commit-id: 7f768f8405
2022-09-15 20:38:03 -07:00
Phillip Stephens 5aee142c62 Link CSfxHandle.cpp
Former-commit-id: 79301314e9
2022-09-15 20:24:27 -07:00
Phillip Stephens 207ceef5c0 Remove padding from g721.cpp, move unused bytes to CStaticAudioPlayer.cpp
Former-commit-id: 6898a9cc90
2022-09-15 19:17:34 -07:00
Phillip Stephens 5b44016209 Link g721.cpp
Former-commit-id: 004dc6d1d0
2022-09-15 18:58:34 -07:00
Phillip Stephens 047ee1a32e Match dvd.c, not linking for now (links with patched 1.2.5)
Former-commit-id: d0ad5f5ef8
2022-09-15 18:18:29 -07:00
Luke Street e5dd64ab55 CScriptMazeNode progress
Former-commit-id: ff0275b48f
2022-09-15 00:08:57 -04:00
Phillip Stephens f4731daebe Link CTimeProvider.cpp
Former-commit-id: ea51b901e8
2022-09-13 22:53:26 -07:00
Phillip Stephens 64fe52845f Link CDolphinController.cpp
Former-commit-id: 0450f7b1f1
2022-09-13 22:25:20 -07:00
Luke Street 86c16b4b9d Begin matching CScriptMazeNode
Former-commit-id: 38ca1f6816
2022-09-14 01:24:12 -04:00
Luke Street 48c7444acb Match & link CScriptDebugCameraWaypoint
Former-commit-id: 0eefeac3c6
2022-09-13 22:25:14 -04:00
Phillip Stephens 6bd48a457a I forgot this because I'm an idiot
Former-commit-id: 2163b09aa4
2022-09-12 21:53:19 -07:00
Luke Street 329618c585 More main progress; tons of headers & stuff
Former-commit-id: a6e365791b
2022-09-13 00:28:02 -04:00
Phillip Stephens 6b306c1121 Link DolphinIController.cpp, start matching CSmallAllocPool
Former-commit-id: 228319e2a5
2022-09-11 11:45:19 -07:00
Phillip Stephens 4f851a605b Link CCircularBuffer.cpp
Former-commit-id: 5d82d47660
2022-09-10 22:54:54 -07:00
Phillip Stephens fcdeb21704 Link nearly all of CARD
Former-commit-id: e3de3f9e5d
2022-09-10 21:54:54 -07:00
Phillip Stephens ae2f662c33 Link CARDOpen.c
Former-commit-id: 28a4b75d39
2022-09-10 20:18:17 -07:00
Phillip Stephens f9cecfd4b1 Link CARDDir.c
Former-commit-id: df0484585a
2022-09-10 17:25:05 -07:00
Phillip Stephens c5ead9fe1b Link CARDBlock.c
Former-commit-id: e00208cc49
2022-09-10 15:41:14 -07:00
Phillip Stephens b1441a1bae Minor cleanup
Former-commit-id: 172d5efc91
2022-09-10 14:32:57 -07:00
Phillip Stephens 8a8523b6ee Link CARDRdwr.c
Former-commit-id: b0405b7673
2022-09-10 14:31:25 -07:00
Phillip Stephens 57d8500376 Link CARDUnlock.c, CARDBios.c matches, but can't be linked due to frank issues
Former-commit-id: 58d5c4a816
2022-09-10 13:32:26 -07:00
Phillip Stephens feff8c6ec3 Merge text_80008894_80009144.s back into main.s
Former-commit-id: fb95ae4748
2022-09-07 22:01:54 -07:00
Phillip Stephens 698c784a00 Minor cleanup, move files to
Former-commit-id: c1abac8c9e
2022-09-07 21:51:31 -07:00
Phillip Stephens 18d45a80a7 Fully link __ppc_eabi_init.cpp
Former-commit-id: e8bf411356
2022-09-07 21:42:56 -07:00
Luke Street 0f25a3c8d4 Migrate s32->int, u32->uint; fix dolphin/types.h
Former-commit-id: 7eb08b6ee8
2022-09-05 00:01:22 -04:00
Luke Street 5726400667 More CCubeMaterial
Former-commit-id: 78022784ef
2022-09-05 00:01:22 -04:00
Phillip Stephens 928d673a86 musyx: link synth_ac.c
Former-commit-id: 1179a651b3
2022-09-04 02:30:03 -07:00
Luke Street b851577337 Header cleanup, NONMATCHING option
Former-commit-id: 174a2d98f7
2022-08-31 20:22:20 -04:00
Luke Street 8b28b129e2 Link CGX
Former-commit-id: 3e43c0878f
2022-08-31 12:06:56 -04:00
Luke Street 40271117df Almost done with CGX
Former-commit-id: 89284f17b2
2022-08-31 00:54:17 -04:00
Luke Street 4660679da4 More CGX matches part 2
Former-commit-id: 4758103774
2022-08-30 18:48:44 -04:00
Luke Street 7cdb1aef65 More CGX matches
Former-commit-id: 6fbaa00f07
2022-08-30 01:12:32 -04:00
Luke Street 6768dfc9b4 Begin CGX/CCubeMaterial; add dolphin headers from aurora
Former-commit-id: b28e24862b
2022-08-30 00:05:16 -04:00
Luke Street 00c77e6195 Runtime/math matches; better libc headers
Former-commit-id: bef7db1748
2022-08-25 23:46:24 -04:00
Luke Street f7fb2d5cee Fully shiftable??
Former-commit-id: 326199f2f4
2022-08-21 01:23:57 -04:00
Luke Street 57bfdc2000 Create & link TCastTo.cpp
Former-commit-id: f41c87eea7
2022-08-16 17:47:16 -04:00
Luke Street f3e607a3af Renaming & more CActor progress
Former-commit-id: bcfefcc34a
2022-08-15 22:14:28 -04:00
Phillip Stephens 9675db47b4 Minor CActor/CModelData fixes, add matching CActor::UpdateAnimation
Former-commit-id: 8e90988b5c
2022-08-14 22:50:25 -07:00
Luke Street 94e27faee8 Continued work on CActor
Former-commit-id: 09dfe946fc
2022-08-15 00:51:06 -04:00
Luke Street e9704b7718 Revert bad rename
Former-commit-id: 16514e942e
2022-08-14 14:42:30 -04:00
Luke Street eb6819f1fd Continue work on CActor::UpdateAnimation; lots of headers n stuff
Former-commit-id: 85284f7640
2022-08-14 14:38:41 -04:00
Phillip Stephens 97847d1d61 Remove non-matching comment from Lerp
Former-commit-id: 7c92358bf6
2022-08-13 14:44:29 -07:00
Phillip Stephens eb554f79dd Link DolphinCColor.cpp, thanks encounter and Ninji
Former-commit-id: 4999c1ded5
2022-08-13 14:43:45 -07:00
Phillip Stephens 38ec6e5984 Merge branch 'main' of github.com:PrimeDecomp/prime
Former-commit-id: fb3a2950f9
2022-08-13 05:59:49 -07:00
Phillip Stephens da85e24623 DolphinCColor imps, only `Lerp(u32, u32, float)` isn't matching
Former-commit-id: d36775e76a
2022-08-13 05:57:38 -07:00
Luke Street 64c034c9f7 Start filling out CVector3f/CTransform4f
Former-commit-id: e16e6bca49
2022-08-13 00:32:42 -04:00
Luke Street 361f2bb9ce Initial work on CActor.cpp
Former-commit-id: 44b17813bd
2022-08-12 21:26:54 -04:00