Make static functions non-static

This commit is contained in:
Yamagi Burmeister 2011-10-11 07:48:50 +00:00
parent 129131097a
commit 5acee518b5
8 changed files with 17 additions and 17 deletions

View file

@ -202,7 +202,7 @@ dflags these flags are used to control how T_Damage works
DAMAGE_NO_PROTECTION kills godmode, armor, everything
============
*/
static int CheckPowerArmor (edict_t *ent, vec3_t point, vec3_t normal, int damage, int dflags)
int CheckPowerArmor (edict_t *ent, vec3_t point, vec3_t normal, int damage, int dflags)
{
gclient_t *client;
int save;
@ -294,7 +294,7 @@ static int CheckPowerArmor (edict_t *ent, vec3_t point, vec3_t normal, int damag
return save;
}
static int CheckArmor (edict_t *ent, vec3_t point, vec3_t normal, int damage, int te_sparks, int dflags)
int CheckArmor (edict_t *ent, vec3_t point, vec3_t normal, int damage, int te_sparks, int dflags)
{
gclient_t *client;
int save;

View file

@ -1074,7 +1074,7 @@ void Touch_Item (edict_t *ent, edict_t *other, cplane_t *plane, csurface_t *surf
//======================================================================
static void drop_temp_touch (edict_t *ent, edict_t *other, cplane_t *plane, csurface_t *surf)
void drop_temp_touch (edict_t *ent, edict_t *other, cplane_t *plane, csurface_t *surf)
{
if (other == ent->owner)
return;
@ -1082,7 +1082,7 @@ static void drop_temp_touch (edict_t *ent, edict_t *other, cplane_t *plane, csur
Touch_Item (ent, other, plane, surf);
}
static void drop_make_touchable (edict_t *ent)
void drop_make_touchable (edict_t *ent)
{
ent->touch = Touch_Item;
if (deathmatch->value)

View file

@ -528,7 +528,7 @@ Default _cone value is 10 (used to set size of light for spotlights)
#define START_OFF 1
static void light_use (edict_t *self, edict_t *other, edict_t *activator)
void light_use (edict_t *self, edict_t *other, edict_t *activator)
{
if (self->spawnflags & START_OFF)
{
@ -1703,7 +1703,7 @@ If START_OFF, this entity must be used before it starts
// don't let field width of any clock messages change, or it
// could cause an overwrite after a game load
static void func_clock_reset (edict_t *self)
void func_clock_reset (edict_t *self)
{
self->activator = NULL;
if (self->spawnflags & 1)
@ -1718,7 +1718,7 @@ static void func_clock_reset (edict_t *self)
}
}
static void func_clock_format_countdown (edict_t *self)
void func_clock_format_countdown (edict_t *self)
{
if (self->style == 0)
{

View file

@ -937,7 +937,7 @@ edict_t *StartFire(edict_t *fireOwner, vec3_t fireOrigin, float fireDuration, fl
return fire;
}
static void Incendiary_Explode (edict_t *ent)
void Incendiary_Explode (edict_t *ent)
{
vec3_t origin;
@ -962,7 +962,7 @@ static void Incendiary_Explode (edict_t *ent)
}
static void Incendiary_Touch (edict_t *ent, edict_t *other, cplane_t *plane, csurface_t *surf)
void Incendiary_Touch (edict_t *ent, edict_t *other, cplane_t *plane, csurface_t *surf)
{
if (other == ent->owner)
return;
@ -1134,7 +1134,7 @@ void Nuke_Quake (edict_t *self)
}
static void Nuke_Explode (edict_t *ent)
void Nuke_Explode (edict_t *ent)
{
if (ent->teammaster->client)
PlayerNoise(ent->teammaster, ent->s.origin, PNOISE_IMPACT);
@ -1629,7 +1629,7 @@ void fire_tesla (edict_t *self, vec3_t start, vec3_t aimdir, int damage_multipli
// *************************
#ifdef INCLUDE_BEAMS
static void fire_beams (edict_t *self, vec3_t start, vec3_t aimdir, vec3_t offset, int damage, int kick, int te_beam, int te_impact, int mod)
void fire_beams (edict_t *self, vec3_t start, vec3_t aimdir, vec3_t offset, int damage, int kick, int te_beam, int te_impact, int mod)
{
trace_t tr;
vec3_t dir;

View file

@ -54,7 +54,7 @@ int numipfilters;
StringToFilter
=================
*/
static qboolean StringToFilter (char *s, ipfilter_t *f)
qboolean StringToFilter (char *s, ipfilter_t *f)
{
char num[128];
int i, j;

View file

@ -114,7 +114,7 @@ fire_lead
This is an internal support routine used for bullet/pellet based weapons.
=================
*/
static void fire_lead (edict_t *self, vec3_t start, vec3_t aimdir, int damage, int kick, int te_impact, int hspread, int vspread, int mod)
void fire_lead (edict_t *self, vec3_t start, vec3_t aimdir, int damage, int kick, int te_impact, int hspread, int vspread, int mod)
{
trace_t tr;
vec3_t dir;
@ -437,7 +437,7 @@ void Grenade_Explode (edict_t *ent)
G_FreeEdict (ent);
}
static void Grenade_Touch (edict_t *ent, edict_t *other, cplane_t *plane, csurface_t *surf)
void Grenade_Touch (edict_t *ent, edict_t *other, cplane_t *plane, csurface_t *surf)
{
if (other == ent->owner)
return;

View file

@ -415,7 +415,7 @@ mframe_t widow2_frames_spawn [] =
};
mmove_t widow2_move_spawn = {FRAME_spawn01, FRAME_spawn18, widow2_frames_spawn, NULL};
static qboolean widow2_tongue_attack_ok (vec3_t start, vec3_t end, float range)
qboolean widow2_tongue_attack_ok (vec3_t start, vec3_t end, float range)
{
vec3_t dir, angles;

View file

@ -43,7 +43,7 @@ byte P_DamageModifier(edict_t *ent)
//ROGUE
//========
static void P_ProjectSource (gclient_t *client, vec3_t point, vec3_t distance, vec3_t forward, vec3_t right, vec3_t result)
void P_ProjectSource (gclient_t *client, vec3_t point, vec3_t distance, vec3_t forward, vec3_t right, vec3_t result)
{
vec3_t _distance;
@ -55,7 +55,7 @@ static void P_ProjectSource (gclient_t *client, vec3_t point, vec3_t distance, v
G_ProjectSource (point, _distance, forward, right, result);
}
static void P_ProjectSource2 (gclient_t *client, vec3_t point, vec3_t distance, vec3_t forward,
void P_ProjectSource2 (gclient_t *client, vec3_t point, vec3_t distance, vec3_t forward,
vec3_t right, vec3_t up, vec3_t result)
{
vec3_t _distance;