---
name: "update_dialog"
section: "3alleg"
platform: "linux"
package: "liballegro-doc"
version: "2:4.2.2-2.2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/update_dialog"
---

# update\_dialog(3alleg)

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**(3alleg)](/init_dialog/3alleg.md)
