Remove static.

This commit is contained in:
Yamagi Burmeister 2011-10-11 10:07:52 +00:00
parent 09264d035b
commit 8a29fa1c66
11 changed files with 21 additions and 21 deletions

View file

@ -147,7 +147,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;
@ -235,7 +235,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

@ -2068,7 +2068,7 @@ void rotating_light_killed (edict_t *self, edict_t *inflictor, edict_t *attacker
}
static void rotating_light_use (edict_t *self, edict_t *other, edict_t *activator)
void rotating_light_use (edict_t *self, edict_t *other, edict_t *activator)
{
if (self->spawnflags & START_OFF)
{

View file

@ -866,7 +866,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;
@ -874,7 +874,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

@ -635,7 +635,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)
{
@ -1843,7 +1843,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)
@ -1858,7 +1858,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

@ -225,13 +225,13 @@ void monster_fire_bfg (edict_t *self, vec3_t start, vec3_t aimdir, int damage, i
// Monster utility functions
//
static void M_FliesOff (edict_t *self)
void M_FliesOff (edict_t *self)
{
self->s.effects &= ~EF_FLIES;
self->s.sound = 0;
}
static void M_FliesOn (edict_t *self)
void M_FliesOn (edict_t *self)
{
if (self->waterlevel)
return;

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

@ -10,7 +10,7 @@ a non-instant attack weapon. It checks to see if a
monster's dodge function should be called.
=================
*/
static void check_dodge (edict_t *self, vec3_t start, vec3_t dir, int speed)
void check_dodge (edict_t *self, vec3_t start, vec3_t dir, int speed)
{
vec3_t end;
vec3_t v;
@ -112,7 +112,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;
@ -418,7 +418,7 @@ void fire_blueblaster (edict_t *self, vec3_t start, vec3_t dir, int damage, int
fire_grenade
=================
*/
static void Grenade_Explode (edict_t *ent)
void Grenade_Explode (edict_t *ent)
{
vec3_t origin;
int mod;
@ -475,7 +475,7 @@ static 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;
@ -1207,7 +1207,7 @@ void fire_plasma (edict_t *self, vec3_t start, vec3_t dir, int damage, int speed
// RAFAEL
extern void SP_item_foodcube (edict_t *best);
// RAFAEL
static void Trap_Think (edict_t *ent)
void Trap_Think (edict_t *ent)
{
edict_t *target = NULL;
edict_t *best = NULL;

View file

@ -430,7 +430,7 @@ void brain_melee(edict_t *self)
self->monsterinfo.currentmove = &brain_move_attack2;
}
static qboolean brain_tounge_attack_ok (vec3_t start, vec3_t end)
qboolean brain_tounge_attack_ok (vec3_t start, vec3_t end)
{
vec3_t dir, angles;

View file

@ -275,7 +275,7 @@ void parasite_pain (edict_t *self, edict_t *other, float kick, int damage)
}
static qboolean parasite_drain_attack_ok (vec3_t start, vec3_t end)
qboolean parasite_drain_attack_ok (vec3_t start, vec3_t end)
{
vec3_t dir, angles;

View file

@ -17,7 +17,7 @@ void SP_misc_teleporter_dest (edict_t *ent);
// we use carnal knowledge of the maps to fix the coop spot targetnames to match
// that of the nearest named single player spot
static void SP_FixCoopSpots (edict_t *self)
void SP_FixCoopSpots (edict_t *self)
{
edict_t *spot;
vec3_t d;
@ -48,7 +48,7 @@ static void SP_FixCoopSpots (edict_t *self)
// some maps don't have any coop spots at all, so we need to create them
// where they should have been
static void SP_CreateCoopSpots (edict_t *self)
void SP_CreateCoopSpots (edict_t *self)
{
edict_t *spot;

View file

@ -15,7 +15,7 @@ void weapon_grenade_fire (edict_t *ent, qboolean held);
void weapon_trap_fire (edict_t *ent, qboolean held);
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;