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

989 add fixed step plugin #997

Merged
merged 1 commit into from
Feb 21, 2024
Merged

989 add fixed step plugin #997

merged 1 commit into from
Feb 21, 2024

Conversation

joaomanita
Copy link
Contributor

Description

Added fixedStepPlugin which creates the cubos.fixedStep Tag, any systems with that tag will
run at 100 fps.

Checklist

  • Self-review changes.
  • Evaluate impact on the documentation.
  • Ensure test coverage.
  • Write new samples.
  • Add entry to the changelog's unreleased section.

@joaomanita joaomanita linked an issue Feb 21, 2024 that may be closed by this pull request
Copy link
Contributor

github-actions bot commented Feb 21, 2024

PR Preview Action v1.4.7
🚀 Deployed preview to https://GameDevTecnico.github.io/cubos/docs-preview/pr-997/
on branch gh-pages at 2024-02-21 18:52 UTC

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Clang-Tidy found issue(s) with the introduced code (1/1)

engine/src/fixedstep/plugin.cpp Outdated Show resolved Hide resolved
engine/src/fixedstep/plugin.cpp Outdated Show resolved Hide resolved
engine/src/fixedstep/plugin.cpp Outdated Show resolved Hide resolved
Copy link
Member

@RiscadoA RiscadoA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working on this! Some points to take care of before merging:

  • you included two commits with the same desc, please merge them.
  • rename the plugin dir to fixed_step to follow the naming convention of other plugins.
  • don't forget to add the change to the change log :)

engine/include/cubos/engine/fixedstep/accumulated_time.hpp Outdated Show resolved Hide resolved
engine/include/cubos/engine/fixedstep/plugin.hpp Outdated Show resolved Hide resolved
engine/include/cubos/engine/fixedstep/plugin.hpp Outdated Show resolved Hide resolved
engine/include/cubos/engine/fixedstep/plugin.hpp Outdated Show resolved Hide resolved
engine/include/cubos/engine/fixedstep/plugin.hpp Outdated Show resolved Hide resolved
engine/src/fixedstep/plugin.cpp Outdated Show resolved Hide resolved
engine/src/fixedstep/plugin.cpp Outdated Show resolved Hide resolved
Copy link

codecov bot commented Feb 21, 2024

Codecov Report

Attention: 19 lines in your changes are missing coverage. Please review.

Comparison is base (cfa6005) 36.15% compared to head (972d6e2) 36.18%.

Files Patch % Lines
engine/src/fixed_step/plugin.cpp 0.00% 11 Missing ⚠️
engine/src/physics/plugin.cpp 0.00% 8 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #997      +/-   ##
==========================================
+ Coverage   36.15%   36.18%   +0.02%     
==========================================
  Files         297      298       +1     
  Lines       24411    24396      -15     
==========================================
  Hits         8827     8827              
+ Misses      15584    15569      -15     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

CHANGELOG.md Outdated Show resolved Hide resolved
engine/include/cubos/engine/fixed_step/plugin.hpp Outdated Show resolved Hide resolved
engine/include/cubos/engine/physics/plugin.hpp Outdated Show resolved Hide resolved
engine/src/fixed_step/plugin.cpp Outdated Show resolved Hide resolved
engine/include/cubos/engine/fixed_step/plugin.hpp Outdated Show resolved Hide resolved
engine/include/cubos/engine/fixed_step/plugin.hpp Outdated Show resolved Hide resolved
engine/include/cubos/engine/fixed_step/plugin.hpp Outdated Show resolved Hide resolved
engine/src/fixed_step/plugin.cpp Outdated Show resolved Hide resolved
@joaomanita joaomanita merged commit 58ff340 into main Feb 21, 2024
11 checks passed
@joaomanita joaomanita deleted the 989-add-fixed-step-plugin branch February 21, 2024 19:38
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.

Add fixed step plugin
2 participants