Commit Graph

191 Commits

Author SHA1 Message Date
Phillip Stephens 39d22b8758 Match and link CFont
Former-commit-id: 914ca994a0
2022-12-22 17:18:13 -08:00
Henrique Gemignani Passos Lima fa49ecfc17 Fixing build
Former-commit-id: f8e02c251c
2022-12-22 01:26:49 -03:00
Phillip Stephens b7a44f2040 Implement all simple operators in CCharAnimTime
Former-commit-id: 44c34072f9
2022-12-09 13:16:10 -08:00
Phillip Stephens 4a96415237 Add CCharAnimTime
Former-commit-id: f7e3f059b2
2022-12-09 13:00:39 -08:00
Phillip Stephens 0f49d0bf5e Match and link CPOINode
Former-commit-id: b734a37cd6
2022-12-09 12:16:05 -08:00
Phillip Stephens 012cac4151 Match and link CPrimitive and CHalfTransition, add CPOINode
Former-commit-id: bf5279ef2f
2022-12-09 11:38:58 -08:00
Phillip Stephens bcb87c3223 Match and link CTransition
Former-commit-id: 4e0df3d957
2022-12-08 15:01:45 -08:00
Phillip Stephens 0d13bb1a4d Match and link CAnimation
Former-commit-id: b2bebb982d
2022-12-08 14:45:30 -08:00
Luke Street 341e73de06 DolphinCGraphics nearly done
Former-commit-id: d065d80388
2022-12-06 18:32:53 -05:00
Phillip Stephens a58b008abd Match and link CARAMToken
Former-commit-id: b096be696a
2022-12-05 23:59:41 -08:00
Phillip Stephens 623a6990c2 Compile fixes for CZipOutputStream, link deflate code
Former-commit-id: f163fb3fd5
2022-12-05 21:41:21 -08:00
Phillip Stephens 1e7e5887d2 Restore CZipOutputStream from MP3 prototype
Former-commit-id: 529c359935
2022-12-05 21:30:20 -08:00
Phillip Stephens 914ef4a37c Minor fixes to RAssertDolphin
Former-commit-id: 2c672dbfb1
2022-12-05 20:30:11 -08:00
Phillip Stephens 422a460d09 Match and link CBasics.cpp
Former-commit-id: 9e26e29035
2022-12-05 20:25:17 -08:00
Phillip Stephens 4f9bb0ae1c Match and link CBasicsDolphin.cpp
Former-commit-id: 6880c19ae9
2022-12-05 20:11:13 -08:00
Phillip Stephens dd56a38ae5 Start DolphinCTexture and CARAMToken
Former-commit-id: f711682fbf
2022-12-03 13:31:54 -08:00
Phillip Stephens 696d65dd24 Add DolphinCPalette, logic matched, unfortunately has instruction swaps around TLUT ops
Former-commit-id: 9684ace9af
2022-12-02 22:01:02 -08:00
Luke Street 16987ab59b DolphinCGraphics: 15 more matching funcs
Former-commit-id: 4a13726665
2022-12-02 14:35:58 -05:00
Luke Street 7c6839fee7 CTevCombiners: Fix CTevPass (un)inlining
Former-commit-id: 205947ebdf
2022-12-02 12:33:10 -05:00
Phillip Stephens ccc9cadf4f Match and link CTevCombiners, temporary hack for CTevPass
Former-commit-id: a6e929208f
2022-12-01 22:53:12 -08:00
Phillip Stephens 68867963b8 Add and nearly match CTevCombiners
Former-commit-id: 36f4a28988
2022-12-01 22:36:25 -08:00
Luke Street 4e0dfde249 DolphinCGraphics inches closer
Former-commit-id: 64a23c22cc
2022-12-02 00:19:53 -05:00
Luke Street 6b27aee58d Even more DolphinCGraphics
Former-commit-id: dd8dd94f36
2022-12-01 00:59:03 -05:00
Luke Street 2bff2f4d6b More DolphinCGraphics
Former-commit-id: d9f71836b5
2022-11-30 01:43:17 -05:00
Luke Street 913b1c8a16 Start DolphinCGraphics, 10/11 functions matching
Former-commit-id: 609873426e
2022-11-29 20:56:37 -05:00
Henrique Gemignani Passos Lima 234482d8de Fix compilation of all files
Former-commit-id: a34a639326
2022-11-25 23:02:17 +02:00
Henrique Gemignani Passos Lima 1dd0e2ad4d Fix override usage
Former-commit-id: 989015db6a
2022-11-08 16:23:03 +02:00
Luke Street 5707a847da Minor improvements to CScriptVisorFlare
Former-commit-id: e31200f62d
2022-11-01 21:21:07 -04:00
Henrique Gemignani Passos Lima 99dac1a072 Progress for rbtree_rebalance_for_erase
Former-commit-id: f05b3c0b01
2022-10-28 11:44:17 +03:00
Henrique Gemignani Passos Lima 64292a911e Match rbtree_rebalance. Thanks encounter
Former-commit-id: 88dcc77ca7
2022-10-26 19:16:41 +03: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 d68b8e27cc Fix all compilation errors when building for host
Former-commit-id: c473566160
2022-10-21 14:24:45 +03: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
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
Phillip Stephens 3281966a44 Remove fake destructor definitions
Former-commit-id: 8281bd5424
2022-10-18 20:51:49 -07:00
Phillip Stephens f22cb43557 Start CVectorElement.cpp
Former-commit-id: 73c5e9eaf8
2022-10-18 20:04:02 -07:00
Luke Street eedb4229d3 Add CColorElement, CUVElement
Former-commit-id: 2c60ca8c47
2022-10-18 19:13:57 -04: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
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 d694d5e4ea Match and link CCallStackDolphin
Former-commit-id: 2606c5f4a1
2022-10-14 08:46:40 -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
Phillip Stephens 85173e2bd8 More COutputStream
Former-commit-id: f27c87a5b5
2022-10-11 11:38:08 -07:00
Henrique Gemignani Passos Lima 4f2a8704db Fix errors and warnings
Former-commit-id: 9f4fc78c16
2022-10-11 18:37:27 +03: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
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
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 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
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
Phillip Stephens 3ed47d5cde Fix linking with static libs, CVector3f work, Initial COutputStream
Former-commit-id: 693fe93eab
2022-10-04 18:31:56 -07: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
Luke Street bc202ba493 Lots of stuff
Former-commit-id: 39b5f3c01e
2022-10-03 20:00:46 -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 b9ea7a76b9 Match and link COsContext
Former-commit-id: cc514ecf6e
2022-10-02 00:43:00 -07: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
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 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
Phillip Stephens 57bb02906e More allocator work
Former-commit-id: 57ce723ec2
2022-09-19 21:35:24 -07:00
Luke Street 234afca6c2 clang-format pass
Former-commit-id: 6a979e343f
2022-09-18 02:05:46 -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