1 | /* |
1 | /* |
2 | * static char *rcsid_object_h = |
2 | * static char *rcsid_object_h = |
3 | * "$Id: object.h,v 1.4 2006/08/13 17:16:02 elmex Exp $"; |
3 | * "$Id: object.h,v 1.5 2006/08/25 17:11:53 root Exp $"; |
4 | */ |
4 | */ |
5 | |
5 | |
6 | /* |
6 | /* |
7 | CrossFire, A Multiplayer game for X-windows |
7 | CrossFire, A Multiplayer game for X-windows |
8 | |
8 | |
… | |
… | |
253 | const char *custom_name; /* Custom name assigned by player */ |
253 | const char *custom_name; /* Custom name assigned by player */ |
254 | key_value *key_values; /* Fields not explictly known by the loader. */ |
254 | key_value *key_values; /* Fields not explictly known by the loader. */ |
255 | }; |
255 | }; |
256 | |
256 | |
257 | struct object : object_special, object_simple { |
257 | struct object : object_special, object_simple { |
|
|
258 | void *self, *cb; // CF+ perl's self and callback registry |
258 | }; |
259 | }; |
259 | |
260 | |
260 | typedef struct oblnk { /* Used to link together several objects */ |
261 | typedef struct oblnk { /* Used to link together several objects */ |
261 | object *ob; |
262 | object *ob; |
262 | struct oblnk *next; |
263 | struct oblnk *next; |