Bill Currie
ce96e6b055
The beginnings of fog support.
...
gl_fog.c is taken from fitzquake with only minor modifications to get it
into QF. Other than worldspawn/network parsing, it's not used yet.
2010-12-10 17:17:30 +09:00
Bill Currie
aad204e80c
Set the skybox from the map's worldspawn sky field.
2010-12-10 17:17:30 +09:00
Bill Currie
a4b97e9e2e
Dynamic entity allocation. Unlimited static entities.
...
Entities can now be allocated dynamically. They are freed whenever a new
map is loaded.
Use the dynamic entities for static entities.
2010-12-03 21:01:52 +09:00
Bill Currie
c526b615b1
Tweak server connection handling.
...
Add some \n to the strings and do a Host_Error when the server is using a
"bad" protocol version.
2010-11-27 07:27:59 +09:00
Bill Currie
cacd2fb895
FiztQuake's lerping system.
...
Seems to be mostly working. I get some funny results for zombies, but that
might be moving and turning at the same time causing issues.
2010-11-26 16:20:05 +09:00
Bill Currie
31c13d92a2
Protocol 666/large map support from FitzQuake.
...
Alpha and lerping aren't implemented yet, but things seem to be working. I
can load and play oms2.bsp (Conflagrant Rodent).
2010-11-26 16:20:05 +09:00
Bill Currie
8c4fe2f844
Rename Sys_DPrintf to Sys_MaskPrintf.
...
We now have finer runtime control over what gets printed. Need to do a
SYS_DEV audit, creating new masks as apropriate.
2010-11-26 16:19:26 +09:00
Bill Currie
997102fea8
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.
2010-01-13 06:42:26 +00:00
Bill Currie
d66934942d
nuke Con_Printf and Con_DPrintf and use Sys_* instead
2007-11-06 10:17:14 +00:00
Bill Currie
dd1adc0431
remove S_TouchSound: it doesn't seem to be necessary
2007-05-07 12:20:38 +00:00
Bill Currie
cde6e60848
most of the hacking needed to break out the common code from snd_dma.c
2007-03-17 03:10:45 +00:00
Bill Currie
0105754f6f
clean out some no-op functions
2007-03-10 14:17:52 +00:00
Bill Currie
3fb03fc2be
hah, should have been using __attribute__((used)) all that time (rather
...
than __attribute__((unused))). fixes the missing console in -x11
2005-08-04 15:27:09 +00:00
Bill Currie
2cc2da4d90
various little cleanups that should very fractionally speed up Host_Frame
2005-04-25 01:28:37 +00:00
Bill Currie
5099c05605
bring back my stuttering fixes
2004-05-04 21:59:17 +00:00
Bill Currie
37024a4419
final (?) cleanup of center printing. turns out there's no reason to keep
...
it in the renderer and every reason to pull it out (ok, some might
disagree:)
2004-03-02 03:55:18 +00:00
Bill Currie
526605c99c
Grievre's patch to fix the sound channel leak.
2004-02-17 00:47:17 +00:00
Bill Currie
8f0c6dffed
no more Max Headroom impersonations during level changes
2004-01-21 20:09:12 +00:00
Ragnvald Maartmann-Moe IV
c2053fbfb1
Prettier particles! Renderer is now informed of sv_gravity changes in qw. Not
...
supportable without protocol changes in nq.
2003-08-27 22:20:03 +00:00
Bill Currie
e36ce15b5c
private cbuf in map_cfg in nq too
2003-08-13 06:23:20 +00:00
Bill Currie
35eb866603
kill VID_HandlePause and IN_HandlePause as they never did anything and
...
IN_ModeChanged as it's a dead prototype
2003-04-08 17:55:32 +00:00
Ragnvald Maartmann-Moe IV
41bfde9cfa
More cleaning up after slobs.
2003-03-21 21:26:26 +00:00
Bill Currie
6a687f5e45
rename all the globals in quakefs.[ch] to be QFS_* or qfs_*
2003-02-14 19:46:07 +00:00
Bill Currie
761a7546dd
re-arrange things so __attribute__ and __builtin_expect are properly
...
autoconfiscated so rcsid will continue to work with gcc 3.3
2003-01-15 15:31:36 +00:00
Bill Currie
71196fedf6
make gcc more anal about prototypes, string constants and function
...
visibility (ie, global functions must have a prototype)
2003-01-06 18:28:13 +00:00
Bill Currie
ee30860cef
fix a bunch of ;; typos
2002-11-20 21:44:04 +00:00
Bill Currie
3d44623b57
change Cmd_Exec_File's api so it can conditionally use normal or quake
...
file system accesses. fixes the map.cfg exec problem
2002-11-08 16:39:28 +00:00
Bill Currie
864b181b99
d'oh, COM_FOpenFile could probably do with a re-design of its api :P
2002-11-08 03:27:05 +00:00
Bill Currie
ec0273e3dc
do a pre and post pass for maps/mapname.cfg and use maps_default.cfg if
...
maps/mapname.cfg doesn't exist.
2002-11-08 02:43:04 +00:00
Bill Currie
ca4b3acd6c
big protototype cleanup. Now, except for a few cases, all non-static
...
prototypes are in headers files.
2002-11-05 19:12:51 +00:00
Bill Currie
1025c6e343
forgot to remove my debug code
2002-09-18 03:55:43 +00:00
Bill Currie
0fbcd7719f
when bailing out of the bits tests due to U_EXTEND2 not being set, jump
...
to the forcelink test rather than returning from the function. fixes the
intermission bug.
2002-09-18 03:48:06 +00:00
Ragnvald Maartmann-Moe IV
7bf16df448
More QSG2 work.
2002-09-12 22:09:55 +00:00
Bill Currie
bd9092a626
per map config files (eg, maps/start.cfg for maps/start.bsp)
2002-08-06 05:45:03 +00:00
Bill Currie
ad6e025a91
take cmd.[ch] back to basics. the gib code is temporarily gone pending
...
renovations. cmd_source handling is a little hacky in nq, but it's working.
2002-07-31 05:19:03 +00:00
Ragnvald Maartmann-Moe IV
587de27849
Another step towards QSG2 compliance.
2002-07-25 14:43:36 +00:00
Ragnvald Maartmann-Moe IV
1478dcd9c9
Prune dead code.
2002-07-02 21:37:22 +00:00
Bill Currie
91dc5b20db
nuke MSG_ReadChar. Other than the sign extention, it's redundant and nothing
...
a suitable typecast can't take care of.
2002-07-02 19:15:29 +00:00
Ragnvald Maartmann-Moe IV
c8bc5dfb4c
QSG2 glows almost working. Plus lots of typos killed.
2002-06-18 21:41:24 +00:00
Ragnvald Maartmann-Moe IV
632683e703
Change sv_maxrate 0
to unlimited. Change default to 10000. Remove forced ceiling of 10000.
2002-06-17 16:18:34 +00:00
Ragnvald Maartmann-Moe IV
ceb73449bb
Order of operations cleanup, QSG2 alpha is now colormod[3] in entities.
2002-06-07 11:25:47 +00:00
Brian Koropoff
7241d69036
Fixes to echo, correct use of cmd_source and src_command, and change nq to
...
use cmd_legacybuffer for stufftext.
2002-03-04 01:11:05 +00:00
Bill Currie
bb96a5b736
first use of client side QuakeC :) (and having more than one progs instance
...
seems to work, too). The menu code gets loaded, but is currently otherwise
unused as of yet.
2002-01-18 19:19:33 +00:00
Ragnvald Maartmann-Moe IV
2db08923e8
MSG_(Read|Write)(Coord|Angle|CoordAngle)V. Cleanups, and preparation for use of vector ops in msg.c.
2001-12-12 21:56:09 +00:00
Ragnvald Maartmann-Moe IV
f66b7a93e5
Major particle interface cleanup, several bugfixes, and minor performance improvements. Oh, check out "/help easter_eggs" (gl-only, at the moment).
2001-12-11 22:37:30 +00:00
Bill Currie
9ccd42428d
this seems to give a 0.48% boost to bigass (220.45 to 221.52, null-renderer)
2001-11-28 00:19:27 +00:00
Bill Currie
1d410a3a1f
Move the CL_NewTranslation from the entity linking code into the protocol
...
updates (where it belongs). This gives a 1% boost to bigass1.
2001-11-27 22:44:12 +00:00
Bill Currie
f7c90759af
clean out the non-renderer fields from entity_t. not yet a noticable gain
...
but more work needs to be done on the linking code in the client. However,
there /does/ seem to be a slight gain with possibly less variance.
2001-11-27 21:42:49 +00:00
Bill Currie
78a3e398d5
* taniwha gets medieval on extern
2001-10-28 04:23:37 +00:00
Adam Olsen
18036b63d9
- change MSG_ReadString to return const char * and return a pointer
...
directly into the packet data.
- change a bunch of char *'s to const char *'s for the above. Only
thing that had trouble was the cl_nofake handler, which I changed to
use a local buffer.
- add MSG_ReadStaticString which acts like the old MSG_ReadString,
specifically that it uses a static buffer and tollerates
unterminated strings.
- add a Q_strnlen function, and make strnlen use it if strnlen is
undefined.
- Add a net_svc.h and net_svc.c which will preparse svc messages into
structs, for easier handling. Currently only soundlist and
modellist are done.
2001-10-18 04:44:58 +00:00