Fabian Neundorf
d7d3a47cd2
Add names to LegoActorInfo.Part ( #1538 )
...
Each part consists of two "blocks" where every block has a list of
indices which reference into a list of names and the actual index used
for the list of indices.
By doing that, it is possible to reuse the list of name for every actor
and instead have a "sublist" through the indices list.
2025-06-03 18:11:01 -07:00
Fabian Neundorf
b4fb9f3a15
Better name for LegoActorLOD's flags ( #1537 )
2025-06-02 14:21:12 -07:00
Christian Semmler
f48dd8c912
Update legogamestate.cpp ( #1535 )
2025-06-01 18:46:14 +02:00
Anonymous Maarten
ac971f8c15
Assertion in MxTransitionManager::StartTransition is beta10-only ( #1534 )
...
This fixes an assertion error when:
1. Start the game
2 Skip intro (probably optional)
3. Turn left to the elevator room
4. Enter the elevator
5. Press the (I) button
2025-05-31 02:33:28 +02:00
Anonymous Maarten
941bc6ffa9
Fix UBSAN entering the petrol station car building minigame ( #1533 )
2025-05-31 02:19:11 +02:00
Anonymous Maarten
e813a12a4a
Fix notification/presenter casts ( #1532 )
...
* LegoCarBuild: cast c_notificationType0 to MxNotificationParam
* MxBackgroundAuioManager gets a MxWavePresenter
2025-05-30 21:43:33 +02:00
Fabian Neundorf
d0f4725f0f
Fill in unknown color string descriptions ( #1531 )
2025-05-30 21:12:49 +02:00
Christian Semmler
168bd4b26c
Fix LegoTreeNode* construction ( #1530 )
...
* Fix LegoTreeNode* construction
* Fix
2025-05-29 23:41:57 +02:00
Anders Jenbo
211d409992
Apply RAND_MAX to legoanimationmanager.cpp ( #1528 )
2025-05-29 06:52:15 -07:00
Anders Jenbo
6e0b580b86
Correct delete[] in legocarbuildpresenter.cpp ( #1529 )
2025-05-29 06:51:42 -07:00
Anonymous Maarten
30ae89f483
LegoMeterPresenter: use array deleter + BETA10-only assertion ( #1527 )
...
* LegoMeterPresenter: use array deleter
(cherry picked from commit 0897f75c7ca0b10df2b43783d0e99ff5059a29fb)
* assert in LegoCarBUild::InitPresenter is BETA10-only
(cherry picked from commit 1a41b62f6f7ae5f5926941e621a740a31d3c745f)
2025-05-28 20:25:05 -07:00
MS
5646d017f1
RendererImpl, CameraImpl, LightImpl ( #1525 )
2025-05-28 22:04:01 -04:00
Anonymous Maarten
45890eec94
legoanimationmanager: use delete[] ( #1526 )
2025-05-28 18:28:30 -07:00
jonschz
b7090bd838
Match LegoActor and LegoPathActor in BETA10 ( #1524 )
...
* Match `LegoActor` in BETA10
* Cleanup
---------
Co-authored-by: jonschz <jonschz@users.noreply.github.com>
2025-05-27 22:04:01 +02:00
jonschz
4186bae786
Match Helicopter::FUN_100042a0 ( #1523 )
...
* Match `Helicopter::FUN_100042a0`
* Add comment
---------
Co-authored-by: jonschz <jonschz@users.noreply.github.com>
2025-05-26 23:33:52 +02:00
MS
b28fcae005
Match TextureImpl functions ( #1521 )
...
* TextureImpl functions
* TglD3DRMIMAGE functions
2025-05-26 18:46:22 +02:00
Christian Semmler
04b669cf96
Fix type cast in MxControlPresenter::FUN_10044270 ( #1522 )
2025-05-26 18:45:06 +02:00
jonschz
f7744f5550
Fix ambiguous matches in BETA10 ( #1520 )
...
* Fix ambiguous matches in BETA10
* Add more functions, fix one LINE annotation
* Fix LEGO1 matches
---------
Co-authored-by: jonschz <jonschz@users.noreply.github.com>
2025-05-26 07:25:47 +02:00
MS
5ad885f958
TglImpl::DeviceImpl functions ( #1519 )
2025-05-25 11:37:16 -04:00
Florian Kaiser
804632b13f
Refactor LegoUnknown100db7f4 to LegoOrientedEdge ( #1515 )
...
* Refactor `LegoUnknown100db7f4` to `LegoOrientedEdge`
* Update LEGO1/lego/sources/geom/legoorientededge.h
* Update legopathcontroller.h
---------
Co-authored-by: Christian Semmler <mail@csemmler.com>
2025-05-24 23:09:24 -07:00
jonschz
8e54a20d7d
Match DecodeSS2 ( #1476 )
...
---------
Co-authored-by: jonschz <jonschz@users.noreply.github.com>
2025-05-25 07:59:58 +02:00
Christian Semmler
a860e76dba
Match LegoOmni::GetWorldId ( #1517 )
2025-05-24 17:12:07 +02:00
Florian Kaiser
90b5c27a8b
Clear unknowns in MxBackgroundAudioManager ( #1516 )
...
* Clear unknowns in `MxBackgroundAudioManager`
* Apply suggestions from code review
---------
Co-authored-by: Christian Semmler <mail@csemmler.com>
2025-05-24 06:49:43 -07:00
MS
4e49712391
Match Tgl MeshImpl and GroupImpl functions ( #1514 )
2025-05-23 12:27:41 -04:00
Erik Schulze
eb1177b409
rename functions and parameters in OrientableROI ( #1512 )
2025-05-21 20:13:28 -07:00
Anders Jenbo
5c67c26c3f
Fix MxHashTableNode constructor ( #1511 )
2025-05-20 20:42:42 +02:00
Anonymous Maarten
40a21867e8
Document buttonId in RegistrationBook ( #1510 )
2025-05-19 18:05:35 -07:00
Anonymous Maarten
0b9c1756c7
Fix inclusion guards of 3 files ( #1509 )
...
* Fix inclusion guards of 3 files
* Apply suggestions from code review
Co-authored-by: Christian Semmler <mail@csemmler.com>
---------
Co-authored-by: Christian Semmler <mail@csemmler.com>
2025-05-20 02:15:30 +02:00
Erik Schulze
d67318e78b
propagate name changes from commit fce97ea ( #1508 )
...
* propagate name changes from commit fce97ea
* remove dependency on omni types
* rename parameter too
2025-05-19 21:25:52 +02:00
Erik Schulze
7b34eea690
Use SUCCESS and FAILURE in MxPalette::SetSkyColor ( #1506 )
2025-05-18 16:36:25 -07:00
Anonymous Maarten
2915aa014f
Use sizeof(type) instead of sizeof(variableName) when (de)serializing data ( #1505 )
...
* Use sizeof(type) instead of sizeof(variableName) when (de)serializing data
* Less usage of sizeof(variableName) while (de)serializing
2025-05-18 22:56:28 +02:00
Anders Jenbo
c9b41e2db8
Fix delete in legoanimmmpresenter.cpp ( #1504 )
2025-05-17 19:09:44 -07:00
Anders Jenbo
d00c08cc19
Rename FUN_1009e020 to ClearBackBuffers ( #1503 )
...
* Rename FUN_1009e020 to ClearBackBuffers
* Update mxdirectdraw.h
2025-05-17 18:01:29 -07:00
Anders Jenbo
3f0fe654ff
Fix delete[] in mxstillpresenter.cpp ( #1496 )
...
* Fix delete[] in mxstillpresenter.cpp
Without this the game doesn't run on Linux :)
* Update LEGO1/omni/src/video/mxstillpresenter.cpp
Co-authored-by: Christian Semmler <mail@csemmler.com>
* Update mxstillpresenter.cpp
---------
Co-authored-by: Christian Semmler <mail@csemmler.com>
2025-05-17 16:14:25 -07:00
Anders Jenbo
45e0e5bdd1
Correct delete[] in mxflcpresenter.cpp ( #1501 )
...
* Correct delete[] in mxflcpresenter.cpp
* Update LEGO1/omni/src/video/mxflcpresenter.cpp
Co-authored-by: Christian Semmler <mail@csemmler.com>
---------
Co-authored-by: Christian Semmler <mail@csemmler.com>
2025-05-17 14:22:30 -07:00
Anders Jenbo
bc920a295b
Correct assert in view.cpp ( #1500 )
2025-05-17 13:26:01 -07:00
Anders Jenbo
d3cd491765
Correct delete[] in legowegedge.cpp ( #1499 )
2025-05-17 13:25:22 -07:00
Anders Jenbo
2d92aee589
Correct delete[] in mxcontrolpresenter.cpp ( #1498 )
2025-05-17 13:24:06 -07:00
Anders Jenbo
46ae3fbe89
Order enums the same way in both places ( #1495 )
...
To match LEGO1/mxdirectx/mxdirectdraw.cpp so it's not so confusing to compare uage
2025-05-15 21:11:06 -07:00
Anders Jenbo
f5cb2d4732
Use consts in callbacks ( #1494 )
2025-05-15 19:22:40 -07:00
Anders Jenbo
4c754b376c
Enums in mxdisplaysurface.cpp ( #1493 )
...
* Enums in mxdisplaysurface.cpp
* Update mxdisplaysurface.cpp
2025-05-14 22:08:50 -07:00
Anders Jenbo
d52af9f4e3
Enum in legovideomanager.cpp ( #1492 )
2025-05-14 22:03:52 -07:00
Anders Jenbo
ad5ccd4e8b
Enums in mxtransitionmanager.cpp ( #1491 )
2025-05-14 22:03:33 -07:00
Anders Jenbo
dabd404111
Correct enums in mxdirectdraw.cpp ( #1490 )
2025-05-14 22:03:16 -07:00
Anders Jenbo
f99da0cea7
Correct enums in legotextureinfo.cpp ( #1489 )
2025-05-14 22:02:35 -07:00
Anders Jenbo
dbbf373748
Correct dwCaps bit flags ( #1487 )
...
* Correct dwCaps bit flags
* Update legotextureinfo.cpp
2025-05-15 02:01:10 +02:00
Anders Jenbo
fce97ea06f
Correct check for lighting support ( #1486 )
2025-05-15 01:39:55 +02:00
Christian Semmler
396bf6b562
Fix wrong deletes in MxBitmap ( #1482 )
2025-05-13 18:42:12 -07:00
Christian Semmler
934d90fc96
Fix wrong use of delete vs delete[] ( #1481 )
2025-05-14 00:37:53 +02:00
MS
810c0b0654
Fix some MSVC annotations for LEGO1 ( #1480 )
2025-05-13 14:18:08 -04:00
Anders Jenbo
7e98f0e11c
Rename FUN_1009d0d0 into GetBestDevice ( #1478 )
2025-05-12 22:34:37 +02:00
Florian Kaiser
e59345c88c
Rename SetUnknown84 to SetNotificationObject ( #1474 )
2025-05-12 17:20:38 +02:00
Anders Jenbo
6482a89ea2
Correct argument names for FUN_100bc8b0 ( #1472 )
...
* Correct argument names for FUN_100bc8b0
* Update mxdisplaysurface.h
2025-05-11 16:17:28 -07:00
Ramen2X
38e3ecb1c6
make MIDIOUTCAPS format-agnostic ( #1471 )
...
Signed-off-by: Ramen2X <contact@ramen2x.com>
2025-05-11 19:02:41 -04:00
Ramen2X
2b3e7176d3
make all calls to winapi format-agnostic ( #1470 )
2025-05-11 15:03:32 -04:00
Anders Jenbo
00ac032761
Fix input to FUN_10064740 ( #1467 )
2025-05-10 17:37:02 -07:00
Christian Semmler
fff2021bb5
Match Hospital::ReadyWorld ( #1465 )
2025-05-10 18:11:53 +02:00
Christian Semmler
447fcd0c00
Match LegoCarBuild::FUN_100246e0 ( #1464 )
2025-05-10 17:48:08 +02:00
Christian Semmler
30facd3c90
Match JetskiRace::Create ( #1463 )
2025-05-10 17:16:18 +02:00
Florian Kaiser
a3d773f629
Rename functions in LegoWorldPresenter : FUN_10067360 to LoadWorldPart and FUN_100674b0 to LoadWorldModel. Update m_unk0x50 to m_maxObjectId. ( #1460 )
2025-05-09 21:23:02 +02:00
Florian Kaiser
c59343c220
Rename m_unk0x64 to m_world in LegoAnimMMPresenter ( #1461 )
2025-05-09 20:55:22 +02:00
Florian Kaiser
81ce446628
Rename m_unk0x28 to m_characterIndex in AnimInfo struct and update references in LegoAnimationManager ( #1462 )
2025-05-09 20:54:44 +02:00
Florian Kaiser
674197555c
Rename m_list0x68 to m_pathControllerList in LegoWorld class ( #1459 )
2025-05-09 20:49:52 +02:00
Florian Kaiser
5fd5a4cec0
Clear unknowns in LegoROI and related classes ( #1457 )
...
* Clear unknowns in LegoROI and related classes
* Update names
* Consistently naming: `GetTextureInfo`
---------
Co-authored-by: Christian Semmler <mail@csemmler.com>
2025-05-09 18:13:19 +02:00
Florian Kaiser
3811d61ea4
Rename c_bit5 to c_ctrl in LegoInputManager, change m_unk0x6c to m_isAccelerating and clear some local unknowns ( #1458 )
2025-05-09 07:40:00 -07:00
Florian Kaiser
711134b3b8
Replace m_unk0x04 and m_unk0x08 with m_modelDataLength and m_modelDataOffset ( #1456 )
2025-05-09 07:35:11 -07:00
Florian Kaiser
9027849848
Rename parameter p_stack to p_stackSize in MxThread::Start method ( #1452 )
2025-05-09 12:44:53 +02:00
Florian Kaiser
0a2d598b57
Refactor Deserialize method parameters in MxDS classes to use p_flags instead of p_unk0x24 ( #1450 )
2025-05-08 12:26:48 -07:00
Christian Semmler
f851103d48
Match LegoDeviceEnumerate::SupportsMMX ( #1443 )
...
* Match `LegoDeviceEnumerate::SupportsMMX`
* Fix indent
2025-05-08 00:46:21 +02:00
Christian Semmler
02c38d55a3
Match MxDisplaySurface::SetPalette ( #1438 )
...
* Match `MxDisplaySurface::SetPalette`
* Match
2025-05-05 17:19:23 -07:00
Christian Semmler
fa6c62f7b3
Match MxCompositeMediaPresenter::Tickle ( #1437 )
...
* Match `MxCompositeMediaPresenter::Tickle`
* Remove file
2025-05-06 01:04:55 +02:00
MS
2fef2858c9
Add all TglImpl::ImplementationData methods ( #1436 )
...
* ImplementationData methods and typedefs
* RendererImpl::CreateView
* RendererImpl::CreateMeshBuilder
* DeepClone
* CreateCamera and CreateTexture
* CreateDevice
* Disable static var annotation
2025-04-19 10:30:47 -04:00
MS
451fd63eee
Match a few more Tgl functions ( #1435 )
...
* RendererImpl::CreateLight
* Swap addrs for LightImpl and MeshBuilderImpl
* SetShadingModel functions
2025-04-17 17:19:54 -04:00
MS
544372759e
Add abstraction functions to TglImpl::ViewImpl ( #1434 )
...
* Add Destroy methods to TglImpl
* Test one abstraction
* More ViewImpl abstractions
* Finish ViewImpl
2025-04-15 16:30:56 -04:00
MS
0bc31450a4
Some beta addrs for Tgl and TglImpl ( #1433 )
2025-04-14 18:29:38 -04:00
MS
688c203f70
Beta match and cleanup of MxDS* classes ( #1432 )
...
* Clean up / beta match MxDS* classes
* ;)
2025-04-10 22:59:55 -04:00
MS
95431347ee
Add getters to AlphaMask ( #1431 )
2025-04-09 23:48:16 -04:00
MS
4ec020ed89
MxVideoPresenter::IsHit to 100% ( #1428 )
2025-04-06 10:36:13 -04:00
MS
93d6c18c9a
Fix AlphaMask functions ( #1425 )
2025-04-03 20:18:00 -04:00
MS
3b63506648
Fix FUN_10044270 ( #1423 )
2025-04-03 17:10:11 -04:00
MS
8821593b63
Improve MxControlPresenter::FUN_10044270 ( #1422 )
2025-04-03 16:25:40 -04:00
MS
20bcea0c81
Fix address for MxRect constructor ( #1419 )
2025-03-16 19:47:06 -04:00
Christian Semmler
6220ab32c3
Match FUN_100b7220 ( #1418 )
2025-03-16 23:19:13 +01:00
Christian Semmler
1027a80d9e
Match MxEventPresenter::PutData ( #1417 )
2025-03-16 23:02:13 +01:00
Christian Semmler
aa60386196
Match MxStreamController::RemoveSubscriber ( #1416 )
2025-03-16 22:59:10 +01:00
Christian Semmler
a301f84566
Match LegoAnimPresenterSetCompare comparison ( #1415 )
2025-03-16 22:58:48 +01:00
Christian Semmler
e9467864d8
Match LegoHideAnimPresenter::FUN_1006db60 ( #1414 )
...
* Match `LegoHideAnimPresenter::FUN_1006db60`
* Remove comment
2025-03-16 22:57:23 +01:00
Christian Semmler
401fa7674e
Match MxBackgroundAudioManager::FadeInOrFadeOut ( #1413 )
2025-03-16 22:19:11 +01:00
Christian Semmler
67c71cb9e6
Match MxControlPresenter::HasTickleStatePassed ( #1412 )
2025-03-15 14:19:09 -07:00
MS
51fc69e49f
Various DirectDraw items ( #1411 )
2025-03-15 11:12:10 -04:00
Christian Semmler
b0b68052d4
Improve Isle::Enable match ( #1410 )
2025-03-14 21:45:53 +01:00
Christian Semmler
421a317050
Match Isle::HandleEndAction ( #1409 )
2025-03-14 21:24:50 +01:00
Christian Semmler
77435427b3
Match Radio::HandleControl ( #1408 )
2025-03-14 21:24:11 +01:00
MS
d663e26321
Use MxGeometry header ( #1399 )
...
* Use MxGeometry header
* Fix comment
---------
Co-authored-by: Christian Semmler <mail@csemmler.com>
2025-03-11 21:13:13 -04:00
jonschz
06d23a4e99
Add BETA10 reference to _aexit_rtn ( #1397 )
...
Co-authored-by: jonschz <jonschz@users.noreply.github.com>
2025-03-02 19:59:16 +01:00
jonschz
87d13aa277
Add various BETA10 references and fixes ( #1398 )
...
Co-authored-by: jonschz <jonschz@users.noreply.github.com>
2025-03-02 19:59:03 +01:00
MS
8b7182f9db
MxDirect3D::SetDevice to 100% ( #1396 )
2025-02-27 22:02:17 -05:00
MS
92f20e7f7b
Fix enum in Ambulance::HandlePathStruct ( #1395 )
2025-02-27 21:32:27 -05:00
Christian Semmler
67b25b0bcc
Adapt MxRegion.h ( #1393 )
...
* Adapt MxRegion.h
* Use specific GH action version
* Disable clang32 for now
* Fix regression
* Add space
* Add BETA annotations
2025-02-27 03:30:11 +01:00
Christian Semmler
ea5a722311
Fix Matrix4::operator[] annotation ( #1390 )
2025-02-22 06:48:11 -07:00