[iortcw] 68/497: All: Bunch of comment fixes

Simon McVittie smcv at debian.org
Fri Sep 8 10:36:23 UTC 2017


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to annotated tag 1.42d
in repository iortcw.

commit 158f1123af42808018e0e53bb3ba153b696c2518
Author: M4N4T4RMS at gmail.com <M4N4T4RMS at gmail.com@e65d2741-a53d-b2dc-ae96-bb75fa5e4c4a>
Date:   Sat Mar 15 12:22:01 2014 +0000

    All: Bunch of comment fixes
---
 MP/code/cgame/cg_localents.c | 2 +-
 MP/code/cgame/cg_view.c      | 2 +-
 MP/code/client/snd_openal.c  | 2 +-
 MP/code/game/bg_pmove.c      | 2 +-
 MP/code/game/g_client.c      | 2 +-
 MP/code/game/g_cmds.c        | 2 +-
 MP/code/game/g_combat.c      | 2 +-
 MP/code/qcommon/common.c     | 2 +-
 MP/code/qcommon/q_shared.h   | 2 +-
 MP/code/rend2/tr_bsp.c       | 2 +-
 MP/code/renderer/tr_bsp.c    | 2 +-
 SP/code/cgame/cg_localents.c | 2 +-
 SP/code/cgame/cg_view.c      | 2 +-
 SP/code/client/snd_openal.c  | 2 +-
 SP/code/game/bg_pmove.c      | 2 +-
 SP/code/game/g_client.c      | 2 +-
 SP/code/game/g_cmds.c        | 2 +-
 SP/code/game/g_combat.c      | 2 +-
 SP/code/qcommon/common.c     | 2 +-
 SP/code/qcommon/q_shared.h   | 2 +-
 SP/code/rend2/tr_bsp.c       | 2 +-
 SP/code/renderer/tr_bsp.c    | 2 +-
 22 files changed, 22 insertions(+), 22 deletions(-)

