Skip to content

Commit

Permalink
Fix some typos
Browse files Browse the repository at this point in the history
{compability,compabiltiy} => compatibility
{availiable,availiavle} => available
interal => internal
  • Loading branch information
EXL committed Oct 26, 2018
1 parent 5fc42fb commit 94bd3c8
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The multiplayer part is not yet completed, multiplayer mods should work just
fine, but bear in mind that some features may not work at all or work not
exactly the way they do in Gold Source Engine.

Xash3D FWGS is a fork of Xash3D Engine, which aims on crossplatform and compability
Xash3D FWGS is a fork of Xash3D Engine, which aims on crossplatform and compatibility
with original Xash3D and Gold Source.

- [Building and running Xash3D FWGS](https://github.com/FWGS/xash3d/wiki/Building-and-running)
Expand Down
2 changes: 1 addition & 1 deletion cmake/VSForceXPToolchain.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ if(WIN32)
set(CMAKE_GENERATOR_TOOLSET "v141_xp" CACHE STRING "CMAKE_GENERATOR_TOOLSET" FORCE)
set(CMAKE_VS_PLATFORM_TOOLSET "v141_xp" CACHE STRING "CMAKE_VS_PLATFORM_TOOLSET" FORCE)
else()
message(WARNING "WARNING: You maybe building without Windows XP compability. See which toolchain version Visual Studio provides, and say cmake to use it: cmake -G \"Visual Studio XX\" -T \"vXXX_xp\"")
message(WARNING "WARNING: You maybe building without Windows XP compatibility. See which toolchain version Visual Studio provides, and say cmake to use it: cmake -G \"Visual Studio XX\" -T \"vXXX_xp\"")
endif()
endif()
endif()
4 changes: 2 additions & 2 deletions engine/client/gl_rsurf.c
Original file line number Diff line number Diff line change
Expand Up @@ -2217,7 +2217,7 @@ static void R_DisableDetail( void )
===================
R_EnableDetail
enable detail tmu if availiable
enable detail tmu if available
===================
*/
static void R_EnableDetail( void )
Expand Down Expand Up @@ -2300,7 +2300,7 @@ static void R_DisableBump()
mtst.tmu_lm = XASH_TEXTURE1;
mtst.tmu_gl = XASH_TEXTURE0;

// now details availiable on tmu2
// now details available on tmu2
if( mtst.details_enabled )
mtst.tmu_dt = XASH_TEXTURE2;
}
Expand Down
4 changes: 2 additions & 2 deletions engine/client/s_dsp.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ convar_t *sxdly_lp; // lowpass
convar_t *sxdly_feedback; // cycles
convar_t *sxdly_delay; // current delay in seconds

convar_t *dsp_room; // for compability
convar_t *dsp_room; // for compatibility
convar_t *hisound;
int idsp_room;

Expand Down Expand Up @@ -220,7 +220,7 @@ void SX_Init( void )

Cmd_AddCommand( "dsp_profile", SX_Profiling_f, "dsp stress-test, first argument is room_type" );

// for compability
// for compatibility
dsp_room = room_type;
SX_ReloadRoomFX();
}
Expand Down
2 changes: 1 addition & 1 deletion engine/client/vgui/vgui_draw.c
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ void VGui_Startup( int width, int height )
F( &vgui );
vgui.initialized = true;
VGUI_InitCursors();
MsgDev( D_INFO, "vgui_support: found interal client support\n" );
MsgDev( D_INFO, "vgui_support: found internal client support\n" );
}
}
#endif // XASH_INTERNAL_GAMELIBS
Expand Down
2 changes: 1 addition & 1 deletion engine/common/build.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ const char *Q_buildcommit( void )
=============
Q_buildnum_compat
Returns a Xash3D build number. This is left for compability with original Xash3D.
Returns a Xash3D build number. This is left for compatibility with original Xash3D.
IMPORTANT: this value must be changed ONLY after updating to newer Xash3D
IMPORTANT: this value must be acquired through "build" cvar.
=============
Expand Down
2 changes: 1 addition & 1 deletion engine/common/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ typedef enum
#include "base_cmd.h"

#define XASH_VERSION "0.19.3" // engine current version
// since this fork have own version, this is just left for compability
// since this fork have own version, this is just left for compatibility
#define BASED_VERSION 0.98f

