175 files, from working commit b1a079a. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
10 lines
417 B
C++
10 lines
417 B
C++
#pragma once
|
|
#include <chrono>
|
|
#include <cstdint>
|
|
// Same process clock for original spell-go and its persistent ground object.
|
|
// This is presentation time, not Source duration or an inferred server epoch.
|
|
inline uint32_t native_presentation_milliseconds() noexcept {
|
|
return uint32_t(std::chrono::duration_cast<std::chrono::milliseconds>(
|
|
std::chrono::steady_clock::now().time_since_epoch()).count());
|
|
}
|