1 | /* |
1 | /* |
2 | * static char *rcsid_object_h = |
2 | * static char *rcsid_object_h = |
3 | * "$Id: object.h,v 1.12 2006/08/29 08:01:36 root Exp $"; |
3 | * "$Id: object.h,v 1.13 2006/08/31 09:19:34 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 : attachable<object> { |
104 | struct object_simple : attachable<object> { |
105 | static data_type get_dt () { return DT_OBJECT; } |
|
|
106 | |
|
|
107 | /* These variables are not changed by copy_object() */ |
105 | /* These variables are not changed by copy_object() */ |
108 | struct pl *contr; /* Pointer to the player which control this object */ |
106 | 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 */ |
107 | 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*/ |
108 | struct object *prev; /* Pointer to the previous object in the free/used list*/ |
111 | struct object *active_next; /* Next & previous object in the 'active' */ |
109 | struct object *active_next; /* Next & previous object in the 'active' */ |