Fix C functions declarations.

This commit is contained in:
Andrey Akhmichin 2024-02-19 01:46:19 +05:00
parent e0cdfe9ae8
commit 7223e0d6c1
1 changed files with 9 additions and 9 deletions

View File

@ -167,7 +167,7 @@ void PM_SortTextures( void )
} }
} }
void PM_InitTextureTypes() void PM_InitTextureTypes( void )
{ {
char buffer[512]; char buffer[512];
int i, j; int i, j;
@ -718,7 +718,7 @@ PM_CheckVelocity
See if the player has a bogus velocity value. See if the player has a bogus velocity value.
================ ================
*/ */
void PM_CheckVelocity() void PM_CheckVelocity( void )
{ {
int i; int i;
@ -795,7 +795,7 @@ int PM_ClipVelocity( vec3_t in, vec3_t normal, vec3_t out, float overbounce )
return blocked; return blocked;
} }
void PM_AddCorrectGravity() void PM_AddCorrectGravity( void )
{ {
float ent_gravity; float ent_gravity;
@ -816,7 +816,7 @@ void PM_AddCorrectGravity()
PM_CheckVelocity(); PM_CheckVelocity();
} }
void PM_FixupGravityVelocity() void PM_FixupGravityVelocity( void )
{ {
float ent_gravity; float ent_gravity;
@ -1070,7 +1070,7 @@ PM_WalkMove
Only used by players. Moves along the ground when player is a MOVETYPE_WALK. Only used by players. Moves along the ground when player is a MOVETYPE_WALK.
====================== ======================
*/ */
void PM_WalkMove() void PM_WalkMove( void )
{ {
//int clip; //int clip;
int oldonground; int oldonground;
@ -1511,7 +1511,7 @@ PM_CheckWater
Sets pmove->waterlevel and pmove->watertype values. Sets pmove->waterlevel and pmove->watertype values.
============= =============
*/ */
qboolean PM_CheckWater() qboolean PM_CheckWater( void )
{ {
vec3_t point; vec3_t point;
int cont; int cont;
@ -2259,7 +2259,7 @@ PM_AddGravity
============ ============
*/ */
void PM_AddGravity() void PM_AddGravity( void )
{ {
float ent_gravity; float ent_gravity;
@ -2309,7 +2309,7 @@ PM_Physics_Toss()
Dead player flying through air., e.g. Dead player flying through air., e.g.
============ ============
*/ */
void PM_Physics_Toss() void PM_Physics_Toss( void )
{ {
pmtrace_t trace; pmtrace_t trace;
vec3_t move; vec3_t move;
@ -2410,7 +2410,7 @@ PM_NoClip
==================== ====================
*/ */
void PM_NoClip() void PM_NoClip( void )
{ {
int i; int i;
vec3_t wishvel; vec3_t wishvel;