---
name: "update_dialog"
section: "3alleg4"
platform: "linux"
package: "allegro4-doc"
version: "2:4.4.3.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/update_dialog/3alleg4"
---

# update\_dialog(3alleg4)

Low level function to update a dialog player. Allegro game programming library.

## NAME

update\_dialog - Low level function to update a dialog player. Allegro game programming library.

## SYNOPSIS

**#include \<allegro.h\>**

**int update\_dialog(DIALOG\_PLAYER \*player);**

## DESCRIPTION

Updates the status of a dialog object returned by init\_dialog(). Returns  TRUE if the dialog is still active, or FALSE if it has terminated. Upon a  return value of FALSE, it is up to you whether to call shutdown\_dialog()  or to continue execution. The object that requested the exit can be  determined from the player-\>obj field.

## SEE ALSO

**init\_dialog**(3alleg4)
