logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

object_message - Sends a message to an object and returns the answer. Allegro game programming library.

Description

       Sends  a message to an object and returns the answer it has generated.  Remember that the first parameter
       is the dialog object (not a whole array) that you wish to send the message to. For example, to  make  the
       second object in a dialog draw itself, you might write:

          object_message(&dialog[1], MSG_DRAW, 0);

       The function will take care of scaring and unscaring the mouse if the message is MSG_DRAW.

Name

       object_message - Sends a message to an object and returns the answer. Allegro game programming library.

See Also

dialog_message(3alleg4),    scare_mouse(3alleg4),    scare_mouse_area(3alleg4),   unscare_mouse(3alleg4),
       excustom(3alleg4), exrgbhsv(3alleg4)

Allegro                                           version 4.4.3                          object_message(3alleg4)

Synopsis

#include<allegro.h>intobject_message(DIALOG*dialog,intmsg,intc);

See Also