Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
object_message(3)		 Allegro manual 	       object_message(3)

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

SYNOPSIS
     #include <allegro.h>

     int object_message(DIALOG *dialog, int msg, int c);

DESCRIPTION
     Sends  a message to an object and returns the answer it has generated.  Re-
     member 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 ob-
     ject 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  mes-
     sage is MSG_DRAW.

SEE ALSO
     dialog_message(3),  scare_mouse(3),  scare_mouse_area(3), unscare_mouse(3),
     excustom(3), exrgbhsv(3)

Allegro 			  version 4.4.3 	       object_message(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=object_message&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help