Commit Graph

206 Commits

Author SHA1 Message Date
Sebastian Mischke
bf76930f82 Clang-format of legoroi 2026-01-05 13:13:40 +01:00
Sebastian Mischke
4a6c44775c Rename Intersect method arguments 2026-01-04 22:05:56 +01:00
Sebastian Mischke
05b46085b6 Rename local50 to intersectionDistance 2026-01-04 21:55:56 +01:00
Sebastian Mischke
9ccf8af6b4 Rename local150 to boxFacePlanes 2026-01-04 21:54:30 +01:00
Sebastian Mischke
3d3f60b2db Rename local70 to untransformedPoint 2026-01-04 21:49:07 +01:00
Sebastian Mischke
d57fb07a20 Rename quadratic equation variables 2026-01-04 21:46:44 +01:00
Sebastian Mischke
eec2d72841 Rename ray-sphere intersection variables 2026-01-04 21:44:28 +01:00
Sebastian Mischke
1b63a6dea9 Rename local18 to discriminant 2026-01-04 21:39:09 +01:00
Sebastian Mischke
30b05d516f Rename local17c to intersectionPoint 2026-01-04 21:38:39 +01:00
Sebastian Mischke
9d12117837 Rename local4c to rayOrigin 2026-01-04 21:36:59 +01:00
Sebastian Mischke
c199b6e454 Rename bb point variables 2026-01-04 21:35:30 +01:00
Sebastian Mischke
b5f0fd864e Rename boundingBox variables 2026-01-04 21:29:18 +01:00
Sebastian Mischke
7bb6403603 Rename local10 to radius 2026-01-04 21:18:47 +01:00
Sebastian Mischke
ea72233c56 Rename FUN_100a93b0 to SetColorByName 2026-01-04 21:05:19 +01:00
Sebastian Mischke
3160f5077f Rename FUN_100a9330 to SetColor 2026-01-04 21:04:22 +01:00
Sebastian Mischke
9175ed23ed Rename FUN_100a81b0 to ReportError 2026-01-04 19:10:44 +01:00
Sebastian Mischke
93a0fab59a Rename FUN_100a9410 to Intersect 2026-01-04 17:16:19 +01:00
jonschz
d555df6a58
Add BETA10 matches on LegoWEGEdge and others (#1655)
Co-authored-by: jonschz <jonschz@users.noreply.github.com>
2025-07-25 23:49:16 +02:00
jonschz
03adac0c58
Match LegoOmni::Create(), other BETA10 matches (#1651)
* Match `LegoOmni::Create()`, other BETA10 matches

---------

Co-authored-by: jonschz <jonschz@users.noreply.github.com>
2025-07-25 17:13:34 +02:00
Fabian Neundorf
ed33541a2e
Clear unknowns in LegoAnimScene (#1649) 2025-07-22 10:45:50 -07:00
Fabian Neundorf
66844aa945
Clear unknown in TimeROI (#1631) 2025-07-18 01:53:35 +02:00
Fabian Neundorf
6d6971734b
Clear unknowns in LegoROI (#1630) 2025-07-17 01:19:17 +02:00
Fabian Neundorf
d9d9880d8b
Clear unknowns in LegoAnimNodeData (#1617) 2025-07-11 17:11:12 -07:00
Fabian Neundorf
f0f771f3f4
Clear global unknowns in LegoROI (#1611) 2025-07-09 21:28:59 -07:00
Fabian Neundorf
805c57b6aa
Clear unknowns in ViewLOD (#1599) 2025-07-02 02:02:03 +02:00
Fabian Neundorf
056064f9d4
Clear unknown in LegoLOD (#1590)
The function does mostly the same as `SetTextureInfo` but does not
explicitly set the color as well.
2025-06-26 22:35:04 +02:00
Fabian Neundorf
2595537c4c
Clear unknowns in LegoAnimActorEntry and LegoAnimKey (#1580) 2025-06-22 05:34:29 -07:00
jonschz
f64af166c8
Add BETA10 addresses for LegoROI and others (#1569)
---------

Co-authored-by: jonschz <jonschz@users.noreply.github.com>
2025-06-21 07:52:24 +02:00
Florian Kaiser
72eb194424
Clear unknowns in LegoAnimPresenter and related classes (#1565)
* Clear unknowns in `LegoAnimPresenter` and related classes

* Update LEGO1/lego/legoomni/include/legoanimpresenter.h

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
2025-06-21 01:24:32 +02:00
Fabian Neundorf
0b46acab54
Name m_unk0x21 as GetUseAlias in LegoMesh (#1567) 2025-06-17 18:42:59 +02:00
Fabian Neundorf
26978f5484
Name LegoLOD::FUN_100aae20 (#1562) 2025-06-14 19:56:46 +02:00
jonschz
596ebde9d3
Add BETA10 assertions in LegoPathController (#1555)
* Add BETA10 assertions in LegoPathController

* formatting

---------

Co-authored-by: jonschz <jonschz@users.noreply.github.com>
2025-06-12 08:52:56 +02:00
Florian Kaiser
36c1093c88
Clear unknowns in LegoPathBoundary, LegoWEEdge, LegoWEGEdge and LegoPathController (#1546) 2025-06-08 11:04:58 -07:00
Fabian Neundorf
ac4d3b2490
Name for bounding box in ROI (#1541)
* Name for bounding box in ROI

* Use snake_case for member
2025-06-06 11:47:45 -07:00
Fabian Neundorf
9134dd791c
Name boolean field in Mesh (#1540) 2025-06-04 23:30:06 +02: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
Erik Schulze
eb1177b409
rename functions and parameters in OrientableROI (#1512) 2025-05-21 20:13:28 -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
d3cd491765
Correct delete[] in legowegedge.cpp (#1499) 2025-05-17 13:25:22 -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
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
Christian Semmler
e9467864d8
Match LegoHideAnimPresenter::FUN_1006db60 (#1414)
* Match `LegoHideAnimPresenter::FUN_1006db60`

* Remove comment
2025-03-16 22:57:23 +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
Christian Semmler
ea5a722311
Fix Matrix4::operator[] annotation (#1390) 2025-02-22 06:48:11 -07:00
jonschz
d88ab0a50a
Match Act2Brick::Create (#1385)
Co-authored-by: jonschz <jonschz@users.noreply.github.com>
2025-02-15 16:47:55 +01:00
MS
4db8b44ce0
Implement LegoCarBuildAnimPresenter::Serialize (#1366) 2025-01-20 21:43:24 -05:00
Christian Semmler
fc03e7a682
Improve order until legomain.cpp (#1350)
* Fix `LegoBackgroundColor` order

* Order

* Improve order in Act3Actors

* Improve order

* Add BETA annotation

* Order more

* More order

* More order

* Order

* Match/order

* Remove blank line

* Modern compiler fix

* vtable annotation
2025-01-17 18:33:27 -07:00
Christian Semmler
e8c856c585
Order symbols in Act1State (#1336)
* Order functions in `Act1State`

* Remove IsPresent

* Revert some stuff
2025-01-17 02:25:31 +01:00
Christian Semmler
70b0f76fa1
Move Read/Write functions to LegoStorage base class, match Act1State::Serialize (#1335)
* Move Read/Write function to LegoStorage base class

* Proper const use for vector / BETA match

* Match `Act1State::Serialize`
2025-01-17 00:13:23 +01:00
Christian Semmler
77a3dc0795
Match Serialize functions to BETA10 (#1334)
* Begin refactor Serialize functions

* Match more Serialize functions

* Match `LegoVehicleBuildState::Serialize`

* Match `LegoGameState::Username::Serialize`

* Match `LegoGameState::ScoreItem::Serialize`

* Match `LegoGameState::History::Serialize`

* Var name

* Var name

* Revert "Var name"

This reverts commit 1c0cccfba7.

* Add other Serialize implementations

* Add remaining Serialize implementations

* Add Read for char*

* Improvements
2025-01-16 00:52:29 +01:00