Commit Graph

209 Commits

Author SHA1 Message Date
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
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 c6383170f6 Don't link snd_math
Former-commit-id: 7c14c56219
2022-10-05 10:59:51 -07: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
Phillip Stephens 2638a5a81a CPlayerState fixes
Former-commit-id: 8dd881eab1
2022-10-04 23:46:30 -07:00
Phillip Stephens 3ed47d5cde Fix linking with static libs, CVector3f work, Initial COutputStream
Former-commit-id: 693fe93eab
2022-10-04 18:31:56 -07:00
Luke Street e7ecda7a36 CScriptSpecialFunction progress & symbol updates
Former-commit-id: 84d590be2f
2022-10-04 20:16:35 -04:00
Phillip Stephens 60cc687cd1 Match and link CVector2f
Former-commit-id: b85528fbab
2022-10-04 14:00:16 -07:00
Phillip Stephens 171da931cc Match and link CVector2i
Former-commit-id: 45312e97ea
2022-10-04 13:11:34 -07:00
Phillip Stephens f8688e02e3 Initial pass at CDecal classes
Former-commit-id: 4b24bba57e
2022-10-04 12:58:17 -07:00
Phillip Stephens 2ef9d69288 Match and link CVector3d, add CVector3i.s
Former-commit-id: cdbbfba34e
2022-10-04 12:57:04 -07:00
Henrique Gemignani Passos Lima e56a45c6c4 First pass at CPlayerState::PutTo
Former-commit-id: 4fcad1ada2
2022-10-04 21:50:29 +03:00
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 05c93724a3 Fix CCameraManager::GetCurrentCamera symbols
Former-commit-id: c10ddd017e
2022-10-04 17:08:26 +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 469c499a6b CSfxManager: make priority values const
Former-commit-id: 0acb1e0e40
2022-10-03 20:03:50 +03:00
Henrique Gemignani Passos Lima a90e68436b CSfxManager: Add kAllAreas, areaId to int
Former-commit-id: 4b08f70a0b
2022-10-03 20:00:51 +03:00
Henrique Gemignani Passos Lima bd8d881f6b Add kMaxPriority/kMedPriority to CSfxManager
Former-commit-id: b423771f97
2022-10-03 19:23:22 +03:00
Henrique Gemignani Passos Lima d55ba2e58e Fix CSfxManager::PitchBend types
Former-commit-id: 97282648b4
2022-10-03 19:04:56 +03:00
Henrique Gemignani Passos Lima 8cac11d25d Match CScriptSpecialFunction::DeleteEmitter
Former-commit-id: e48f6478f9
2022-10-03 18:59:07 +03:00
Henrique Gemignani Passos Lima e798ecd5f3 CAnimData: default animation is s16
Former-commit-id: fcf2e43f1e
2022-10-03 18:45:08 +03:00
Henrique Gemignani Passos Lima 1ede41207b Improve CAABox::GetExtents
Thanks encounter


Former-commit-id: 3f4e53ec74
2022-10-03 18:05:16 +03:00
Henrique Gemignani Passos Lima c5a4f660bb TAverage: don't implement AddValue inline
Former-commit-id: ce2276b310
2022-10-03 18:03:57 +03:00
Henrique Gemignani Passos Lima 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 7c37170bb6 Add missing w_fmod.h
Former-commit-id: 3256933c63
2022-10-03 15:15:06 +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 5da4fc096b Add missing TAverage.hpp
Former-commit-id: e8133e9476
2022-10-02 17:53:28 -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
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
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
Luke Street 78c2744399 rstl/algorithm: Remove dangling template<>
Former-commit-id: 797070bb0a
2022-09-30 10:17:07 -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 15efc56c15 CStateManager: Forward declare CMaterialFilter
Former-commit-id: e91b0c43cc
2022-09-29 01:31:19 -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 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 f21f94be32 Forgot gba.h too
Former-commit-id: 32dc934203
2022-09-12 21:53:49 -07: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 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 f9cecfd4b1 Link CARDDir.c
Former-commit-id: df0484585a
2022-09-10 17:25:05 -07:00
Phillip Stephens 8b689adc97 Commit missed files
Former-commit-id: c33b42a7c0
2022-09-10 15:41:46 -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 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
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