Bill Currie
543c4b2442
Don't force the console for ca_connected.
...
It's valid not to draw the console in ca_connected when changing levels.
2012-07-21 16:37:14 +09:00
Bill Currie
ec94a1e459
Update entity origin and angles even when invisible.
...
This fixes the broken intermissions. There might be a better fix, but this
will do for now because the one alternative solution (getting
V_CalcIntermissionRefdef to poke directly at entity states) is not
something I particularly want to do.
2012-07-21 15:39:11 +09:00
Bill Currie
372defc1be
Support up to 128 dlights.
...
More or less as per MH's tut, but really just finishing something that
should have been done years ago.
2012-07-21 13:58:54 +09:00
Bill Currie
106257d6e9
Allow reconstructed builtins to be found by name.
...
Certain versions of qcc (fteqcc comes to mind :P) strip the names from
builtin functions. This breaks saved games that happen to have a builtin
function in a saved function variable. The earlier builtin name
reconstruction patch happened to fix the writing of save games for such
progs, and this one fixes the reading.
2012-07-20 16:17:26 +09:00
Bill Currie
1bc2080bd3
Make noclipping players not touch triggers.
2012-07-18 14:51:53 +09:00
Bill Currie
15484956f7
Make con_speed 0 instant.
...
Nice for recording, and should give more accurate timedemos.
2012-07-18 14:50:49 +09:00
Bill Currie
d73b5045d8
Do not do any contents evaluation if not printing contents.
...
Fixes a segfault when tracing progs caused by the recent entity number
change.
2012-07-18 10:46:59 +09:00
Bill Currie
8691a2fbd1
Dump a stack trace when running out of edicts.
2012-07-18 10:30:58 +09:00
Bill Currie
7d8b0f96d6
Correct the fog distance calculations.
...
It turns out the pixel's z coord is correctly obtailed by
gl_FragCoord.z/gl_FragCoord.w.
2012-07-17 19:10:10 +09:00
Bill Currie
c4309e7abc
Correct the fog blend calculation for transparency.
...
The incoming pixel's alpha should not be affected by fog. This fixes the
ugly square smoke particles in foggy maps.
2012-07-17 19:08:36 +09:00
Bill Currie
0e7e45b91d
Redo the io_mesh_qfmdl packaging.
...
It is cross-platform, after all.
2012-07-17 17:30:16 +09:00
Bill Currie
fa61d2def7
Delete old io_mesh_qfmdl zips too.
2012-07-17 17:21:56 +09:00
Bill Currie
c66e437ebe
Enable shadows for grenades.
...
Now that shadevector is correctly transformed, grenade shadows aren't quite
so silly.
2012-07-17 17:12:34 +09:00
Bill Currie
a7327acb80
Set up shadevector for gl alias models.
...
The setup had been lost at some stage, thus shadows were always directly
under the entity. Unlike the original quake shadow code, the vector is
correctly transformed into the entity's space.
2012-07-17 17:10:48 +09:00
Bill Currie
fbc0ad59df
Implement gl shadows for pure triangle alias models.
...
I finally found the cause of Despair's gl shadows non-rendering+segfault...
the shadow code expected triangle fans and strips but was getting simple
triangles. Oops.
2012-07-17 16:11:42 +09:00
Bill Currie
9d1e6920d8
Update for 0.6.99 beta 2
2012-07-17 14:53:45 +09:00
Sander van Dijk
3c04de1116
Better default vid_gamma value.
2012-07-17 06:30:01 +09:00
Sander van Dijk
4725d5a973
Add a "Prev. weapon" menu option.
2012-07-17 06:28:32 +09:00
Bill Currie
134f9b0e9e
Force pr_keys.c to get linked in.
...
Nothing in the main program currently uses Key_Progs_Init, so the object
file wasn't getting pulled into the link. However, it's quite necessary for
the client console plugin :/
2012-07-16 18:18:13 +09:00
Bill Currie
8333e6578c
Fix non-static sw renderer for 32bit x86.
...
Yet another undefined symbol caused by iqm support. This time caused by
asm/not asm.
2012-07-15 22:34:00 +09:00
Bill Currie
087908adcd
Link in the keys progs builtins.
2012-07-15 07:39:50 +09:00
Bill Currie
0f34ab8762
Move pr_keys.c from console to video/targets.
...
It wasn't very accessible/usable in the client console plugin.
2012-07-15 07:39:50 +09:00
Bill Currie
f1854c85b2
Fix some doxygen warnings and errors.
2012-07-15 07:39:50 +09:00
Bill Currie
37dda1ef99
Update for doxygen 1.8.1
2012-07-15 07:39:50 +09:00
Bill Currie
97c87cf996
Initial checkin of the qwaq mini-engine.
2012-07-15 07:39:50 +09:00
Bill Currie
f9c6eacb84
Really fix sw32 renderer loading.
...
It seems I never tested the sw32 renderer in a non-static build since I put
in IQM support.
2012-07-15 07:30:17 +09:00
Bill Currie
2f49a66282
Make "serverinfo key" display the value for the key.
...
localinfo, too. From mvdsv.
2012-07-15 06:58:24 +09:00
Bill Currie
d9288c0837
Don't double-draw the bindings menus.
2012-07-14 20:16:45 +09:00
Bill Currie
fd6b5edb73
Don't set triangle draw type in sw32 iqm renderer.
...
It's not used and causes link errors (I never noticed on my system).
2012-07-14 19:48:57 +09:00
Bill Currie
b6125276e4
Fix the mis-handling of the progs.dat line in preprogs.src
...
Gah, must have lost a line at some stage. Also, handle line number
directives.
2012-07-14 19:01:47 +09:00
Bill Currie
7444371162
Disable bolding for special chars.
...
If an escape sequence is used to access a char, the the programmer probably
wanted that char, regardless of the current bolding mode.
2012-07-14 17:47:34 +09:00
Bill Currie
3b8141691e
Fix a bunch of continue vs break issues.
2012-07-14 17:26:13 +09:00
Bill Currie
1364bff91b
Add an extended mode to qfcc.
...
Extended mode allows extra keywords (switch, for, etc) that are compatible
with v6 progs.
2012-07-14 17:16:33 +09:00
Bill Currie
4055d9a435
Add support for \s escapes to qfcc.
...
I guess \s is an fteqcc extention for toggling bold characters. At the
request of freewill.
2012-07-14 11:47:26 +09:00
Bill Currie
45311e55c2
Fix an off-by-one error in qwe's substr implementation.
2012-07-14 08:07:41 +09:00
Bill Currie
fcf7150c62
Remove some old renderer specific files.
2012-07-14 07:32:53 +09:00
Bill Currie
b1a0086dae
Fix the "missing" grenades in nq demos (gl).
...
Actually, they were microscoping (scale 0!)
2012-07-13 19:26:27 +09:00
Bill Currie
e657390ab5
Undo a mv -> cp change.
...
Turns out it wasn't quite what I thought it was. *shrug* :)
2012-07-13 18:14:50 +09:00
Bill Currie
fe26a55cc4
Package the mdl import/export addon.
2012-07-13 17:03:11 +09:00
Bill Currie
b1c1bf51ef
Unlimited signon buffers.
...
Turns out it wasn't really necessary for qte2m1, but still, nice to nuke
another limit.
2012-07-13 15:22:53 +09:00
Bill Currie
16520e4aaf
Get "cancel" working correctly.
...
First, it was segging due to closing the file handle prematurely, then it
wasn't deleting the mvd (only the text).
2012-07-13 14:41:10 +09:00
Bill Currie
02de92abb0
Use "return" strings instead of temp strings for qwe.
...
QF's temp strings have very different semantics. Return strings are the
ones with the same semantics (only 16 slots instead of 8 in mvdsv:)
2012-07-13 11:43:37 +09:00
Bill Currie
2dea74ce91
Get the client entnum from the right place.
...
When trying to get the client ent num from an entity's owner, it helps if
the owner field is used :P Fixes a segfault firing nails (and sometimes
rockets) in freewill's coop mod. Hopefully fixes his "trigger in clipping
list" bug.
2012-07-13 11:12:31 +09:00
Bill Currie
a9adc94aa8
Force builtin function descriptors to have a name.
...
That is, the descriptors loaded from the progs file. Some compilers (eg,
fteqcc :P) strip builtin names from the progs, which makes debugging
difficult.
2012-07-13 10:22:25 +09:00
Bill Currie
1100596431
Include the mdl import/export addon in the distribution.
...
A tad embarrasing...
2012-07-13 07:59:50 +09:00
Bill Currie
6fe32103ea
Do a bit of bound() usage auditing.
...
While these seem to be mostly harmless, having function calls in the
bounded value can be nasty.
2012-07-12 19:33:51 +09:00
Bill Currie
a822a683cd
Fix the inverted lighting for sw32.
...
LordHavoc had made lighting positive for sw32, but I had done something in
the plugin code that broke that (probably something to do with the
colormap loading). Going back to id's original code fixes the issue.
2012-07-12 18:15:45 +09:00
Bill Currie
4a9d18ae40
Slight rpm package cleanup to match debian.
2012-07-11 14:42:50 +09:00
Bill Currie
1369e9e158
Fix rpm package building.
2012-07-11 14:33:21 +09:00
Bill Currie
f467e2de54
Use sed's in-place option.
2012-07-11 13:38:27 +09:00