2020-12-02 18:18:49 -05:00
|
|
|
#include "init.h"
|
|
|
|
|
|
|
|
__attribute__((constructor)) static void init() {
|
2021-01-27 11:13:06 -05:00
|
|
|
run_tests();
|
2020-12-02 18:18:49 -05:00
|
|
|
init_compat();
|
2021-06-17 17:32:24 -04:00
|
|
|
#ifdef MCPI_SERVER_MODE
|
2020-12-02 18:18:49 -05:00
|
|
|
init_server();
|
2021-06-17 17:32:24 -04:00
|
|
|
#endif
|
2020-12-02 18:18:49 -05:00
|
|
|
init_game_mode();
|
|
|
|
init_input();
|
|
|
|
init_misc();
|
2021-06-21 21:50:26 -04:00
|
|
|
init_death();
|
2020-12-02 18:18:49 -05:00
|
|
|
init_camera();
|
|
|
|
init_options();
|
2021-06-19 19:07:09 -04:00
|
|
|
init_touch();
|
2020-12-02 18:18:49 -05:00
|
|
|
init_textures();
|
2021-02-16 12:26:40 -05:00
|
|
|
init_chat();
|
2021-06-17 17:32:24 -04:00
|
|
|
init_home();
|
|
|
|
}
|