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

floor(x) conversion for 515 #6263

Merged
merged 1 commit into from
May 10, 2024
Merged

Conversation

Doubleumc
Copy link
Contributor

@Doubleumc Doubleumc commented May 8, 2024

About the pull request

image
https://www.byond.com/docs/ref/#/proc/floor

With the move to 515, removes this define in favor of floor(x):
#define Floor(x) (round(x))

Also converts the two-argument FLOOR(x, y) to use floor internally.

Explain why it's good for the game

Less bespoke code means less points of failure.

Testing Photographs and Procedure

Boots without obvious issue.

Changelog

No player-facing changes.

@github-actions github-actions bot added the Missing Changelog Maintainers always document their changes. label May 8, 2024
@harryob harryob added Code Improvement Make the code longer and removed Missing Changelog Maintainers always document their changes. labels May 8, 2024
@github-actions github-actions bot added the Missing Changelog Maintainers always document their changes. label May 9, 2024
@Doubleumc Doubleumc changed the title floor(x) conversion floor(x) conversion for 515 May 9, 2024
@Drulikar Drulikar added this pull request to the merge queue May 10, 2024
Merged via the queue into cmss13-devs:master with commit 1f79350 May 10, 2024
30 checks passed
@Doubleumc Doubleumc deleted the floor-conversion branch May 10, 2024 06:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Improvement Make the code longer Missing Changelog Maintainers always document their changes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants