X Tutup
Skip to content

QDENGINE: LITTLE LONGNOSE: Fix missing walking animation and direction change#6482

Merged
sev- merged 2 commits intoscummvm:masterfrom
ormanbai123:karliknos-fix
Mar 18, 2025
Merged

QDENGINE: LITTLE LONGNOSE: Fix missing walking animation and direction change#6482
sev- merged 2 commits intoscummvm:masterfrom
ormanbai123:karliknos-fix

Conversation

@ormanbai123
Copy link
Contributor

This PR attempts to fix two issues present in the first minigame of the Little Longnose game:

  1. Missing walking animation of drunkard and/or Jacob.
  2. Missing direction change of the animation of Jacob.

The problems occurs because of the new movement modes which were absent in the engine when the game was made. The proposed solution replaces parts of code where they are used with the old engine's code.

Copy link
Member

@sev- sev- left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested approach to minimize code changes.

@ormanbai123 ormanbai123 marked this pull request as draft March 18, 2025 11:40
@ormanbai123 ormanbai123 marked this pull request as ready for review March 18, 2025 12:50
@ormanbai123 ormanbai123 requested a review from sev- March 18, 2025 12:51
@ormanbai123 ormanbai123 marked this pull request as draft March 18, 2025 13:05
@ormanbai123 ormanbai123 marked this pull request as ready for review March 18, 2025 13:40
}

enum movement_mode_t {
MOVEMENT_MODE_NONE_EARLY,
Copy link
Member

@sev- sev- Mar 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is wrong, you shifted these enum values, and they get saved/loaded (see qdGameObjectMoving::save_data()). E.g. put it to the enum end.

also, please check static const char *movementList[]

@sev-
Copy link
Member

sev- commented Mar 18, 2025

Thanks!

@sev- sev- merged commit cae8bb6 into scummvm:master Mar 18, 2025
8 checks passed
@ormanbai123 ormanbai123 deleted the karliknos-fix branch March 18, 2025 18:03
@sev- sev- added the GSoC Part of a Google Summer of Code project label Mar 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

GSoC Part of a Google Summer of Code project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

X Tutup