Attempting to fix/rework splitscreen.
Removed the impulse2/+forward2 etc commands. Added +p2, -p2, p2 commands as a prefixed command instead. don't use + or - on them (so '+p2 forward' to move player 2 forward), this permits a simple generic way to send commands to a single player from an input device. rawinput mice will submit commands/movements based upon idx%maxsplits, they will correctly submit mouse clicks, which will be mapped through the +p2/+p3 commands as appropriate, so each mouse is purely for a single player. Fixed player model visibility in splitscreen mode. Ignoring allow_splitscreen for the local player, cl_splitscreen is technically now the only enabler (though you will need to configure rawinput or binds). Added support for { texturename prefixes. git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3582 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
fd16657900
commit
2cad75bc69
28 changed files with 351 additions and 308 deletions
|
@ -419,7 +419,7 @@ void VQ3_AddEntity(const q3refEntity_t *q3)
|
|||
if (q3->renderfx & Q3RF_DEPTHHACK)
|
||||
ent.flags |= Q2RF_DEPTHHACK;
|
||||
if (q3->renderfx & Q3RF_THIRD_PERSON)
|
||||
ent.flags |= Q2RF_EXTERNALMODEL;
|
||||
ent.externalmodelview = ~0;
|
||||
if (q3->renderfx & Q3RF_NOSHADOW)
|
||||
ent.flags |= RF_NOSHADOW;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue