1 | /* |
1 | /* |
2 | * static char *rcsid_object_h = |
2 | * static char *rcsid_object_h = |
3 | * "$Id: object.h,v 1.15 2006/09/03 00:18:41 root Exp $"; |
3 | * "$Id: object.h,v 1.16 2006/09/03 14:33:48 elmex 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 | |
… | |
… | |
123 | shstr msg; /* If this is a book/sign/magic mouth/etc */ |
123 | shstr msg; /* If this is a book/sign/magic mouth/etc */ |
124 | shstr lore; /* Obscure information about this object, */ |
124 | shstr lore; /* Obscure information about this object, */ |
125 | /* To get put into books and the like. */ |
125 | /* To get put into books and the like. */ |
126 | |
126 | |
127 | sint16 x,y; /* Position in the map for this object */ |
127 | sint16 x,y; /* Position in the map for this object */ |
128 | sint16 ox,oy; /* For debugging: Where it was last inserted */ |
|
|
129 | float speed; /* The overall speed of this object */ |
128 | float speed; /* The overall speed of this object */ |
130 | float speed_left; /* How much speed is left to spend this round */ |
129 | float speed_left; /* How much speed is left to spend this round */ |
131 | uint32 nrof; /* How many of the objects */ |
130 | uint32 nrof; /* How many of the objects */ |
132 | New_Face *face; /* Face with colors */ |
131 | New_Face *face; /* Face with colors */ |
133 | sint8 direction; /* Means the object is moving that way. */ |
132 | sint8 direction; /* Means the object is moving that way. */ |