1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- #ifndef MAIN_H
- #define MAIN_H
- #include "core/error_list.h"
- #include "core/os/thread.h"
- #include "core/typedefs.h"
- class Main {
- static void print_help(const char *p_binary);
- static uint64_t last_ticks;
- static uint64_t target_ticks;
- static uint32_t frames;
- static uint32_t frame;
- static bool force_redraw_requested;
- public:
- static bool is_project_manager();
- static Error setup(const char *execpath, int argc, char *argv[], bool p_second_phase = true);
- static Error setup2(Thread::ID p_main_tid_override = 0);
- static bool start();
- static bool iteration();
- static void force_redraw();
- static void cleanup();
- };
- #endif
|