-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Emulate legacy rm2k/3 move picture behavior + refactor engine accessors #1969
Conversation
I found a japanese RPG_RT 1.0.3 and discovered it also has the same move picture behavior, so I redid this to be more general. Needs to be reviewed again. |
8e914be
to
6ffe6fe
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bool IsLegacy(); | ||
|
||
/** @return If engine is RPG2kUpdated() or RPG2k3Updated() */ | ||
bool IsMajorUpdatedVersion(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You changed the range of the functions, e.g. before "IsMajorUpdated" was "Everything not Legacy" and now it is "Every not Legacy and not English/Steam" or are the comments misleading?
When this is intended we need a better naming here. Maybe split between 2kE and 2kJ and for J add additional split 2kJLegacy and 2kJUpdated?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can change the comments, updated should just be >=
We do need better naming. And maybe even finer grained control. Because there are major features differences between these lines. For this PR I just wanted to clean it up a little and support legacy rm2k3, but not completely redo it as I am not yet sure what it should look like.
* Make inline and add more accessors * Fix comments * Remove FIXME about number of pictures in 2k3 legacy (confirmed) * Change IsRPG2k3Legacy() to mean < 1.0.5
MovePicture command doesn't change position of pictures with fixed_to_map chunk set. Used in Destined game See: EasyRPG#1741
MovePicture command doesn't change position of pictures
with fixed_to_map chunk set.
Used in Destined game See: #1741
Confirmed with Don's rm2k and Japanese rm2k3 RPG_RT 1.0.3