Merge pull request #65 from ckorn/typos

Fix typos
This commit is contained in:
Robert Beckebans 2014-02-18 09:56:44 +01:00
commit 71a62beaac
16 changed files with 24 additions and 24 deletions

View file

@ -5764,7 +5764,7 @@ bool idAI::UpdateAnimationControllers()
// Getting the joint positions causes the joints to be updated. The IK gets joint positions itself (which
// are already up to date because of getting the joints in this function) and then sets their positions, which
// forces the heirarchy to be updated again next time we get a joint or present the model. If IK is enabled,
// or if we have a seperate head, we end up transforming the joints twice per frame. Characters with no
// or if we have a separate head, we end up transforming the joints twice per frame. Characters with no
// head entity and no ik will only transform their joints once. Set g_debuganim to the current entity number
// in order to see how many times an entity transforms the joints per frame.
idActor::UpdateAnimationControllers();

View file

@ -1041,7 +1041,7 @@ bool idClass::ProcessEventArgPtr( const idEventDef* ev, intptr_t* data )
#if !CPU_EASYARGS
/*
on ppc architecture, floats are passed in a seperate set of registers
on ppc architecture, floats are passed in a separate set of registers
the function prototypes must have matching float declaration
http://developer.apple.com/documentation/DeveloperTools/Conceptual/MachORuntime/2rt_powerpc_abi/chapter_9_section_5.html

View file

@ -3482,7 +3482,7 @@ void idAFConstraint_Contact::ApplyFriction( float invTimeStep )
return;
}
// seperate friction per contact is silly but it's fast and often looks close enough
// separate friction per contact is silly but it's fast and often looks close enough
if( af_useImpulseFriction.GetBool() )
{
@ -7872,7 +7872,7 @@ void idPhysics_AF::BuildTrees()
if( trees.Num() > 1 )
{
gameLocal.Warning( "Articulated figure has multiple seperate tree structures for entity '%s' type '%s'.",
gameLocal.Warning( "Articulated figure has multiple separate tree structures for entity '%s' type '%s'.",
self->name.c_str(), self->GetType()->classname );
}

View file

@ -1252,7 +1252,7 @@ idVarDef* idCompiler::EmitFunctionParms( int op, idVarDef* func, int startarg, i
{
EmitOpcode( op, object, VirtualFunctionConstant( func ) );
// need arg size seperate since script object may be NULL
// need arg size separate since script object may be NULL
statement_t& statement = gameLocal.program.GetStatement( gameLocal.program.NumStatements() - 1 );
statement.c = SizeConstant( func->value.functionPtr->parmTotal );
}

View file

@ -476,7 +476,7 @@ typedef struct statement_s
idProgram
Handles compiling and storage of script data. Multiple idProgram objects
would represent seperate programs with no knowledge of each other. Scripts
would represent separate programs with no knowledge of each other. Scripts
meant to access shared data and functions should all be compiled by a
single idProgram.

View file

@ -1025,7 +1025,7 @@ bool idDeclAF::ParseBody( idLexer& src )
}
else
{
src.Error( "unkown model type %s", token.c_str() );
src.Error( "unknown model type %s", token.c_str() );
return false;
}
}

View file

@ -92,11 +92,11 @@ typedef enum
DS_PARSED
} declState_t;
const int DECL_LEXER_FLAGS = LEXFL_NOSTRINGCONCAT | // multiple strings seperated by whitespaces are not concatenated
const int DECL_LEXER_FLAGS = LEXFL_NOSTRINGCONCAT | // multiple strings separated by whitespaces are not concatenated
LEXFL_NOSTRINGESCAPECHARS | // no escape characters inside strings
LEXFL_ALLOWPATHNAMES | // allow path seperators in names
LEXFL_ALLOWMULTICHARLITERALS | // allow multi character literals
LEXFL_ALLOWBACKSLASHSTRINGCONCAT | // allow multiple strings seperated by '\' to be concatenated
LEXFL_ALLOWBACKSLASHSTRINGCONCAT | // allow multiple strings separated by '\' to be concatenated
LEXFL_NOFATALERRORS; // just set a flag instead of fatal erroring

View file

@ -452,7 +452,7 @@ bool idZipBuilder::CreateZipFileFromFiles( const idList< idFile_Memory* >& srcFi
// do not allow overwrite as this should be a tempfile attempt to check the file out
if( !Sys_IsFileWritable( zipFileName ) )
{
idLib::PrintfIf( zip_verbosity.GetBool(), "File %s not writeable, cannot proceed.\n", zipFileName.c_str() );
idLib::PrintfIf( zip_verbosity.GetBool(), "File %s not writable, cannot proceed.\n", zipFileName.c_str() );
return false;
}
@ -549,7 +549,7 @@ zipFile idZipBuilder::CreateZipFile( const char* name )
// do not allow overwrite as this should be a tempfile attempt to check the file out
if( !Sys_IsFileWritable( name ) )
{
idLib::PrintfIf( zip_verbosity.GetBool(), "File %s not writeable, cannot proceed.\n", name );
idLib::PrintfIf( zip_verbosity.GetBool(), "File %s not writable, cannot proceed.\n", name );
return NULL;
}

View file

@ -67,7 +67,7 @@ public:
// Takes a null terminated string and breaks the string up into arg tokens.
// Does not need to be /n terminated.
// Set keepAsStrings to true to only seperate tokens from whitespace and comments, ignoring punctuation
// Set keepAsStrings to true to only separate tokens from whitespace and comments, ignoring punctuation
void TokenizeString( const char* text, bool keepAsStrings );
void AppendArg( const char* text );

View file

@ -207,7 +207,7 @@ const char* idLexer::GetPunctuationFromId( int id )
return idLexer::punctuations[i].p;
}
}
return "unkown punctuation";
return "unknown punctuation";
}
/*
@ -755,7 +755,7 @@ int idLexer::ReadName( idToken* token )
( c >= 'A' && c <= 'Z' ) ||
( c >= '0' && c <= '9' ) ||
c == '_' ||
// if treating all tokens as strings, don't parse '-' as a seperate token
// if treating all tokens as strings, don't parse '-' as a separate token
( ( idLexer::flags & LEXFL_ONLYSTRINGS ) && ( c == '-' ) ) ||
// if special path name characters are allowed
( ( idLexer::flags & LEXFL_ALLOWPATHNAMES ) && ( c == '/' || c == '\\' || c == ':' || c == '.' ) ) );

View file

@ -51,7 +51,7 @@ typedef enum
LEXFL_NOERRORS = BIT( 0 ), // don't print any errors
LEXFL_NOWARNINGS = BIT( 1 ), // don't print any warnings
LEXFL_NOFATALERRORS = BIT( 2 ), // errors aren't fatal
LEXFL_NOSTRINGCONCAT = BIT( 3 ), // multiple strings seperated by whitespaces are not concatenated
LEXFL_NOSTRINGCONCAT = BIT( 3 ), // multiple strings separated by whitespaces are not concatenated
LEXFL_NOSTRINGESCAPECHARS = BIT( 4 ), // no escape characters inside strings
LEXFL_NODOLLARPRECOMPILE = BIT( 5 ), // don't use the $ sign for precompilation
LEXFL_NOBASEINCLUDES = BIT( 6 ), // don't include files embraced with < >
@ -60,7 +60,7 @@ typedef enum
LEXFL_ALLOWIPADDRESSES = BIT( 9 ), // allow ip addresses to be parsed as numbers
LEXFL_ALLOWFLOATEXCEPTIONS = BIT( 10 ), // allow float exceptions like 1.#INF or 1.#IND to be parsed
LEXFL_ALLOWMULTICHARLITERALS = BIT( 11 ), // allow multi character literals
LEXFL_ALLOWBACKSLASHSTRINGCONCAT = BIT( 12 ), // allow multiple strings seperated by '\' to be concatenated
LEXFL_ALLOWBACKSLASHSTRINGCONCAT = BIT( 12 ), // allow multiple strings separated by '\' to be concatenated
LEXFL_ONLYSTRINGS = BIT( 13 ) // parse as whitespace deliminated strings (quoted strings keep quotes)
} lexerFlags_t;

View file

@ -3720,7 +3720,7 @@ const char* idParser::GetPunctuationFromId( int id )
return idParser::punctuations[i].p;
}
}
return "unkown punctuation";
return "unknown punctuation";
}
/*

View file

@ -363,7 +363,7 @@ typedef void ALvoid;
/** No error. */
#define AL_NO_ERROR 0
/** Invalid name paramater passed to AL call. */
/** Invalid name parameter passed to AL call. */
#define AL_INVALID_NAME 0xA001
/** Invalid enum parameter passed to AL call. */

