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
|
@ -1814,7 +1814,8 @@ client_t *SVC_DirectConnect(void)
|
|||
else
|
||||
maxpacketentities = MAX_STANDARD_PACKET_ENTITIES;
|
||||
|
||||
if (!sv_allow_splitscreen.ival)
|
||||
/*allow_splitscreen applies only to non-local clients, so that clients have only one enabler*/
|
||||
if (!sv_allow_splitscreen.ival && net_from.type != NA_LOOPBACK)
|
||||
numssclients = 1;
|
||||
|
||||
if (!(protextsupported & PEXT_SPLITSCREEN))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue