summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/snd_openal.c2
-rw-r--r--src/qcommon/common.c4
-rw-r--r--src/qcommon/q_shared.h2
-rw-r--r--src/renderercommon/tr_types.h1
-rw-r--r--src/renderergl1/tr_bsp.c2
5 files changed, 6 insertions, 5 deletions
diff --git a/src/client/snd_openal.c b/src/client/snd_openal.c
index 331641da..8aca3710 100644
--- a/src/client/snd_openal.c
+++ b/src/client/snd_openal.c
@@ -860,7 +860,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/src/qcommon/common.c b/src/qcommon/common.c
index edfca8c9..d8216b15 100644
--- a/src/qcommon/common.c
+++ b/src/qcommon/common.c
@@ -1515,7 +1515,7 @@ void Hunk_SmallLog( void) {
/*
=================
-Com_InitZoneMemory
+Com_InitHunkZoneMemory
=================
*/
void Com_InitHunkMemory( void ) {
@@ -3375,7 +3375,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, preferably from the OS randomizer
==================
*/
void Com_RandomBytes( byte *string, int len )
diff --git a/src/qcommon/q_shared.h b/src/qcommon/q_shared.h
index 88322482..e3b1a48e 100644
--- a/src/qcommon/q_shared.h
+++ b/src/qcommon/q_shared.h
@@ -569,7 +569,7 @@ typedef struct {
#define Byte4Copy(a,b) ((b)[0]=(a)[0],(b)[1]=(a)[1],(b)[2]=(a)[2],(b)[3]=(a)[3])
-// 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/src/renderercommon/tr_types.h b/src/renderercommon/tr_types.h
index b63729c4..0e2222e9 100644
--- a/src/renderercommon/tr_types.h
+++ b/src/renderercommon/tr_types.h
@@ -54,6 +54,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#define RF_SHADOW_PLANE 0x0100 // use refEntity->shadowPlane
#define RF_WRAP_FRAMES 0x0200 // mod the model frames by the maxframes to allow continuous
+ // animation without needing to know the frame count
// refdef flags
#define RDF_NOWORLDMODEL 0x0001 // used for player configuration screen
diff --git a/src/renderergl1/tr_bsp.c b/src/renderergl1/tr_bsp.c
index bf4c7e31..bde7ad0c 100644
--- a/src/renderergl1/tr_bsp.c
+++ b/src/renderergl1/tr_bsp.c
@@ -1551,7 +1551,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;