#include "../cg_local.h"

#define WPN_MINE_MODEL				"models/weaphits/proxmine.md3"
#define WPN_MINE_EXPLOSION_SHADER	"grenadeExplosion"

#define SND_MINE_WPN_FIRE			"sound/weapons/proxmine/wstbfire.wav"

void GetWPNInfo_APMine ( weaponInfo_t *wpn)
{
	MAKERGB( wpn->flashDlightColor, 1, 0.70f, 0 );

	wpn->missileModel = trap_R_RegisterModel ( WPN_MINE_MODEL );
	cgs.media.grenadeExplosionShader = trap_R_RegisterShader( WPN_MINE_EXPLOSION_SHADER );

	// Trail infos
	//wpn->missileTrailFunc = CG_GrenadeTrail;
	//wpn->wiTrailTime = 700;
	//wpn->trailRadius = 32;

	wpn->flashSound[0] = trap_S_RegisterSound( SND_MINE_WPN_FIRE, false );
	
}