2 * Copyright (C) Volition, Inc. 1999. All rights reserved.
4 * All source code herein is the property of Volition, Inc. You may not sell
5 * or otherwise commercially exploit the source or things you created based on
10 * $Logfile: /Freespace2/code/Network/multi_respawn.h $
16 * Revision 1.2 2002/06/09 04:41:14 relnev
17 * added copyright header
19 * Revision 1.1.1.1 2002/05/03 03:28:12 root
23 * 4 8/06/99 2:44a Dave
24 * Make sure dead players who leave respawn AI.
26 * 3 3/01/99 7:39p Dave
27 * Added prioritizing ship respawns. Also fixed respawns in TvT so teams
28 * don't mix respawn points.
30 * 2 10/07/98 10:53a Dave
33 * 1 10/07/98 10:50a Dave
35 * 3 4/23/98 1:49a Allender
36 * major rearm/repair fixes for multiplayer. Fixed respawning of AI ships
37 * to not respawn until 5 seconds after they die. Send escort information
40 * 2 3/11/98 10:22p Dave
41 * Laid groundwork for new observer HUD. Split up multi respawning into
44 * 1 3/11/98 5:07p Dave
49 #ifndef _MULTIPLAYER_RESPAWN_HEADER_FILE
50 #define _MULTIPLAYER_RESPAWN_HEADER_FILE
52 // ---------------------------------------------------------------------------------------
53 // MULTI RESPAWN DEFINES/VARS
60 // ---------------------------------------------------------------------------------------
61 // MULTI RESPAWN FUNCTIONS
64 // check to see if a net player needs to be respawned
65 void multi_respawn_check(object *objp);
68 void multi_respawn_normal();
70 // respawn as an observer
71 void multi_respawn_observer();
73 // server should check to see if any respawned players have run out of their invulnerability
74 void multi_respawn_handle_invul_players();
76 // build a list of base respawn points on the server, for this level
77 void multi_respawn_build_points();
79 void multi_respawn_init();
80 void multi_respawn_check_ai();
82 // notify of a player leaving
83 void multi_respawn_player_leave(net_player *pl);
85 // ---------------------------------------------------------------------------------------
86 // MULTI RESPAWN PACKET HANDLERS
89 void multi_respawn_process_packet(ubyte *data, header *hinfo);