Fixed beam const vec3_t parameter

This commit is contained in:
smallmodel 2023-07-10 23:07:57 +02:00
parent 819fe53eaa
commit 7cc687e110
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512
2 changed files with 48 additions and 48 deletions

View file

@ -1171,30 +1171,30 @@ void CG_AddBeams(void)
}
void CG_CreateBeam(
vec3_t start,
vec3_t dir,
int owner,
qhandle_t hModel,
float alpha,
float scale,
int flags,
float length,
int life,
qboolean create,
vec3_t endpointvec,
int min_offset,
int max_offset,
int overlap,
int numSubdivisions,
int delay,
const char *beamshadername,
float modulate[4],
int numspherebeams,
float sphereradius,
int toggledelay,
float endalpha,
int renderfx,
const char *name
const vec3_t start,
const vec3_t dir,
int owner,
qhandle_t hModel,
float alpha,
float scale,
int flags,
float length,
int life,
qboolean create,
const vec3_t endpointvec,
int min_offset,
int max_offset,
int overlap,
int numSubdivisions,
int delay,
const char *beamshadername,
float modulate[4],
int numspherebeams,
float sphereradius,
int toggledelay,
float endalpha,
int renderfx,
const char *name
)
{
int i;

View file

@ -773,30 +773,30 @@ extern "C" {
float scale, int renderfx, const char *beamshadername, byte modulate[4], int flags, int owner, float life
);
void CG_CreateBeam(
vec3_t start,
vec3_t dir,
int owner,
qhandle_t hModel,
float alpha,
float scale,
int flags,
float length,
int life,
qboolean create,
vec3_t endpointvec,
int min_offset,
int max_offset,
int overlap,
int subdivisions,
int delay,
const char *beamshader,
float modulate[4],
int numspherebeams,
float sphereradius,
int toggledelay,
float endalpha,
int renderfx,
const char *name
const vec3_t start,
const vec3_t dir,
int owner,
qhandle_t hModel,
float alpha,
float scale,
int flags,
float length,
int life,
qboolean create,
const vec3_t endpointvec,
int min_offset,
int max_offset,
int overlap,
int subdivisions,
int delay,
const char *beamshader,
float modulate[4],
int numspherebeams,
float sphereradius,
int toggledelay,
float endalpha,
int renderfx,
const char *name
);
void CG_KillBeams(int entity_number);