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

Document plTimerShare #1455

Open
Hoikas opened this issue Aug 10, 2023 · 0 comments
Open

Document plTimerShare #1455

Hoikas opened this issue Aug 10, 2023 · 0 comments

Comments

@Hoikas
Copy link
Member

Hoikas commented Aug 10, 2023

When working on #1453, I had to dig into the code a bit to understand what the difference between hsTimer::GetSeconds() and hsTimer::GetSysSeconds() is. It would be nice to have these methods documented in the header file. Tangentially, considering that the code was arguably using the wrong kind of seconds previously, it may be worth auditing calls to hsTimer to ensure the correct clock is being used. This is currently not a big deal because the time scale factor because the time scale factor is always 1.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants