![]() |
![]()
| ![]() |
![]()
NAMEobject_message - Sends a message to an object and returns the answer. Allegro game programming library. SYNOPSIS#include <allegro.h> int object_message(DIALOG *dialog, int msg, int c); DESCRIPTIONSends 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: The function will take care of scaring and unscaring the mouse if the message is MSG_DRAW. SEE ALSOdialog_message(3), scare_mouse(3), scare_mouse_area(3), unscare_mouse(3), excustom(3), exrgbhsv(3)
|