Bill Currie
e32e8f3cd3
Give nq cl_usleep.
...
Cuts nq-glx' cpu usage to about 25% on my system. However, the default is
off.
2010-11-29 19:50:59 +09:00
Bill Currie
d8eb3aab36
Move the desktop files into their own directory.
2010-11-29 14:26:33 +09:00
Bill Currie
8831a109a4
Create and use mclipnode_t.
...
I didn't realize this was a critical part of fitzquake's large map
support. This should fix the non-solid brush entities in Conflagrant
Rodent.
2010-11-29 09:36:21 +09:00
Bill Currie
995a8d3e4e
Don't use assembly code for SV_HullPointContents.
...
This is the only assembly code dependent on the size of dclipnode_t.
Removing it paves the way for fixing clipnodes in large maps.
2010-11-29 08:51:29 +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
525e20e3e2
Bring QW's unlimited beams/explosions into NQ.
2010-11-26 16:19:25 +09:00
Bill Currie
d4ae231f34
sezero's NET_SendToAll fix
...
Here's a patch to NET_SendToAll() which was always
broken: it never skipped non-connected clients.
Depending on the compiler, it would wait the whole
5 seconds of its blocktime before it gave up.
While there, changed its blocktime argument to
double (the comparison is against a double.)
2010-11-21 14:27:43 +09:00
Bill Currie
a51e888a1b
Nuke MAX_OSPATH and clean up the mess.
2010-08-25 13:31:08 +09:00
Bill Currie
2185a3dcd0
Remove almost all of my boxclip developement.
...
This is to prevent others accidently getting headaches from my code.
2010-08-20 14:13:23 +09:00
Bill Currie
669771681a
split up and modernize configure.ac
...
Most of the guts of configure.ac have been moved to config.d and are then
brought in by m4_include. This will make maintaining configure.ac much easier.
Also drop use of PROGRAM and VERSION, using PACKAGE_NAME, PACKAGE_VERSION, and
on occasion, PACKAGE_STRING instead, and clean out some old files we no longer
need.
2010-08-19 15:01:43 +09:00
Bill Currie
a9511cb69e
print the "message" of the map when displying the map name and time
2010-08-13 05:17:18 +00:00
Bill Currie
0dfff8fd58
ignore stuff
2010-08-07 10:42:09 +00:00
Bill Currie
98cf61dfd6
get the boxclipping debug code in semi-permanently (conditional, of course)
2010-08-05 02:52:56 +00: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
916aa6fe8b
give nq debugging abilities and minimize the differences between nq and qw
2010-01-13 06:29:36 +00:00
Bill Currie
6eae016d3e
minor cleanups
...
fix some comments, cleanup some whitespace, and don't explicitly call
PR_RelocateBuiltins as it is called (indirectly) by PR_LoadProgs.
2010-01-13 06:28:28 +00:00
Bill Currie
06a46c2dfe
change the return types of the new functions from float to integer
2010-01-13 06:23:59 +00:00
Bill Currie
15c46c3b27
Add some functions that runequake "needs".
...
These replace the CL_* related groveling.
2010-01-13 06:20:52 +00:00
Bill Currie
0647a156e3
Apply witukind's XDG support patch
2009-12-22 12:28:55 +00:00
Bill Currie
5d15c70a0d
progress in cleaning up the screen size mess
2009-12-22 06:02:53 +00:00
Bill Currie
4ff2cb88cf
bigscreen patch from Philippe Troin
2009-12-20 05:34:41 +00:00
Bill Currie
b14fcccd8f
get qf compiling with gcc 4.4
2009-12-19 10:54:23 +00:00
Bill Currie
5df7fe5512
printf bogosity fixes from Dabb
2009-04-10 23:59:48 +00:00
Bill Currie
59c077638a
Fix the annoying "Unknown interpreter 'id'" error. It was both bogus and a symptom of other problems (also fixed).
2009-03-16 11:49:52 +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
2881b4b284
make MOD_TraceLine recursive again so I can work on box clipping without losing so much hair
2007-09-16 07:55:44 +00:00
Bill Currie
e8cce4f626
make sv_progs changeable
2007-09-15 01:50:29 +00:00
Bill Currie
b1b7c49b11
plug a memory leak when saving games
2007-05-13 03:34:49 +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
0aaab839c6
seems nobody tried to run nq-server on a 64 bit system...
2007-04-08 10:06:49 +00:00
Bill Currie
124506fda2
Fix the access alignment bug on 64 bit archs.
2007-04-07 01:41:23 +00:00
Bill Currie
b203512eb7
don't complain about _fields not being found
2007-04-07 01:02:14 +00:00
Bill Currie
df2bebde7e
more vc build patches from phrosy
2007-04-06 01:09:58 +00:00
Bill Currie
5b761bac83
make progs related code a little more consistent with its int type usage
2007-04-06 00:47:41 +00:00
Bill Currie
51a7392730
fix both the black skins and phrosty's overzealous memcpy bugs
2007-04-03 22:47:42 +00:00
Bill Currie
ab11912f93
fix the scrag = fiend bug
2007-03-25 05:47:53 +00:00
Bill Currie
d5f886c334
forgot to read lightstyles
2007-03-25 03:50:18 +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
7624f2eb87
still disabled, but put the box tracing code in the shared code
2006-12-24 03:46:12 +00:00
Bill Currie
45d467d748
box tracing (instead of point). Currently disabled because it doesn't work right just yet. However, when it is working, it will let us do things like crouching, crawling, arbitrary sized objects (including players), etc.
2006-12-24 03:13:29 +00:00
Bill Currie
70ec9848e7
add PL_RemoveObjectForKey and make PL_D_AddObject take a normal C string for key instead of a pl string.
2006-12-09 06:00:36 +00:00
Bill Currie
c290e9a988
use plists for save-games. old save-games can still be read, but new ones will always be in the new format. might be a good idea to back up any old saves until more testing has been done.
2006-12-09 02:35:44 +00:00
Bill Currie
2a79f42eb5
progs now internally uses plists for entity/global initialization, with support for direct conversion from id's format. This means that the entity string in a map (or the external ent file) can be a plist.
2006-12-09 00:02:57 +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
501180aaac
gcc-4.0 fixes. even found some bugs :) (names /not/ mangled this time)
2005-06-08 06:35:48 +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
b7def83d19
patch from raorn ("Alexey I. Froloff" <sir_raorn@immo.ru>) to fix
...
interaction between -hipnotic (etc) and -game
2005-02-14 09:08:32 +00:00
Bill Currie
53ee50655c
allow the progs code to hook into the parsing processes
...
This is an imperfect revision of history.
2004-11-12 11:15:00 +00:00
Bill Currie
0e324d1851
use the script api for parsing ent data and savegames
...
This is an imperfect revision of history.
2004-11-12 02:39:00 +00:00
Bill Currie
78d98ea787
remove the time pointer (not really needed)
...
This is an imperfect revision of history.
2004-11-09 22:32:00 +00:00
Bill Currie
201252c1c0
FIXME cleanup and a missed win32 compile fix
...
This is an imperfect revision of history.
2004-11-06 02:21:00 +00:00
Bill Currie
f5bc90a53a
clean up some redundant progs functions (may be broken for a while)
...
This is an imperfect revision of history.
2004-11-05 11:49:00 +00:00
Bill Currie
2cb81b37f9
move the *_RecursiveHullCheck functions from pmovetst.c and world.c to MOD_TraceLine in libs/models/trace.c, at the same time rewriting the code to work itteratively rather than recursively.
...
This is an imperfect revision of history.
2004-11-02 08:40:00 +00:00
Bill Currie
e9f19be2bb
fix a thinko pointed out by zenja-b
2004-05-08 23:27:05 +00:00
Bill Currie
8a237169c3
patches to allow for multiple view ports
2004-05-07 03:54:35 +00:00
Bill Currie
5099c05605
bring back my stuttering fixes
2004-05-04 21:59:17 +00:00
Bill Currie
9ed9832789
bring back the alpha setting for dlights (finally found out what it was
...
for) and "fix" the wayward dlights in mvds: caused by svc_muzzleflash being
written before the player updates. Should probably fix properly that in the
server too.
2004-05-03 06:21:39 +00:00
Bill Currie
4882005a49
compile fixes (oops) and start working on quaternion support in qfcc
2004-04-08 02:33:20 +00:00
Bill Currie
49f8787450
fix up some accidental asm compilation when it's not wanted
2004-04-04 05:34:20 +00:00
Bill Currie
826453a992
make "color" work in nq-server (worked fine in nq-x11 -dedicaged)
2004-03-22 04:22:33 +00:00
Bill Currie
e5ccf09aa0
oops, old_origin is for trails
2004-03-15 00:32:49 +00:00
Bill Currie
8e9da44d7d
insert entities into the bsp tree for later renderer queuing based on vis
...
rather than directly into the queue. gives a 6.6% speedup for bigass1,
maybe slight loss for demo1 and definitly minor loss for nullrendering.
However, it gives us potential access to info we wouldn't otherwise have
ready access to.
2004-03-11 04:13:12 +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
39fc0fe721
more centerprint cleanup.
2004-03-02 00:58:13 +00:00
Bill Currie
d3dfb0ebd1
better screen function list selection
2004-03-02 00:02:09 +00:00
Bill Currie
2955fac550
first step of centerprint/finale cleanup. fixes the misplaced text for
...
end-of-episode text
2004-03-01 23:47:39 +00:00
Ragnvald Maartmann-Moe IV
3acb2091ad
Whitespace, plus inline a few small functions.
2004-02-24 20:06:53 +00:00
Bill Currie
768de2df0e
work with progs that use @self instead of self
2004-02-17 05:12:50 +00:00
Bill Currie
526605c99c
Grievre's patch to fix the sound channel leak.
2004-02-17 00:47:17 +00:00
Chris Ison
6642686e33
removal of legacy MGL block_drawing variable. Fixed window restore bug that prevented the screen from being updated.
2004-02-15 03:40:50 +00:00
Bill Currie
761831fd15
fix a misleading var name and make WriteBytes resemble qw's WriteBytes more
...
closely
2004-02-09 07:53:05 +00:00
Bill Currie
528bc8ae64
bring in WriteBytes, WriteAngleV and WriteCoordV from qw
2004-02-09 06:55:13 +00:00
Bill Currie
920b80fd8c
fix a goofed hardcoding
2004-02-07 00:19:51 +00:00
Bill Currie
7471354c83
<==> QuakeForge initialized<==> to <==> QuakeForge initialized <==>
2004-02-06 01:23:05 +00:00
Ragnvald Maartmann-Moe IV
3dff32a314
Rename some functions. Now have IN_DownPress instead of IN_DownDown.
...
Slightly more obvious at a glance what is going on, without rooting around in
source.
2004-02-03 05:16:22 +00:00
Bill Currie
59101d3272
don't allow non-set commands to be executed outside _Host_Frame because
...
they can call Host_Error which calls longjmp and it's _Host_Frame that
calls setjmp... fixes the segfault when +connect foo fails
2004-01-27 06:02:41 +00:00
Bill Currie
c1a43705da
fix auto-addition of -dedictated
2004-01-27 05:38:34 +00:00
Bill Currie
8f0c6dffed
no more Max Headroom impersonations during level changes
2004-01-21 20:09:12 +00:00
Bill Currie
390ca99a92
first step to making qfdefs redundant. "standard" progs now get resolved
...
staticly rather than looking up the defs. "broken" progs should now work.
2004-01-21 08:09:47 +00:00
Bill Currie
283d49bd8e
first chunk of Mike Gorchak's <mike@malva.ua> QNX patches
2004-01-20 05:57:39 +00:00
Bill Currie
e154c9add5
be consistent with WIN32 and _WIN32 (now all _WIN32)
2004-01-20 03:47:27 +00:00
Bill Currie
77b2942982
several libs can now get built as dlls in windows: console, gamecode,
...
gamecode_builtins, gib, image, modules, object, ruamoko and util.
2004-01-19 07:47:41 +00:00
Bill Currie
fa6916cedd
*sigh*, got a little too eager.
2004-01-19 02:54:31 +00:00
Bill Currie
de7a4e326e
nq blood particle hack from Grievre
2004-01-19 02:43:55 +00:00
Bill Currie
7ba6756810
temporary hack to avoid crashing when s_explod.mdl isn't precached but
...
explosions are requested
2004-01-17 07:14:42 +00:00
Bill Currie
249aee2e9f
move the OO runtime support code from libQFgamecode to libQFruamoko where
...
it really belongs :)
2004-01-16 08:02:31 +00:00
Bill Currie
e7ffad8772
more rua cleanups: now just one init function to call (it calls the rest)
2004-01-16 07:03:58 +00:00
Bill Currie
01392c78bb
move the bulk of what whas libQFcsqc to libQFruamoko.
2004-01-16 05:46:19 +00:00
Bill Currie
bdd5c8aa96
gah, c&p strikes again
2004-01-07 07:28:15 +00:00
Bill Currie
9537640b1c
don't write config.cfg until /after/ it's been read :)
2004-01-07 06:29:34 +00:00
Bill Currie
133879f8fa
provide builtin mappings for id (none, really), qf and ktpro/qwe (qw only),
...
add qwe builtin extensions to qw-server. provide sv_progs_ext to control
the builtin mapping. valid values are "id", "qf" (our old static builtins),
"qwe"/"ktpro" (either works. for ktpro mod support) and "none" (no
mapping). any other value is equivalent to "none".
2004-01-06 07:00:39 +00:00
Bill Currie
acd54afff7
move to using a hash table for builtin number -> builtin lookup so sparse
...
ranges can be used efficiently. move the auto-allocated builtins to
0x10000000-0x7fffffff. should be more than enough :)
use static builtin tables ("nul" terminated) instead of a series of
function calls to add builtins to a vm. should be more memory efficient.
2004-01-06 05:51:09 +00:00
Bill Currie
e53967b346
--disable-static now works (thanks for the heads-up, raorn)
2003-12-22 20:51:08 +00:00
Bill Currie
fade4419f7
clients now need to link in the server console plugin when static
2003-12-19 04:50:42 +00:00
Bill Currie
7d82daa127
dedicated server needs/wants the text (server) console plugin, not the
...
console plugin (ie, when static)
2003-12-19 03:41:58 +00:00
Bill Currie
e56e566bca
eek, had the entity center-point calculation wrong. thanks, grievre
2003-12-09 04:29:12 +00:00