Commit Graph

272 Commits

Author SHA1 Message Date
Ramen2X
7b88625988 match MxRegion::vtable1c 2023-10-27 17:19:04 -04:00
Christian Semmler
3c8d4acbdf Merge branch 'master' into mxregion 2023-10-25 18:04:03 -04:00
Christian Semmler
20c4f832ca Match MxList<T>::_InsertEntry to 100% 2023-10-25 18:02:49 -04:00
Christian Semmler
126ff250d0 Merge branch 'master' into mxregion 2023-10-25 16:55:26 -04:00
Nathan M Gilbert
7d8c57fc9c Rename some functions and members (#246)
* Rename some functions and members

* Match LegoWorld::Notify to 100%

* Match MxOmni::Destroy to 100%

* Fix parameter prefix

* Fix another parameter

* Fix CR at EOF

* Fix CR at EOF

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
2023-10-25 16:51:59 -04:00
Christian Semmler
a01bcf5241 (clang-format) Insert newline at end of file (#247)
* Insert newline at EOF

* Fix formatting
2023-10-25 11:51:59 -07:00
Christian Semmler
6b8dc8a0cc Match MxVariableTable::SetVariable to 100% 2023-10-25 14:44:28 -04:00
Christian Semmler
220ad5d537 Use TEMPLATE syntax for MxHashTable decomp declarations 2023-10-25 14:32:51 -04:00
Christian Semmler
14350660c8 Format 2023-10-25 06:39:25 -04:00
Christian Semmler
a2a5cd1186 Format 2023-10-25 06:38:36 -04:00
Christian Semmler
45a8e4b092 Merge branch 'master' into mxregion 2023-10-25 06:36:49 -04:00
MS
10ebdfa608 MxVideoPresenter::IsHit (#244)
* MxVideoPresenter::IsHit

* Apply clang-format

* Minor logic fix

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
2023-10-25 12:02:36 +02:00
Christian Semmler
b449da1fa3 Introduce clang-format (#240) 2023-10-25 01:38:27 +02:00
Anonymous Maarten
e928fc9425 Build fixes for mingw (#245) 2023-10-25 01:24:29 +02:00
Ramen2X
4c5c709af6 correct 0 in LEGO1 comment [skip ci] 2023-10-24 09:58:27 -04:00
Nathan M Gilbert
af1745db18 Implement Helicopter::VTable0xe4 (#243)
Clean up parent classes
2023-10-24 14:37:02 +02:00
Ramen2X
74329d681b implement/match CalcLocalTransform (#241)
* implement/match CalcLocalTransform

* fix odd build error

* address feedback

move vec.h to thirdparty folder
update vec.h
move all realtime code to realtime folder
move calclocaltransform out of legoutil and into realtime
cast shift to MxS32
add additional unroll hack to CalcLocalTransform to prevent msvc entropy
2023-10-24 14:27:24 +02:00
Nathan M Gilbert
1ab29590ee Start of helicopter Implementation (#239)
* Start of helicopter Implementation

Mostly Matching, some issues with MxMatrix and/or MxVector4

* Fix some style issues

* Fix some style issues
2023-10-24 10:14:45 +02:00
vMidz
587ac7a9d7 implement LegoPathPresenter (#238)
* implement LegoPathPresenter

implement some LegoPathPresenter functions

* Update legopathpresenter.cpp

* Minor fixes

* Order functions

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
2023-10-23 16:08:22 +02:00
Joshua Peisach
34ce795cdd MxWavePresenter ClassName, IsA (#237) 2023-10-23 09:33:07 -04:00
Christian Semmler
d4317ebb0a Merge branch 'master' into mxregion 2023-10-23 07:36:05 -04:00
Nathan M Gilbert
4cc6b9b8ec Implement Score (#230)
* Implement Score

* Update mxomni.cpp

Fix case of OFFSET comment.

* Fix DeleteObjects

* Apply changes (see comment)

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
2023-10-23 13:16:21 +02:00
Misha
724c953947 Implement MxDSBuffer constructor, match MxDSSource::FUN_100bffd0 (#235)
* Implement MxDSBuffer constructor, match FUN_100bffd0

* Match to 100%, minor style fixes

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
2023-10-22 21:58:05 +02:00
Ramen2X
5ab993bfda cleanup: fix all improper uses of MxResult (#234)
* cleanup: fix all improper uses of MxResult
2023-10-22 13:38:25 -04:00
Ramen2X
7e907cfe3f implement/match JukeBoxState (#233) 2023-10-22 11:33:29 -04:00
Misha
681ab9c026 implement most of MxBackgroundAudioManager (#232)
* implement most of MxBackgroundAudioManager

* Match OpenMusic to 100%, style fixes

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
2023-10-22 16:11:46 +02:00
Misha
50fe5f9c83 implement LegoSoundManager vtable (#231)
* LegoSoundManager

* Fix virtual function declarations/locations

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
2023-10-22 15:48:20 +02:00
MS
ae908a74cc Copy constructor for MxVideoPresenter::AlphaMask (#229) 2023-10-21 19:47:48 -04:00
Joshua Peisach
af0e38176c MxSoundPresenter (#227)
* MxSoundPresenter

Destructor, destroy, function adding itself to the sound manager and vtable38.

* Fix virtual function declarations

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
2023-10-22 00:41:05 +02:00
MS
85d94baa50 MxVideoPresenter AlphaMask (formerly UnkStruct) (#226) 2023-10-22 00:40:31 +02:00
Christian Semmler
5dfb132025 Implement MxOmni::DoesEntityExist and related (#225)
* Implement MxOmni::DoesEntityExist and related

* Rename function for consistency
2023-10-21 17:23:55 -04:00
Christian Semmler
6931a817a6 Implement NotifyCurrentEntity (#224) 2023-10-21 17:02:55 -04:00
Christian Semmler
d68297f658 Simplify function 2023-10-20 15:41:03 -04:00
Christian Semmler
19722d413c Match loops 2023-10-20 15:36:03 -04:00
Joshua Peisach
4f201eaa48 MxEventPresenter destructor (#223)
* MxEventPresenter destructor

* Fix and implement Destroy

* Fix scope of Destroy decl

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
2023-10-20 20:41:23 +02:00
Christian Semmler
935c74513d Fix comment 2023-10-20 09:26:10 -04:00
Christian Semmler
1919135682 Implement remaining functions 2023-10-20 09:23:04 -04:00
Christian Semmler
6569a6a8c7 Add template annotations 2023-10-19 18:39:49 -04:00
Christian Semmler
38a349aed4 Fix indent 2023-10-19 18:12:56 -04:00
Christian Semmler
21e8705597 Don't expose internal match 2023-10-19 18:12:35 -04:00
Christian Semmler
2edc1fd961 More implementation 2023-10-19 18:10:11 -04:00
Christian Semmler
b77b3b3568 Implement/match more functions 2023-10-19 16:31:26 -04:00
Christian Semmler
fe40cbb772 Implement/match MxRegionTopBottom::MxRegionTopBottom 2023-10-19 15:39:06 -04:00
Christian Semmler
3a21834382 Rename virtual function to fix override (#222) 2023-10-19 13:07:05 -04:00
Ramen2X
fbb3b4930c label ScoreState::VTable0x18 and associated member (#221) 2023-10-19 12:56:56 -04:00
Christian Semmler
27e064e69d Add GetPoint 2023-10-19 09:19:23 -04:00
Christian Semmler
26bde7a03d Refactor 2023-10-19 08:03:11 -04:00
Christian Semmler
20d08d3124 Fix another bug 2023-10-19 07:58:22 -04:00
Christian Semmler
28d497966b Fix missing instructions 2023-10-19 07:41:17 -04:00
Ramen2X
adbe73d664 implement/match ScoreState vtable (#220)
* implement/match ScoreState vtable

* add size assert for ScoreState
2023-10-19 03:26:32 -04:00