Spelling fixes

This commit is contained in:
Stephen Kitt 2016-08-26 22:44:29 +02:00 committed by Simon McVittie
parent 1bb0584c34
commit 9bd1cc8d1d
6 changed files with 20 additions and 20 deletions

View File

@ -334,7 +334,7 @@ void Cmd_Alias_f (void)
return; return;
} }
// if the alias allready exists, reuse it // if the alias already exists, reuse it
for (a = cmd_alias ; a ; a=a->next) for (a = cmd_alias ; a ; a=a->next)
{ {
if (!strcmp(s, a->name)) if (!strcmp(s, a->name))

View File

@ -611,7 +611,7 @@ void Mod_LoadTextures (lump_t *l)
if (!tx || tx->name[0] != '+') if (!tx || tx->name[0] != '+')
continue; continue;
if (tx->anim_next) if (tx->anim_next)
continue; // allready sequenced continue; // already sequenced
// find the number of frames in the animation // find the number of frames in the animation
memset (anims, 0, sizeof(anims)); memset (anims, 0, sizeof(anims));

View File

@ -1542,7 +1542,7 @@ void Host_Kill_f (void)
if (sv_player->v.health <= 0) if (sv_player->v.health <= 0)
{ {
SV_ClientPrintf ("Can't suicide -- allready dead!\n"); SV_ClientPrintf ("Can't suicide -- already dead!\n");
return; return;
} }
@ -1611,7 +1611,7 @@ void Host_PreSpawn_f (void)
if (host_client->spawned) if (host_client->spawned)
{ {
Con_Printf ("prespawn not valid -- allready spawned\n"); Con_Printf ("prespawn not valid -- already spawned\n");
return; return;
} }
@ -1640,13 +1640,13 @@ void Host_Spawn_f (void)
if (host_client->spawned) if (host_client->spawned)
{ {
Con_Printf ("Spawn not valid -- allready spawned\n"); Con_Printf ("Spawn not valid -- already spawned\n");
return; return;
} }
// run the entrance script // run the entrance script
if (sv.loadgame) if (sv.loadgame)
{ // loaded games are fully inited allready { // loaded games are fully inited already
// if this is the last client to be connected, unpause // if this is the last client to be connected, unpause
sv.paused = false; sv.paused = false;
} }

View File

@ -554,7 +554,7 @@ static void Test_Poll (void *unused)
break; break;
if (MSG_ReadByte() != CCREP_PLAYER_INFO) if (MSG_ReadByte() != CCREP_PLAYER_INFO)
Sys_Error("Unexpected repsonse to Player Info request\n"); Sys_Error("Unexpected response to Player Info request\n");
MSG_ReadByte(); /* playerNumber */ MSG_ReadByte(); /* playerNumber */
Q_strcpy(name, MSG_ReadString()); Q_strcpy(name, MSG_ReadString());
@ -706,7 +706,7 @@ Reschedule:
return; return;
Error: Error:
Con_Printf("Unexpected repsonse to Rule Info request\n"); Con_Printf("Unexpected response to Rule Info request\n");
Done: Done:
dfunc.Close_Socket(test2Socket); dfunc.Close_Socket(test2Socket);
test2InProgress = false; test2InProgress = false;

View File

@ -178,7 +178,7 @@ Each entity can have eight independant sound sources, like voice,
weapon, feet, etc. weapon, feet, etc.
Channel 0 is an auto-allocate channel, the others override anything Channel 0 is an auto-allocate channel, the others override anything
allready running on that entity/channel pair. already running on that entity/channel pair.
An attenuation of 0 will play full volume everywhere in the level. An attenuation of 0 will play full volume everywhere in the level.
Larger attenuations will drop off. (max 4 attenuation) Larger attenuations will drop off. (max 4 attenuation)
@ -211,7 +211,7 @@ void SV_StartSound (edict_t *entity, int channel, const char *sample, int volume
if (sound_num == MAX_SOUNDS || !sv.sound_precache[sound_num]) if (sound_num == MAX_SOUNDS || !sv.sound_precache[sound_num])
{ {
Con_Printf ("SV_StartSound: %s not precacheed\n", sample); Con_Printf ("SV_StartSound: %s not precached\n", sample);
return; return;
} }

View File

@ -284,12 +284,12 @@ void Z_Print (memzone_t *zone)
//============================================================================ //============================================================================
#define HUNK_SENTINAL 0x1df001ed #define HUNK_SENTINEL 0x1df001ed
#define HUNKNAME_LEN 24 #define HUNKNAME_LEN 24
typedef struct typedef struct
{ {
int sentinal; int sentinel;
int size; // including sizeof(hunk_t), -1 = not allocated int size; // including sizeof(hunk_t), -1 = not allocated
char name[HUNKNAME_LEN]; char name[HUNKNAME_LEN];
} hunk_t; } hunk_t;
@ -307,7 +307,7 @@ int hunk_tempmark;
============== ==============
Hunk_Check Hunk_Check
Run consistancy and sentinal trahing checks Run consistancy and sentinel trahing checks
============== ==============
*/ */
void Hunk_Check (void) void Hunk_Check (void)
@ -316,8 +316,8 @@ void Hunk_Check (void)
for (h = (hunk_t *)hunk_base ; (byte *)h != hunk_base + hunk_low_used ; ) for (h = (hunk_t *)hunk_base ; (byte *)h != hunk_base + hunk_low_used ; )
{ {
if (h->sentinal != HUNK_SENTINAL) if (h->sentinel != HUNK_SENTINEL)
Sys_Error ("Hunk_Check: trahsed sentinal"); Sys_Error ("Hunk_Check: trashed sentinel");
if (h->size < (int) sizeof(hunk_t) || h->size + (byte *)h - hunk_base > hunk_size) if (h->size < (int) sizeof(hunk_t) || h->size + (byte *)h - hunk_base > hunk_size)
Sys_Error ("Hunk_Check: bad size"); Sys_Error ("Hunk_Check: bad size");
h = (hunk_t *)((byte *)h+h->size); h = (hunk_t *)((byte *)h+h->size);
@ -373,8 +373,8 @@ void Hunk_Print (qboolean all)
// //
// run consistancy checks // run consistancy checks
// //
if (h->sentinal != HUNK_SENTINAL) if (h->sentinel != HUNK_SENTINEL)
Sys_Error ("Hunk_Check: trahsed sentinal"); Sys_Error ("Hunk_Check: trashed sentinel");
if (h->size < (int) sizeof(hunk_t) || h->size + (byte *)h - hunk_base > hunk_size) if (h->size < (int) sizeof(hunk_t) || h->size + (byte *)h - hunk_base > hunk_size)
Sys_Error ("Hunk_Check: bad size"); Sys_Error ("Hunk_Check: bad size");
@ -449,7 +449,7 @@ void *Hunk_AllocName (int size, const char *name)
memset (h, 0, size); memset (h, 0, size);
h->size = size; h->size = size;
h->sentinal = HUNK_SENTINAL; h->sentinel = HUNK_SENTINEL;
q_strlcpy (h->name, name, HUNKNAME_LEN); q_strlcpy (h->name, name, HUNKNAME_LEN);
return (void *)(h+1); return (void *)(h+1);
@ -540,7 +540,7 @@ void *Hunk_HighAllocName (int size, const char *name)
memset (h, 0, size); memset (h, 0, size);
h->size = size; h->size = size;
h->sentinal = HUNK_SENTINAL; h->sentinel = HUNK_SENTINEL;
q_strlcpy (h->name, name, HUNKNAME_LEN); q_strlcpy (h->name, name, HUNKNAME_LEN);
return (void *)(h+1); return (void *)(h+1);
@ -906,7 +906,7 @@ void *Cache_Alloc (cache_user_t *c, int size, const char *name)
cache_system_t *cs; cache_system_t *cs;
if (c->data) if (c->data)
Sys_Error ("Cache_Alloc: allready allocated"); Sys_Error ("Cache_Alloc: already allocated");
if (size <= 0) if (size <= 0)
Sys_Error ("Cache_Alloc: size %i", size); Sys_Error ("Cache_Alloc: size %i", size);