2020-12-02 23:18:49 +00:00
|
|
|
#include "init.h"
|
|
|
|
|
|
|
|
__attribute__((constructor)) static void init() {
|
2021-01-27 16:13:06 +00:00
|
|
|
run_tests();
|
2020-12-02 23:18:49 +00:00
|
|
|
init_compat();
|
2021-06-17 21:32:24 +00:00
|
|
|
#ifdef MCPI_SERVER_MODE
|
2020-12-02 23:18:49 +00:00
|
|
|
init_server();
|
2021-06-28 02:16:37 +00:00
|
|
|
#else
|
|
|
|
init_multiplayer();
|
2021-09-12 03:18:12 +00:00
|
|
|
init_sound();
|
2020-12-02 23:18:49 +00:00
|
|
|
init_input();
|
2021-06-29 02:59:24 +00:00
|
|
|
init_sign();
|
2021-08-06 01:00:41 +00:00
|
|
|
init_creative();
|
2020-12-02 23:18:49 +00:00
|
|
|
init_camera();
|
2021-06-19 23:07:09 +00:00
|
|
|
init_touch();
|
2020-12-02 23:18:49 +00:00
|
|
|
init_textures();
|
2021-06-30 23:41:18 +00:00
|
|
|
init_atlas();
|
2021-09-12 03:18:12 +00:00
|
|
|
#endif
|
|
|
|
init_game_mode();
|
|
|
|
init_misc();
|
|
|
|
init_death();
|
|
|
|
init_options();
|
2021-02-16 17:26:40 +00:00
|
|
|
init_chat();
|
2021-06-17 21:32:24 +00:00
|
|
|
init_home();
|
2021-06-28 20:00:52 +00:00
|
|
|
init_version();
|
2021-06-17 21:32:24 +00:00
|
|
|
}
|