Bicameral Engine
GPU-resident engine for a magic-research open-world game
Loading...
Searching...
No Matches
main.cpp File Reference
#include <array>
#include <charconv>
#include <optional>
#include "common/probe_sim.hlsli"
#include "core/aliases.h"
#include "core/log.h"
#include "core/log_sinks.h"
#include "core/paths.h"
#include "core/singleton.h"
#include "core/unicode.h"
#include "frame/frame_loop.h"
#include "platform/caps.h"
#include "sim/probe_trace.h"
Include dependency graph for main.cpp:

Go to the source code of this file.

Classes

struct  anonymous_namespace{main.cpp}::Options

Namespaces

namespace  anonymous_namespace{main.cpp}

Functions

std::optional< uint32_t > anonymous_namespace{main.cpp}::ParseCount (std::wstring_view text, uint32_t maximum)
template<size_t N>
std::optional< std::array< uint64_t, N > > anonymous_namespace{main.cpp}::ParseNumbers (std::wstring_view text)
std::expected< void, std::string > anonymous_namespace{main.cpp}::ParseTraceRange (std::wstring_view argument, std::wstring_view text, Options &options)
void anonymous_namespace{main.cpp}::ApplyTraceRange (Options &options)
std::optional< render::OrbitCameraState > anonymous_namespace{main.cpp}::ParseCamera (std::wstring_view text)
std::expected< void, std::string > anonymous_namespace{main.cpp}::ParsePeekOption (std::wstring_view argument, std::wstring_view text, frame::FrameLoopOptions &loop)
std::expected< void, std::string > anonymous_namespace{main.cpp}::ParseViewOption (std::wstring_view argument, std::wstring_view text, frame::FrameLoopOptions &loop)
std::expected< void, std::string > anonymous_namespace{main.cpp}::ParseFrameLoopCount (std::wstring_view argument, std::wstring_view text, frame::FrameLoopOptions &loop)
bool anonymous_namespace{main.cpp}::ParseFrameLoopFlag (std::wstring_view argument, frame::FrameLoopOptions &loop)
std::expected< Options, std::string > anonymous_namespace{main.cpp}::ParseOptions (std::span< wchar_t * > arguments)
int anonymous_namespace{main.cpp}::Run (std::span< wchar_t * > arguments)
int wmain (int argc, wchar_t **argv)

Variables

constexpr uint32_t anonymous_namespace{main.cpp}::MIN_TARGET_FPS = 30
constexpr uint32_t anonymous_namespace{main.cpp}::MAX_TARGET_FPS = 1000

Function Documentation

◆ wmain()

int wmain ( int argc,
wchar_t ** argv )

Definition at line 399 of file main.cpp.

References bicameral::SingletonFinalizer::Finalize(), and anonymous_namespace{main.cpp}::Run().

Here is the call graph for this function: