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

Fixes for Computer Smoothing #10015

Merged
merged 14 commits into from
Oct 16, 2023

Conversation

HowToLoLu
Copy link
Contributor

@HowToLoLu HowToLoLu commented Oct 12, 2023

About The Pull Request

Fixes a few emergent issues with #9834

Resolves #9986

Apparently I didn't fully realize how many combinations bitmask smoothing actually uses, some icons states were wrong in console.dmi, and a few other computers were attempting to smooth when they shouldn't have (they had special icons); I've included a lot of testing below because of this.

Why It's Good For The Game

Fixes and polishes are generally positive, good things.

Testing Photographs and Procedure

Update 4:20 PM UTC-6, 10/15/2023: BSA computers no longer disappear as well, and added testing evidence for that. (Thanks to Dejaku for pointing them out)

Computer Smoothing

Blocks of Computers (shows off BITMASK_SMOOTH_SKIP_CORNERS)

No Corner Smoothing

Variety of computer arrangements

Variety

Broken Consoles show up with states correctly

BrokenConsoles

Narsie and Ratvar acts

Ratvar and Narsie acts

2023-10-11.21-45-31.mp4
Solar Panel Consoles

image

Excluded from Smoothing

Abductor Advanced Camera

Abductor Advanced Camera

Ratvar Camera Console

Ratvar Camera Console

Mining Aux Base Computer

Mining Aux Base Computer

BSA Computer

BSA Computer

Modular Computers

Overlays Working

ModularComputerOverlayStuff.mp4

Blocks of Modular Computers

ModularComputerSmoothSelf

Mixed Computer Smoothing

ModularComputerSmoothOthers

Changelog

🆑
imageadd: Modular Console on/off icon states are now separated into body and keyboard states instead of being combined
code: Added another bitflag for smoothing, SMOOTH_BITMASK_SKIP_CORNERS
fix: Modular Consoles no longer look fully broken when only the CPU is broken
fix: Fixed computers becoming invisible in certain arrangements
fix: Some computers with special icons no longer become invisible
fix: Computers now handle smoothing properly when acted on by Narsie or Ratvar
fix: Broken computers now show up properly
/:cl:

@PowerfulBacon PowerfulBacon added this pull request to the merge queue Oct 16, 2023
Merged via the queue into BeeStation:master with commit ddf29d0 Oct 16, 2023
8 checks passed
@HowToLoLu HowToLoLu deleted the computer-smoothing-fixes branch November 27, 2023 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Computer smoothing broken
4 participants