#ifndef PROJECTILE_H
#define PROJECTILE_H

#include <allegro.h>
#include "modules/animate.h"
#include "modules/collide.h"

#define VG_MAX_PROJECTILES 32

#define VG_PROJECTILE_PLAYER_SHOT 0
#define VG_PROJECTILE_MARIO_SHOT  1

typedef struct
{
	
	ANIMATION * ap;
	COLLISION_MAP cmap;
	
	fixed x, y;
	fixed vx, vy;
	
	int type, source, frame;
	int active;
	
} VG_PROJECTILE;

#endif
