diff --git a/engine/client/cl_demo.c b/engine/client/cl_demo.c index d1f21b244..544505201 100644 --- a/engine/client/cl_demo.c +++ b/engine/client/cl_demo.c @@ -297,7 +297,7 @@ readnext: unreadbytes = sizeof(msecsadded); else unreadbytes = sizeof(demotime); - return 0; // allready read this frame's message + return 0; // already read this frame's message } if (!cls.td_starttime && cls.state == ca_active) { //start the timer only once we are connected. diff --git a/engine/client/sys_win.c b/engine/client/sys_win.c index 058157298..33526deaf 100644 --- a/engine/client/sys_win.c +++ b/engine/client/sys_win.c @@ -468,7 +468,7 @@ void Sys_Init (void) // allocate a named semaphore on the client so the // front end can tell if it is alive - // mutex will fail if semephore allready exists + // mutex will fail if semephore already exists qwclsemaphore = CreateMutex( NULL, // Security attributes 0, // owner diff --git a/engine/common/cmd.c b/engine/common/cmd.c index 1fc395740..4da274a1d 100644 --- a/engine/common/cmd.c +++ b/engine/common/cmd.c @@ -639,7 +639,7 @@ void Cmd_Alias_f (void) } } - // if the alias allready exists, reuse it + // if the alias already exists, reuse it for (a = cmd_alias ; a ; a=a->next) { if (!strcmp(s, a->name)) @@ -794,7 +794,7 @@ void Cmd_DeleteAlias(char *name) char *Cmd_AliasExist(char *name, int restrictionlevel) { cmdalias_t *a; - // if the alias allready exists, reuse it + // if the alias already exists, reuse it for (a = cmd_alias ; a ; a=a->next) { if (!strcmp(name, a->name)) diff --git a/engine/common/cvar.c b/engine/common/cvar.c index 7f2a181af..02e3aa1c8 100644 --- a/engine/common/cvar.c +++ b/engine/common/cvar.c @@ -417,7 +417,7 @@ void Cvar_Register (cvar_t *variable, const char *groupname) // copy the value off, because future sets will Z_Free it strcpy (value, variable->string); -// check to see if it has allready been defined +// check to see if it has already been defined old = Cvar_FindVar (variable->name); if (old) { @@ -450,7 +450,7 @@ void Cvar_Register (cvar_t *variable, const char *groupname) return; } - Con_Printf ("Can't register variable %s, allready defined\n", variable->name); + Con_Printf ("Can't register variable %s, already defined\n", variable->name); return; } diff --git a/engine/common/cvar.h b/engine/common/cvar.h index 26d85419e..cf671db9f 100644 --- a/engine/common/cvar.h +++ b/engine/common/cvar.h @@ -103,7 +103,7 @@ cvar_t *Cvar_Get (const char *var_name, const char *value, int flags, const char void Cvar_LockFromServer(cvar_t *var, const char *str); void Cvar_Register (cvar_t *variable, const char *cvargroup); -// registers a cvar that allready has the name, string, and optionally the +// registers a cvar that already has the name, string, and optionally the // archive elements set. //#define Cvar_RegisterVariable(x) Cvar_Register(x,__FILE__); diff --git a/engine/common/zone.c b/engine/common/zone.c index b739edee5..e3c54b797 100644 --- a/engine/common/zone.c +++ b/engine/common/zone.c @@ -1320,7 +1320,7 @@ void *Cache_Alloc (cache_user_t *c, int size, char *name) cache_system_t *nt; if (c->data) - Sys_Error ("Cache_Alloc: allready allocated"); + Sys_Error ("Cache_Alloc: already allocated"); if (size <= 0) Sys_Error ("Cache_Alloc: size %i", size); @@ -1717,7 +1717,7 @@ void *Cache_Alloc (cache_user_t *c, int size, char *name) cache_system_t *cs; if (c->data) - Sys_Error ("Cache_Alloc: allready allocated"); + Sys_Error ("Cache_Alloc: already allocated"); if (size <= 0) Sys_Error ("Cache_Alloc: size %i", size); diff --git a/engine/gl/gl_draw.c b/engine/gl/gl_draw.c index 02e23cc5f..9fe3cda38 100644 --- a/engine/gl/gl_draw.c +++ b/engine/gl/gl_draw.c @@ -3291,7 +3291,7 @@ int GL_LoadTexture (char *identifier, int width, int height, qbyte *data, qboole { gltexture_t *glt; - // see if the texture is allready present + // see if the texture is already present if (identifier[0]) { glt = GL_MatchTexture(identifier, 8, width, height); @@ -3332,7 +3332,7 @@ int GL_LoadTextureFB (char *identifier, int width, int height, qbyte *data, qboo int i; gltexture_t *glt; - // see if the texture is allready present + // see if the texture is already present if (identifier[0]) { glt = GL_MatchTexture(identifier, 8, width, height); @@ -3373,7 +3373,7 @@ int GL_LoadTexture8Pal24 (char *identifier, int width, int height, qbyte *data, { gltexture_t *glt; - // see if the texture is allready present + // see if the texture is already present if (identifier[0]) { glt = GL_MatchTexture(identifier, 24, width, height); @@ -3407,7 +3407,7 @@ int GL_LoadTexture8Pal32 (char *identifier, int width, int height, qbyte *data, { gltexture_t *glt; - // see if the texture is allready present + // see if the texture is already present if (identifier[0]) { glt = GL_MatchTexture(identifier, 32, width, height); @@ -3444,7 +3444,7 @@ int GL_LoadTexture32 (char *identifier, int width, int height, unsigned *data, q // int p, s; gltexture_t *glt; - // see if the texture is allready present + // see if the texture is already present if (identifier[0]) { glt = GL_MatchTexture(identifier, 32, width, height); @@ -3488,7 +3488,7 @@ int GL_LoadCompressed(char *name) return 0; - // see if the texture is allready present + // see if the texture is already present if (name[0]) { int num = GL_FindTexture(name); @@ -3530,7 +3530,7 @@ int GL_LoadTexture8Grey (char *identifier, int width, int height, unsigned char // int p, s; gltexture_t *glt; - // see if the texture is allready present + // see if the texture is already present if (identifier[0]) { glt = GL_MatchTexture(identifier, 8, width, height); @@ -3569,7 +3569,7 @@ int GL_LoadTexture8Bump (char *identifier, int width, int height, unsigned char // int p, s; gltexture_t *glt; - // see if the texture is allready present + // see if the texture is already present if (identifier[0]) { glt = GL_MatchTexture(identifier, 8, width, height); diff --git a/engine/gl/gl_model.c b/engine/gl/gl_model.c index 744ac513c..3a68bfa17 100644 --- a/engine/gl/gl_model.c +++ b/engine/gl/gl_model.c @@ -1102,7 +1102,7 @@ TRACE(("dbg: GLMod_LoadTextures: inittexturedescs\n")); if (!tx || tx->name[0] != '+') continue; if (tx->anim_next) - continue; // allready sequenced + continue; // already sequenced // find the number of frames in the animation memset (anims, 0, sizeof(anims)); diff --git a/engine/qclib/qcc.h b/engine/qclib/qcc.h index 8eb540030..c6a04fc5b 100644 --- a/engine/qclib/qcc.h +++ b/engine/qclib/qcc.h @@ -235,7 +235,7 @@ A profile counter is kept for each function, and incremented for each interprete afunc ( 4, bfunc(1,2,3)); -will fail because there is a shared parameter marshaling area, which will cause the 1 from bfunc to overwrite the 4 allready placed in parm0. When a function is called, it copies the parms from the globals into it's privately scoped variables, so there is no collision when calling another function. +will fail because there is a shared parameter marshaling area, which will cause the 1 from bfunc to overwrite the 4 already placed in parm0. When a function is called, it copies the parms from the globals into it's privately scoped variables, so there is no collision when calling another function. total = factorial(3) + factorial(4); Will fail because the return value from functions is held in a single global area. If this really gets on your nerves, tell me and I can work around it at a slight performance and space penalty by allocating a new register for the function call and copying it out. diff --git a/engine/server/pr_cmds.c b/engine/server/pr_cmds.c index 9b4c281ae..335973a43 100644 --- a/engine/server/pr_cmds.c +++ b/engine/server/pr_cmds.c @@ -2540,7 +2540,7 @@ Each entity can have eight independant sound sources, like voice, weapon, feet, etc. 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. Larger attenuations will drop off. diff --git a/engine/server/sv_main.c b/engine/server/sv_main.c index a4d8dcf02..d117eb060 100644 --- a/engine/server/sv_main.c +++ b/engine/server/sv_main.c @@ -857,7 +857,7 @@ void SVC_Log (void) seq = -1; if (seq == svs.logsequence-1 || !sv_fraglogfile) - { // they allready have this data, or we aren't logging frags + { // they already have this data, or we aren't logging frags data[0] = A2A_NACK; NET_SendPacket (NS_SERVER, 1, data, net_from); return; @@ -1412,7 +1412,7 @@ client_t *SVC_DirectConnect(void) Q_strncpyS (newcl->userinfo, userinfo[0], sizeof(newcl->userinfo)-1); newcl->userinfo[sizeof(newcl->userinfo)-1] = '\0'; - // if there is allready a slot for this ip, drop it + // if there is already a slot for this ip, drop it for (i=0,cl=svs.clients ; istate == cs_free) diff --git a/engine/server/sv_send.c b/engine/server/sv_send.c index 3e5fa4550..fabfaa4e6 100644 --- a/engine/server/sv_send.c +++ b/engine/server/sv_send.c @@ -717,7 +717,7 @@ Each entity can have eight independant sound sources, like voice, weapon, feet, etc. 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. Larger attenuations will drop off. (max 4 attenuation) diff --git a/engine/server/sv_user.c b/engine/server/sv_user.c index 3194cbd1b..340577959 100644 --- a/engine/server/sv_user.c +++ b/engine/server/sv_user.c @@ -611,7 +611,7 @@ void SV_PK3List_f (void) if (host_client->state != cs_connected) { //fixme: send prints instead - Con_Printf ("pk3list not valid -- allready spawned\n"); + Con_Printf ("pk3list not valid -- already spawned\n"); return; } @@ -678,7 +678,7 @@ void SV_Soundlist_f (void) if (host_client->state != cs_connected) { - Con_Printf ("soundlist not valid -- allready spawned\n"); + Con_Printf ("soundlist not valid -- already spawned\n"); return; } @@ -749,7 +749,7 @@ void SV_Modellist_f (void) if (host_client->state != cs_connected) { - Con_Printf ("modellist not valid -- allready spawned\n"); + Con_Printf ("modellist not valid -- already spawned\n"); return; } @@ -831,7 +831,7 @@ void SV_PreSpawn_f (void) if (host_client->state != cs_connected) { - Con_Printf ("prespawn not valid -- allready spawned\n"); + Con_Printf ("prespawn not valid -- already spawned\n"); return; } @@ -1074,7 +1074,7 @@ void SV_Spawn_f (void) if (host_client->state != cs_connected) { - Con_Printf ("Spawn not valid -- allready spawned\n"); + Con_Printf ("Spawn not valid -- already spawned\n"); return; } @@ -3042,7 +3042,7 @@ void SVNQ_Spawn_f (void) if (host_client->state != cs_connected) { - Con_Printf ("spawn not valid -- allready spawned\n"); + Con_Printf ("spawn not valid -- already spawned\n"); return; } @@ -3236,7 +3236,7 @@ void SVNQ_PreSpawn_f (void) int i, e; if (host_client->state != cs_connected) { - Con_Printf ("prespawn not valid -- allready spawned\n"); + Con_Printf ("prespawn not valid -- already spawned\n"); return; } diff --git a/engine/server/svmodel.c b/engine/server/svmodel.c index c9a675d43..58bc7ea20 100644 --- a/engine/server/svmodel.c +++ b/engine/server/svmodel.c @@ -403,7 +403,7 @@ void Mod_LoadTextures (lump_t *l) if (!tx || tx->name[0] != '+') continue; if (tx->anim_next) - continue; // allready sequenced + continue; // already sequenced // find the number of frames in the animation memset (anims, 0, sizeof(anims)); diff --git a/engine/sw/sw_model.c b/engine/sw/sw_model.c index 170e0849f..9e4bc6653 100644 --- a/engine/sw/sw_model.c +++ b/engine/sw/sw_model.c @@ -619,7 +619,7 @@ void SWMod_LoadTextures (lump_t *l) if (!tx || tx->name[0] != '+') continue; if (tx->anim_next) - continue; // allready sequenced + continue; // already sequenced // find the number of frames in the animation memset (anims, 0, sizeof(anims));