mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-16 20:27:36 -04:00
a6f059827b
* Game ABI / headers refactoring * Delete dusk/imgui.h
21 lines
460 B
C++
21 lines
460 B
C++
#pragma once
|
|
|
|
#include <aurora/aurora.h>
|
|
|
|
#include "aurora/gfx.h"
|
|
|
|
extern AuroraInfo auroraInfo;
|
|
|
|
namespace dusk {
|
|
extern AuroraStats lastFrameAuroraStats;
|
|
extern float frameUsagePct;
|
|
}
|
|
|
|
constexpr u32 defaultWindowWidth = 608;
|
|
constexpr u32 defaultWindowHeight = 448;
|
|
|
|
constexpr u32 defaultAspectRatioW = 19;
|
|
constexpr u32 defaultAspectRatioH = 14;
|
|
|
|
static_assert(defaultWindowWidth / defaultAspectRatioW == defaultWindowHeight / defaultAspectRatioH);
|