blob: 4c02f43aacf6f8a0c7d0bde06fb221f3463af067 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
// SPDX-License-Identifier: BSD-2-Clause
// Copyright (c) 2025 Kirill Dmitrievich
// File: globals.hh
// Description: Global variables
#ifndef SHARED_GLOBALS_HH
#define SHARED_GLOBALS_HH
#pragma once
namespace globals
{
extern entt::dispatcher dispatcher;
} // namespace globals
namespace globals
{
extern float fixed_frametime;
extern float fixed_frametime_avg;
extern std::uint64_t fixed_frametime_us;
extern std::size_t fixed_framecount;
} // namespace globals
namespace globals
{
extern std::uint64_t curtime;
} // namespace globals
#endif
|