diff --git a/INSTALL b/INSTALL index 7d87cc483..69c87ccb8 100644 --- a/INSTALL +++ b/INSTALL @@ -27,7 +27,7 @@ Basic process to build and install QuakeForge: You may want to check `./configure --help` and select options. -To only build and install the quakeworld server: +To build and install only the quakeworld server: ./bootstrap ./configure --without-clients --without-tools --with-servers=qw make install diff --git a/NEWS b/NEWS index 41668e4af..3cb9dfc02 100644 --- a/NEWS +++ b/NEWS @@ -239,7 +239,7 @@ Changes from 0.5.2 * X11 (nq-x11 and qw-client-x11) no longer hangs on 32bpp displays * new `view' system giving easier to control hud elements, centered menus and locatable scoreboard (hud_scoreboard_gravity) - * OSS sound driver fixes: some kernel drivers need write only access, + * OSS sound driver fixes: some kernel drivers need write-only access, others need read/write * able to load/unload semi-arbitrary plug-ins using console commands * streaming for large sound files (eg., full length oggs) @@ -262,7 +262,7 @@ Changes from 0.5.2 * remote screen shots work * curses console no longer default * more key-names supported - * Matthew Wong's bsp2bmp `imported' as bsp2img. pcx output only + * Matthew Wong's bsp2bmp `imported' as bsp2img. only pcx output currently. * console operator chat messages get echoed * BSD fseek bug fixed @@ -427,7 +427,7 @@ Changes from 0.3.0 * See gib.html in doc for more information. o Enhanced time cheat ("speed cheat") protection - * Time cheats only work for a split-second before protection + * Time cheats work for only a split-second before protection kicks in. * Players moving with wrong timings are sped up/slowed down to the correct speed. diff --git a/README.cygwin b/README.cygwin index c90cb0e50..146988522 100644 --- a/README.cygwin +++ b/README.cygwin @@ -34,7 +34,7 @@ Let us know how it works for you. NOTE: At the time of writing qw-server.exe was not working correctly. Please refrain from using it unless you are willing to fix it. -Special Note: QuakeForge only supplies our own version of the programs for Quake. To get the game data, you still need to have purchased Quake or get the shareware version from Id Software. +Special Note: QuakeForge supplies only our own version of the programs for Quake. To get the game data, you still need to have purchased Quake or get the shareware version from Id Software. Chris Ison (WildCode) for QuakeForge March 11, 2003 diff --git a/configure.ac b/configure.ac index 11cf8e97b..8924ffd90 100644 --- a/configure.ac +++ b/configure.ac @@ -450,7 +450,7 @@ AC_TRY_COMPILE( AC_MSG_RESULT(no) ) -dnl maybe these two (at least the 2nd) should only be checked if ipv6 is enabled? +dnl maybe these two (at least the 2nd) should be checked only if ipv6 is enabled? AC_MSG_CHECKING(for ss_len in struct sockaddr_storage) AC_TRY_COMPILE( [#include diff --git a/debian/control b/debian/control index a81000db7..87a27c26e 100644 --- a/debian/control +++ b/debian/control @@ -15,7 +15,7 @@ Description: QuakeForge 3D game engine - Fake package remain compatible with the original games released by id Software while adding portability and optional extensions to enhance gameplay. . - This package only exists to depend on a client and suggest a server. + This package exists only to depend on a client and suggest a server. Package: quakeforge-common Architecture: any diff --git a/doc/bind.txt b/doc/bind.txt index 10a77c57b..a7a43c132 100644 --- a/doc/bind.txt +++ b/doc/bind.txt @@ -19,7 +19,7 @@ This is actually by design. Yeah, I've been busy of late (finally got back into the swing of things:). -> Should the console only be capturing certain keys? or everything? +> Should the console be capturing only certain keys? or everything? Well, the console /is/ capturing the keys. They're just not bound to any action. qf 0.5 has a rather powerful key binding system (thanks to Mercury) diff --git a/doc/data/docs/install b/doc/data/docs/install index bf317c1d4..b05aeba8a 100644 --- a/doc/data/docs/install +++ b/doc/data/docs/install @@ -64,7 +64,7 @@ glX support. Requirements for X11 Quake: -- X11R5 later, only tested with XFree86, should work with most X Servers +- X11R5 later, tested only with XFree86, should work with most X Servers - libc 5.2.18 or later (5.0.9 will not work, /lib/libc.so.5.2.18) or glibc (libc6) for the glibc version - CD-ROM for CDAudio @@ -79,7 +79,7 @@ Additional notes for SVGALib Quake ---------------------------------- SVGALib may not detect a 3-button mouse properly (it -will only use two buttons). Check your /etc/vga/libvga.config +will use only two buttons). Check your /etc/vga/libvga.config and set it up for your mouse type. Also, newer versions of SVGALib have an mouse_accel_type option. Most diff --git a/doc/data/docs/install.quake b/doc/data/docs/install.quake index bf317c1d4..b05aeba8a 100644 --- a/doc/data/docs/install.quake +++ b/doc/data/docs/install.quake @@ -64,7 +64,7 @@ glX support. Requirements for X11 Quake: -- X11R5 later, only tested with XFree86, should work with most X Servers +- X11R5 later, tested only with XFree86, should work with most X Servers - libc 5.2.18 or later (5.0.9 will not work, /lib/libc.so.5.2.18) or glibc (libc6) for the glibc version - CD-ROM for CDAudio @@ -79,7 +79,7 @@ Additional notes for SVGALib Quake ---------------------------------- SVGALib may not detect a 3-button mouse properly (it -will only use two buttons). Check your /etc/vga/libvga.config +will use only two buttons). Check your /etc/vga/libvga.config and set it up for your mouse type. Also, newer versions of SVGALib have an mouse_accel_type option. Most diff --git a/doc/data/docs/install.quake2 b/doc/data/docs/install.quake2 index 6339c76cf..39463f8ae 100644 --- a/doc/data/docs/install.quake2 +++ b/doc/data/docs/install.quake2 @@ -128,7 +128,7 @@ And the ref_soft.so and ref_gl.so files must owned by root. The file /etc/quake2.conf must be installed. This file contains a single line with the path of where the ref shared libraries can be found. A sample one is included that lists /usr/games/quake2 as the default -path. The libraries are only loaded out of the directory listed in +path. The libraries are loaded out of only the directory listed in /etc/quake2.conf for security considerations. Special permissions are not required for the softx renderer, but quake2 may diff --git a/doc/data/docs/readme b/doc/data/docs/readme index ee5a22d5c..35aa77776 100644 --- a/doc/data/docs/readme +++ b/doc/data/docs/readme @@ -36,7 +36,7 @@ glX support. Requirements for X11 Quake: -- X11R5 later, only tested with XFree86, should work with most X Servers +- X11R5 later, tested with only XFree86, should work with most X Servers - libc 5.2.18 or later (5.0.9 will not work, /lib/libc.so.5.2.18) or glibc (libc6) for the glibc version - CD-ROM for CDAudio @@ -51,7 +51,7 @@ Additional notes for SVGALib Quake ---------------------------------- SVGALib may not detect a 3-button mouse properly (it -will only use two buttons). Check your /etc/vga/libvga.config +will use only two buttons). Check your /etc/vga/libvga.config and set it up for your mouse type. Additional notes for GLQuake diff --git a/doc/data/docs/readme.glquake b/doc/data/docs/readme.glquake index 385625f03..46c20e3a8 100644 --- a/doc/data/docs/readme.glquake +++ b/doc/data/docs/readme.glquake @@ -73,10 +73,10 @@ There are several options that let you trade off visual quality for better performance. There is no way to flush already loaded textures, so it is best to change -these options on the command line, or they will only take effect on some of +these options on the command line, or they will take effect on only some of the textures when you change levels. -OpenGL only allows textures to repeat on power of two boundaries (32, 64, +OpenGL allows textures to repeat only on power of two boundaries (32, 64, 128, etc), but software quake had a number of textures that repeated at 24 or 96 pixel boundaries. These need to be either stretched out to the next higher size, or shrunk down to the next lower. By default, they are filtered @@ -95,7 +95,7 @@ This makes them blurry, but very small. You can set this to 2 to make the textures one quarter the resolution on each axis for REALLY blurry textures. glquake +gl_playermip 1 -This is similar to picmip, but is only used for other players in deathmatch. +This is similar to picmip, but is used only for other players in deathmatch. Each player in a deathmatch requires an individual skin texture, so this can be a serious problem for texture management. It wouldn't be unreasonable to set this to 2 or even 3 if you are playing competatively (and don't care if diff --git a/doc/data/docs/readme.squake b/doc/data/docs/readme.squake index 3d4ba918d..496cd4f3f 100644 --- a/doc/data/docs/readme.squake +++ b/doc/data/docs/readme.squake @@ -24,7 +24,7 @@ Full sound support is included. The default sound rate is 16-bit stereo, 11KHz. You can change this in the options section below. Mouse works great, but SVGALib may not detect a 3-button mouse properly (it -will only use two buttons). Check your /etc/libvga.config (or +will use only two buttons). Check your /etc/libvga.config (or /etc/vga/libvga.config for SlackWare users). **Version 1.1 fixes some crash bugs with the mission packs. diff --git a/doc/data/docs/readme.x11 b/doc/data/docs/readme.x11 index b7a1667cb..92b1af794 100644 --- a/doc/data/docs/readme.x11 +++ b/doc/data/docs/readme.x11 @@ -4,7 +4,7 @@ README for Linux SVGALib Quake Requirements: -- X11R5 later, only tested with XFree86, should work with most X Servers +- X11R5 later, tested with only XFree86, should work with most X Servers - libc 5.2.18 or later (5.0.9 will not work, /lib/libc.so.5.2.18) - CD-ROM for CDAudio - Soundcard capable of mmap'd buffers. USSLite 3.5.4 was used to build squake diff --git a/doc/gib/GIB.lyx b/doc/gib/GIB.lyx index b65c58c1e..fd2e67d3b 100644 --- a/doc/gib/GIB.lyx +++ b/doc/gib/GIB.lyx @@ -518,7 +518,7 @@ program blocks , or groups of GIB commands. To facilitate readable formatting of code, line breaks are allowed within curly braces. - Curly braces should only be used where GIB code is appropriate, such as + Curly braces should be used only where GIB code is appropriate, such as in a loop or function definitions. Arguments in curly braces \emph on @@ -715,7 +715,7 @@ A new argument is created in the command for each element of an array or each key in a hash. \layout Standard -Note that console variables cannot be expanded, as they may only hold one +Note that console variables cannot be expanded, as they may hold only one value. \layout Subsection @@ -762,7 +762,7 @@ To embed the value of a console variable in an argument, include the name $ \family default ). - This only works within normal arguments or parenthesis-enclosed arguments. + This works only within normal arguments or parenthesis-enclosed arguments. Examples: \layout LyX-Code diff --git a/doc/old/QF-HOWTO b/doc/old/QF-HOWTO index 74c5da7de..d8d3e3ed2 100644 --- a/doc/old/QF-HOWTO +++ b/doc/old/QF-HOWTO @@ -136,7 +136,7 @@ and copy id1/*.pak to it. ( will be /usr/local/ by default) Example: $ cd $ mkdir -p share/games/quakeforge/id1/ -(Note: the -p option is only avaible on systems with GNU-fileutils, make the +(Note: the -p option is avaible only on systems with GNU-fileutils, make the missing parent-directorys manually if -p switch fails) $ cp /id1/*.pak /share/games/quakeforge/id1/ diff --git a/doc/old/glqnotes.txt b/doc/old/glqnotes.txt index 22240724c..45fd3d20b 100644 --- a/doc/old/glqnotes.txt +++ b/doc/old/glqnotes.txt @@ -19,7 +19,7 @@ by well under one frame per second. 3dfx has provided an opengl32.dll that implements everything glquake needs, but it is not a full opengl implementation. Other opengl applications are very unlikely to work with it, so consider it basically a "glquake driver". -See the encluded 3dfx.txt for specific instalation notes. 3dfx can only run +See the encluded 3dfx.txt for specific instalation notes. 3dfx can run only full screen, but you must still have your desktop set to a 16 bit color mode for glquake to start. @@ -27,7 +27,7 @@ resolution options ------------------ We had dynamic resolution changing in glquake for a while, but every single opengl driver I tried it on messed up in one way or another, so it is now -limited to startup time only. +limited to only startup time. glquake -window This will start glquake in a window on your desktop instead of switching the @@ -59,10 +59,10 @@ There are several options that let you trade off visual quality for better performance. There is no way to flush already loaded textures, so it is best to change -these options on the command line, or they will only take effect on some of +these options on the command line, or they will take effect on only some of the textures when you change levels. -OpenGL only allows textures to repeat on power of two boundaries (32, 64, +OpenGL allows textures to repeat only on power of two boundaries (32, 64, 128, etc), but software quake had a number of textures that repeated at 24 or 96 pixel boundaries. These need to be either stretched out to the next higher size, or shrunk down to the next lower. By default, they are filtered @@ -81,7 +81,7 @@ This makes them blurry, but very small. You can set this to 2 to make the textures one quarter the resolution on each axis for REALLY blurry textures. glquake +gl_playermip 1 -This is similar to picmip, but is only used for other players in deathmatch. +This is similar to picmip, but is used only for other players in deathmatch. Each player in a deathmatch requires an individual skin texture, so this can be a serious problem for texture management. It wouldn't be unreasonable to set this to 2 or even 3 if you are playing competatively (and don't care if diff --git a/doc/old/wqreadme.txt b/doc/old/wqreadme.txt index 9ba2f1b67..640a66d04 100644 --- a/doc/old/wqreadme.txt +++ b/doc/old/wqreadme.txt @@ -20,8 +20,8 @@ report at http://www.idsoftware.com/contact/. The material accompanying Quake is the reference for all non-Windows-related matters concerning WinQuake; in terms of gameplay, -WQ is the same as Quake. This file contains Windows-related -information only. +WQ is the same as Quake. This file contains only Windows-related +information. The rest of this document is organized as follows: @@ -138,7 +138,7 @@ To use the joystick, you must bring down the console by pressing the tilde ('~') key, and type "joystick 1"; you can disable the joystick with "joystick 0" at any time. The joystick setting remains in effect for subsequent WinQuake sessions until changed, so -you only need to do joystick 1 once to enable the joystick. If the +you need to do joystick 1 only once to enable the joystick. If the joystick somehow causes problems that keep you from being able to run WinQuake at all, you can start WinQuake -nojoy to complete disable the joystick for that session. @@ -446,13 +446,13 @@ forced them to disable the joystick--even some people who didn't have a joystick attached. Since most people don't have joysticks, we've decided to disable the joystick by default, and let people who do want to use it set joystick 1 in the console (WinQuake -remembers this setting, so this only needs to be done once). +remembers this setting, so this needs to be done only once). WQ runs very slowly when it has the focus under NT -------------------------------------------------- In one case, WQ ran very slowly when it had the focus, but fast when -it didn't (obviously this is only visible in windowed modes). The +it didn't (obviously this is visible only in windowed modes). The problem turned out to be that NT had a Sidewinder 3D Pro joystick driver installed; when the driver was removed, things were fine. If you see a similar problem, check whether WQ is detecting that @@ -478,10 +478,10 @@ internals make this not fixable without a good chance of breaking something more important, so it'll have to stay this way. -Alt-Tab fullscreen only works sometimes +Alt-Tab fullscreen works only sometimes --------------------------------------- I know it seems that way, but actually the trick is that on Win95 -it only works if you let go of Tab before you let go of Alt. +it works only if you let go of Tab before you let go of Alt. This is due to a Windows quirk involving what key sequences are passed along, so you'll have to work around it by remembering to let go of Tab first. @@ -497,7 +497,7 @@ size of the low-res mode. There is no known workaround. Dprint in progs doesn't work ---------------------------- -Dprint means "developer print," so it only works if the developer +Dprint means "developer print," so it works only if the developer console variable is set to 1. It was a bug in earlier versions that it worked even when developer was set to 0. @@ -802,7 +802,7 @@ variable; it retains its setting until it is explicitly changed again, even across multiple WinQuake sessions. The vid_forcemode console command sets the specified mode, even if -it's the same as the current mode (normally the mode set only happens +it's the same as the current mode (normally the mode set happens only if the new mode differs from the current mode). This is generally useful only if you've modified the characteristics of video mode 2 (the configurable window) while you're in mode 2, and want to force @@ -1024,11 +1024,11 @@ clicking on the maximize button. Added two commands: vid_fullscreen to switch to vid_fullscreen_mode, and vid_windowed to switch to vid_windowed mode. -Changed joystick default to disabled; now it only works if the +Changed joystick default to disabled; now it works only if the joystick cvar is set to 1; however, this setting now remains in effect permanently. Added joystick documentation below. -Documented dprint only works if developer set to 1. +Documented dprint works only if developer set to 1. Documented scrunching of MS-DOS windows on Alt-Tab. @@ -1052,7 +1052,7 @@ so buggy that WinQuake crashes in faster configurations, and that SciTech Display Doctor is the easiest way to get reliable VESA support. -Added note on Alt-Tab only working if Tab released first. +Added note on Alt-Tab working only if Tab released first. *** WinQuake 0.992 *** diff --git a/include/QF/cvar.h b/include/QF/cvar.h index fa663dbcc..9ddc8a277 100644 --- a/include/QF/cvar.h +++ b/include/QF/cvar.h @@ -66,7 +66,7 @@ typedef struct cvar_alias_s #define CVAR_NOTIFY 32 // Will notify players when changed. #define CVAR_ROM 64 // display only, cannot be set by user at all #define CVAR_USER_CREATED 128 // created by a set command -#define CVAR_LATCH 2048 // will only change when C code next does +#define CVAR_LATCH 2048 // will change only when C code next does // a Cvar_Get(), so it can't be changed // Zoid| A good CVAR_ROM example is userpath. The code should read "cvar_t diff --git a/include/QF/model.h b/include/QF/model.h index 1940ce0bc..2407d062b 100644 --- a/include/QF/model.h +++ b/include/QF/model.h @@ -417,7 +417,7 @@ typedef struct model_s unsigned int checksum2; // additional model data - cache_user_t cache; // only access through Mod_Extradata + cache_user_t cache; // access only through Mod_Extradata } model_t; // ============================================================================ diff --git a/include/QF/qfplist.h b/include/QF/qfplist.h index e0e1c3c49..325615004 100644 --- a/include/QF/qfplist.h +++ b/include/QF/qfplist.h @@ -257,7 +257,7 @@ plitem_t *PL_NewString (const char *); /** Free a property list object. This function takes care of freeing any referenced property list data, so - only call it on top-level objects. + call it only on top-level objects. \param item the property list object to be freed */ diff --git a/include/QF/vid.h b/include/QF/vid.h index 8a1faa13b..058266858 100644 --- a/include/QF/vid.h +++ b/include/QF/vid.h @@ -109,7 +109,7 @@ void VID_Shutdown (void); // flushes the given rectangles from the view buffer to the screen void VID_Update (vrect_t *rects); -// sets the mode; only used by the Quake engine for resetting to mode 0 (the +// sets the mode; used only by the Quake engine for resetting to mode 0 (the // base mode) on memory allocation failures // or not // int VID_SetMode (int modenum, unsigned char *palette); diff --git a/include/d_iface.h b/include/d_iface.h index bc4ed2cf7..42e892303 100644 --- a/include/d_iface.h +++ b/include/d_iface.h @@ -160,7 +160,7 @@ extern qboolean r_recursiveaffinetriangles; // true if a driver wants to use // and vertex drawing via // D_PolysetDrawFinalVerts() past // a certain distance (normally - // only used by the software + // used only by the software // driver) extern float r_aliasuvscale; // scale-up factor for screen u and v // on Alias vertices passed to driver diff --git a/include/d_local.h b/include/d_local.h index d5fa46ed9..7294bbe16 100644 --- a/include/d_local.h +++ b/include/d_local.h @@ -52,7 +52,7 @@ typedef struct surfcache_s int dlight; int size; // including header unsigned int width; - unsigned int height; // DEBUG only needed for debug + unsigned int height; // DEBUG needed only for debug float mipscale; struct texture_s *texture; // checked for animating textures byte data[4]; // width*height elements diff --git a/include/qw/protocol.h b/include/qw/protocol.h index c8504f683..315222716 100644 --- a/include/qw/protocol.h +++ b/include/qw/protocol.h @@ -183,7 +183,7 @@ #define PF_MODEL (1<<5) #define PF_SKINNUM (1<<6) #define PF_EFFECTS (1<<7) -#define PF_WEAPONFRAME (1<<8) // only sent for view player +#define PF_WEAPONFRAME (1<<8) // sent for only view player #define PF_DEAD (1<<9) // don't block movement any more #define PF_GIB (1<<10) // offset the view height differently #define PF_NOGRAV (1<<11) // don't apply gravity for prediction @@ -258,7 +258,7 @@ // ============================================================================ -// a sound with no channel is a local only sound +// a sound with no channel is a local-only sound // the sound field has bits 0-2: channel, 3-12: entity #define SND_VOLUME (1<<15) // a byte #define SND_ATTENUATION (1<<14) // a byte diff --git a/include/sbar.h b/include/sbar.h index 731cb27da..9cebab1ce 100644 --- a/include/sbar.h +++ b/include/sbar.h @@ -26,7 +26,7 @@ $Id$ */ -// the status bar is only redrawn if something has changed, but if anything +// the status bar is redrawn only if something has changed, but if anything // does, the entire thing will be redrawn for the next vid.numpages frames. #ifndef _SBAR_H diff --git a/libs/audio/cd_file.c b/libs/audio/cd_file.c index 96d18a224..275f99437 100644 --- a/libs/audio/cd_file.c +++ b/libs/audio/cd_file.c @@ -430,7 +430,7 @@ I_OGGMus_Update (void) { if (!cd_channel || !cd_channel->done) return; - // will only get here when multi-tracked + // will get here only when multi-tracked I_OGGMus_Stop (); I_OGGMus_PlayNext (0); } diff --git a/libs/audio/renderer/midi.c b/libs/audio/renderer/midi.c index 5036358e0..29a143d71 100644 --- a/libs/audio/renderer/midi.c +++ b/libs/audio/renderer/midi.c @@ -118,7 +118,7 @@ midi_stream_close (sfx_t *sfx) } /* - * Note: we only set the QF stream up here. + * Note: we set up only the QF stream here. * The WildMidi stream was setup when SND_OpenMidi was called * so stream->file contains the WildMidi handle for the midi */ diff --git a/libs/audio/targets/snd_dx.c b/libs/audio/targets/snd_dx.c index 907c12797..2d42fb2fe 100644 --- a/libs/audio/targets/snd_dx.c +++ b/libs/audio/targets/snd_dx.c @@ -130,7 +130,7 @@ FreeSound (void) IDirectSoundBuffer_Stop (pDSBuf); IDirectSound_Release (pDSBuf); } -// only release primary buffer if it's not also the mixing buffer we just released +// release primary buffer only if it's not also the mixing buffer we just released if (pDSPBuf && (pDSBuf != pDSPBuf)) { IDirectSound_Release (pDSPBuf); } diff --git a/libs/gamecode/engine/pr_strings.c b/libs/gamecode/engine/pr_strings.c index 57d8c0293..78a83a3e8 100644 --- a/libs/gamecode/engine/pr_strings.c +++ b/libs/gamecode/engine/pr_strings.c @@ -178,7 +178,7 @@ strref_free (void *_sr, void *_pr) progs_t *pr = (progs_t*)_pr; strref_t *sr = (strref_t*)_sr; - // Since this is only ever called by Hash_FlushTable, the memory pointed + // Since this is called only by Hash_FlushTable, the memory pointed // to by sr->string or sr->dstring has already been lost in the progs // load/reload and thus there's no need to free it. diff --git a/libs/gib/gib_buffer.c b/libs/gib/gib_buffer.c index 94279a6ba..da51cdf3f 100644 --- a/libs/gib/gib_buffer.c +++ b/libs/gib/gib_buffer.c @@ -142,7 +142,7 @@ GIB_Buffer_Add (cbuf_t * cbuf, const char *str) gib_buffer_data_t *g = GIB_DATA (cbuf); gib_tree_t **save, *cur; - // AddText should only be used to populate a buffer before + // AddText should be used only to populate a buffer before // executing it and shouldn't happen to a running GIB buffer, // but if it does, try to find somewhere else to put the text. if (g->ip) { diff --git a/libs/net/net_chan.c b/libs/net/net_chan.c index c77451bbd..3fc388bbf 100644 --- a/libs/net/net_chan.c +++ b/libs/net/net_chan.c @@ -370,7 +370,7 @@ Netchan_Process (netchan_t *chan) if (chan->rate > 1.0 / 5000) chan->rate = 1.0 / 5000; } else { - if (chan->outgoing_size[i] < 512) { // only deal with small + if (chan->outgoing_size[i] < 512) { // deal with only small // messages rate = chan->outgoing_size[i] / time; if (rate > 5000) diff --git a/libs/net/nm/net_wins.c b/libs/net/nm/net_wins.c index 359e08581..e4f6138b6 100644 --- a/libs/net/nm/net_wins.c +++ b/libs/net/nm/net_wins.c @@ -214,7 +214,7 @@ WINS_Init (void) if ((*p < '0' || *p > '9') && *p != '.') break; - // if it is a real name, strip off the domain; we only want the host + // if it is a real name, strip off the domain; we want only the host if (*p) { for (i = 0; i < 15; i++) if (buff[i] == '.') diff --git a/libs/util/cvar.c b/libs/util/cvar.c index f6de0a397..2a25d12fc 100644 --- a/libs/util/cvar.c +++ b/libs/util/cvar.c @@ -481,7 +481,7 @@ Cvar_Init (void) Cmd_AddCommand ("set", Cvar_Set_f, "Set the selected variable, useful on " "the command line (+set variablename setting)"); Cmd_AddCommand ("setrom", Cvar_Setrom_f, "Set the selected variable and " - "make it read only, useful on the command line. " + "make it read-only, useful on the command line. " "(+setrom variablename setting)"); Cmd_AddCommand ("seta", Cvar_Seta_f, "Set the selected variable, and make " "it archived, useful on the command line (+seta " diff --git a/libs/util/plugin.c b/libs/util/plugin.c index d0b63ddfe..4327196f4 100644 --- a/libs/util/plugin.c +++ b/libs/util/plugin.c @@ -63,7 +63,7 @@ static __attribute__ ((used)) const char rcsid[] = #include "compat.h" -// loaded_plugins is for plugins loaded from scripts only - not system +// loaded_plugins is only for plugins loaded from scripts - not system // plugins typedef struct loaded_plugin_s { diff --git a/libs/util/quakefs.c b/libs/util/quakefs.c index 22c128ec1..72c282cdd 100644 --- a/libs/util/quakefs.c +++ b/libs/util/quakefs.c @@ -108,7 +108,7 @@ int fnmatch (const char *__pattern, const char *__string, int __flags); The "user directory" is the path to the directory holding the quake.exe and all game directories. This can be overridden with the "fs_sharepath" and "fs_userpath" cvars to allow code debugging in a different directory. - The base directory is only used during filesystem initialization. + The base directory is used only during filesystem initialization. The "game directory" is the first tree on the search path and directory that all generated files (savegames, screenshots, demos, config files) @@ -117,7 +117,7 @@ int fnmatch (const char *__pattern, const char *__string, int __flags); executing. This is a precacution against having a malicious server instruct clients to write files over areas they shouldn't. - The "cache directory" is only used during development to save network + The "cache directory" is used only during development to save network bandwidth, especially over ISDN / T1 lines. If there is a cache directory specified, when a file is found by the normal search path, it will be mirrored into the cache directory, then opened there. @@ -1256,7 +1256,7 @@ QFS_Init (const char *game) int i; fs_sharepath = Cvar_Get ("fs_sharepath", FS_SHAREPATH, CVAR_ROM, NULL, - "location of shared (read only) game " + "location of shared (read-only) game " "directories"); fs_userpath = Cvar_Get ("fs_userpath", FS_USERPATH, CVAR_ROM, NULL, "location of your game directories"); diff --git a/libs/util/zone.c b/libs/util/zone.c index 5230920b6..27f52188a 100644 --- a/libs/util/zone.c +++ b/libs/util/zone.c @@ -66,7 +66,7 @@ static qboolean Cache_FreeLRU (void); The rover can be left pointing at a non-empty block - The zone calls are pretty much only used for small strings and structures, + The zone calls are pretty much used only for small strings and structures, all big things are allocated on the hunk. */ @@ -587,7 +587,7 @@ Cache_Move (cache_system_t * c) { cache_system_t *new; - // we are clearing up space at the bottom, so only allocate it late + // we are clearing up space at the bottom, so allocate it late new = Cache_TryAlloc (c->size, true); if (new) { Sys_DPrintf ("cache_move ok\n"); diff --git a/libs/video/renderer/gl/gl_skin.c b/libs/video/renderer/gl/gl_skin.c index 174d49549..d3d94040f 100644 --- a/libs/video/renderer/gl/gl_skin.c +++ b/libs/video/renderer/gl/gl_skin.c @@ -215,7 +215,7 @@ Skin_Do_Translation_Model (model_t *model, int skinnum, int slot, skin_t *skin) if (!model) // player doesn't have a model yet return; - if (model->type != mod_alias) // only translate skins on alias models + if (model->type != mod_alias) // translate skins only on alias models return; paliashdr = Cache_Get (&model->cache); @@ -247,7 +247,7 @@ Skin_Player_Model (model_t *model) player_height = 194; if (!model) // player doesn't have a model yet return; - if (model->type != mod_alias) // only translate skins on alias models + if (model->type != mod_alias) // translate skins only on alias models return; paliashdr = Cache_Get (&model->cache); diff --git a/libs/video/renderer/gl/gl_textures.c b/libs/video/renderer/gl/gl_textures.c index 203ab1a24..2cf9101d9 100644 --- a/libs/video/renderer/gl/gl_textures.c +++ b/libs/video/renderer/gl/gl_textures.c @@ -171,7 +171,7 @@ static glformat_t formats[] = { {"BGRA_EXT", BGRA_EXT}, */ /* 1.4 texture_compression -- Append _ARB for older ARB version. - * only applicable for CompressedTexImage and CompressedTexSubimage + * applicable only for CompressedTexImage and CompressedTexSubimage * which will complicate upload paths. *ponder* {"COMPRESSED_ALPHA", COMPRESSED_ALPHA}, {"COMPRESSED_LUMINANCE", COMPRESSED_LUMINANCE}, diff --git a/libs/video/renderer/sw/nonintel.c b/libs/video/renderer/sw/nonintel.c index 50116583e..14721c924 100644 --- a/libs/video/renderer/sw/nonintel.c +++ b/libs/video/renderer/sw/nonintel.c @@ -43,12 +43,12 @@ int r_bmodelactive; void R_SurfPatch (void) { - // we only patch code on Intel + // we patch code only on Intel } void R_SurfacePatch (void) { - // we only patch code on Intel + // we patch code only on Intel } #endif // !USE_INTEL_ASM diff --git a/libs/video/renderer/sw/sw_graph.c b/libs/video/renderer/sw/sw_graph.c index 2950d5256..c2a531988 100644 --- a/libs/video/renderer/sw/sw_graph.c +++ b/libs/video/renderer/sw/sw_graph.c @@ -41,7 +41,7 @@ static __attribute__ ((used)) const char rcsid[] = /* R_LineGraph - Only called by R_DisplayTime + Called by only R_DisplayTime */ void R_LineGraph (int x, int y, int *h_vals, int count) diff --git a/libs/video/renderer/sw/sw_redge.c b/libs/video/renderer/sw/sw_redge.c index 185d3f9c6..8f85d9a98 100644 --- a/libs/video/renderer/sw/sw_redge.c +++ b/libs/video/renderer/sw/sw_redge.c @@ -477,7 +477,7 @@ R_ScanEdges (void) span_p = basespan_p; // clear active edges to just the background edges around the whole screen - // FIXME: most of this only needs to be set up once + // FIXME: most of this needs to be set up only once edge_head.u = r_refdef.vrect.x << 20; edge_head_u_shift20 = edge_head.u >> 20; edge_head.u_step = 0; diff --git a/libs/video/renderer/sw/sw_rsky.c b/libs/video/renderer/sw/sw_rsky.c index f41fa8dcd..626c896d2 100644 --- a/libs/video/renderer/sw/sw_rsky.c +++ b/libs/video/renderer/sw/sw_rsky.c @@ -217,8 +217,8 @@ R_SetSkyFrame (void) /* R_LoadSkys - Stub function for loading a skybox. Currently we only have support for - skyboxes in GL targets, so we just do nothing here. --KB + Stub function for loading a skybox. Currently we have support for + skyboxes only in GL targets, so we just do nothing here. --KB */ void R_LoadSkys (const char *name) diff --git a/libs/video/renderer/sw/sw_rsurf.c b/libs/video/renderer/sw/sw_rsurf.c index af8265f15..f11ddf802 100644 --- a/libs/video/renderer/sw/sw_rsurf.c +++ b/libs/video/renderer/sw/sw_rsurf.c @@ -246,7 +246,7 @@ R_DrawSurface (void) //============================== pblockdrawer = surfmiptable[r_drawsurf.surfmip]; - // TODO: only needs to be set when there is a display settings change + // TODO: needs to be set only when there is a display settings change horzblockstep = blocksize; smax = mt->width >> r_drawsurf.surfmip; diff --git a/libs/video/renderer/sw32/sw32_graph.c b/libs/video/renderer/sw32/sw32_graph.c index d8578a8ce..39798a1f0 100644 --- a/libs/video/renderer/sw32/sw32_graph.c +++ b/libs/video/renderer/sw32/sw32_graph.c @@ -42,7 +42,7 @@ static __attribute__ ((used)) const char rcsid[] = /* R_LineGraph - Only called by R_DisplayTime + Called by only R_DisplayTime */ VISIBLE void R_LineGraph (int x, int y, int *h_vals, int count) diff --git a/libs/video/renderer/sw32/sw32_redge.c b/libs/video/renderer/sw32/sw32_redge.c index 1f12ed65c..ead186476 100644 --- a/libs/video/renderer/sw32/sw32_redge.c +++ b/libs/video/renderer/sw32/sw32_redge.c @@ -457,7 +457,7 @@ R_ScanEdges (void) span_p = basespan_p; // clear active edges to just the background edges around the whole screen - // FIXME: most of this only needs to be set up once + // FIXME: most of this needs to be set up only once edge_head.u = r_refdef.vrect.x << 20; edge_head_u_shift20 = edge_head.u >> 20; edge_head.u_step = 0; diff --git a/libs/video/renderer/sw32/sw32_rsky.c b/libs/video/renderer/sw32/sw32_rsky.c index 853334b5f..ca1163735 100644 --- a/libs/video/renderer/sw32/sw32_rsky.c +++ b/libs/video/renderer/sw32/sw32_rsky.c @@ -218,8 +218,8 @@ R_SetSkyFrame (void) /* R_LoadSkys - Stub function for loading a skybox. Currently we only have support for - skyboxes in GL targets, so we just do nothing here. --KB + Stub function for loading a skybox. Currently we have support for + skyboxes only in GL targets, so we just do nothing here. --KB */ void R_LoadSkys (const char *name) diff --git a/libs/video/targets/context_x11.c b/libs/video/targets/context_x11.c index ecd0e0484..a5088b892 100644 --- a/libs/video/targets/context_x11.c +++ b/libs/video/targets/context_x11.c @@ -235,7 +235,7 @@ X11_OpenDisplay (void) x_screen = DefaultScreen (x_disp); x_root = RootWindow (x_disp, x_screen); - XSynchronize (x_disp, true); // for debugging only + XSynchronize (x_disp, true); // only for debugging x_disp_ref_count = 1; } else { diff --git a/libs/video/targets/joy_win.c b/libs/video/targets/joy_win.c index 695e4fd17..7041f7b17 100644 --- a/libs/video/targets/joy_win.c +++ b/libs/video/targets/joy_win.c @@ -311,7 +311,7 @@ JOY_AdvancedUpdate_f (void) if (joy_advanced->int_val) { // default joystick initialization - // 2 axes only with joystick control + // only 2 axes with joystick control dwAxisMap[JOY_AXIS_X] = AxisTurn; // dwControlMap[JOY_AXIS_X] = JOY_ABSOLUTE_AXIS; dwAxisMap[JOY_AXIS_Y] = AxisForward; diff --git a/nq/include/protocol.h b/nq/include/protocol.h index 76dcbf71d..40c254bdc 100644 --- a/nq/include/protocol.h +++ b/nq/include/protocol.h @@ -92,7 +92,7 @@ #define SU_ARMOR (1<<13) #define SU_WEAPON (1<<14) -// a sound with no channel is a local only sound +// a sound with no channel is a local-only sound #define SND_VOLUME (1<<0) // a byte #define SND_ATTENUATION (1<<1) // a byte #define SND_LOOPING (1<<2) // a long diff --git a/nq/include/server.h b/nq/include/server.h index 5ad5a81d2..19ef2816a 100644 --- a/nq/include/server.h +++ b/nq/include/server.h @@ -80,7 +80,7 @@ typedef struct edict_t *edicts; // can NOT be array indexed, because // edict_t is variable sized, but can // be used to reference the world ent - server_state_t state; // some actions are only valid during load + server_state_t state; // some actions are valid only during load sizebuf_t datagram; byte datagram_buf[MAX_DATAGRAM]; @@ -102,7 +102,7 @@ typedef struct client_s qboolean spawned; // false = don't send datagrams qboolean dropasap; // has been told to go to another level qboolean privileged; // can execute any host command - qboolean sendsignon; // only valid before spawned + qboolean sendsignon; // valid only before spawned double last_message; // reliable messages must be sent // periodically diff --git a/nq/source/cl_input.c b/nq/source/cl_input.c index c885e37b8..35290b8d0 100644 --- a/nq/source/cl_input.c +++ b/nq/source/cl_input.c @@ -55,7 +55,7 @@ static __attribute__ ((used)) const char rcsid[] = Continuous button event tracking is complicated by the fact that two different input sources (say, mouse button 1 and the control key) can - both press the same button, but the button should only be released when + both press the same button, but the button should be released only when both of the pressing key have been released. When a key event issues a button command (+forward, +attack, etc), it diff --git a/nq/source/cl_parse.c b/nq/source/cl_parse.c index 0c46a9c59..b208fc60d 100644 --- a/nq/source/cl_parse.c +++ b/nq/source/cl_parse.c @@ -584,7 +584,7 @@ CL_ParseBaseline (cl_entity_state_t *state) /* CL_ParseClientdata - Server information pertaining to this client only + Server information pertaining to only this client */ static void CL_ParseClientdata (int bits) diff --git a/nq/source/cl_view.c b/nq/source/cl_view.c index b241f67bb..a13294c98 100644 --- a/nq/source/cl_view.c +++ b/nq/source/cl_view.c @@ -575,7 +575,7 @@ V_CalcIntermissionRefdef (void) // ent is the player model (visible when out of body) ent = &cl_entities[cl.viewentity]; - // view is the weapon model (only visible from inside body) + // view is the weapon model (visible only from inside body) view = &cl.viewent; VectorCopy (ent->origin, r_refdef.vieworg); @@ -602,7 +602,7 @@ V_CalcRefdef (void) // ent is the player model (visible when out of body) ent = &cl_entities[cl.viewentity]; - // view is the weapon model (only visible from inside body) + // view is the weapon model (visible only from inside body) view = &cl.viewent; bob = V_CalcBob (); @@ -613,7 +613,7 @@ V_CalcRefdef (void) // never let it sit exactly on a node line, because a water plane can // dissapear when viewed with the eye exactly on it. - // server protocol only specifies to 1/16 pixel, so add 1/32 in each axis + // server protocol specifies to only 1/16 pixel, so add 1/32 in each axis r_refdef.vieworg[0] += 1.0 / 32; r_refdef.vieworg[1] += 1.0 / 32; r_refdef.vieworg[2] += 1.0 / 32; diff --git a/nq/source/host.c b/nq/source/host.c index 8f2a9d2d2..5c702596f 100644 --- a/nq/source/host.c +++ b/nq/source/host.c @@ -441,7 +441,7 @@ SV_DropClient (qboolean crash) /* Host_ShutdownServer - This only happens at the end of a game, not between levels + This happens only at the end of a game, not between levels */ void Host_ShutdownServer (qboolean crash) @@ -888,7 +888,7 @@ Host_Init (void) // execute the global configuration file if it exists // would have been nice if Cmd_Exec_f could have been used, but it - // only reads from within the quake file system, and changing that is + // reads only from within the quake file system, and changing that is // probably Not A Good Thing (tm). fs_globalcfg = Cvar_Get ("fs_globalcfg", FS_GLOBALCFG, CVAR_ROM, NULL, "global configuration file"); diff --git a/nq/source/sbar.c b/nq/source/sbar.c index 219399e5b..9bf812887 100644 --- a/nq/source/sbar.c +++ b/nq/source/sbar.c @@ -845,7 +845,7 @@ draw_rogue_status (view_t *view) else if (cl.stats[STAT_ITEMS] & RIT_ARMOR1) draw_pic (view, 0, 0, sb_armor[0]); - // PGM 03/02/97 - fixed so color swatch only appears in CTF modes + // PGM 03/02/97 - fixed so color swatch appears in only CTF modes if (cl.maxclients != 1 && teamplay->int_val > 3 && teamplay->int_val < 7) draw_rogue_face (view); else diff --git a/nq/source/skin.c b/nq/source/skin.c index 0b4697cf0..091a6533b 100644 --- a/nq/source/skin.c +++ b/nq/source/skin.c @@ -74,7 +74,7 @@ skin_get_key (void *_skin, void *unused) return skin->name; } -#if 0 //XXX qw only atm +#if 0 //XXX only qw atm /* Skin_Find @@ -145,7 +145,7 @@ Skin_Cache (skin_t *skin) byte *ipix, *opix; int i, numfb; -#if 0 //XXX qw only atm +#if 0 //XXX only qw atm if (cls.downloadtype == dl_skin) // use base until downloaded return NULL; #endif diff --git a/nq/source/sv_cl_phys.c b/nq/source/sv_cl_phys.c index 56fa60544..7fa529bad 100644 --- a/nq/source/sv_cl_phys.c +++ b/nq/source/sv_cl_phys.c @@ -222,7 +222,7 @@ SV_TryUnstick (edict_t *ent, vec3_t oldvel) /* SV_WalkMove - Only used by players + Used by only players */ static void SV_WalkMove (edict_t *ent) diff --git a/nq/source/sv_main.c b/nq/source/sv_main.c index 2c67b2995..553e1689b 100644 --- a/nq/source/sv_main.c +++ b/nq/source/sv_main.c @@ -157,7 +157,7 @@ SV_StartSound (edict_t *entity, int channel, const char *sample, int volume, if (attenuation != DEFAULT_SOUND_PACKET_ATTENUATION) field_mask |= SND_ATTENUATION; - // directed messages go only to the entity the are targeted on + // directed messages go to only the entity on which they are targeted MSG_WriteByte (&sv.datagram, svc_sound); MSG_WriteByte (&sv.datagram, field_mask); if (field_mask & SND_VOLUME) @@ -232,7 +232,7 @@ SV_SendServerinfo (client_t *client) /* SV_ConnectClient - Initializes a client_t for a new net connection. This will only be called + Initializes a client_t for a new net connection. This will be called only once for a player each game, not once for each level change. */ static void @@ -743,8 +743,8 @@ SV_SendClientMessages (void) } } - // check for an overflowed message. Should only happen on a very - // fucked up connection that backs up a lot, then changes level + // check for an overflowed message. Should happen only on a very + // bad up connection that backs up a lot, then changes level if (host_client->message.overflowed) { SV_DropClient (true); host_client->message.overflowed = false; @@ -956,7 +956,7 @@ SV_SpawnServer (const char *server) sv.signon.cursize = 0; sv.signon.data = sv.signon_buf; - // leave slots at start for clients only + // leave slots at start for only clients sv.num_edicts = svs.maxclients + 1; for (i = 0; i < svs.maxclients; i++) { ent = EDICT_NUM (&sv_pr_state, i + 1); diff --git a/nq/source/sv_phys.c b/nq/source/sv_phys.c index 5c76e89dd..0d00c5dca 100644 --- a/nq/source/sv_phys.c +++ b/nq/source/sv_phys.c @@ -55,7 +55,7 @@ static __attribute__ ((used)) const char rcsid[] = walking monsters are SOLID_SLIDEBOX and MOVETYPE_STEP flying/floating monsters are SOLID_SLIDEBOX and MOVETYPE_FLY - solid_edge items only clip against bsp models. + solid_edge items clip against only bsp models. */ cvar_t *sv_friction; @@ -361,7 +361,7 @@ SV_PushEntity (edict_t *ent, vec3_t push) SVvector (ent, maxs), end, MOVE_MISSILE, ent); else if (SVfloat (ent, solid) == SOLID_TRIGGER || SVfloat (ent, solid) == SOLID_NOT) - // only clip against bmodels + // clip against only bmodels trace = SV_Move (SVvector (ent, origin), SVvector (ent, mins), SVvector (ent, maxs), end, MOVE_NOMONSTERS, ent); else diff --git a/nq/source/sv_pr_cmds.c b/nq/source/sv_pr_cmds.c index ffc4fe47d..32746b27c 100644 --- a/nq/source/sv_pr_cmds.c +++ b/nq/source/sv_pr_cmds.c @@ -705,7 +705,7 @@ PR_CheckEmptyString (progs_t *pr, const char *s) void PF_precache_file (progs_t *pr) { - // precache_file is only used to copy files with qcc, it does nothing + // precache_file is used only to copy files with qcc, it does nothing R_INT (pr) = P_INT (pr, 0); } @@ -718,7 +718,7 @@ PF_precache_sound (progs_t *pr) int i; if (sv.state != ss_loading) - PR_RunError (pr, "PF_Precache_*: Precache can only be done in spawn " + PR_RunError (pr, "PF_Precache_*: Precache can be done only in spawn " "functions"); s = P_GSTRING (pr, 0); @@ -745,7 +745,7 @@ PF_precache_model (progs_t *pr) int i; if (sv.state != ss_loading) - PR_RunError (pr, "PF_Precache_*: Precache can only be done in spawn " + PR_RunError (pr, "PF_Precache_*: Precache can be done only in spawn " "functions"); s = P_GSTRING (pr, 0); diff --git a/nq/source/sys_unix.c b/nq/source/sys_unix.c index 318d8ae68..5ed1bfbd0 100644 --- a/nq/source/sys_unix.c +++ b/nq/source/sys_unix.c @@ -103,7 +103,7 @@ main (int c, const char *v[]) if (cls.state == ca_dedicated) { // play vcrfiles at max speed if (time < sys_ticrate->value && (!vcrFile || recording)) { usleep (1); - continue; // not time to run a server only tic yet + continue; // not time to run a server-only tic yet } time = sys_ticrate->value; } diff --git a/qtv/source/client.c b/qtv/source/client.c index 29292cc86..994d5e891 100644 --- a/qtv/source/client.c +++ b/qtv/source/client.c @@ -661,7 +661,7 @@ write_player (int num, plent_state_t *pl, server_t *sv, sizebuf_t *msg) #endif // if (cl->spectator) { -// // only sent origin and velocity to spectators +// // send only origin and velocity to spectators // pflags &= PF_VELOCITY1 | PF_VELOCITY2 | PF_VELOCITY3; // } else if (ent == clent) { // // don't send a lot of data on personal entity diff --git a/qw/include/client.h b/qw/include/client.h index 1bd1337ae..9ba857732 100644 --- a/qw/include/client.h +++ b/qw/include/client.h @@ -241,7 +241,7 @@ typedef struct cshift_t prev_cshifts[NUM_CSHIFTS]; // and content types // the client maintains its own idea of view angles, which are sent to the -// server each frame. And only reset at level change and teleport times +// server each frame. And reset only at level change and teleport times vec3_t viewangles; // the client simulates or interpolates movement to get these values diff --git a/qw/include/server.h b/qw/include/server.h index f39383274..ae42e2f1a 100644 --- a/qw/include/server.h +++ b/qw/include/server.h @@ -53,12 +53,12 @@ typedef enum { ss_loading, // spawning level edicts ss_active // actively running } server_state_t; -// some qc commands are only valid before the server has finished +// some qc commands are valid only before the server has finished // initializing (precache commands, static sounds / objects, etc) typedef struct { qboolean active; // false when server is going down - server_state_t state; // precache commands are only valid during load + server_state_t state; // precache commands are valid only during load double time; @@ -201,7 +201,7 @@ typedef struct client_s { // extracted from userinfo int messagelevel; // for filtering printed messages - // the datagram is written to after every frame, but only cleared + // the datagram is written to after every frame, but cleared only // when it is sent out to the client. overflow is tolerated. sizebuf_t datagram; byte datagram_buf[MAX_DATAGRAM]; diff --git a/qw/source/cl_ents.c b/qw/source/cl_ents.c index 3ca0f029e..b7c2527cb 100644 --- a/qw/source/cl_ents.c +++ b/qw/source/cl_ents.c @@ -914,7 +914,7 @@ CL_LinkPlayers (void) || i == 93 || i == 102)) continue; - // only predict half the move to minimize overruns + // predict only half the move to minimize overruns msec = 500 * (playertime - state->state_time); if (msec <= 0 || (!cl_predict_players->int_val) || cls.demoplayback2) { VectorCopy (state->pls.origin, ent->origin); @@ -1074,7 +1074,7 @@ CL_SetUpPlayerPrediction (qboolean dopred) VectorCopy (cl.frames[cls.netchan.outgoing_sequence & UPDATE_MASK]. playerstate[cl.playernum].pls.origin, pplayer->origin); } else { - // only predict half the move to minimize overruns + // predict only half the move to minimize overruns msec = 500 * (playertime - state->state_time); if (msec <= 0 || !dopred) { VectorCopy (state->pls.origin, pplayer->origin); diff --git a/qw/source/cl_input.c b/qw/source/cl_input.c index d2c537f5a..af30cae14 100644 --- a/qw/source/cl_input.c +++ b/qw/source/cl_input.c @@ -68,7 +68,7 @@ cvar_t *cl_spamimpulse; Continuous button event tracking is complicated by the fact that two different input sources (say, mouse button 1 and the control key) can - both press the same button, but the button should only be released when + both press the same button, but the button should be released only when both of the pressing key have been released. When a key event issues a button command (+forward, +attack, etc), it diff --git a/qw/source/cl_main.c b/qw/source/cl_main.c index be3821d67..f029581d7 100644 --- a/qw/source/cl_main.c +++ b/qw/source/cl_main.c @@ -1248,8 +1248,8 @@ CL_Init (void) Cmd_AddCommand ("pause", CL_Cmd_ForwardToServer, "Pause the game"); Cmd_AddCommand ("say", CL_Cmd_ForwardToServer, "Say something to all " "other players"); - Cmd_AddCommand ("say_team", CL_Cmd_ForwardToServer, "Say something only " - "to people on your team"); + Cmd_AddCommand ("say_team", CL_Cmd_ForwardToServer, "Say something to " + "only people on your team"); Cmd_AddCommand ("serverinfo", CL_Cmd_ForwardToServer, "Report the current " "server info"); cl_player_health_e = GIB_Event_New ("player.health"); @@ -1735,7 +1735,7 @@ Host_Init (void) // execute the global configuration file if it exists // would have been nice if Cmd_Exec_f could have been used, but it - // only reads from within the quake file system, and changing that is + // reads from only within the quake file system, and changing that is // probably Not A Good Thing (tm). fs_globalcfg = Cvar_Get ("fs_globalcfg", FS_GLOBALCFG, CVAR_ROM, NULL, "global configuration file"); diff --git a/qw/source/cl_parse.c b/qw/source/cl_parse.c index e151af296..9045b8d36 100644 --- a/qw/source/cl_parse.c +++ b/qw/source/cl_parse.c @@ -245,7 +245,7 @@ CL_CheckOrDownloadFile (const char *filename) dstring_copystr (cls.downloadtempname, filename); Sys_Printf ("Downloading %s...\n", cls.downloadname->str); - // download to a temp name, and only rename to the real name when done, + // download to a temp name, and rename to the real name only when done, // so if interrupted a runt file wont be left QFS_StripExtension (cls.downloadname->str, cls.downloadtempname->str); dstring_appendstr (cls.downloadtempname, ".tmp"); @@ -988,7 +988,7 @@ CL_ParseStartSoundPacket (void) /* CL_ParseClientdata - Server information pertaining to this client only, sent every frame + Server information pertaining to only this client, sent every frame */ void CL_ParseClientdata (void) diff --git a/qw/source/cl_view.c b/qw/source/cl_view.c index ae1b54995..e648c7bbb 100644 --- a/qw/source/cl_view.c +++ b/qw/source/cl_view.c @@ -606,7 +606,7 @@ V_CalcRefdef (void) V_DriftPitch (); - // view is the weapon model (only visible from inside body) + // view is the weapon model (visible only from inside body) view = &cl.viewent; bob = V_CalcBob (); @@ -618,7 +618,7 @@ V_CalcRefdef (void) // never let it sit exactly on a node line, because a water plane can // disappear when viewed with the eye exactly on it. - // server protocol only specifies to 1/8 pixel, so add 1/16 in each axis + // server protocol specifies to only 1/8 pixel, so add 1/16 in each axis r_refdef.vieworg[0] += (1.0 / 16.0); r_refdef.vieworg[1] += (1.0 / 16.0); r_refdef.vieworg[2] += (1.0 / 16.0); diff --git a/qw/source/locs.c b/qw/source/locs.c index 04bceabcc..ffd009e05 100644 --- a/qw/source/locs.c +++ b/qw/source/locs.c @@ -161,8 +161,8 @@ locs_load (const char *filename) t2 = strrchr (t1, '\n'); if (t2) { t2[0] = '\0'; - // handle dos format lines (QFS_FOpenFile is binary only) - // and unix is effectively binary only anyway + // handle dos format lines (QFS_FOpenFile is binary-only) + // and unix is effectively binary-only anyway while (t2 > t1 && t2[-1] == '\r') { t2[-1] = '\0'; t2--; diff --git a/qw/source/pmove.c b/qw/source/pmove.c index 6a21d97be..db9f48c06 100644 --- a/qw/source/pmove.c +++ b/qw/source/pmove.c @@ -659,7 +659,7 @@ CheckWaterJump (void) // ZOID, don't hop out if we just jumped in if (pmove.velocity[2] < -180) - return; // only hop out if we are moving up + return; // hop out only if we are moving up // see if near an edge flatforward[0] = forward[0]; diff --git a/qw/source/sv_ccmds.c b/qw/source/sv_ccmds.c index 1c931c182..f7b08f568 100644 --- a/qw/source/sv_ccmds.c +++ b/qw/source/sv_ccmds.c @@ -146,7 +146,7 @@ SV_Match_User (const char *substr) /* OPERATOR CONSOLE ONLY COMMANDS - These commands can only be entered from stdin or by a remote operator + These commands can be entered only from stdin or by a remote operator datagram */ @@ -165,7 +165,7 @@ SV_SetMaster_f (void) for (i = 1; i < Cmd_Argc (); i++) { if (i > MAX_MASTERS) { - SV_Printf ("Too many masters specified. Only using the first %d\n", + SV_Printf ("Too many masters specified. Using only the first %d\n", MAX_MASTERS); break; } @@ -1063,7 +1063,7 @@ SV_Floodprot_f (void) } if (arg1 > 10) { - SV_Printf ("Can only track up to 10 messages.\n"); + SV_Printf ("Can track up to only 10 messages.\n"); return; } diff --git a/qw/source/sv_ents.c b/qw/source/sv_ents.c index 1241e9312..35dbff317 100644 --- a/qw/source/sv_ents.c +++ b/qw/source/sv_ents.c @@ -682,7 +682,7 @@ SV_WritePlayersToClient (delta_t *delta, byte *pvs, sizebuf_t *msg) } if (cl->spectator) { - // only send origin and velocity of spectators + // send only origin and velocity of spectators mask &= PF_VELOCITY1 | PF_VELOCITY2 | PF_VELOCITY3; } else if (ent == clent) { // don't send a lot of data on personal entity @@ -720,7 +720,7 @@ calc_pvs (delta_t *delta) VectorAdd (SVvector (clent, origin), SVvector (clent, view_ofs), org); pvs = SV_FatPVS (org); } else if (delta->pvs == dt_pvs_fat) { - // when recording a demo, only send entities that can be seen. Can help + // when recording a demo, send only entities that can be seen. Can help // shrink the mvd at expense of effectively lossy compressio (ents that // can't be seen by a player either won't get updated or will disappear // for people watching the mvd from viewpoints with no players around diff --git a/qw/source/sv_init.c b/qw/source/sv_init.c index dd3090fdc..bc94839d9 100644 --- a/qw/source/sv_init.c +++ b/qw/source/sv_init.c @@ -299,7 +299,7 @@ SV_CheckModel (const char *mdl) Change the server to a new map, taking all connected clients along with it. - This is only called from the SV_Map_f () function. + This is called from only the SV_Map_f () function. */ void SV_SpawnServer (const char *server) @@ -356,7 +356,7 @@ SV_SpawnServer (const char *server) ent->data = &baselines[i]; } - // leave slots at start for clients only + // leave slots at start for only clients sv.num_edicts = MAX_CLIENTS + 1; for (i = 0; i < MAX_CLIENTS; i++) { ent = EDICT_NUM (&sv_pr_state, i + 1); diff --git a/qw/source/sv_main.c b/qw/source/sv_main.c index f2732ec18..6230a0602 100644 --- a/qw/source/sv_main.c +++ b/qw/source/sv_main.c @@ -920,7 +920,7 @@ SVC_DirectConnect (void) newcl->datagram.data = newcl->datagram_buf; newcl->datagram.maxsize = sizeof (newcl->datagram_buf); - // spectator mode can ONLY be set at join time + // spectator mode can be set ONLY at join time newcl->spectator = spectator; // parse some info from the info strings @@ -1118,7 +1118,7 @@ SV_ConnectionlessPacket (void) will match any value, so you can specify an entire class C network with "addip 192.246.40". - Removeip will only remove an address specified exactly the same way. + Removeip will remove only an address specified exactly the same way. You cannot addip a subnet, then removeip a single host. listip @@ -1135,7 +1135,7 @@ SV_ConnectionlessPacket (void) prohibited from entering the game. This is the default setting. If 0, then only addresses matching the list will be allowed. This lets - you easily set up a private game, or a game that only allows players + you easily set up a private game, or a game that allows only players from your local network. */ @@ -2102,10 +2102,11 @@ SV_InitLocal (void) "Sets the rules for weapon and item respawning. " "1 Does not leave weapons on the map. You can " "pickup weapons and items and they will respawn, " - "2 Leaves weapons on the map. You can only pick up " - "a weapon once. Picked up items will not respawn, " - "3 Leaves weapons on the map. You can only pick up " - "a weapon once. Picked up items will respawn."); + "2 Leaves weapons on the map. You can pick up a " + "weapon only once. Picked up items will not " + "respawn, 3 Leaves weapons on the map. You can " + "pick up a weapon only once. Picked up items will " + "respawn."); coop = Cvar_Get ("coop", "0", CVAR_NONE, NULL, "co-op mode for progs that " "support it"); skill = Cvar_Get ("skill", "0", CVAR_NONE, NULL, "skill setting for progs " @@ -2213,7 +2214,7 @@ SV_InitLocal (void) "Handling of double entity remove. " "0 is silently ignore, 1 prints a " "traceback, and 2 gives an error.\n" - "Only works if debugging is available " + "works Only if debugging is available " "and enabled"); // DoS protection Cmd_AddCommand ("netdosexpire", SV_netDoSexpire_f, "FIXME: part of DoS " @@ -2335,7 +2336,7 @@ SV_ExtractFromUserinfo (client_t *cl) } *r = '\0'; - // empty (or whitespace only) name + // empty (or only whitespace) name if (!*newname) badname = true; @@ -2511,7 +2512,7 @@ SV_Init (void) // execute the global configuration file if it exists // would have been nice if Cmd_Exec_f could have been used, but it - // only reads from within the quake file system, and changing that is + // reads from only within the quake file system, and changing that is // probably Not A Good Thing (tm). fs_globalcfg = Cvar_Get ("fs_globalcfg", FS_GLOBALCFG, CVAR_ROM, 0, "global configuration file"); diff --git a/qw/source/sv_phys.c b/qw/source/sv_phys.c index 51f72806a..76b737a55 100644 --- a/qw/source/sv_phys.c +++ b/qw/source/sv_phys.c @@ -54,7 +54,7 @@ static __attribute__ ((used)) const char rcsid[] = walking monsters are SOLID_SLIDEBOX and MOVETYPE_STEP flying/floating monsters are SOLID_SLIDEBOX and MOVETYPE_FLY - solid_edge items only clip against bsp models. + solid_edge items clip against only bsp models. */ cvar_t *sv_gravity; @@ -367,7 +367,7 @@ SV_PushEntity (edict_t *ent, vec3_t push) SVvector (ent, maxs), end, MOVE_MISSILE, ent); else if (SVfloat (ent, solid) == SOLID_TRIGGER || SVfloat (ent, solid) == SOLID_NOT) - // only clip against bmodels + // clip against only bmodels trace = SV_Move (SVvector (ent, origin), SVvector (ent, mins), SVvector (ent, maxs), end, MOVE_NOMONSTERS, ent); else diff --git a/qw/source/sv_pr_cmds.c b/qw/source/sv_pr_cmds.c index d54cde497..ae5a0c9d9 100644 --- a/qw/source/sv_pr_cmds.c +++ b/qw/source/sv_pr_cmds.c @@ -734,7 +734,7 @@ do_precache (progs_t *pr, const char **cache, int max, const char *name, char *s; if (sv.state != ss_loading) - PR_RunError (pr, "%s: Precache can only be done in spawn functions", + PR_RunError (pr, "%s: Precache can be done in only spawn functions", func); PR_CheckEmptyString (pr, name); @@ -764,7 +764,7 @@ do_precache (progs_t *pr, const char **cache, int max, const char *name, // string (string s) precache_file2 static void PF_precache_file (progs_t *pr) -{ // precache_file is only used to copy +{ // precache_file is used only to copy // files with qcc, it does nothing R_INT (pr) = P_INT (pr, 0); } @@ -1090,7 +1090,7 @@ WriteDest (progs_t *pr) case MSG_INIT: if (sv.state != ss_loading) - PR_RunError (pr, "PF_Write_*: MSG_INIT can only be written in " + PR_RunError (pr, "PF_Write_*: MSG_INIT can be written in only " "spawn functions"); return &sv.signon; diff --git a/qw/source/sv_pr_cpqw.c b/qw/source/sv_pr_cpqw.c index 418583ff9..17d0168b8 100644 --- a/qw/source/sv_pr_cpqw.c +++ b/qw/source/sv_pr_cpqw.c @@ -130,7 +130,7 @@ PF_padstr (progs_t *pr) #define COLSTR_NUMBER 4 // converts any numbers to special // number chars #define COLSTR_NUMBERV 5 // second variant of special number - // chars (only different on some + // chars (different on only some // non-original charsets) static void diff --git a/qw/source/sv_send.c b/qw/source/sv_send.c index 90fe92035..4bfdef49a 100644 --- a/qw/source/sv_send.c +++ b/qw/source/sv_send.c @@ -569,7 +569,7 @@ SV_GetStats (edict_t *ent, int spectator, int stats[]) /* SV_UpdateClientStats - Performs a delta update of the stats array. This should only be performed + Performs a delta update of the stats array. This should be performed only when a reliable message can be delivered this frame. */ static void @@ -733,7 +733,7 @@ SV_UpdateToReliableMessages (void) sv.reliable_datagram.cursize); if (client->state != cs_spawned) - continue; // datagrams only go to spawned + continue; // datagrams go to only spawned SZ_Write (&client->datagram, sv.datagram.data, sv.datagram.cursize); } @@ -788,7 +788,7 @@ SV_SendClientMessages (void) c->send_message = true; c->netchan.cleartime = 0; // don't choke this message } - // only send messages if the client has sent one + // send messages only if the client has sent one // and the bandwidth is not choked if (!c->send_message) continue; @@ -823,7 +823,7 @@ SV_SendMessagesToAll (void) int i; for (i = 0, c = svs.clients; i < MAX_CLIENTS; i++, c++) - if (c->state < cs_zombie) // FIXME: should this only send to active? + if (c->state < cs_zombie) // FIXME: should this send to only active? c->send_message = true; SV_SendClientMessages (); diff --git a/qw/source/sv_user.c b/qw/source/sv_user.c index 04a9fc254..339f97672 100644 --- a/qw/source/sv_user.c +++ b/qw/source/sv_user.c @@ -1845,7 +1845,7 @@ SV_ExecuteClientMessage (client_t *cl) client_frame_t *frame; int checksumIndex, seq_hash, c; usercmd_t oldest, oldcmd, newcmd; - qboolean move_issued = false; // only allow one move command + qboolean move_issued = false; // allow only one move command vec3_t o; // calc ping time @@ -1961,7 +1961,7 @@ SV_ExecuteClientMessage (client_t *cl) case clc_tmove: MSG_ReadCoordV (net_message, o); - // only allowed by spectators + // allowed for only spectators if (host_client->spectator) { VectorCopy (o, SVvector (sv_player, origin)); SV_LinkEdict (sv_player, false); diff --git a/ruamoko/cl_menu/options_util.qc b/ruamoko/cl_menu/options_util.qc index ec8ed0c46..1029804f6 100644 --- a/ruamoko/cl_menu/options_util.qc +++ b/ruamoko/cl_menu/options_util.qc @@ -261,7 +261,7 @@ local integer xl; xl = xlen / 8 - 2; text_box (xabs, yabs, xl, ylen / 8 - 2); - xl = (xl + 1) & ~1; // text_box only does multiples of 2 + xl = (xl + 1) & ~1; // text_box does only multiples of 2 Draw_Fill (xabs + 8, yabs + 8, xl * 8, ylen - 16, [color value] * 16 + 8); } diff --git a/tools/Forge/Bundles/MapEdit/CameraView.m b/tools/Forge/Bundles/MapEdit/CameraView.m index e1b4e4d8a..48d29a840 100644 --- a/tools/Forge/Bundles/MapEdit/CameraView.m +++ b/tools/Forge/Bundles/MapEdit/CameraView.m @@ -206,7 +206,7 @@ typedef struct { vec3_t trans; int clipflags; - vec3_t screen; // only valid if clipflags == 0 + vec3_t screen; // valid only if clipflags == 0 } campt_t; #define CLIP_RIGHT 1 #define CLIP_LEFT 2 diff --git a/tools/Forge/Bundles/MapEdit/Map.m b/tools/Forge/Bundles/MapEdit/Map.m index 2c2b29faa..ed7b40bdf 100644 --- a/tools/Forge/Bundles/MapEdit/Map.m +++ b/tools/Forge/Bundles/MapEdit/Map.m @@ -466,7 +466,7 @@ to intervening world brushes ================= grabRay -only checks the selected brushes +checks only the selected brushes Returns the brush hit, or nil if missed. ================= */ diff --git a/tools/Forge/Bundles/MapEdit/QuakeEd.gmodel b/tools/Forge/Bundles/MapEdit/QuakeEd.gmodel index 4010b2136..0e940e948 100644 --- a/tools/Forge/Bundles/MapEdit/QuakeEd.gmodel +++ b/tools/Forge/Bundles/MapEdit/QuakeEd.gmodel @@ -2943,7 +2943,7 @@ postsBoundsChangedNotifications = YES; postsFrameChangedNotifications = YES; previousKeyView = "Object 139"; - string = "QuakeEd 2.0\nby John Carmack and John Romero\n\nTerms:\n\nBrush\nA convex polyhedron with a textruedef for each face.\n\nEntity\nA set of brushes and key/value attributes. The world is allways entity 0. Lights, doors, monsters, etc are all entities. Entities can either have a fixed, non-modifiable size (monsters, lights, etc), or can be represented by an arbitrary collection of brushes (doors, plats, bridges, etc).\n\nAn entity is created by selecting one or more brushes in the world, then selecting a class in the Entity Browser, then clicking Create Entity (or double click the class name). If the entity class has a fixed size, the selected brushes are removed and a fixed sized brush is put in their place. Otherwise, the selected brushes are removed from the world entity and made the contents of the newly created entity.\n\nCurrent Entity\n\nSelection\nThe current selection of brushes is drawn with a red outline.\n\nThe selection is not cleared when loading a new map, so selections can be brought over from other files.\n\nTexturedef\nA texture name with offset numbers and flip flags. Determines what will be drawn on a brush face. By default, all faces of a brush have the same texturedef, but you can explicityly change single faces if desired.\n\n\n\nUsing QuakeEd:\n\nThe NeXT \"cmd\" key is the alt key on the left side of the space bar. \"alt\" is the alt key on the right side.\n\nCamera View\n\nclick\t\nSets the current texturedef to the value of the face clicked on.\n\nDoes not change any selection status.\n\nf there are any brushes selected, they will all be changed to this texturedef.\n\nIf there are no brushes selected, the height of the next new brush created will be set based on the size of the brush clicked on.\n\n\nshift-click\nToggles the selection status of the clicked on brush.\n\nIf the brush is part of a different entity than the current entity, all brushes in current are deselected before selecting the new brush. The current entity inpector is then changed to reflect the new entity.\n\nalt-click\nSets the entire brush clicked on to the current texturedef. Does not change any selection status.\n\nalt-ctrl-click\nSets the single face clicked on to the current texturedef without changing the other faces.\n\n\nright-click drag\nChange camera angle.\n\n\nXYView\n\ndouble click\nPositions the Z checker at the click point.\n\nclick drag with no selection\nThe camera or Z checker will be dragged if directly clicked on, otherwise a new rectilinear brush will be dragged out from the click point. The initial height of the brush is determined by the last brush selected or camera-clicked on.\n\nIf the button is released when the new brush has no volume (a veneer), the brush is discarded.\n\nclick drag with a single brush selected\nIf the click is inside the selected brush, the brush will be dragged around without changing its shape.\n\nIf the click is outside the brush, dragging will move the planes that face the click point. Planes will only move directly along their normals, so a recrilinear brush will stay rectilinear.\n\nSpawned entity brushes (monsters, etc) can not be resized at all.\n\nclick drag with multiple brushes selected\nNo group shape changes are allowed, so the click must be inside one of the brushes, and all brushes are moved together.\n\ncmd-click drag with a single brush selected\nHolds the plane that faces the click point, and shears the adjacent planes. To grab a single corner, click outside the brush in the overlap area between two planes. If you click inside the brush, the top plane will be held.\n\nshift-click\nToggles the selection status of the clicked on brush as in the camera view.\n\nEntities are allways checked before the world, so you can shift-click on entities even if there is a ceiling above them.\n\ncmd-shift click\nConnects two entities. The current entity has a target key generated, and the clicked on entity has a targetname key created.\n\nalt-click\nalt-ctrl-click\nSets textures as in the camera view.\n\nctrl-click\nMoves the camera to the point clicked on. It can be dragged dynamically if desired.\n\nright click\nright ctrl-click\nPoints the camera towards the click point. It can be dragged if desired.\n\ncmd-right click drag\nSlides the XY view to expose more space.\n\nalt-right click\nPositions a clipper tool endpoint. The first click places it at the minimum Z of the selection. A second click at the same point moves it to the maximum Z of the selection.\n\nTwo clipper points will carve as a straight line in the XY view. Three points (one of which must be at the max point instead of the min) will carve a slope.\n\nEscape removes the current clippers, and enter actually cuts the selection.\n\n\nZView\n\nclick drag\nThe camera icon can be dragged if it is clicked on, otherwise no action if there is not a selection.\n\nIf multiple brushes are selected, they will allways be dragged as a unit, no matter where the click is.\n\nIf a single brush is selected, the location of the click determines if the drag will move the entire brush or just the top or bottom plane.\n\nA click anywhere on the left side of the Z view will drag the full brush. If the click is on the right side, it will drag just the plane closest to it, changing the size of the brush. Clicking inside a brush on the right side also drags the full brush.\n\nshift-click\nToggles the selection status of the clicked on brush as in the camera view.\n\nalt-click\nSets the entire brush texture as in the camera view. (alt-ctrl click is meaningless without a direction)\n\nctrl-click\nMoves the camera to the height clicked on. It can be dragged dynamically if desired.\n\nright click drag\nSlides the Z view to expose more space.\n\n\nKeyboard\n\nF2 : set camera wire draw mode\nF3 : set camera solid draw mode\nF4 : set camera textured draw mode\n\nF5 : set XY wire draw mode\nF6 : set XY textured draw mode\n\nF8 : Home camera pitch angle\n\nF12 : geometrically subtract the selection from the rest of the world.\n\nPageUp : moves the camera view to the next floor up.\nPageDown : moves the camera view to the next floor down.\n\ncursor arrows, a z d c , .\nStep move the camera with quake controls.\n\nEsc or End: deselect all selected brushes\nBackspace : delete all selected brushes\n\n/ : Flip the normal on the clipper tool\n\nEnter : Carve selected brushes by the clipper tool\n\nSpace : clone all selected brushes. deselects the originals and selects the copies after offsetting by the grid size.\n\nKeypad arrows: moves the current selection in gridsize incrmenets.\n\n+ - : moves the current selection up or down by gridsize increments.\n\ncmd-1 - cmd-7 : change inspectors\n\n\nText commands\n\nObscure commands are entered by typing the command into the command field (under the output field).\n\ntexname : prints the names of the textures on the selected brush. Used to track down problems with accidentally taking graphics out of a wadfile.\n\n"; + string = "QuakeEd 2.0\nby John Carmack and John Romero\n\nTerms:\n\nBrush\nA convex polyhedron with a textruedef for each face.\n\nEntity\nA set of brushes and key/value attributes. The world is allways entity 0. Lights, doors, monsters, etc are all entities. Entities can either have a fixed, non-modifiable size (monsters, lights, etc), or can be represented by an arbitrary collection of brushes (doors, plats, bridges, etc).\n\nAn entity is created by selecting one or more brushes in the world, then selecting a class in the Entity Browser, then clicking Create Entity (or double click the class name). If the entity class has a fixed size, the selected brushes are removed and a fixed sized brush is put in their place. Otherwise, the selected brushes are removed from the world entity and made the contents of the newly created entity.\n\nCurrent Entity\n\nSelection\nThe current selection of brushes is drawn with a red outline.\n\nThe selection is not cleared when loading a new map, so selections can be brought over from other files.\n\nTexturedef\nA texture name with offset numbers and flip flags. Determines what will be drawn on a brush face. By default, all faces of a brush have the same texturedef, but you can explicityly change single faces if desired.\n\n\n\nUsing QuakeEd:\n\nThe NeXT \"cmd\" key is the alt key on the left side of the space bar. \"alt\" is the alt key on the right side.\n\nCamera View\n\nclick\t\nSets the current texturedef to the value of the face clicked on.\n\nDoes not change any selection status.\n\nf there are any brushes selected, they will all be changed to this texturedef.\n\nIf there are no brushes selected, the height of the next new brush created will be set based on the size of the brush clicked on.\n\n\nshift-click\nToggles the selection status of the clicked on brush.\n\nIf the brush is part of a different entity than the current entity, all brushes in current are deselected before selecting the new brush. The current entity inpector is then changed to reflect the new entity.\n\nalt-click\nSets the entire brush clicked on to the current texturedef. Does not change any selection status.\n\nalt-ctrl-click\nSets the single face clicked on to the current texturedef without changing the other faces.\n\n\nright-click drag\nChange camera angle.\n\n\nXYView\n\ndouble click\nPositions the Z checker at the click point.\n\nclick drag with no selection\nThe camera or Z checker will be dragged if directly clicked on, otherwise a new rectilinear brush will be dragged out from the click point. The initial height of the brush is determined by the last brush selected or camera-clicked on.\n\nIf the button is released when the new brush has no volume (a veneer), the brush is discarded.\n\nclick drag with a single brush selected\nIf the click is inside the selected brush, the brush will be dragged around without changing its shape.\n\nIf the click is outside the brush, dragging will move the planes that face the click point. Planes will move only directly along their normals, so a recrilinear brush will stay rectilinear.\n\nSpawned entity brushes (monsters, etc) can not be resized at all.\n\nclick drag with multiple brushes selected\nNo group shape changes are allowed, so the click must be inside one of the brushes, and all brushes are moved together.\n\ncmd-click drag with a single brush selected\nHolds the plane that faces the click point, and shears the adjacent planes. To grab a single corner, click outside the brush in the overlap area between two planes. If you click inside the brush, the top plane will be held.\n\nshift-click\nToggles the selection status of the clicked on brush as in the camera view.\n\nEntities are allways checked before the world, so you can shift-click on entities even if there is a ceiling above them.\n\ncmd-shift click\nConnects two entities. The current entity has a target key generated, and the clicked on entity has a targetname key created.\n\nalt-click\nalt-ctrl-click\nSets textures as in the camera view.\n\nctrl-click\nMoves the camera to the point clicked on. It can be dragged dynamically if desired.\n\nright click\nright ctrl-click\nPoints the camera towards the click point. It can be dragged if desired.\n\ncmd-right click drag\nSlides the XY view to expose more space.\n\nalt-right click\nPositions a clipper tool endpoint. The first click places it at the minimum Z of the selection. A second click at the same point moves it to the maximum Z of the selection.\n\nTwo clipper points will carve as a straight line in the XY view. Three points (one of which must be at the max point instead of the min) will carve a slope.\n\nEscape removes the current clippers, and enter actually cuts the selection.\n\n\nZView\n\nclick drag\nThe camera icon can be dragged if it is clicked on, otherwise no action if there is not a selection.\n\nIf multiple brushes are selected, they will allways be dragged as a unit, no matter where the click is.\n\nIf a single brush is selected, the location of the click determines if the drag will move the entire brush or just the top or bottom plane.\n\nA click anywhere on the left side of the Z view will drag the full brush. If the click is on the right side, it will drag just the plane closest to it, changing the size of the brush. Clicking inside a brush on the right side also drags the full brush.\n\nshift-click\nToggles the selection status of the clicked on brush as in the camera view.\n\nalt-click\nSets the entire brush texture as in the camera view. (alt-ctrl click is meaningless without a direction)\n\nctrl-click\nMoves the camera to the height clicked on. It can be dragged dynamically if desired.\n\nright click drag\nSlides the Z view to expose more space.\n\n\nKeyboard\n\nF2 : set camera wire draw mode\nF3 : set camera solid draw mode\nF4 : set camera textured draw mode\n\nF5 : set XY wire draw mode\nF6 : set XY textured draw mode\n\nF8 : Home camera pitch angle\n\nF12 : geometrically subtract the selection from the rest of the world.\n\nPageUp : moves the camera view to the next floor up.\nPageDown : moves the camera view to the next floor down.\n\ncursor arrows, a z d c , .\nStep move the camera with quake controls.\n\nEsc or End: deselect all selected brushes\nBackspace : delete all selected brushes\n\n/ : Flip the normal on the clipper tool\n\nEnter : Carve selected brushes by the clipper tool\n\nSpace : clone all selected brushes. deselects the originals and selects the copies after offsetting by the grid size.\n\nKeypad arrows: moves the current selection in gridsize incrmenets.\n\n+ - : moves the current selection up or down by gridsize increments.\n\ncmd-1 - cmd-7 : change inspectors\n\n\nText commands\n\nObscure commands are entered by typing the command into the command field (under the output field).\n\ntexname : prints the names of the textures on the selected brush. Used to track down problems with accidentally taking graphics out of a wadfile.\n\n"; subviews = "Object 7"; superview = "Object 139"; textColor = "Object 124"; diff --git a/tools/Forge/Bundles/MapEdit/QuakeEd.m b/tools/Forge/Bundles/MapEdit/QuakeEd.m index f00bb7cac..372dde803 100644 --- a/tools/Forge/Bundles/MapEdit/QuakeEd.m +++ b/tools/Forge/Bundles/MapEdit/QuakeEd.m @@ -854,7 +854,7 @@ saveAs - deselect: sender { - if ([clipper_i hide]) // first click hides clipper only + if ([clipper_i hide]) // first click hides only the clipper return [self updateAll]; [map_i setCurrentEntity: [map_i objectAt: 0]]; // make world selected diff --git a/tools/Forge/Bundles/MapEdit/TexturePalette.m b/tools/Forge/Bundles/MapEdit/TexturePalette.m index 982d24d11..7d674deb0 100644 --- a/tools/Forge/Bundles/MapEdit/TexturePalette.m +++ b/tools/Forge/Bundles/MapEdit/TexturePalette.m @@ -758,7 +758,7 @@ qtexture_t *TEX_ForName (char *name) }; // -// Scan thru map & only display textures that are in map +// Scan thru map & display only textures that are in map // - onlyShowMapTextures:sender { diff --git a/tools/Forge/Bundles/MapEdit/help.txt b/tools/Forge/Bundles/MapEdit/help.txt index 92e9eb1fb..646b61084 100644 --- a/tools/Forge/Bundles/MapEdit/help.txt +++ b/tools/Forge/Bundles/MapEdit/help.txt @@ -68,7 +68,7 @@ If the button is released when the new brush has no volume (a veneer), the brush click drag with a single brush selected If the click is inside the selected brush, the brush will be dragged around without changing its shape. -If the click is outside the brush, dragging will move the planes that face the click point. Planes will only move directly along their normals, so a recrilinear brush will stay rectilinear. +If the click is outside the brush, dragging will move the planes that face the click point. Planes will move only directly along their normals, so a recrilinear brush will stay rectilinear. Spawned entity brushes (monsters, etc) can not be resized at all. diff --git a/tools/Forge/Documentation/help.txt b/tools/Forge/Documentation/help.txt index 578dc8c5b..26a0482cd 100644 --- a/tools/Forge/Documentation/help.txt +++ b/tools/Forge/Documentation/help.txt @@ -68,7 +68,7 @@ If the button is released when the new brush has no volume (a veneer), the brush click drag with a single brush selected If the click is inside the selected brush, the brush will be dragged around without changing its shape. -If the click is outside the brush, dragging will move the planes that face the click point. Planes will only move directly along their normals, so a recrilinear brush will stay rectilinear. +If the click is outside the brush, dragging will move the planes that face the click point. Planes will move only directly along their normals, so a recrilinear brush will stay rectilinear. Spawned entity brushes (monsters, etc) can not be resized at all. diff --git a/tools/cvs2cl/TODO b/tools/cvs2cl/TODO index dfc42c81b..8a3601737 100644 --- a/tools/cvs2cl/TODO +++ b/tools/cvs2cl/TODO @@ -8,7 +8,7 @@ Type C-c C-t to collapse all entries, C-c C-a to show them. * Cumulative behavior? Would be great if cvs2cl could read an existing ChangeLog and then -only get the amount of information required to bring it up to date. +get only the amount of information required to bring it up to date. I.e., it would find the front date in the ChangeLog and use that in a "cvs log -d" invocation. Heh. Easy to do. So do it. diff --git a/tools/cvs2cl/cvs2cl.pl b/tools/cvs2cl/cvs2cl.pl index 9c404e8ff..ce11fba00 100755 --- a/tools/cvs2cl/cvs2cl.pl +++ b/tools/cvs2cl/cvs2cl.pl @@ -151,7 +151,7 @@ my @Ignore_Files; # and user might add "i" by using --case-insensitive option. my $Case_Insensitive = 0; -# Maybe only show log messages matching a certain regular expression. +# Maybe show only log messages matching a certain regular expression. my $Regexp_Gate = ""; # Pass this global option string along to cvs, to the left of `log': diff --git a/tools/qfbsp/include/bsp5.h b/tools/qfbsp/include/bsp5.h index c7399aab2..31bd9f13c 100644 --- a/tools/qfbsp/include/bsp5.h +++ b/tools/qfbsp/include/bsp5.h @@ -71,7 +71,7 @@ typedef struct visfacet_s { int contents[2]; // 0 = front side struct visfacet_s *original; // face on node - int outputnumber; // only valid for original faces after + int outputnumber; // valid only for original faces after // write surfaces qboolean detail; // is a detail face @@ -83,7 +83,7 @@ typedef struct surface_s { struct surface_s *next; struct surface_s *original; // before BSP cuts it up int planenum; - int outputplanenum; // only valid after WriteSurfacePlanes + int outputplanenum; // valid only after WriteSurfacePlanes vec3_t mins, maxs; qboolean onnode; // true if surface has already been used // as a splitting node @@ -100,10 +100,10 @@ typedef struct node_s { // information for decision nodes int planenum; // -1 = leaf node - int outputplanenum; // only valid after WriteNodePlanes + int outputplanenum; // valid only after WriteNodePlanes int firstface; // decision node only int numfaces; // decision node only - struct node_s *children[2]; // only valid for decision nodes + struct node_s *children[2]; // valid only for decision nodes face_t *faces; // decision nodes only, list for both sides // information for leafs @@ -252,7 +252,7 @@ void extract_hull (void); extern brushset_t *brushset; -void qprintf (const char *fmt, ...) __attribute__ ((format (printf, 1, 2))); // only prints if verbose +void qprintf (const char *fmt, ...) __attribute__ ((format (printf, 1, 2))); // prints only if verbose extern int valid; diff --git a/tools/qfbsp/source/portals.c b/tools/qfbsp/source/portals.c index ae7900036..71a9c8edf 100644 --- a/tools/qfbsp/source/portals.c +++ b/tools/qfbsp/source/portals.c @@ -515,7 +515,7 @@ NumberLeafs_r (node_t *node) for (p = node->portals; p;) { if (p->nodes[0] == node) { - // only write out from first leaf + // write out from only the first leaf if (SameContents(p->nodes[0], p->nodes[1])) num_visportals++; p = p->next[0]; diff --git a/tools/qfbsp/source/qfbsp.c b/tools/qfbsp/source/qfbsp.c index affcbd78c..7c5d7ae96 100644 --- a/tools/qfbsp/source/qfbsp.c +++ b/tools/qfbsp/source/qfbsp.c @@ -274,7 +274,7 @@ ClipWinding (winding_t *in, plane_t *split, qboolean keepon) DivideWinding Divides a winding by a plane, producing one or two windings. The - original winding is not damaged or freed. If only on one side, the + original winding is not damaged or freed. If on only one side, the returned winding will be the input winding. If on both sides, two new windings will be created. */ @@ -595,7 +595,7 @@ WriteClipHull (void) for (i = 0; i < bsp->numclipnodes; i++) { d = &bsp->clipnodes[i]; p = &bsp->planes[d->planenum]; - // the node number is only written out for human readability + // the node number is written out only for human readability fprintf (f, "%5i : %f %f %f %f : %5i %5i\n", i, p->normal[0], p->normal[1], p->normal[2], p->dist, d->children[0], d->children[1]); @@ -687,7 +687,7 @@ CreateSingleHull (void) static void CreateHulls (void) { - // commanded to create a single hull only + // commanded to create only a single hull if (hullnum) { CreateSingleHull (); exit (0); diff --git a/tools/qfbsp/source/writebsp.c b/tools/qfbsp/source/writebsp.c index f013dbbf9..e2d9ad80a 100644 --- a/tools/qfbsp/source/writebsp.c +++ b/tools/qfbsp/source/writebsp.c @@ -265,7 +265,7 @@ WriteDrawNodes (node_t *headnode) /* BumpModel - Used by the clipping hull processes that only need to store headclipnode + Used by the clipping hull processes that need to store only headclipnode */ void BumpModel (int hullnum) diff --git a/tools/qfcc/doc/man/qfcc.1 b/tools/qfcc/doc/man/qfcc.1 index 6a2cf64f3..995b023a1 100644 --- a/tools/qfcc/doc/man/qfcc.1 +++ b/tools/qfcc/doc/man/qfcc.1 @@ -54,7 +54,7 @@ Set code generation options. See \fBCODE GENERATION OPTIONS\fP for details. .TP .B \-c -Compile only, do not link. +Only compile, do not link. Can be used in either \fBprogs.src\fP or separate compilation modes. .TP .B \-\-cpp CPPSPEC @@ -65,7 +65,7 @@ See \fBCPP NAME\fP for details. Define a symbol for the preprocessor, if it is in use. .TP .B \-E -Preprocessor only. +Only preprocess. No compilation or linking is done. .TP .B \-F, \-\-files diff --git a/tools/qfcc/doc/qcc.txt b/tools/qfcc/doc/qcc.txt index 0f7fbab90..23414093d 100644 --- a/tools/qfcc/doc/qcc.txt +++ b/tools/qfcc/doc/qcc.txt @@ -63,7 +63,7 @@ can continue with those characters or 0-9. There are two levels of scoping: global, and function. The parameter list of a function and any vars declared inside a function with the "local" -statement are only visible within that function, +statement are visible only within that function, immediates diff --git a/tools/qfcc/doc/qfcc.lyx b/tools/qfcc/doc/qfcc.lyx index 4cf4449b5..7f2712f7c 100644 --- a/tools/qfcc/doc/qfcc.lyx +++ b/tools/qfcc/doc/qfcc.lyx @@ -2449,7 +2449,7 @@ expr ) \family default cast expression. - Only works for converting between integer and float types and between pointer + Works only for converting between integer and float types and between pointer types. \layout Labeling \labelwidthstring 00.00.0000 diff --git a/tools/qfcc/include/options.h b/tools/qfcc/include/options.h index 38ae53ec6..c61f1cf7c 100644 --- a/tools/qfcc/include/options.h +++ b/tools/qfcc/include/options.h @@ -82,7 +82,7 @@ typedef struct { qboolean advanced; // behold the power of Ruamoko qboolean compile; // serparate compilation mode qboolean partial_link; // partial linking - qboolean preprocess_only;// only run cpp, don't compile + qboolean preprocess_only;// run only cpp, don't compile qboolean gzip; // compress qfo files when writing int strip_path; // number of leading path elements to strip // from source file names diff --git a/tools/qfcc/include/reloc.h b/tools/qfcc/include/reloc.h index 1b91ef161..46fae40eb 100644 --- a/tools/qfcc/include/reloc.h +++ b/tools/qfcc/include/reloc.h @@ -39,7 +39,7 @@ /** Relocation record types. Types marked with * are relative and fixed up before the qfo is written. - Types marked with ! are handled by only by the linker. + Types marked with ! are handled by only the linker. Types marked with + use pr.relocs */ typedef enum { diff --git a/tools/qfcc/source/expr.c b/tools/qfcc/source/expr.c index eb866ddbb..c79f8a99e 100644 --- a/tools/qfcc/source/expr.c +++ b/tools/qfcc/source/expr.c @@ -312,11 +312,11 @@ check_initialized (expr_t *e) else notice (e, "%s may be used uninitialized", name); } - e->e.def->suppress = 1; // only warn once + e->e.def->suppress = 1; // warn only once if (options.traditional && options.code.local_merging && !e->e.def->set) { def_t *def = e->e.def; - e->e.def->set = 1; // only auto-init once + e->e.def->set = 1; // auto-init only once e = assign_expr (e, new_nil_expr ()); e->file = def->file; e->line = def->line; @@ -2874,7 +2874,7 @@ _warning (expr_t *e, const char *fmt, va_list args) report_function (e); if (options.warnings.promote) { - options.warnings.promote = 0; // only want to do this once + options.warnings.promote = 0; // want to do this only once fprintf (stderr, "%s: warnings treated as errors\n", "qfcc"); pr.error_count++; } diff --git a/tools/qfcc/source/options.c b/tools/qfcc/source/options.c index 91b3e3bb1..6f0a7eafd 100644 --- a/tools/qfcc/source/options.c +++ b/tools/qfcc/source/options.c @@ -100,7 +100,7 @@ static const char *short_options = "C:" // code options "c" // separate compilation "D:" // define - "E" // preprocess only + "E" // only preprocess "F" // generate files.dat "g" // debug "h" // help @@ -133,10 +133,10 @@ usage (int status) " --advanced Advanced Ruamoko mode\n" " default for separate compilation mode\n" " -C, --code OPTION,... Set code generation options\n" -" -c Compile only, don't link\n" +" -c Only compile, don't link\n" " --cpp CPPSPEC cpp execution command line\n" " -D, --define SYMBOL[=VAL] Define symbols for the preprocessor\n" -" -E Preprocess only\n" +" -E Only preprocess\n" " -F, --files Generate files.dat\n" " -g Generate debugging info\n" " -h, --help Display this help and exit\n" diff --git a/tools/qfcc/test/defs.h b/tools/qfcc/test/defs.h index 9f0b90b01..7c5ee5178 100644 --- a/tools/qfcc/test/defs.h +++ b/tools/qfcc/test/defs.h @@ -526,7 +526,7 @@ @extern .string mdl; @extern .vector mangle; // angle at start -@extern .vector oldorigin; // only used by secret door +@extern .vector oldorigin; // used by only secret doors @extern .float t_length, t_width; diff --git a/tools/qflight/source/ltface.c b/tools/qflight/source/ltface.c index 4677177fe..6e75c42fc 100644 --- a/tools/qflight/source/ltface.c +++ b/tools/qflight/source/ltface.c @@ -74,7 +74,7 @@ If done in the straightforward fashion, some of the sample points will be inside walls or on the other side of walls, causing false shadows and light bleeds. -To solve this, I only consider a sample point valid if a line can be drawn +To solve this, I consider a sample point valid only if a line can be drawn between it and the exact midpoint of the face. If invalid, it is adjusted towards the center until it is valid. diff --git a/tools/qfmodelgen/source/modelgen.c b/tools/qfmodelgen/source/modelgen.c index 054342f1c..3605ed782 100644 --- a/tools/qfmodelgen/source/modelgen.c +++ b/tools/qfmodelgen/source/modelgen.c @@ -57,16 +57,16 @@ typedef struct { aliasframetype_t type; // single frame or group of frames void *pdata; // either a daliasframe_t or group info - float interval; // only used for frames in groups - int numgroupframes; // only used by group headers + float interval; // used only for frames in groups + int numgroupframes; // used only by group headers char name[16]; } aliaspackage_t; typedef struct { aliasskintype_t type; // single skin or group of skiins void *pdata; // either a daliasskinframe_t or group info - float interval; // only used for skins in groups - int numgroupskins; // only used by group headers + float interval; // used only for skins in groups + int numgroupskins; // used only by group headers } aliasskinpackage_t; typedef struct { diff --git a/tools/qfvis/source/flow.c b/tools/qfvis/source/flow.c index 92f5a7832..666747fdf 100644 --- a/tools/qfvis/source/flow.c +++ b/tools/qfvis/source/flow.c @@ -272,7 +272,7 @@ RecursiveClusterFlow (int clusternum, threaddata_t *thread, pstack_t *prevstack) continue; if (!prevstack->pass) { - // the second cluster can only be blocked if coplanar + // the second cluster can be blocked only if coplanar stack.source = prevstack->source; stack.pass = target; diff --git a/tools/texpaint/gladesrc.h b/tools/texpaint/gladesrc.h index cdfe75b85..f612ab1f4 100644 --- a/tools/texpaint/gladesrc.h +++ b/tools/texpaint/gladesrc.h @@ -31,8 +31,8 @@ get_widget (GtkWidget *widget, /* - * This is an internally used function for setting notebook tabs. It is only - * included in this header file so you don't get compilation warnings + * This is an internally used function for setting notebook tabs. It is + * included in this header file only so you don't get compilation warnings */ void set_notebook_tab (GtkWidget *notebook, diff --git a/vc2005/qfcc/FlexBison.rules b/vc2005/qfcc/FlexBison.rules index d4a7c2ede..0e4c1e3dc 100644 --- a/vc2005/qfcc/FlexBison.rules +++ b/vc2005/qfcc/FlexBison.rules @@ -89,7 +89,7 @@ Name="InteractiveScanner" DisplayName="Generate an interactive scanner" PropertyPageName="Performance" - Description="Instructs flex to generate an interactive scanner. An interactive scanner is one that only looks ahead to decide what token has been matched if it absolutely must." + Description="Instructs flex to generate an interactive scanner. An interactive scanner is one that looks ahead to decide what token has been matched only if it absolutely must." Switch="-I" />