Commit Graph

115 Commits

Author SHA1 Message Date
Sebastian Mischke
b3e252a0c4 Rename worldY to worldZ 2026-01-07 22:56:59 +01:00
Christian Semmler
3cbe57bc32
Merge branch 'master' into feature/clear-unknowns-in-legoracemap 2026-01-05 15:38:51 -07:00
Sebastian Mischke
e9eb2493bb
Clear unknowns in LegoROI (#1703)
* Rename FUN_100a9410 to Intersect

* Rename FUN_100a81b0 to ReportError

* Rename FUN_100a9330 to SetColor

* Rename FUN_100a93b0 to SetColorByName

* Rename local10 to radius

* Rename boundingBox variables

* Rename bb point variables

* Rename local4c to rayOrigin

* Rename local17c to intersectionPoint

* Rename local18 to discriminant

* Rename ray-sphere intersection variables

* Rename quadratic equation variables

* Rename local70 to untransformedPoint

* Rename local150 to boxFacePlanes

* Rename local50 to intersectionDistance

* Rename Intersect method arguments

* Clang-format of legoracespecial

* Clang-format of legoroi

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
2026-01-05 23:38:40 +01:00
Christian Semmler
db5132a06f
Merge branch 'master' into feature/clear-unknowns-in-legoracemap 2026-01-05 12:33:10 -07:00
Fabian Neundorf
29dda2c369
Clear unknowns in LegoActor (#1708) 2026-01-05 20:29:30 +01:00
Fabian Neundorf
c0c56be530
Clear unknowns in CarRace (#1707)
* Clear unknowns in `Carrace`

* Clear unknowns in `CarRace`

---------

Co-authored-by: Florian Kaiser <mail@floriankaiser.org>
2026-01-05 20:28:46 +01:00
Fabian Neundorf
e7a15d7270
Clear unknowns in JetskiRace (#1706) 2026-01-05 20:28:05 +01:00
Sebastian Mischke
67a2971a0c Rename m_unk0x30 to m_screenYOffset 2026-01-05 13:40:47 +01:00
Sebastian Mischke
d8a302eb53 Rename m_unk0x2c to m_screenXOffset 2026-01-05 13:40:20 +01:00
Sebastian Mischke
d7c5d46fb3 Rename m_unk0x28 to m_screenYScale 2026-01-05 13:39:41 +01:00
Sebastian Mischke
68b0ac0d16 Rename m_unk0x24 to m_screenXScale 2026-01-05 13:39:10 +01:00
Sebastian Mischke
deb70d4882 Rename m_unk0x20 to m_worldYScale 2026-01-05 13:38:34 +01:00
Sebastian Mischke
949c644905 Rename m_unk0x18 to m_worldXScale 2026-01-05 13:38:09 +01:00
Sebastian Mischke
968b030aba Rename m_unk0x1c to m_worldYOffset 2026-01-05 13:37:38 +01:00
Sebastian Mischke
87b1a5126d Rename m_unk0x14 to m_worldXOffset 2026-01-05 13:37:07 +01:00
Sebastian Mischke
24dec597a4 Rename m_unk0x08 to m_mapEnabled 2026-01-05 13:35:25 +01:00
Sebastian Mischke
4d3dbad040 Rename FUN_1005d4b0 to UpdateMapLocatorPosition 2026-01-05 13:34:33 +01:00
Fabian Neundorf
056bdfb0b8
Clear unknowns in LegoRace and LegoRaceState (#1702)
Some checks are pending
Analyze / ${{ matrix.who }} annotations (CONFIG) (push) Waiting to run
Analyze / ${{ matrix.who }} annotations (ISLE) (push) Waiting to run
Analyze / ${{ matrix.who }} annotations (LEGO1) (push) Waiting to run
Build / Download original binaries (push) Waiting to run
Build / Current ${{ matrix.toolchain.name }} (map[clang-tidy:true msys-env:mingw-w64-i686 msystem:mingw32 name:msys2 mingw32 shell:msys2 {0} werror:true]) (push) Waiting to run
Build / Current ${{ matrix.toolchain.name }} (map[name:MSVC setup-cmake:true setup-msvc:true setup-ninja:true shell:sh]) (push) Waiting to run
Build / MSVC 4.20 (push) Waiting to run
Build / MSVC 4.20 (BETA10) (push) Waiting to run
Build / Verify decomp (push) Blocked by required conditions
Build / Upload artifacts (push) Blocked by required conditions
Format / C++ (push) Waiting to run
Naming / C++ (push) Waiting to run
2026-01-04 17:23:56 -07:00
jonschz
a7c43cbe17
Small BETA10 corrections (#1681)
* Small BETA10 corrections

---------

Co-authored-by: jonschz <jonschz@users.noreply.github.com>
2025-09-06 17:39:28 +02:00
Fabian Neundorf
190c040c96
Clear unknowns in LegoWorld (#1674) 2025-08-25 15:13:10 -04:00
Fabian Neundorf
61eaea8bb4
Clear unknowns in LegoAnimActorStruct and LegoAnimActor (#1673) 2025-08-09 17:40:12 +02:00
Fabian Neundorf
ed33541a2e
Clear unknowns in LegoAnimScene (#1649) 2025-07-22 10:45:50 -07:00
Fabian Neundorf
fd299137ff
Clear unknowns LegoCameraController (#1647) 2025-07-21 22:18:59 +02:00
jonschz
2980f88bb0
Fix filenames based on BETA10 MxAutoLock (#1640)
* Inline LegoAnimPresenters
---------

Co-authored-by: jonschz <jonschz@users.noreply.github.com>
2025-07-20 18:20:40 +02:00
Fabian Neundorf
bd71370602
Clear unknown in LegoControlManagerNotificationParam (#1633) 2025-07-19 01:09:37 +02:00
Fabian Neundorf
3b79b4c834
Use enum values for LegoPathStructNotificationParam.GetTrigger() (#1625) 2025-07-14 22:18:21 +02:00
Fabian Neundorf
356c64ce0e
Name state field, getter and setter in Act1State (#1621) 2025-07-13 12:01:06 -07:00
Fabian Neundorf
a34c293177
Name Disable function in LegoOmni and misc (#1616) 2025-07-11 17:10:36 -07:00
MS
c784fc32f1
Move g_skeletonKickPhases to .data (#1614) 2025-07-10 00:29:22 -04:00
Christian Semmler
89fe7fa924
Fix wrong notification type in LegoRace::Notify (#1601) 2025-07-02 22:43:57 +02:00
Korbo
16a94c725c
Names for race related or adjacent functions and variables (#1592)
* Names for race related or adjacent functions and variables

* fix formatting

* fix formatting
2025-06-28 01:08:45 +02:00
Anonymous Maarten
bc481cc1c5
assert(0) in LegoCarRaceActor::VTable0x1c is beta10-only (#1553) 2025-06-11 03:17:24 +02:00
Florian Kaiser
36c1093c88
Clear unknowns in LegoPathBoundary, LegoWEEdge, LegoWEGEdge and LegoPathController (#1546) 2025-06-08 11:04:58 -07: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
Christian Semmler
30facd3c90
Match JetskiRace::Create (#1463) 2025-05-10 17:16:18 +02:00
jonschz
777dfa82ec
Match Infocenter::HandleControl (#1386)
* Add BETA10 references

* Refactor non-existent getters

* Infocenter::HandleControl maybe down to entropy

* Rename variable

* More refactoring

* Refactor public variable

* 100 %

* Fix clang-format

* Fix clang-format

---------

Co-authored-by: jonschz <jonschz@users.noreply.github.com>
Co-authored-by: Christian Semmler <mail@csemmler.com>
2025-02-18 01:12:51 +01:00
MS
29bf588870
LegoRaceCar and LegoJetski tweaks (#1378) 2025-01-26 21:00:51 -05:00
Christian Semmler
49cb120795
Order symbols until end of LegoOmni (#1371)
* Order

* Improve

* Move function

* Order until end of LegoOmni

* Remove header
2025-01-22 22:22:58 +01:00
Christian Semmler
5a7df7f95d
Order until LegoCarBuildAnimPresenter (#1365)
* Order until `Infocenter`

* Order until RaceSkel

* More order

* Order until `LegoCarBuildAnimPresenter`

* Add blank line

* Add BETA annotation
2025-01-21 01:31:28 +01:00
Christian Semmler
e1ce96c473
Order symbols until end of LegoGameState (#1340)
* Order `Ambulance`

* More ordering

* Order until `LegoGameState`

* Move
2025-01-17 03:42:38 +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
8026025fbd
Improve LegoRacers HitActor matches (#1318) 2025-01-09 01:15:05 +01:00
Christian Semmler
4c32abd16d
Add BETA10 macro to enable conditional compilation for BETA10 targets (#1270)
* Add BETA10 macro to enable conditional compilation for BETA10 targets

* Adjustments to CMakeLists.txt
2025-01-07 00:06:07 +01:00
Christian Semmler
7c452e9453
Order functions in binary up to end of Act2Actor (#1312)
* Order more functions

* Order LegoRaceActor

* Further ordering

* Order `Act2Actor`

* Fix
2025-01-05 21:00:50 +01:00
Christian Semmler
6b3fcafbe1
Match Helicopter::HandleEndAnim (#1276) 2024-12-25 18:39:51 +01:00
Christian Semmler
c2c9c75f1a
Fix Vector2/Vector3 order (#1272)
* Fix Vector2/Vector3 order

* Refactor vector classes to be const and reference param consistent

* Add BETA10 annotations and fixes
2024-12-24 22:21:26 +01:00
Christian Semmler
7c41ff4569
Order compilation units according to retail, match and align Score class (#1271)
* Initial changes for ordering, Score

* Add mxdebug

* Match `Score::Paint`

* Refactor

* Add BETA asserts

* BETA match
2024-12-24 19:38:15 +01:00
Anonymous Maarten
b4d2ea72af
Fix -Wwrite-strings warnings (#1267)
warning: ISO C++ forbids converting a string constant to 'LegoChar*'
2024-12-23 17:11:38 -07:00
jonschz
3e6d789324
Add all BETA10 ClassName() functions and vtables (#1258)
* Add all BETA10 `ClassName()` functions and vtables

* Run formatter, fix copy error

* Fix copy error

* Add BETA10 library functions

---------

Co-authored-by: jonschz <jonschz@users.noreply.github.com>
2024-12-22 08:13:34 -07:00