// generic update page, see ShellExecute
Expand Down
6 changes: 3 additions & 3 deletions engine/common/host.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ void Sys_PrintUsage( void )
#endif
#endif
" [options] [+command1] [+command2 arg]\n"
"Availiable options:\n"
"Available options:\n"
O("-dev <level> ","set developer level")
O("-log ","write log to \"engine.log\"")
O("-toconsole ","start witn console open")
Expand Down Expand Up @@ -1262,8 +1262,8 @@ int EXPORT Host_Main( int argc, const char **argv, const char *progname, int bCh
host_limitlocal = Cvar_Get( "host_limitlocal", "0", 0, "apply cl_cmdrate and rate to loopback connection" );
con_gamemaps = Cvar_Get( "con_mapfilter", "1", CVAR_ARCHIVE, "when enabled, show only maps in game folder (no maps from base folder when running mod)" );
download_types = Cvar_Get( "download_types", "msec", CVAR_ARCHIVE, "list of types to download: Model, Sounds, Events, Custom" );
build = Cvar_Get( "build", va( "%i", Q_buildnum_compat()), CVAR_INIT, "returns an original xash3d build number. left for compability" );
ver = Cvar_Get( "ver", va( "%i/%g.%i", PROTOCOL_VERSION, BASED_VERSION, Q_buildnum_compat( ) ), CVAR_INIT, "shows an engine version. left for compabiltiy" );
build = Cvar_Get( "build", va( "%i", Q_buildnum_compat()), CVAR_INIT, "returns an original xash3d build number. left for compatibility" );
ver = Cvar_Get( "ver", va( "%i/%g.%i", PROTOCOL_VERSION, BASED_VERSION, Q_buildnum_compat( ) ), CVAR_INIT, "shows an engine version. left for compatibility" );
host_build = Cvar_Get( "host_build", va("%i", Q_buildnum() ), CVAR_INIT, "returns current build number" );
host_ver = Cvar_Get( "host_ver", va("%i %s %s %s %s", Q_buildnum(), XASH_VERSION, Q_buildos(), Q_buildarch(), Q_buildcommit() ), CVAR_INIT, "detailed info about this build" );
host_mapdesign_fatal = Cvar_Get( "host_mapdesign_fatal", "1", CVAR_ARCHIVE, "make map design errors fatal" );
Expand Down
2 changes: 1 addition & 1 deletion engine/common/library.c
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ void *Com_LoadLibrary( const char *dllname, int build_ordinals_table )
Com_PushLibraryError( dlerror() );
}

// HACKHACK: keep old behaviour for compability
// HACKHACK: keep old behaviour for compatibility
pHandle = dlopen( dllname, RTLD_NOW );
if( pHandle )
return pHandle;
Expand Down
2 changes: 1 addition & 1 deletion engine/platform/emscripten/shell.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
<input name=a type=radio id=rLocalStorage />LocalStorage (Sometimes not enough space)<br>
<input name=a type=radio id=rNone checked=true />None(in RAM)<br>
Select game data source:<br>
<div id=pkgHider style=display:none><input name=b type=radio id=rPackage checked=true />Emscripten package from server (cached in IndexedDB if availiable)<select id=selectPkg style=display:none></select><br></div>
<div id=pkgHider style=display:none><input name=b type=radio id=rPackage checked=true />Emscripten package from server (cached in IndexedDB if available)<select id=selectPkg style=display:none></select><br></div>
<div id=zipHider style=display:none><input name=b type=radio id=rZip />ZIP archive from server (slower, but smaller, no IndexedDB cache)<select id=selectZip style=display:none></select><br></div>
<input name=b type=radio id=rLocalZip />Local ZIP file:<input type=file name=c id=iZipFile /><br>
Command-line arguments: <input name=d type=text id=iArgs /><br>
Expand Down
2 changes: 1 addition & 1 deletion engine/server/sv_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -2941,7 +2941,7 @@ void SV_EntFire_f( sv_client_t *cl )
}
else if( !Q_stricmp( Cmd_Argv( 2 ), "help" ) )
{
SV_ClientPrintf( cl, PRINT_LOW, "Availiavle commands:\n"
SV_ClientPrintf( cl, PRINT_LOW, "Available commands:\n"
"Set fields:\n"
" (Only set entity field, does not call any functions)\n"
" health\n"
Expand Down

0 comments on commit 94bd3c8

Please sign in to comment.