0
0
Fork 0
mirror of https://github.com/ENSL/NS.git synced 2024-12-23 19:11:29 +00:00
NS/releases/3.1/source/common/hldm.h
tankefugl ad7db200f6 made a copy
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@280 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-07-14 18:13:23 +00:00

33 lines
No EOL
1.7 KiB
C

//======== (C) Copyright 2002 Charles G. Cleveland All rights reserved. =========
//
// The copyright to the contents herein is the property of Charles G. Cleveland.
// The contents may be used and/or copied only with the written permission of
// Charles G. Cleveland, or in accordance with the terms and conditions stipulated in
// the agreement/contract under which the contents have been supplied.
//
// Purpose:
//
// $Workfile: hldm.h $
// $Date: 2002/08/02 21:42:34 $
//
//-------------------------------------------------------------------------------
// $Log: hldm.h,v $
// Revision 1.4 2002/08/02 21:42:34 Flayra
// - Allow ability to control how often a ricochet sound plays
//
// Revision 1.3 2002/07/08 16:17:46 Flayra
// - Reworked bullet firing to add random spread (bug #236)
//
//===============================================================================
#ifndef HLDM_H
#define HLDM_H
#include "common/pmtrace.h"
void EV_HLDM_GunshotDecalTrace( pmtrace_t *pTrace, char *decalName, int inChanceOfSound = 1);
void EV_HLDM_DecalGunshot( pmtrace_t *pTrace, int iBulletType, int inChanceOfSound = 1);
int EV_HLDM_CheckTracer( int idx, float *vecSrc, float *end, float *forward, float *right, int iBulletType, int iTracerFreq, int *tracerCount );
void EV_HLDM_FireBullets( int idx, float *forward, float *right, float *up, int cShots, float *vecSrc, float *vecDirShooting, float flDistance, int iBulletType, int iTracerFreq, int *tracerCount, float flSpreadX, float flSpreadY );
void EV_HLDM_FireBulletsPlayer( int idx, float *forward, float *right, float *up, int cShots, float *vecSrc, float *vecDirShooting, float flDistance, int iBulletType, int iTracerFreq, int *tracerCount, Vector& inSpread, int inRandomSeed);
#endif