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

Tweaks some of the handling for timestamp stuff #1076

Conversation

Areloch
Copy link
Contributor

@Areloch Areloch commented Sep 5, 2023

From Nils' UI Update work. Tweaks some of the handling for timestamp stuff, and adds some utility console functions for getting/resetting said timestamp stuffs.

…stuff, and adds some utility console functions for getting/resetting said timestamp stuffs.
@Azaezel Azaezel merged commit 1f9cc0d into TorqueGameEngines:development Sep 5, 2023
6 checks passed
@@ -307,6 +307,9 @@ bool alwaysUseDebugOutput = true;
bool useTimestamp = false;
bool useRealTimestamp = false;

static U32 initTime = Platform::getRealMilliseconds();
U32 startTime = initTime;
Copy link
Contributor

Choose a reason for hiding this comment

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

should be static U32 startTime = initTime; to avoid name collision outside of source file.

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.

3 participants