// display the medals screen for this player void multi_pinfo_do_medals() { #ifdef FS2DEMO game_feature_not_in_demo_popup(); #elif defined(SAGA_NO_MULTIPLAYER_YET) game_feature_not_supported_by_saga_yet(); #else int ret_code; // initialize the medals screen medal_main_init(Multi_pinfo_popup_player->m_player, MM_POPUP); // run the medals screen until it says that it should be closed do { // set frametime and run common functions game_set_frametime(-1); game_do_state_common(gameseq_get_state()); // run the medals screen ret_code = medal_main_do(); } while (ret_code && !Multi_pinfo_popup_done); // close the medals screen down medal_main_close(); // restore the proper palette multi_pinfo_set_palette(); #endif }
// display the medals screen for this player void multi_pinfo_do_medals() { int ret_code; // initialize the medals screen medal_main_init(Multi_pinfo_popup_player->m_player,MM_POPUP); // run the medals screen until it says that it should be closed do { // set frametime and run common functions game_set_frametime(-1); game_do_state_common(gameseq_get_state()); // run the medals screen ret_code = medal_main_do(); } while(ret_code && !Multi_pinfo_popup_done); // close the medals screen down medal_main_close(); }