audit the usage of "only"

There are still a few iffy places (notably around certain prepositions), but
the relevant sentences are now much easier to read.
This commit is contained in:
Bill Currie 2010-01-13 06:42:26 +00:00 committed by Jeff Teunissen
parent 0a203c0ab5
commit 997102fea8
107 changed files with 195 additions and 194 deletions

View File

@ -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

6
NEWS
View File

@ -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.

View File

@ -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

View File

@ -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 <sys/types.h>

2
debian/control vendored
View File

@ -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

View File

@ -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)

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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.

View File

@ -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

View File

@ -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

View File

@ -136,7 +136,7 @@ and copy id1/*.pak to it. (<quakeforge-prefix> will be /usr/local/ by default)
Example:
$ cd <quakeforge-prefix>
$ 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 <quake1-dir>/id1/*.pak <quakeforge-prefix>/share/games/quakeforge/id1/

View File

@ -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

View File

@ -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<enter>"; you can disable the
joystick with "joystick 0<enter>" 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 ***

View File

@ -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

View File

@ -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;
// ============================================================================

View File

@ -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
*/

View File

@ -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);

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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);
}

View File

@ -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
*/

View File

@ -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);
}

View File

@ -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.

View File

@ -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) {

View File

@ -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)

View File

@ -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] == '.')

View File

@ -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 "

View File

@ -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 {

View File

@ -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");

View File

@ -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");

View File

@ -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);

View File

@ -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},

View File

@ -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

View File

@ -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)

View File

@ -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;

View File

@ -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)

View File

@ -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;

View File

@ -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)

View File

@ -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;

View File

@ -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)

View File

@ -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 {

View File

@ -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;

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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)

View File

@ -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;

View File

@ -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");

View File

@ -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

View File

@ -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

View File

@ -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)

View File

@ -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);

View File

@ -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

View File

@ -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);

View File

@ -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;
}

View File

@ -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

View File

@ -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

View File

@ -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];

View File

@ -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);

View File

@ -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

View File

@ -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");

View File

@ -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)

View File

@ -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);

View File

@ -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--;

View File

@ -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];

View File

@ -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;
}

View File

@ -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

View File

@ -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);

View File

@ -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");

View File

@ -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

View File

@ -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;

View File

@ -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

View File

@ -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 ();

View File

@ -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);

View File

@ -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);
}

View File

@ -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

View File

@ -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.
=================
*/

File diff suppressed because one or more lines are too long

View File

@ -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

View File

@ -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
{

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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':

View File

@ -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;

View File

@ -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];

View File

@ -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);

View File

@ -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)

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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 {

View File

@ -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++;
}

Some files were not shown because too many files have changed in this diff Show More