version 1.49 | | version 1.50 |
---|
| | |
/* | | /* |
* static char *rcsid_object_h = | | * static char *rcsid_object_h = |
* "$Id: object.h,v 1.49 2006/08/08 18:17:54 qal21 Exp $"; | | * "$Id: object.h,v 1.50 2006/08/26 17:56:22 ryo_saeba Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
| | |
extern body_locations_struct body_locations[NUM_BODY_LOCATIONS]; | | extern body_locations_struct body_locations[NUM_BODY_LOCATIONS]; |
| | |
typedef struct _event | | |
{ | | |
int type; | | |
const char *hook; | | |
const char *plugin; | | |
const char *options; | | |
struct _event *next; | | |
} event; | | |
| | |
/* | | /* |
* Each object (this also means archetypes!) could have a few of these | | * Each object (this also means archetypes!) could have a few of these |
* "dangling" from it; this could also end up containing 'parse errors'. | | * "dangling" from it; this could also end up containing 'parse errors'. |
| | |
MoveType move_slow; /* Movement types this slows down */ | | MoveType move_slow; /* Movement types this slows down */ |
float move_slow_penalty; /* How much this slows down the object */ | | float move_slow_penalty; /* How much this slows down the object */ |
| | |
event *events; | | |
| | |
const char *custom_name; /* Custom name assigned by player */ | | const char *custom_name; /* Custom name assigned by player */ |
key_value *key_values; /* Fields not explictly known by the loader. */ | | key_value *key_values; /* Fields not explictly known by the loader. */ |
| | |