[chore] projet structure

This commit is contained in:
Tiago Batista Cardoso
2025-11-03 11:36:34 +01:00
parent 7298fa66e1
commit ccbc76c2fa
123 changed files with 51 additions and 314 deletions

23
src/simulation_loop.h Normal file
View File

@@ -0,0 +1,23 @@
/* This file is part of SyncContest.
Copyright (C) 2017-2020 Eugene Asarin, Mihaela Sighireanu, Adrien Guatto. */
#ifndef SIMULATION_LOOP_H
#define SIMULATION_LOOP_H
#include <stdbool.h>
#include <stddef.h>
typedef enum {
RACE_SUCCESS,
RACE_CRASH,
RACE_TIMEOUT
} race_result_t;
race_result_t simulation_loop(bool show_guide,
int initial_top,
float sps,
bool headless,
bool audio,
size_t max_synchronous_steps);
#endif /* SIMULATION_LOOP_H */