/* * Copyright 2016 - 2022 Gary Talent (gary@drinkingtea.net). All rights reserved. */ #pragma once #include #include "assetmanager.hpp" #include "clipboard.hpp" #include "consts.hpp" #include "event.hpp" #include "gfx.hpp" #include "input.hpp" #include "media.hpp" #include "typeconv.hpp" namespace nostalgia::core { ox::Result> init(ox::UniquePtr fs, const char *appName = "Nostalgia") noexcept; ox::Error run(Context *ctx) noexcept; // Returns the number of milliseconds that have passed since the start of the // program. [[nodiscard]] uint64_t ticksMs(Context *ctx) noexcept; void shutdown(Context *ctx) noexcept; }