Skip to content
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

[Feature] Shift to pause terminal view movement #652

Merged
merged 5 commits into from
Jan 13, 2025

Conversation

michaeldoylecs
Copy link

@michaeldoylecs michaeldoylecs commented Jan 5, 2025

GTNewHorizons/GT-New-Horizons-Modpack#18420

This is my attempt to reimplement #449, which was reverted in #513.

While the player is holding shift, the ItemRepo enters a paused state. When paused, instead of clearing the view and display buffers entirely and filling them from the server entries, the existing view buffer is maintained and the existing view items are updated from the server entries. Any items that were not previously in the view are appended to the end of the view. Sorting is disabled while paused.

Changes were made to the AppEngRenderingItem class to prevent non-craftable, 0 quantity IAEItemStacks from displaying the "craft" text, and instead show "0" as their quantity.

I have tested this on the world provided in the original reversion, but I would love some massively updating AE2 systems to test performance on, as well as any advice on how to go about testing ae2 performance outside of monitoring MSPT. I haven't run into any noticeable FPS TPS issues in my testing, but since the previous attempt had to be reverted I would love addition eyes.

This commit just toggles a boolean with Shift.
Full functionality will be implemented in a future commit.
Working:
 - Screen properly pauses
 - Adding items while paused works

Broken:
 - When an ItemStack reaches 0, adding in more does not increment
@michaeldoylecs michaeldoylecs marked this pull request as ready for review January 5, 2025 20:34
@Caedis Caedis requested a review from a team January 5, 2025 20:37
@serenibyss serenibyss added the 🚧 Testing on Zeta Do not merge yet, testing this PR on Zeta label Jan 7, 2025
@serenibyss serenibyss merged commit 3d655e4 into GTNewHorizons:master Jan 13, 2025
1 check passed
@serenibyss serenibyss removed the 🚧 Testing on Zeta Do not merge yet, testing this PR on Zeta label Jan 13, 2025
@Dream-Master Dream-Master requested review from a team and removed request for a team January 26, 2025 21:40
Pilzinsel64 added a commit to LITW-Refined/EZStorage that referenced this pull request Feb 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants