mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
added sync for bandaging anim and ability to heal other teams
add names to end turn dialog. git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2182 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -196,6 +196,11 @@ void sendWIPE(RPCParameters *rpcParameters)
|
||||
server->RPC("recieve_wipe",(const char*)rpcParameters->input, (*rpcParameters).numberOfBitsOfData, HIGH_PRIORITY, RELIABLE, 0, rpcParameters->sender, true, 0, UNASSIGNED_NETWORK_ID,0);
|
||||
}
|
||||
|
||||
void sendHEAL(RPCParameters *rpcParameters)
|
||||
{
|
||||
server->RPC("recieve_heal",(const char*)rpcParameters->input, (*rpcParameters).numberOfBitsOfData, HIGH_PRIORITY, RELIABLE, 0, rpcParameters->sender, true, 0, UNASSIGNED_NETWORK_ID,0);
|
||||
}
|
||||
|
||||
void startCOMBAT(RPCParameters *rpcParameters)
|
||||
{
|
||||
if(!( gTacticalStatus.uiFlags & INCOMBAT ))
|
||||
@@ -554,6 +559,7 @@ if(gsPLAYER_BSIDE==2)//only enable ai during coop
|
||||
REGISTER_STATIC_RPC(server, sendREAL);
|
||||
REGISTER_STATIC_RPC(server, startCOMBAT);
|
||||
REGISTER_STATIC_RPC(server, sendWIPE);
|
||||
REGISTER_STATIC_RPC(server, sendHEAL);
|
||||
//
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user