#include #include #include __attribute__((constructor)) static void init() { media_ensure_loaded(); reborn_init_patch(); run_tests(); init_version(); init_compat(); #ifdef MCPI_SERVER_MODE init_server(); #else init_multiplayer(); #endif #ifndef MCPI_HEADLESS_MODE init_sound(); init_input(); init_sign(); init_camera(); init_atlas(); init_title_screen(); init_skin(); init_fps(); #endif init_touch(); init_textures(); init_creative(); init_game_mode(); init_misc(); init_death(); init_options(); init_chat(); init_bucket(); init_cake(); init_home(); #ifndef MCPI_SERVER_MODE init_benchmark(); #endif }