shutdown_menu(3alleg4)

shutdown_menu3alleg4

Destroys a menu player object returned by init_menu(). allegro game programming library.

Usage

#include <allegro.h>

int shutdown_menu(MENU_PLAYER *player);

Overview

Destroys a menu player object returned by init_menu(), returning the index of the menu item that was selected, or -1 if the menu was cancelled (this is the same as the return value from do_menu()).

Releases

7 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7–10
  2. 11–13

From allegro4-doc 2:4.4.3.1-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.