Crossfire Server, Trunk  R20513
face.h
Go to the documentation of this file.
1 
6 #ifndef FACE_H
7 #define FACE_H
8 
14 typedef struct new_face_struct {
20  const char *name;
21 } New_Face;
22 
26 typedef struct animations_struct {
27  const char *name;
31  const New_Face **faces;
32 } Animations;
33 
34 #endif /* FACE_H */
unsigned char uint8_t
Definition: win32.h:161
const char * name
Name of the animation sequence.
Definition: face.h:27
struct animations_struct Animations
This represents one animation.
uint16_t number
This is the image id.
Definition: face.h:15
const char * name
Face name, as used by archetypes and such.
Definition: face.h:20
uint16_t num
Where we are in the array.
Definition: face.h:30
struct new_face_struct New_Face
New face structure - this enforces the notion that data is face by face only - you can not change the...
uint8_t visibility
Definition: face.h:17
uint16_t smoothface
Smoothed face for this, (uint16_t)-1 for none.
Definition: face.h:19
This represents one animation.
Definition: face.h:26
uint8_t num_animations
How many different faces to animate, size of the faces array.
Definition: face.h:28
uint8_t magicmap
Color to show this in magic map.
Definition: face.h:18
unsigned short uint16_t
Definition: win32.h:163
const New_Face ** faces
The actual faces for the animation.
Definition: face.h:31
New face structure - this enforces the notion that data is face by face only - you can not change the...
Definition: face.h:14
uint8_t facings
How many facings (1,2,4,8).
Definition: face.h:29