update_dialog(3alleg4)
β¨ update_dialog β¨
okay bestie, so this one lives in the Allegro game programming library π and it's the low level function that keeps a dialog player ticking along. iykyk π
πΈ SYNOPSIS πΈ
#include <allegro.h>
int update_dialog(DIALOG_PLAYER *player);
π¦ DESCRIPTION π¦
So you've got a dialog object, right? And it came from init_dialog() (that's the girl who started all this π
). Well, update_dialog() is the one that refreshes its status β like checking in on your bestie to see how she's doing π«Ά
It returns TRUE if the dialog is still active, or FALSE if it has terminated. periodt π
And here's the part where you have choices, main character energy only π: once it hands you back FALSE, it is up to you whether you call shutdown_dialog() or just keep on executing. no cap, that's your call to make π
Also?? if you're wondering who asked for the exit β like, which object started all the drama π β you can figure it out from the player->obj field. iconic. β
π SEE ALSO π
okay that's the whole vibe, bestie π this was Allegro, version 4.4.3, and yeah we're still serving update_dialog(3alleg4) energy β slay, go update some dialogs πΈβ¨
π¦ where this page comes from
- debian bookworm: allegro4-doc 2:4.4.3.1-3 Β· Allegro-gift-ware
- debian trixie: allegro4-doc 2:4.4.3.1-5 Β· Allegro-gift-ware
- ubuntu jammy: allegro4-doc 2:4.4.3.1-2 Β· Allegro-gift-ware
- ubuntu noble: allegro4-doc 2:4.4.3.1-4.1build3 Β· Allegro-gift-ware
- ubuntu questing: allegro4-doc 2:4.4.3.1-6
- ubuntu resolute: allegro4-doc 2:4.4.3.1-7 Β· Allegro-gift-ware
- ubuntu stonking: allegro4-doc 2:4.4.3.1-9 Β· Allegro-gift-ware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms