/* Save settings */ static int save_settings (MenuCommand cmd, struct MenuItem * item) { if (cmd != MNU_ENTER) return 0; save_game_config (); intro_message ("Game settings were saved"); return 0; }
/// Show the intro message when not editing a file. void maybe_intro_message(void) { if (bufempty() && (curbuf->b_fname == NULL) && (firstwin->w_next == NULL) && (vim_strchr(p_shm, SHM_INTRO) == NULL)) { intro_message(FALSE); } }
/* * Show the intro message when not editing a file. */ void maybe_intro_message(void) { if (BUFEMPTY() && curbuf->b_fname == NULL && firstwin->w_next == NULL && vim_strchr(p_shm, SHM_INTRO) == NULL) intro_message(FALSE); }
/* Ask a new key */ static int set_player_key (MenuCommand cmd, struct MenuItem * item) { if (cmd != MNU_ENTER) return 0; intro_message ("Press a key"); intr_message.setkey = &game_settings.controller[item->parent->ID].keys[item->ID-2]; draw_intro_screen (); intro_event_loop (); return 1; }
/* * Show the intro message when not editing a file. */ void maybe_intro_message(void) { if (bufempty() && curbuf->b_fname == NULL #ifdef FEAT_WINDOWS && firstwin->w_next == NULL #endif && vim_strchr(p_shm, SHM_INTRO) == NULL) intro_message(FALSE); }
/// ":intro": clear screen, display intro screen and wait for return. /// /// @param eap void ex_intro(exarg_T *eap) { screenclear(); intro_message(TRUE); wait_return(TRUE); }