View file

@ -677,7 +677,7 @@ void idSWFSpriteInstance::PlayFrame( const idSWFParmList& parms )
}
else
{
idLib::Warning( "gotoAndPlay: expected 1 paramater" );
idLib::Warning( "gotoAndPlay: expected 1 parameter" );
}
}
@ -702,7 +702,7 @@ void idSWFSpriteInstance::StopFrame( const idSWFParmList& parms )
}
else
{
idLib::Warning( "gotoAndStop: expected 1 paramater" );
idLib::Warning( "gotoAndStop: expected 1 parameter" );
}
}
@ -1161,7 +1161,7 @@ SWF_SPRITE_FUNCTION_DEFINE( gotoAndPlay )
}
else
{
idLib::Warning( "gotoAndPlay: expected 1 paramater" );
idLib::Warning( "gotoAndPlay: expected 1 parameter" );
}
return idSWFScriptVar();
}
@ -1185,7 +1185,7 @@ SWF_SPRITE_FUNCTION_DEFINE( gotoAndStop )
}
else
{
idLib::Warning( "gotoAndStop: expected 1 paramater" );
idLib::Warning( "gotoAndStop: expected 1 parameter" );
}
return idSWFScriptVar();
}

View file

@ -315,7 +315,7 @@ bool GLimp_Init( glimpParms_t parms )
*/
#if SDL_VERSION_ATLEAST(2, 0, 0)
// SDL1 doesn't support multiple displays, so the source is much shorter and doesn't need seperate functions
// SDL1 doesn't support multiple displays, so the source is much shorter and doesn't need separate functions
// makes sure the window will be full-screened on the right display and returns the SDL display index
static int ScreenParmsHandleDisplayIndex( glimpParms_t parms )
{

View file

@ -1563,7 +1563,7 @@ bool idSessionLocal::State_Game_State_Lobby_Peer()
idBitMsg msg( buffer, sizeof( buffer ) );
// Write match paramaters to the game state host, and tell him to start
// Write match parameters to the game state host, and tell him to start
GetGameLobby().parms.Write( msg );
// Tell the game state lobby host we are ready