#ifndef BIRD_H
#define BIRD_H 1

/*
 * Definition information about a bird -- any function which
 * simply updates a bird in a generic manner should be here
 */

#include <windows.h>
#include "vector.h"

/* a bird */
struct BIRD_STRUCT {
  vec3 position;
  vec3 heading;
  vec3 home;
  int chirp_time;
  int land_time;		/* -1 if in flight */
  int tid;
};

typedef struct BIRD_STRUCT bird;

/* prototypes */

void bird_set_position (bird *my_bird, vec3 *new_position);
void bird_get_position (bird *my_bird, vec3 *new_position);
void bird_set_heading (bird *my_bird, vec3 *new_heading);
void bird_get_heading (bird *my_bird, vec3 *new_heading);

#endif

