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
MS
9480fd9d98
Fix annotations for overloaded functions ( #1354 )
2025-01-19 13:46:42 -07:00
MS
038ec6b2ec
Some improvements to LegoGameState
( #1353 )
...
* Beta match ReadVariable and WriteVariable
* Change param type for GetFileSavePath
* Remove copy constructor for LegoGameState::Username
2025-01-19 13:34:06 -07: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
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
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
Christian Semmler
f95eedd0ce
Improve match of LegoPathActor::FUN_1002edd0
, reorder ( #1332 )
...
* Relocate annotation
* Improve match of `LegoBuildingManager::ScheduleAnimation`
* try fix
* Revert "try fix"
This reverts commit e8f5db6fec
.
* Order isle
* Move annotation
2025-01-12 21:31:58 +01:00
Christian Semmler
33d8192d75
Implement/match LegoWorld::ActorExists
( #1330 )
2025-01-11 17:55:19 +01:00
MS
4d3481d2bd
LegoWorld::Add to 100% ( #1328 )
2025-01-11 10:51:02 -05:00
Christian Semmler
ac3a551bcc
Improve symbol order until LegoActor
, match LegoPlantManager::ScheduleAnimation
( #1327 )
...
* Order `LegoCarBuild`, `LegoPlantManager`
* Order until `LegoActor`
2025-01-11 01:42:03 +01:00
Christian Semmler
ee2bcb4d53
Order symbols in LegoWorld
( #1321 )
...
* Partially order `LegoWorld` symbols
* Further order `LegoWorld`
2025-01-10 01:31:45 +01:00
Christian Semmler
58d3bd39e1
Add missing SpawnLocation
ctor annotation ( #1320 )
2025-01-09 01:36:54 +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
72aa7e330d
Order functions up to the end of GasStation
, match GasStation::ReadyWorld
( #1311 )
...
* Minor improvements
* Match `GasStation::ReadyWorld`
* Reorder
2025-01-05 18:40:07 +01:00
Christian Semmler
c54805fde8
Order functions in binary up to the end of Helicopter
; refactor vector/matrix classes ( #1309 )
...
* Order experimentation
* Revert IslePathActor
* Fix order
* Fix inlining
* Fixes
* WIP
* WIP
* Refactor
* Refactor
* Fix operators
* Remove obsolete inline keyword
* Fix ctors
* Refactor
* Rename files
* Refactor
* Remove empty line
2025-01-04 15:07:04 -07:00
MS
70e72de20f
Some tweaks to LegoCharacterManager ( #1305 )
2024-12-30 13:46:55 -07:00
Anonymous Maarten
c77b5869f5
Fix warnings triggered by isle-portable ( #1304 )
...
* Replace computed constant with more readable computed constants
* LegoAnim::GetActorUnknown0x04 returns a number, not a pointer
* Add macro for creating RGB555 colors
* Texture pixel data is passed through as const data
* Compare palette index against 0 instead of NULL pointer
* warning: deleting 'void*' is undefined [-Wdelete-incomplete] warning
Some DirectX sdk's declars D3DRMIMAGE::buffer1 and D3DRMIMAGE::buffer2
as a void pointer.
* Don't use floats
* Fix wrong op
---------
Co-authored-by: Christian Semmler <mail@csemmler.com >
2024-12-29 22:45:00 +01:00
Christian Semmler
795d6e144d
Match LegoPathActor::VTable0x8c
( #1303 )
...
* Match `LegoPathActor::VTable0x8c`
* Fix
2024-12-29 20:46:03 +01:00
MS
29e77210e8
Rename some things in Infocenter ( #1293 )
2024-12-27 17:21:49 -07:00
Christian Semmler
fd5f7ad620
Match MxPtrList<LegoNamedPart>::Destroy
( #1285 )
2024-12-26 20:57:30 +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
Joshua Peisach
bb29d289fe
SkateBoard: name m_unk0x160 -> m_pizzaVisible ( #1269 )
2024-12-24 07:50:37 -07: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
Christian Semmler
fe2a65c8da
Implement/match LegoNavController::Notify
( #1253 )
...
* Implement/match `LegoNavController::Notify`
* Move function
* Add to total function count
* Add OPT:REF to lego1
2024-12-21 22:41:47 +01:00
Christian Semmler
bcc41256f8
Add LegoOmni::World
enum ( #1252 )
2024-12-21 18:08:55 +01:00
jonschz
7ed2ac9ccc
Progress on Helicopter::FUN_100042a0
( #1242 )
...
* Implement `LegoCameraController::FUN_100123b0`
* Improve `UnknownMx4DPointFloat::Unknown7` match, add BETA10
* Add draft for `FUN_100042a0`
* Improve match
* Match
* Use better naming
* Remove comments
---------
Co-authored-by: jonschz <jonschz@users.noreply.github.com >
Co-authored-by: Christian Semmler <mail@csemmler.com >
2024-12-20 01:27:14 +01:00
Anonymous Maarten
a8729dfef6
glD3DRMIMAGE::CreateBuffer, LegoVideoManager::EnableRMDevice and LegoVideoManager::DisableRMDevice ( #1241 )
...
* Implement TglD3DRMIMAGE::CreateBuffer (ecx/edi are swapped)
* Implement LegoVideoManager::EnableRMDevice
* Implement LegoVideoManager::DisableRMDevice
* clang-format
* Match `LegoVideoManager::EnableRMDevice`
* Remove padding
* Fix naming
---------
Co-authored-by: Christian Semmler <mail@csemmler.com >
2024-12-19 22:52:33 +01:00
Christian Semmler
cb38cf7673
Implement/match Act3Brickster::FUN_100417c0
( #1240 )
...
* Implement/match `Act3Brickster::FUN_100417c0`
* Move function
* Rename var
* Revert "Rename var"
This reverts commit c9ca75ae7f
.
2024-12-19 20:22:34 +01:00
Christian Semmler
90c687bde0
Implement/match Act3Brickster::FUN_10042300
( #1238 )
...
* Implement/match `Act3Brickster::FUN_10042300`
* Add comment about assignment operator
* Add another comment
* Fix
* add back BETA annotation
2024-12-17 23:16:00 +01:00
Christian Semmler
66e3c9a2e1
Implement/match Act3Brickster::Animate
( #1237 )
...
* Implement/match `Act3Brickster::Animate`
* Improve loop
2024-12-17 19:11:47 +01:00
jonschz
2e7f2edbf1
Implement/match Act3Cop::ParseAction
( #1230 )
...
* Implement/match `Act3Cop::ParseAction`
* Fix formatting
* Address review comment
---------
Co-authored-by: jonschz <jonschz@users.noreply.github.com >
2024-12-15 18:09:29 +01:00
Christian Semmler
661c76c6e0
Implement/match Act3Shark::Animate
( #1231 )
...
* Implement/match `Act3Shark::Animate`
* Add BETA annotation
* Raise max functions
* Mark as FUNCTION
2024-12-15 17:18:25 +01:00
jonschz
ace2a9f047
Add g_copDest
( #1229 )
...
* Implement `AddCop` and `g_copDest`
* Fix formatting
---------
Co-authored-by: jonschz <jonschz@users.noreply.github.com >
2024-12-15 05:50:52 -07:00
Christian Semmler
2d74f14de0
Implement/match Act3::FUN_10072ad0
( #1228 )
...
* Implement `Act3::FUN_10072ad0`
* Improve match
* Improve match
* Match
2024-12-14 14:30:21 -07:00
Christian Semmler
67b4553eaa
Implement/match LegoPathController::FUN_1004a380
( #1226 )
2024-12-14 20:02:48 +01:00
jonschz
57aa5a9f8a
Refactor legoracers.h
and legoracers.cpp
( #1224 )
...
Co-authored-by: jonschz <jonschz@users.noreply.github.com >
2024-12-14 07:03:19 -07:00
jonschz
5a6415e0cf
Implement/match Act2Actor::FUN_10019b90
( #1222 )
...
Co-authored-by: jonschz <jonschz@users.noreply.github.com >
2024-12-13 16:19:55 -07:00
Christian Semmler
1aeb458be1
Implement/match Act3Ammo::Animate
( #1221 )
...
* Implement/match `Act3Ammo::Animate`
* Match
* Rename
* Rename
* Rename
2024-12-13 22:56:26 +01:00
Christian Semmler
6da2faa48c
Refactor actor states, define enum ( #1220 )
...
* Refactor actor states, define enum
* Revert
* Rename `UpdateState` to `Animate`
2024-12-13 20:30:50 +01:00
Christian Semmler
ce3f71ea0f
Rename LegoPathActor::VTable0x70
to UpdateState
( #1219 )
2024-12-13 19:20:03 +01:00
Christian Semmler
263d7d1e4f
Implement/match Act3::GoodEnding
( #1218 )
2024-12-13 18:49:45 +01:00
Christian Semmler
de7bc813ca
Implement/match LegoAct2::BadEnding
( #1217 )
...
* Implement/match `LegoAct2::BadEnding`
* Name some vars
2024-12-13 17:26:06 +01:00
jonschz
054f56fd9f
Implement Act2Actor::FUN_10019700
( #1215 )
...
Co-authored-by: jonschz <jonschz@users.noreply.github.com >
2024-12-12 17:54:51 -07:00
Christian Semmler
1bfeebd004
Implement most of LegoJetski
, refactor ( #1214 )
...
* Implement most of `LegoJetski`, refactor
* Fix
2024-12-12 21:17:25 +01:00