rewrite config, options, work with path

This commit is contained in:
Ondřej Novák 2025-01-31 12:46:48 +01:00
parent 4a0c7d4fd0
commit 77f1700902
30 changed files with 466 additions and 532 deletions

View file

@ -1,10 +1,10 @@
#include "legacy_coroutines.h"
#include <cassert>
#include <cstdarg>
#include <cstdint>
#include <iostream>
extern "C" {
#include "error.h"
}
#include "platform.h"
@ -15,8 +15,9 @@ void display_error(const char *text) {
static std::uint32_t gtick = get_game_tick_count();
void send_log_impl(int task, const char *format, ...) {
void send_log_impl(const char *format, ...) {
va_list args;
int task = q_current_task();
char buff2[1000];
va_start(args, format);
auto reltik = get_game_tick_count() - gtick;