Commit Graph

5 Commits

Author SHA1 Message Date
Christian Semmler
419bc2a44e
Updates from isledecomp/isle (#23)
* Fix remaining vtordisp issues (#1016)

* Fix LegoRaceActor

* Fix LegoRaceMap

* Fix LegoCarRaceActor

* Fix LegoJetskiRaceActor

* Fix LegoJetski

* Fix LegoRaceCar

* Downgrade orig addr unique message to debug

* Implement/match Ambulance::HandleEndAction (#1018)

* Implement/match Ambulance::HandleClick (#1019)

* Implement/match Ambulance::HandleClick

* Remove junk

* Add Ambulance::FUN_10036e60

* Implement/match Ambulance::Tickle (#1021)

* Match LegoMeterPresenter::ParseExtra (#1022)

* Match LegoMeterPresenter::ParseExtra

* Add LegoMeterPresenter to factory

* Add call to parent

* Add missing TODO

* Implement/match Ambulance::ActivateSceneActions (#1023)

* Fix CaveEntity class (#1024)

* Fix CaveEntity class

* Rename function

* Implement/match JailEntity::HandleClick and CaveEntity::HandleClick (#1025)

* Implement/match JailEntity::HandleClick and CaveEntity::HandleClick

* Fix

* Add remaining classes, implement/match LegoObjectFactory (#1026)

* Add missing classes

* Match LegoObjectFactory

* Remove semicolon

* Add symbol

* Fix

* Implement/match Ambulance::VTable0x70 (#1027)

* Implement/match Ambulance::HandleButtonDown (#1028)

* Implement/match Ambulance::HandlePathStruct (#1029)

* Implement/match Ambulance::HandlePathStruct

* Add annotation

* Implement/match remaining Ambulance functions (#1030)

* Fix camera glitch (#1031)

* Implement LegoAnimScene::FUN_1009f490 (#1032)

* Implement LegoAnimScene::FUN_1009f490

* Update legoanim.cpp

* Update legoanim.cpp

* Update legoanim.cpp

* Bugfix for LegoMeterPresenter::DrawMeter (#1033)

* feat: Implement several ::Serialize functions (#1017)

* feat: Implement many ::Serialize functions

* address review comments, part 1 [skip ci]

* address review comments, part 2 [skip ci]

* review comments (final part)

* refactor: Remove Read/Write duplication

* fix merge conflict

* Match PizzeriaState::Serialize again

* Remove unused variable, add LegoVehicleBuildState::Serialize

* Implement AnimState::Serialize

* fix: Conform with naming scheme

* refactor: change names back

* refactor: int to MxS32

---------

Co-authored-by: jonschz <jonschz@users.noreply.github.com>

---------

Co-authored-by: MS <disinvite@users.noreply.github.com>
Co-authored-by: jonschz <17198703+jonschz@users.noreply.github.com>
Co-authored-by: jonschz <jonschz@users.noreply.github.com>
2024-06-16 15:15:03 +02:00
Christian Semmler
e0af725fb6
Updates from isledecomp/isle (#19)
* Refactor JukeBox, add enum for music (#988)

* Refactor JukeBox, add enum for music

* add BETA annotation

* Fix BETA annotation

* Fix BETA annotation

* Fix

* Consolidate state and building entity classes (#989)

* Match LegoCacheSoundManager::FindSoundByKey (#991)

* Match LegoCacheSoundManager::FindSoundByKey

* Remove space

* Implement/match LegoActor::Mute (#992)

* Add more annotations to ISLE (#990)

* Minor improvements in ISLE.EXE

* Add more annotations

* Fix

* Comment out

* Fix lint

* Add enum for actor IDs (#993)

* Implement/match LegoEntity::ClickAnimation (#994)

* Implement/match LegoEntity::VTable0x38

* Update names

* Implement/match LegoEntity::SwitchSound / SwitchMove / SwitchColor / SwitchMood (#995)

* Implement/match LegoEntity::SwitchSound

* Name

* Name

* Implement/match LegoEntity::SwitchMove

* Mood

* Implement/match LegoCharacterManager::SwitchColor (#996)

* Implement/match IslePathActor::Exit (#997)

* Implement/match IslePathActor::Exit

* Name

* Name

* Partially fix vector interface

* Revert "Partially fix vector interface"

This reverts commit 6e7a1e2b08fd82012b28be3054eeff65428eb4d1.

* Revert "Revert "Partially fix vector interface""

This reverts commit e3860e3c9fa1f8937b702d6c81d6e3bb4dadecc6.

* Fix

* Remove some COMPAT_MODE

* Implement/match Ambulance::Notify (#998)

* Update isleapp.cpp

* Streamline MxVideoParamFlags (#999)

* Streamline MxVideoParamFlags

* Remove this-> from MxOmniCreateFlags

---------

Co-authored-by: MS <disinvite@users.noreply.github.com>
2024-06-07 21:32:27 +02:00
Christian Semmler
6ddd86dcbe
Updates from isledecomp/isle (#3)
* Implement/match LegoPathActor::ParseAction (#946)

* Implement/match LegoPathActor::ParseAction

* Fix naming

* Space

* Implement/match Isle::UpdateGlobe (#947)

* Implement/match Isle::UpdateGlobe

* Change function access

* Implement/match Isle::CreateState and related (#948)

* Implement/match actor Create functions (#949)

* Implement/match Isle::Escape (#950)

* Implement/match Isle::FUN_10033350 (#951)

* Implement/match Isle::HandleType19Notification (#952)

* Implement/match Isle::HandleType19Notification

* Fix

* Implement/match LegoAnimationManager::FUN_10063b90 (#953)

* Implement/match LegoAnimationManager::FUN_100648f0 (#954)

* Implement LegoROI::FUN_100a9410 (#955)

* WIP

* WIP

* Remove space

* Fix

* Implement/match LegoExtraActor::VTable0x6c (#956)

* Match LegoUnknown::FUN_1009a1e0 (#957)

* Fix extra actor collisions (#958)

* Implement/match IslePathActor::FUN_1001b660 (#960)

* Refactor MxBitmap (again) (#961)

* Remove this

* Starting list of beta addrs

* Static for height-specific abs, fix StrechBits

* MxBitmap refactor

* Implement/match LegoPathBoundary::FUN_100586e0 and FUN_10057fe0 (#962)

* Implement/match LegoAnimPresenter::FUN_1006b140 (#963)

* Implement LegoMeterPresenter::DrawMeter (#964)

* Implement LegoMeterPresenter::DrawMeter

* New MxRect16 header, offsets and size annotations

* Missing mxtypes include

* Implement/match LegoAnimationManager::FUN_10063270 (#965)

* Implement/match LegoAnimMMPresenter::FUN_1004b840 (#966)

* Implement/match LegoAnimationManager::FUN_10062e20 (#967)

* Beta match MxPalette (#968)

* Beta match MxPalette

* Modern compiler fix

* Implement/match LegoCameraController::FUN_10012290 and FUN_10012320 (#969)

* Implement/match LegoControlManager::FUN_100293c0 (#970)

* Implement/match Pizzeria::HandleClick (#971)

* Implement/match Lego3DWavePresenter::StartingTickle (#972)

* Implement/match Lego3DWavePresenter::StartingTickle

* Fix annotation

* Add StreamingTickle

* Rename

* Add static HandlerClassName function (#973)

* Add static HandlerClassName function

* Use method in PresenterNameDispatch

---------

Co-authored-by: disinvite@users.noreply.github.com <disinvite@users.noreply.github.com>
2024-05-30 19:20:36 +02:00
Christian Semmler
d62054db2e
Updates from isledecomp/isle (#1)
* Implement/match LegoAnimationManager::FUN_10064b50 (#926)

* Implement/match LegoAnimationManager::FUN_10063d10 (#927)

* Implement/match LegoAnimationManager::FUN_10064380 (#928)

* Implement/match LegoAnimationManager::FUN_10064380

* Fix naming

* Revert

* Implement/matche LegoAnimationManager::FUN_10064740 and FUN_10064670 (#929)

* Implement/match FUN_1003ef00 and related (#931)

* Implement/match LegoAnimationManager::FUN_10064120 (#932)

* Implement/match LegoAnimationManager::FUN_10064120

* Fix naming

* Fix parentheses

* Implement LegoAnimationManager::FUN_10064010 (#933)

* Implement/match ViewManager::FUN_100a6150 (#934)

* Implement/match PlayCamAnim and CameraTriggerFire (#935)

* Implement/match PlayCamAnim and CameraTriggerFire

* Fix type

* Name var

* Implement/match LegoAnimationManager::FUN_10063fb0 (#936)

* basic name improvements (#930)

* basic name improvements

* clang-format

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>

* Implement/match LegoPathBoundary::Intersect (#937)

* Implement LegoPathActor::VTable0x68 (#938)

* Implement LegoPathActor::VTable0x68

* Fix naming

* Implement/match LegoPathBoundary::FUN_100575b0 (#939)

* Implement LegoUnknown::FUN_1009a1e0 (#940)

* Implement/match LegoPathController::FUN_1004a240 (#941)

* Implement LegoPathActor::VTable0x9c (#942)

* Implement LegoPathActor::VTable0x9c

* Add annotation

* Implement/match LegoPathActor::SwitchBoundary (#943)

* Implement/match LegoPathActor::SwitchBoundary

* Rename var

* Implement/match LegoPathStruct (#944)

* Implement/match LegoPathStruct

* Rename some nums

* Consistent naming

* Naming

* relax regex

* Name some functions

* Improve naming

* Rename

* Implement/match LegoPathActor::VTable0xa4 and VTable0xa8 (#945)

* Implement/match LegoPathActor::VTable0xa4

* Implement/match LegoPathActor::VTable0xa8

* Name enum constants

---------

Co-authored-by: Cameron <25990062+crtdll@users.noreply.github.com>
2024-05-23 18:09:49 +02:00
Christian Semmler
681c69c4ac initial commit 2024-05-16 19:42:54 -04:00