version 1.30 | | version 1.31 |
---|
| | |
/* | | /* |
* static char *rcsid_object_h = | | * static char *rcsid_object_h = |
* "$Id: object.h,v 1.30 2003/06/19 10:59:28 tchize Exp $"; | | * "$Id: object.h,v 1.31 2003/06/26 11:27:43 gros Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
| | |
extern Body_Locations body_locations[NUM_BODY_LOCATIONS]; | | extern Body_Locations body_locations[NUM_BODY_LOCATIONS]; |
| | |
| | typedef struct _event |
| | { |
| | int type; |
| | char *hook; |
| | char *plugin; |
| | char *options; |
| | struct _event *next; |
| | } event; |
| | |
/* Definition for WILL_APPLY values. Replaces having harcoded values | | /* Definition for WILL_APPLY values. Replaces having harcoded values |
* sprinkled in the code. Note that some of these also replace fields | | * sprinkled in the code. Note that some of these also replace fields |
* that were in the can_apply area. What is the point of having both | | * that were in the can_apply area. What is the point of having both |
| | |
sint32 elevation; /* elevation of this terrain - not currently used */ | | sint32 elevation; /* elevation of this terrain - not currently used */ |
uint8 smoothlevel; /* how to smooth this square around*/ | | uint8 smoothlevel; /* how to smooth this square around*/ |
| | |
char *event_hook[30]; /* GROS - extensions for scripting events */ | | //char *event_hook[30]; /* GROS - extensions for scripting events */ |
char *event_plugin[30]; | | //char *event_plugin[30]; |
char *event_options[30]; | | //char *event_options[30]; |
| | event *events; |
| | |
} object; | | } object; |
| | |