OpenEnroth 73e68f7
|
#include <cstdio>
#include <cassert>
#include <utility>
#include <ranges>
#include <vector>
#include <string>
#include <algorithm>
#include <chrono>
#include "Application/Startup/GameStarter.h"
#include "Engine/Components/Control/EngineController.h"
#include "Engine/Components/Trace/EngineTraceSimplePlayer.h"
#include "Engine/Components/Trace/EngineTraceRecorder.h"
#include "Engine/Components/Trace/EngineTraceStateAccessor.h"
#include "Engine/Components/Trace/EngineTracePlayer.h"
#include "Engine/Engine.h"
#include "Library/StackTrace/StackTraceOnCrash.h"
#include "Library/Platform/Application/PlatformApplication.h"
#include "Library/Trace/EventTrace.h"
#include "Utility/Streams/FileOutputStream.h"
#include "Utility/String/Format.h"
#include "Utility/UnicodeCrt.h"
#include "Utility/String/Transformations.h"
#include "Utility/String/Split.h"
#include "Utility/Types.h"
#include "OpenEnrothOptions.h"
Functions | |
static std::string | normalizeText (std::string_view text) |
static void | printLines (const std::vector< std::string_view > &lines, ssize_t line, ssize_t delta) |
static void | printTraceDiff (std::string_view current, std::string_view canonical) |
int | runRetrace (const OpenEnrothOptions &options) |
int | runPlay (const OpenEnrothOptions &options) |
int | runOpenEnroth (const OpenEnrothOptions &options) |
int | openEnrothMain (int argc, char **argv) |
int | platformMain (int argc, char **argv) |
|
static |
int openEnrothMain | ( | int | argc, |
char ** | argv | ||
) |
int platformMain | ( | int | argc, |
char ** | argv | ||
) |
Entrypoint for the program that uses the platform lib. Function definition should be provided in user code.
argc | Total number of arguments passed. |
argv | UTF8-encoded program arguments. Note that you're getting UTF8 on ALL platforms, including Windows. |
|
static |
|
static |
int runOpenEnroth | ( | const OpenEnrothOptions & | options | ) |
int runPlay | ( | const OpenEnrothOptions & | options | ) |
int runRetrace | ( | const OpenEnrothOptions & | options | ) |