Skip to content

Commit 94bd3c8

Browse files
committed
Fix some typos
{compability,compabiltiy} => compatibility {availiable,availiavle} => available interal => internal
1 parent 5fc42fb commit 94bd3c8

File tree

11 files changed

+15
-15
lines changed

11 files changed

+15
-15
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The multiplayer part is not yet completed, multiplayer mods should work just
1212
fine, but bear in mind that some features may not work at all or work not
1313
exactly the way they do in Gold Source Engine.
1414

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

1818
- [Building and running Xash3D FWGS](https://github.com/FWGS/xash3d/wiki/Building-and-running)

cmake/VSForceXPToolchain.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ if(WIN32)
2323
set(CMAKE_GENERATOR_TOOLSET "v141_xp" CACHE STRING "CMAKE_GENERATOR_TOOLSET" FORCE)
2424
set(CMAKE_VS_PLATFORM_TOOLSET "v141_xp" CACHE STRING "CMAKE_VS_PLATFORM_TOOLSET" FORCE)
2525
else()
26-
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\"")
26+
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\"")
2727
endif()
2828
endif()
2929
endif()

engine/client/gl_rsurf.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -2217,7 +2217,7 @@ static void R_DisableDetail( void )
22172217
===================
22182218
R_EnableDetail
22192219
2220-
enable detail tmu if availiable
2220+
enable detail tmu if available
22212221
===================
22222222
*/
22232223
static void R_EnableDetail( void )
@@ -2300,7 +2300,7 @@ static void R_DisableBump()
23002300
mtst.tmu_lm = XASH_TEXTURE1;
23012301
mtst.tmu_gl = XASH_TEXTURE0;
23022302

2303-
// now details availiable on tmu2
2303+
// now details available on tmu2
23042304
if( mtst.details_enabled )
23052305
mtst.tmu_dt = XASH_TEXTURE2;
23062306
}

engine/client/s_dsp.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ convar_t *sxdly_lp; // lowpass
139139
convar_t *sxdly_feedback; // cycles
140140
convar_t *sxdly_delay; // current delay in seconds
141141

142-
convar_t *dsp_room; // for compability
142+
convar_t *dsp_room; // for compatibility
143143
convar_t *hisound;
144144
int idsp_room;
145145

@@ -220,7 +220,7 @@ void SX_Init( void )
220220

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

223-
// for compability
223+
// for compatibility
224224
dsp_room = room_type;
225225
SX_ReloadRoomFX();
226226
}

engine/client/vgui/vgui_draw.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ void VGui_Startup( int width, int height )
244244
F( &vgui );
245245
vgui.initialized = true;
246246
VGUI_InitCursors();
247-
MsgDev( D_INFO, "vgui_support: found interal client support\n" );
247+
MsgDev( D_INFO, "vgui_support: found internal client support\n" );
248248
}
249249
}
250250
#endif // XASH_INTERNAL_GAMELIBS

engine/common/build.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ const char *Q_buildcommit( void )
152152
=============
153153
Q_buildnum_compat
154154
155-
Returns a Xash3D build number. This is left for compability with original Xash3D.
155+
Returns a Xash3D build number. This is left for compatibility with original Xash3D.
156156
IMPORTANT: this value must be changed ONLY after updating to newer Xash3D
157157
IMPORTANT: this value must be acquired through "build" cvar.
158158
=============

engine/common/common.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ typedef enum
169169
#include "base_cmd.h"
170170

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

175175
// generic update page, see ShellExecute

engine/common/host.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ void Sys_PrintUsage( void )
8585
#endif
8686
#endif
8787
" [options] [+command1] [+command2 arg]\n"
88-
"Availiable options:\n"
88+
"Available options:\n"
8989
O("-dev <level> ","set developer level")
9090
O("-log ","write log to \"engine.log\"")
9191
O("-toconsole ","start witn console open")
@@ -1262,8 +1262,8 @@ int EXPORT Host_Main( int argc, const char **argv, const char *progname, int bCh
12621262
host_limitlocal = Cvar_Get( "host_limitlocal", "0", 0, "apply cl_cmdrate and rate to loopback connection" );
12631263
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)" );
12641264
download_types = Cvar_Get( "download_types", "msec", CVAR_ARCHIVE, "list of types to download: Model, Sounds, Events, Custom" );
1265-
build = Cvar_Get( "build", va( "%i", Q_buildnum_compat()), CVAR_INIT, "returns an original xash3d build number. left for compability" );
1266-
ver = Cvar_Get( "ver", va( "%i/%g.%i", PROTOCOL_VERSION, BASED_VERSION, Q_buildnum_compat( ) ), CVAR_INIT, "shows an engine version. left for compabiltiy" );
1265+
build = Cvar_Get( "build", va( "%i", Q_buildnum_compat()), CVAR_INIT, "returns an original xash3d build number. left for compatibility" );
1266+
ver = Cvar_Get( "ver", va( "%i/%g.%i", PROTOCOL_VERSION, BASED_VERSION, Q_buildnum_compat( ) ), CVAR_INIT, "shows an engine version. left for compatibility" );
12671267
host_build = Cvar_Get( "host_build", va("%i", Q_buildnum() ), CVAR_INIT, "returns current build number" );
12681268
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" );
12691269
host_mapdesign_fatal = Cvar_Get( "host_mapdesign_fatal", "1", CVAR_ARCHIVE, "make map design errors fatal" );

engine/common/library.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ void *Com_LoadLibrary( const char *dllname, int build_ordinals_table )
202202
Com_PushLibraryError( dlerror() );
203203
}
204204

205-
// HACKHACK: keep old behaviour for compability
205+
// HACKHACK: keep old behaviour for compatibility
206206
pHandle = dlopen( dllname, RTLD_NOW );
207207
if( pHandle )
208208
return pHandle;

engine/platform/emscripten/shell.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
<input name=a type=radio id=rLocalStorage />LocalStorage (Sometimes not enough space)<br>
9292
<input name=a type=radio id=rNone checked=true />None(in RAM)<br>
9393
Select game data source:<br>
94-
<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>
94+
<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>
9595
<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>
9696
<input name=b type=radio id=rLocalZip />Local ZIP file:<input type=file name=c id=iZipFile /><br>
9797
Command-line arguments: <input name=d type=text id=iArgs /><br>

engine/server/sv_client.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2941,7 +2941,7 @@ void SV_EntFire_f( sv_client_t *cl )
29412941
}
29422942
else if( !Q_stricmp( Cmd_Argv( 2 ), "help" ) )
29432943
{
2944-
SV_ClientPrintf( cl, PRINT_LOW, "Availiavle commands:\n"
2944+
SV_ClientPrintf( cl, PRINT_LOW, "Available commands:\n"
29452945
"Set fields:\n"
29462946
" (Only set entity field, does not call any functions)\n"
29472947
" health\n"

0 commit comments

Comments
 (0)