DOKK / manpages / debian 11 / allegro4-doc / dialog_message.3alleg4.en
dialog_message(3alleg4) Allegro manual dialog_message(3alleg4)

dialog_message - Sends a message to all the objects in an array. Allegro game programming library.

#include <allegro.h>

int dialog_message(DIALOG *dialog, int msg, int c, int *obj);

Sends a message to all the objects in an array. If any of the dialog procedures return values other than D_O_K, it returns the value and sets obj to the index of the object which produced it.

object_message(3alleg4), broadcast_dialog_message(3alleg4)

version 4.4.3 Allegro