Commit Graph

278 Commits

Author SHA1 Message Date
Phillip Stephens ba4982f6dc Minor fixes
Former-commit-id: 8de39f488c
2022-10-07 01:17:26 -07:00
Phillip Stephens ef3466ac1b Match and link CCollisionInfo
Former-commit-id: dbaf1f40ca
2022-10-06 21:23:10 -07:00
Luke Street 9a638c7d42 configure.py: Use metroidbuildinfo
Former-commit-id: 799ce41ad0
2022-10-06 23:13:38 -04: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 6bfb08fd07 Add CGunController
Former-commit-id: c68d72a84c
2022-10-07 01:53:47 +03:00
Phillip Stephens 096c8a89b7 Improve metroidbuildinfo, use file instead of string passed from command line
Former-commit-id: cca1bc81f5
2022-10-06 14:24:24 -07: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 ee2717d166 Update CActorLights constructor symbol
Former-commit-id: ebec11fb45
2022-10-06 13:38:28 +03:00
Phillip Stephens ec9e639009 Match CLight, has issues with constants
Former-commit-id: b039acfac8
2022-10-06 01:40:00 -07: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 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 2ef9d69288 Match and link CVector3d, add CVector3i.s
Former-commit-id: cdbbfba34e
2022-10-04 12:57:04 -07: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 0954573bc7 Fix symbol name for CPlayerState::GetIsFusionEnabled
Former-commit-id: e03f153312
2022-10-04 17:12:27 +03:00
Henrique Gemignani Passos Lima 05c93724a3 Fix CCameraManager::GetCurrentCamera symbols
Former-commit-id: c10ddd017e
2022-10-04 17:08:26 +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
Luke Street bc202ba493 Lots of stuff
Former-commit-id: 39b5f3c01e
2022-10-03 20:00:46 -04: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 2732fd1688 Update symbols to use RemoveEmitter-by-value
Former-commit-id: 07147d4057
2022-10-03 18:58:51 +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 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
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 ecac640472 Match and link CWarp
Former-commit-id: 4614b90282
2022-10-02 18:14:55 -07:00
Luke Street c8f194b18c CScriptSpecialFunction: More matches
Former-commit-id: fdbd70eea1
2022-10-02 18:27:13 -04:00
Luke Street f04048e917 Match CScriptSpecialFunction constructor
Former-commit-id: f16397257b
2022-10-02 17:45:14 -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
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
Henrique Gemignani Passos Lima f272196864 Rename static vulnerabilities in CDamageVulnerability.s
Former-commit-id: c261ee7bb9
2022-10-02 00:55:31 +03:00
Henrique Gemignani Passos Lima ac12cf1321 Add CDamageVulnerability.cpp, fill header
Former-commit-id: dc47a3af22
2022-10-02 00:39:52 +03:00
Henrique Gemignani Passos Lima 18ab1ef2b5 Fix data for visor list (#7)
Former-commit-id: 524b0a4cc8
2022-10-01 16:40:08 -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
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 7698af1f45 Match and link CStopwatch
Former-commit-id: 4d14f750d4
2022-09-21 23:03:09 -07:00
Luke Street b86bceae0d CBallCamera: Remove bad labels from .text
Former-commit-id: cbbee3363a
2022-09-21 01:47:00 -04: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 ad6fd10f21 Symbol renaming
Former-commit-id: be9f7f1dc4
2022-09-18 01:52:19 -04: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 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
Phillip Stephens f4731daebe Link CTimeProvider.cpp
Former-commit-id: ea51b901e8
2022-09-13 22:53:26 -07:00
Luke Street 07d8389435 More symbol fixes
Former-commit-id: 52b5ab45d3
2022-09-14 01:24:37 -04:00
Luke Street a781d2de6e Correct __dt__16CActorParametersFv to __dt__16CLightParametersFv
Former-commit-id: 0cfb3d0aff
2022-09-13 22:25:14 -04:00
Phillip Stephens 8708860ab2 Start matching CDolphinController
Former-commit-id: 4de9950cda
2022-09-12 21:52:59 -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 ae2f662c33 Link CARDOpen.c
Former-commit-id: 28a4b75d39
2022-09-10 20:18:17 -07:00
Phillip Stephens 8b689adc97 Commit missed files
Former-commit-id: c33b42a7c0
2022-09-10 15:41:46 -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 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 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 75f08901d8 KOR buildable
Former-commit-id: e50328cd89
2022-08-22 23:54:30 -04:00
Luke Street fe606db04b rev1 buildable
Former-commit-id: 28d1c5d428
2022-08-22 10:16:37 -04:00
Luke Street f7fb2d5cee Fully shiftable??
Former-commit-id: 326199f2f4
2022-08-21 01:23:57 -04:00
Luke Street a00f9ed1e1 Halfway to shiftable
Former-commit-id: f739fb53af
2022-08-20 21:40:40 -04:00
Luke Street 57bfdc2000 Create & link TCastTo.cpp
Former-commit-id: f41c87eea7
2022-08-16 17:47:16 -04:00
Luke Street 704b791138 More renaming
Former-commit-id: 92117d1308
2022-08-16 17:46:30 -04:00
Luke Street f3e607a3af Renaming & more CActor progress
Former-commit-id: bcfefcc34a
2022-08-15 22:14:28 -04: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
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
Phillip Stephens d1768a3076 More musyx imps, cleanups
Former-commit-id: 3d19d9ea82
2022-08-11 01:12:35 -07:00
Luke Street e2206fc47d Split .comm declarations
Former-commit-id: 11f69fcb5d
2022-08-10 22:27:22 -04:00
Luke Street 117b29dce0 Migrate to -common on; use .comm/.lcomm
Former-commit-id: 0f326e1ce3
2022-08-10 21:17:58 -04:00
Luke Street 63c26559da Rename NullConnectionList__7CEntity
Former-commit-id: 0a57ffc4d3
2022-08-10 19:45:31 -04:00
Luke Street 4cbb6d30e2 Missed one
Former-commit-id: b7565482e9
2022-08-10 19:11:22 -04:00
Luke Street e758a161c2 Remove dupliate .baligns
Former-commit-id: c3b5f8a821
2022-08-10 19:10:26 -04:00
Luke Street 1caf7322ca Fix splits & .balign 8 all data sections
Former-commit-id: 2142670ac6
2022-08-10 19:08:58 -04:00
Luke Street 4b6598b0be Split .ctors
Former-commit-id: a54141b0fa
2022-08-10 02:27:47 -04:00
Luke Street 8588af60be Link zlib
Former-commit-id: 107ea767f9
2022-08-09 23:00:57 -04:00
Phillip Stephens 3a23f40720 Various imps
Former-commit-id: 7043befead
2022-08-05 03:23:49 -07:00
Phillip Stephens 8db2425e27 Link CHUDMemoParms.cpp, minor data fixes
Former-commit-id: 2f39c70005
2022-07-30 13:10:04 -07:00
Phillip Stephens 3aa9c03819 Link CRandom16.cpp
Former-commit-id: 4a01665439
2022-07-30 03:34:28 -07:00
Phillip Stephens a108e76a1f Minor cleanups
Former-commit-id: 5bfa43d591
2022-07-30 02:12:25 -07:00
Phillip Stephens 0ff6365a89 Start trying to get zlib linked
Former-commit-id: 7107b307e2
2022-07-28 22:03:24 -07:00
Luke Street 1efd8da0b0 Migrate to inline=deferred,noauto
Former-commit-id: 863cf71312
2022-07-28 09:19:26 -04:00
Phillip Stephens f69ab994dd Remove reverb_fx.s
Former-commit-id: 93eb46aedd
2022-07-26 23:33:44 -07:00
Phillip Stephens abba84e48a Remove seq_api.s and hw_memory.s
Former-commit-id: 97dbbc26d8
2022-07-26 22:56:22 -07:00
Phillip Stephens ae52b8482c Link snd_service.c and hw_memory.c
Former-commit-id: e88f46cb28
2022-07-26 22:11:36 -07:00
Phillip Stephens 509dc4d622 IWeaponRender decomp (can't link yet)
Former-commit-id: 0e20e67870
2022-07-25 21:36:32 -07:00
Phillip Stephens e11b88ea1e Link IAllocator.cpp
Former-commit-id: 0680c9d62d
2022-07-20 21:47:03 -07:00
Phillip Stephens 6473aae6a9 Link CMemoryInStream.cpp
Former-commit-id: 437b1dd3a6
2022-07-19 23:19:07 -07:00
Luke Street 6a471a6abe Link CInputStream.cpp
Former-commit-id: 69ddd71fc8
2022-07-18 13:53:58 -04:00
Luke Street cc68e4af1d Delete rodata.s
Former-commit-id: 1bc93e4dbc
2022-07-18 01:39:25 -04:00
Luke Street c78d25aac6 Full rodata split
Former-commit-id: 4aba1a659a
2022-07-18 01:21:27 -04:00
Luke Street 9baad4e855 Full sdata2 split
Former-commit-id: e4968cb13d
2022-07-18 01:20:04 -04:00
Luke Street 3f96fa4865 Almost matched CInputStream
Former-commit-id: 18079ecfee
2022-07-14 20:48:18 -04:00
Luke Street ffd6ba5818 Implement TObj*/IObj; finish matching CStringTable
Former-commit-id: e98f62c3a6
2022-07-14 12:24:26 -04:00
Luke Street 85f091062d Full deincbin
Former-commit-id: d05e75f6f9
2022-07-14 01:48:03 -04:00
Luke Street d46b650ca5 Finish splitting sbss
Former-commit-id: 37f2e5cbbb
2022-07-14 01:36:41 -04:00
Phillip Stephens e0bd52d345 Decompile dsp.c start OSReset.c
Former-commit-id: 6753bb7115
2022-04-30 01:32:00 -07:00
Phillip Stephens 86ad34060b Remove OSAudioSystem.s
Former-commit-id: 0fef366427
2022-04-24 12:23:30 -07:00
Phillip Stephens f4ebb6554d Start splitting sbss.s
Former-commit-id: b1efa7e9c4
2022-04-24 10:43:04 -07:00
Phillip Stephens f563ea936b Rename TGameTypes constants
Former-commit-id: ef4af6693f
2022-04-23 18:54:45 -07:00
Phillip Stephens 2922aa68b5 Finish splitting sdata.s
Former-commit-id: 757e6d48f9
2022-04-23 00:19:32 -07:00
Phillip Stephens cab9e05e37 Start splitting sdata.s
Former-commit-id: 813b9e6e01
2022-04-20 23:32:43 -07:00
Phillip Stephens 4555042ac0 Split sbss2.s
Former-commit-id: b9fc64bf52
2022-04-17 21:29:59 -07:00
Phillip Stephens 45963b5ba7 Split data.s
Former-commit-id: 4c74f8856b
2022-04-17 21:19:18 -07:00
Phillip Stephens c81b451e45 deincbin data.s
Former-commit-id: 3ed154a0e6
2022-04-16 17:22:26 -07:00
Phillip Stephens ebde6b3f97 Split bss
Former-commit-id: f6ecafb3a6
2022-04-16 16:18:42 -07:00
Phillip Stephens d26304d2c4 Forgot CDecalDescription
Former-commit-id: c1a80b4534
2022-04-16 15:11:02 -07:00
Phillip Stephens ef4f2b3538 Split CDecalDescription, and rename GameTweaks to CFrameDelayedKiller
Former-commit-id: 186077f010
2022-04-16 15:09:42 -07:00
Phillip Stephens 1641986d9e Finish splitting text.s!
Former-commit-id: 85c0f37226
2022-04-16 00:50:32 -07:00
Phillip Stephens c6bc664505 Move Kyoto_CWD to MetroidPrime
Former-commit-id: d9393c0953
2022-04-15 21:01:44 -07:00
Phillip Stephens 39d7a27be5 Move all *real* Kyoto code to new Kyoto directory, Kyoto_CWD needs to be renamed to MetroidPrime
Former-commit-id: cdc96f4c1e
2022-04-15 20:52:00 -07:00
Luke Street 936f63b05d Updates to rstl; rename some symbols; update CFLAGS
Former-commit-id: b8c0242ea7
2022-04-15 15:24:52 -04:00
Phillip Stephens 2365e4f31e Finish splitting Kyoto, split WorldFormat, Weapons, MetaRender, Collision, GuiSys, Basics, and start Animation
Former-commit-id: 64057eede7
2022-04-15 00:32:53 -07:00
Phillip Stephens 5ccc4c5dab More splitting
Former-commit-id: c9fbc0362a
2022-04-14 01:02:42 -07:00
Phillip Stephens 808f0206ed Nearly half way done spliting text.s
Former-commit-id: 81b791ab6a
2022-04-13 01:02:06 -07:00
Phillip Stephens fbdcab9193 SPLIT!
Former-commit-id: 1d44f50d7b
2022-04-12 23:53:45 -07:00
Phillip Stephens 02e2548d7c Start reorganizing source code
Former-commit-id: da684dbef6
2022-04-12 21:45:24 -07:00
Phillip Stephens 001d0d55db More text.s splitting
Former-commit-id: 604ef813e4
2022-04-12 02:57:12 -07:00
Phillip Stephens a7ee2a9ab9 Finish splitting CWeaponMgr
Former-commit-id: 49492e8d2b
2022-04-12 02:14:24 -07:00
Phillip Stephens d7fb5cd6c2 Split CWeaponMgr
Former-commit-id: 51e56ed135
2022-04-12 01:55:54 -07:00
Phillip Stephens cde3691e5f More splitting!
Former-commit-id: 361fd45f83
2022-04-12 00:10:32 -07:00
Phillip Stephens dd24a8a2a6 Start splitting Kyoto
Former-commit-id: ea1c0550fc
2022-04-11 22:41:21 -07:00
Phillip Stephens 5aa1fa8cbe Forgot CControlMapper.s
Former-commit-id: d58a5bbe22
2022-04-11 22:20:49 -07:00
Phillip Stephens 47be817888 Move ctors/dtors to end of link order, migrate bss_sinit.s into ctors.s
Former-commit-id: 0388956e1e
2022-04-11 22:19:33 -07:00
Phillip Stephens 37584253a3 Split mslsupp.c rename TRK functions
Former-commit-id: 1974f6fc22
2022-04-11 21:53:51 -07:00
Phillip Stephens 9c59ddae13 PAD: name PADRecalibrate
Former-commit-id: 7a95698329
2022-04-09 19:40:54 -07:00
Phillip Stephens 73b7b4df3a MusyX: Correct global variable locations, and move synth_dbtab to C
Former-commit-id: 7f90b8de58
2022-04-09 01:51:35 -07:00