Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > 31abe9b718384a0abc2888edf421e3a9 > files > 139

lib64allegro-devel-4.4.2-4.mga4.x86_64.rpm

#ifndef BULLET_H_INCLUDED
#define BULLET_H_INCLUDED

#include "demo.h"

typedef struct BULLET {
   int x;
   int y;
   struct BULLET *next;
} BULLET;

extern BULLET *bullet_list;

BULLET *add_bullet(int x, int y);
BULLET *delete_bullet(BULLET * bullet);
void draw_bullets(BITMAP *bmp);
void move_bullets(void);

#endif