diff --git a/MP/code/cgame/cg_localents.c b/MP/code/cgame/cg_localents.c
index 9637ab6..2bf1515 100644
--- a/MP/code/cgame/cg_localents.c
+++ b/MP/code/cgame/cg_localents.c
@@ -96,7 +96,7 @@ void CG_FreeLocalEntity( localEntity_t *le ) {
 ===================
 CG_AllocLocalEntity
 
-Will allways succeed, even if it requires freeing an old active entity
+Will always succeed, even if it requires freeing an old active entity
 ===================
 */
 localEntity_t   *CG_AllocLocalEntity( void ) {
diff --git a/MP/code/cgame/cg_view.c b/MP/code/cgame/cg_view.c
index d2b649c..d0ce6f0 100644
--- a/MP/code/cgame/cg_view.c
+++ b/MP/code/cgame/cg_view.c
@@ -325,7 +325,7 @@ static void CG_OffsetThirdPersonView( void ) {
 		VectorCopy( trace.endpos, view );
 		view[2] += ( 1.0 - trace.fraction ) * 32;
 		// try another trace to this position, because a tunnel may have the ceiling
-		// close enogh that this is poking out
+		// close enough that this is poking out
 
 		CG_Trace( &trace, cg.refdef.vieworg, mins, maxs, view, cg.predictedPlayerState.clientNum, MASK_SOLID );
 		VectorCopy( trace.endpos, view );
diff --git a/MP/code/client/snd_openal.c b/MP/code/client/snd_openal.c
index 94a7061..04b3d99 100644
--- a/MP/code/client/snd_openal.c
+++ b/MP/code/client/snd_openal.c
@@ -844,7 +844,7 @@ static void S_AL_SrcSetup(srcHandle_t src, sfxHandle_t sfx, alSrcPriority_t prio
 
 /*
 =================
-S_AL_NewLoopMaster
+S_AL_SaveLoopPos
 Remove given source as loop master if it is the master and hand off master status to another source in this case.
 =================
 */
diff --git a/MP/code/game/bg_pmove.c b/MP/code/game/bg_pmove.c
index 9bf801d..af25ade 100644
--- a/MP/code/game/bg_pmove.c
+++ b/MP/code/game/bg_pmove.c
@@ -3364,7 +3364,7 @@ void PM_UpdateLean( playerState_t *ps, usercmd_t *cmd, pmove_t *tpm ) {
 PM_UpdateViewAngles
 
 This can be used as another entry point when only the viewangles
-are being updated isntead of a full move
+are being updated instead of a full move
 ================
 */
 void PM_UpdateViewAngles( playerState_t *ps, usercmd_t *cmd, void( trace ) ( trace_t *results, const vec3_t start, const vec3_t mins, const vec3_t maxs, const vec3_t end, int passEntityNum, int contentMask ) ) {   //----(SA)	modified
diff --git a/MP/code/game/g_client.c b/MP/code/game/g_client.c
index 6e2c2c3..5a6f60e 100644
--- a/MP/code/game/g_client.c
+++ b/MP/code/game/g_client.c
@@ -1108,7 +1108,7 @@ void SetWolfSpawnWeapons( gclient_t *client ) {
 
 /*
 ===========
-ClientCheckName
+ClientCleanName
 ============
 */
 static void ClientCleanName(const char *in, char *out, int outSize)
diff --git a/MP/code/game/g_cmds.c b/MP/code/game/g_cmds.c
index 700c622..e1cecbd 100644
--- a/MP/code/game/g_cmds.c
+++ b/MP/code/game/g_cmds.c
@@ -1565,7 +1565,7 @@ void Cmd_CallVote_f( gentity_t *ent ) {
 
 	trap_SendServerCommand( -1, va( "print \"[lof]%s [lon]called a vote.\n\"", ent->client->pers.netname ) );
 
-	// start the voting, the caller autoamtically votes yes
+	// start the voting, the caller automatically votes yes
 	level.voteTime = level.time;
 	level.voteYes = 1;
 	level.voteNo = 0;
diff --git a/MP/code/game/g_combat.c b/MP/code/game/g_combat.c
index 4808131..e6a632a 100644
--- a/MP/code/game/g_combat.c
+++ b/MP/code/game/g_combat.c
@@ -849,7 +849,7 @@ void G_ArmorDamage( gentity_t *targ ) {
 
 /*
 ============
-T_Damage
+G_Damage
 
 targ		entity that is being damaged
 inflictor	entity that is causing the damage
diff --git a/MP/code/qcommon/common.c b/MP/code/qcommon/common.c
index b037706..f35a670 100644
--- a/MP/code/qcommon/common.c
+++ b/MP/code/qcommon/common.c
@@ -3622,7 +3622,7 @@ void Field_AutoComplete( field_t *field )
 ==================
 Com_RandomBytes
 
-fills string array with len radom bytes, peferably from the OS randomizer
+fills string array with len random bytes, peferably from the OS randomizer
 ==================
 */
 void Com_RandomBytes( byte *string, int len )
diff --git a/MP/code/qcommon/q_shared.h b/MP/code/qcommon/q_shared.h
index fadd4c0..52d0c9b 100644
--- a/MP/code/qcommon/q_shared.h
+++ b/MP/code/qcommon/q_shared.h
@@ -613,7 +613,7 @@ typedef struct {
 
 #define SnapVector( v ) {v[0] = ( (int)( v[0] ) ); v[1] = ( (int)( v[1] ) ); v[2] = ( (int)( v[2] ) );}
 
-// just in case you do't want to use the macros
+// just in case you don't want to use the macros
 vec_t _DotProduct( const vec3_t v1, const vec3_t v2 );
 void _VectorSubtract( const vec3_t veca, const vec3_t vecb, vec3_t out );
 void _VectorAdd( const vec3_t veca, const vec3_t vecb, vec3_t out );
diff --git a/MP/code/rend2/tr_bsp.c b/MP/code/rend2/tr_bsp.c
index c65b024..71c4406 100644
--- a/MP/code/rend2/tr_bsp.c
+++ b/MP/code/rend2/tr_bsp.c
@@ -2690,7 +2690,7 @@ static void R_LoadFogs( lump_t *l, lump_t *brushesLump, lump_t *sidesLump ) {
 	}
 	count = l->filelen / sizeof( *fogs );
 
-	// create fog strucutres for them
+	// create fog structures for them
 	s_worldData.numfogs = count + 1;
 	s_worldData.fogs = ri.Hunk_Alloc( s_worldData.numfogs * sizeof( *out ), h_low );
 	out = s_worldData.fogs + 1;
diff --git a/MP/code/renderer/tr_bsp.c b/MP/code/renderer/tr_bsp.c
index 740a34e..3c3aa0c 100644
--- a/MP/code/renderer/tr_bsp.c
+++ b/MP/code/renderer/tr_bsp.c
@@ -1803,7 +1803,7 @@ static void R_LoadFogs( lump_t *l, lump_t *brushesLump, lump_t *sidesLump ) {
 	}
 	count = l->filelen / sizeof( *fogs );
 
-	// create fog strucutres for them
+	// create fog structures for them
 	s_worldData.numfogs = count + 1;
 	s_worldData.fogs = ri.Hunk_Alloc( s_worldData.numfogs * sizeof( *out ), h_low );
 	out = s_worldData.fogs + 1;
diff --git a/SP/code/cgame/cg_localents.c b/SP/code/cgame/cg_localents.c
index 1ee23df..178fcc4 100644
--- a/SP/code/cgame/cg_localents.c
+++ b/SP/code/cgame/cg_localents.c
@@ -96,7 +96,7 @@ void CG_FreeLocalEntity( localEntity_t *le ) {
 ===================
 CG_AllocLocalEntity
 
-Will allways succeed, even if it requires freeing an old active entity
+Will always succeed, even if it requires freeing an old active entity
 ===================
 */
 localEntity_t   *CG_AllocLocalEntity( void ) {
diff --git a/SP/code/cgame/cg_view.c b/SP/code/cgame/cg_view.c
index d3bfad7..10c8b5d 100644
--- a/SP/code/cgame/cg_view.c
+++ b/SP/code/cgame/cg_view.c
@@ -312,7 +312,7 @@ static void CG_OffsetThirdPersonView( void ) {
 		VectorCopy( trace.endpos, view );
 		view[2] += ( 1.0 - trace.fraction ) * 32;
 		// try another trace to this position, because a tunnel may have the ceiling
-		// close enogh that this is poking out
+		// close enough that this is poking out
 
 		CG_Trace( &trace, cg.refdef.vieworg, mins, maxs, view, cg.predictedPlayerState.clientNum, MASK_SOLID );
 		VectorCopy( trace.endpos, view );
diff --git a/SP/code/client/snd_openal.c b/SP/code/client/snd_openal.c
index 3356a25..d186323 100644
--- a/SP/code/client/snd_openal.c
+++ b/SP/code/client/snd_openal.c
@@ -844,7 +844,7 @@ static void S_AL_SrcSetup(srcHandle_t src, sfxHandle_t sfx, alSrcPriority_t prio
 
 /*
 =================
-S_AL_NewLoopMaster
+S_AL_SaveLoopPos
 Remove given source as loop master if it is the master and hand off master status to another source in this case.
 =================
 */
diff --git a/SP/code/game/bg_pmove.c b/SP/code/game/bg_pmove.c
index 8e5ecaa..1455e2c 100644
--- a/SP/code/game/bg_pmove.c
+++ b/SP/code/game/bg_pmove.c
@@ -3705,7 +3705,7 @@ void PM_UpdateLean( playerState_t *ps, usercmd_t *cmd, pmove_t *tpm ) {
 PM_UpdateViewAngles
 
 This can be used as another entry point when only the viewangles
-are being updated isntead of a full move
+are being updated instead of a full move
 ================
 */
 void PM_UpdateViewAngles( playerState_t *ps, usercmd_t *cmd, void( trace ) ( trace_t *results, const vec3_t start, const vec3_t mins, const vec3_t maxs, const vec3_t end, int passEntityNum, int contentMask ) ) {   //----(SA)	modified
diff --git a/SP/code/game/g_client.c b/SP/code/game/g_client.c
index a878929..f60b58c 100644
--- a/SP/code/game/g_client.c
+++ b/SP/code/game/g_client.c
@@ -1069,7 +1069,7 @@ void SetWolfSpawnWeapons( gclient_t *client ) {
 
 /*
 ===========
-ClientCheckName
+ClientCleanName
 ============
 */
 static void ClientCleanName(const char *in, char *out, int outSize)
diff --git a/SP/code/game/g_cmds.c b/SP/code/game/g_cmds.c
index e8af619..e9db813 100644
--- a/SP/code/game/g_cmds.c
+++ b/SP/code/game/g_cmds.c
@@ -1159,7 +1159,7 @@ void Cmd_CallVote_f( gentity_t *ent ) {
 
 	trap_SendServerCommand( -1, va( "print \"%s called a vote.\n\"", ent->client->pers.netname ) );
 
-	// start the voting, the caller autoamtically votes yes
+	// start the voting, the caller automatically votes yes
 	level.voteTime = level.time;
 	level.voteYes = 1;
 	level.voteNo = 0;
diff --git a/SP/code/game/g_combat.c b/SP/code/game/g_combat.c
index 98ad0c8..d045ae6 100644
--- a/SP/code/game/g_combat.c
+++ b/SP/code/game/g_combat.c
@@ -866,7 +866,7 @@ void G_ArmorDamage( gentity_t *targ ) {
 }
 /*
 ============
-T_Damage
+G_Damage
 
 targ		entity that is being damaged
 inflictor	entity that is causing the damage
diff --git a/SP/code/qcommon/common.c b/SP/code/qcommon/common.c
index 8f556e9..3ac7e96 100644
--- a/SP/code/qcommon/common.c
+++ b/SP/code/qcommon/common.c
@@ -3163,7 +3163,7 @@ void Field_AutoComplete( field_t *field )
 ==================
 Com_RandomBytes
 
-fills string array with len radom bytes, peferably from the OS randomizer
+fills string array with len random bytes, peferably from the OS randomizer
 ==================
 */
 void Com_RandomBytes( byte *string, int len )
diff --git a/SP/code/qcommon/q_shared.h b/SP/code/qcommon/q_shared.h
index d253f5a..af9155d 100644
--- a/SP/code/qcommon/q_shared.h
+++ b/SP/code/qcommon/q_shared.h
@@ -626,7 +626,7 @@ typedef struct {
 
 #define SnapVector( v ) {v[0] = ( (int)( v[0] ) ); v[1] = ( (int)( v[1] ) ); v[2] = ( (int)( v[2] ) );}
 
-// just in case you do't want to use the macros
+// just in case you don't want to use the macros
 vec_t _DotProduct( const vec3_t v1, const vec3_t v2 );
 void _VectorSubtract( const vec3_t veca, const vec3_t vecb, vec3_t out );
 void _VectorAdd( const vec3_t veca, const vec3_t vecb, vec3_t out );
diff --git a/SP/code/rend2/tr_bsp.c b/SP/code/rend2/tr_bsp.c
index 3ef67c1..70b46b4 100644
--- a/SP/code/rend2/tr_bsp.c
+++ b/SP/code/rend2/tr_bsp.c
@@ -2678,7 +2678,7 @@ static void R_LoadFogs( lump_t *l, lump_t *brushesLump, lump_t *sidesLump ) {
 	}
 	count = l->filelen / sizeof( *fogs );
 
-	// create fog strucutres for them
+	// create fog structures for them
 	s_worldData.numfogs = count + 1;
 	s_worldData.fogs = ri.Hunk_Alloc( s_worldData.numfogs * sizeof( *out ), h_low );
 	out = s_worldData.fogs + 1;
diff --git a/SP/code/renderer/tr_bsp.c b/SP/code/renderer/tr_bsp.c
index 22d5903..c87980f 100644
--- a/SP/code/renderer/tr_bsp.c
+++ b/SP/code/renderer/tr_bsp.c
@@ -1801,7 +1801,7 @@ static void R_LoadFogs( lump_t *l, lump_t *brushesLump, lump_t *sidesLump ) {
 	}
 	count = l->filelen / sizeof( *fogs );
 
-	// create fog strucutres for them
+	// create fog structures for them
 	s_worldData.numfogs = count + 1;
 	s_worldData.fogs = ri.Hunk_Alloc( s_worldData.numfogs * sizeof( *out ), h_low );
 	out = s_worldData.fogs + 1;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/iortcw.git



More information about the Pkg-games-commits mailing list