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
Christian Semmler
553734c9f6
Add two template annotations
2023-10-18 18:35:29 -04:00
Christian Semmler
85c6a0b049
Add MxSize32, match MxRegion ctor
2023-10-18 18:21:49 -04:00
Christian Semmler
ab81adf774
Refactor
2023-10-18 16:42:38 -04:00
Christian Semmler
d3858d51a6
Use MxRect32 ctor
2023-10-18 16:22:29 -04:00
Ramen2X
52e6c9ac22
implement/match global ControlManager() function ( #219 )
...
* implement/match global ControlManager() function
* remove unnecessary forward declaration
2023-10-18 22:12:28 +02:00
Christian Semmler
e7f14ecda4
WIP
2023-10-18 16:09:33 -04:00
Christian Semmler
2407b9e798
Refactor
2023-10-17 18:37:56 -04:00
Christian Semmler
0604f25778
MxRegion structures
2023-10-17 18:12:24 -04:00
Ramen2X
7c26a4d2dc
fix LegoState::VTable0x1C fake-match & implement LegoFileStream::FUN_10006030 ( #217 )
...
* fix LegoState::VTable0x1C fake-match, implement LegoFileStream::FUN_10006030
* Match and relocate FUN_10006030
---------
Co-authored-by: Christian Semmler <mail@csemmler.com >
2023-10-18 00:05:31 +02:00
Christian Semmler
476af22b36
Add size assert for MxVideoManager, sort functions
2023-10-17 09:16:37 -04:00