Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Comments

ATB: Use correct default depending on the engine#503

Open
Ghabry wants to merge 3 commits intoEasyRPG:master from
Ghabry:atb-default
Open

ATB: Use correct default depending on the engine #503
Ghabry wants to merge 3 commits intoEasyRPG:master from
Ghabry:atb-default

Conversation

@Ghabry
Copy link
Member

@Ghabry Ghabry commented Jul 30, 2025

For 2k3e the default ATB mode is Wait instead of Active. Somehow this was missed for 8 years xD.

Unfortunately liblcf has no way to determine if a chunk was read from the file so instead I use a sentinel value (-1) and when it stays -1 it means the chunk was not read and I apply the default depending in the engine.

This doesn't have often but this API change is not breaking the Player build.

Ghabry added 3 commits July 30, 2025 20:27
This information is currently not preserved
...o both LSD save and load
Is used to determine the correct default for the AtbMode depending on the engine version (2k3e or not)
To ensure that the chunk is not always written conditionally set it to -1 when it is the default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer
Reviewers whose approvals may not affect merge requirements

At least 2 approving reviews are required to merge this pull request.

Assignees

No one assigned

Labels

Milestone

0.8.2

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /