Index: class.doc ================================================================== --- class.doc +++ class.doc @@ -1464,10 +1464,15 @@ === Messages === This section describes when the various standard messages are sent to objects, and what return values are expected. (Do not confuse CREATE with CREATED or DESTROY with DESTROYED; they have different purposes.) + +(Some standard messages are in the names.js file but not used; do not use +them in your own code, since their names and meaning may change later. The +ones listed here are (probably) considered stable, and their numeric value +(used in level files) will (probably) remain unchanged.) ARRIVED Sent during the trigger phase if the Arrived value is nonzero. Arg1 is the saved Arrived value. The Arrived variable will usually be set automatically; see the section about variables. Index: main.c ================================================================== --- main.c +++ main.c @@ -22,10 +22,14 @@ #include "smallxrm.h" #include "names.h" #include "quarks.h" #include "cursorshapes.h" #include "heromesh.h" + +typedef struct { + char a[(N_MESSAGES==sizeof(standard_message_names)/sizeof(*standard_message_names))?1:-9]; +} ASSERTION; static const char schema[]= "BEGIN;" "PRAGMA APPLICATION_ID(1296388936);" "PRAGMA RECURSIVE_TRIGGERS(1);"