fix hitmodel.
allow providing a videomap shader as a cwindow background. because I can. move all the tenebrae hacks over to only explicitly detected tenebrae progs. small irc plugin update. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4969 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
76c9f48d13
commit
6e6a767ba6
17 changed files with 405 additions and 95 deletions
|
@ -734,7 +734,7 @@ void NPP_NQFlush(void)
|
|||
// bufferlen = 0;
|
||||
break;
|
||||
case svcdp_hidelmp:
|
||||
if (progstype == PROG_UNKNOWN)
|
||||
if (progstype == PROG_TENEBRAE)
|
||||
{
|
||||
bufferlen = 0;
|
||||
break;
|
||||
|
@ -743,7 +743,7 @@ void NPP_NQFlush(void)
|
|||
buffer[0] = svcfte_hidepic;
|
||||
break;
|
||||
case svcdp_showlmp:
|
||||
if (progstype == PROG_UNKNOWN)
|
||||
if (progstype == PROG_TENEBRAE)
|
||||
{
|
||||
bufferlen = 0;
|
||||
break;
|
||||
|
@ -1273,7 +1273,7 @@ void NPP_NQWriteByte(int dest, qbyte data) //replacement write func (nq to qw)
|
|||
break;
|
||||
case svcdp_hidelmp:
|
||||
//tenebrae compat:
|
||||
if (progstype == PROG_UNKNOWN)
|
||||
if (progstype == PROG_TENEBRAE)
|
||||
{
|
||||
//svc, coord6, byte, long, long, effectname
|
||||
if (bufferlen >= sizeof(qbyte)*2+destprim->coordsize*6+sizeof(int)*2 && !data)
|
||||
|
@ -1286,7 +1286,7 @@ void NPP_NQWriteByte(int dest, qbyte data) //replacement write func (nq to qw)
|
|||
break;
|
||||
case svcdp_showlmp:
|
||||
//tenebrae compat:
|
||||
if (progstype == PROG_UNKNOWN)
|
||||
if (progstype == PROG_TENEBRAE)
|
||||
{
|
||||
//svc, coord3, byte, effectname
|
||||
if (bufferlen >= sizeof(qbyte)*2+destprim->coordsize*3 && !data)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue