1 | /* |
1 | /* |
2 | * static char *rcsid_object_h = |
2 | * static char *rcsid_object_h = |
3 | * "$Id: object.h,v 1.7 2006/08/26 23:36:32 root Exp $"; |
3 | * "$Id: object.h,v 1.8 2006/08/27 16:15:12 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 | |
… | |
… | |
100 | * This structure is best viewed with about a 100 width screen. |
100 | * This structure is best viewed with about a 100 width screen. |
101 | * MSW 2002-07-05 |
101 | * MSW 2002-07-05 |
102 | */ |
102 | */ |
103 | |
103 | |
104 | struct object_simple : extendable<object> { |
104 | struct object_simple : extendable<object> { |
105 | data_type get_dt () const { return DT_OBJECT; } |
105 | static data_type get_dt () { return DT_OBJECT; } |
106 | |
106 | |
107 | /* These variables are not changed by copy_object() */ |
107 | /* These variables are not changed by copy_object() */ |
108 | struct pl *contr; /* Pointer to the player which control this object */ |
108 | struct pl *contr; /* Pointer to the player which control this object */ |
109 | struct object *next; /* Pointer to the next object in the free/used list */ |
109 | struct object *next; /* Pointer to the next object in the free/used list */ |
110 | struct object *prev; /* Pointer to the previous object in the free/used list*/ |
110 | struct object *prev; /* Pointer to the previous object in the free/used list*/ |