FS2_Open
Open source remastering of the Freespace 2 engine
multi_respawn.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) Volition, Inc. 1999. All rights reserved.
3  *
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 the
6  * source.
7  *
8 */
9 
10 
11 
12 #ifndef _MULTIPLAYER_RESPAWN_HEADER_FILE
13 #define _MULTIPLAYER_RESPAWN_HEADER_FILE
14 
15 // ---------------------------------------------------------------------------------------
16 // MULTI RESPAWN DEFINES/VARS
17 //
18 #include "globalincs/pstypes.h"
19 
20 class object;
21 struct header;
22 struct net_player;
23 
24 
25 // ---------------------------------------------------------------------------------------
26 // MULTI RESPAWN FUNCTIONS
27 //
28 
29 // check to see if a net player needs to be respawned
30 void multi_respawn_check(object *objp);
31 
32 // respawn normally
34 
35 // respawn as an observer
37 
38 // server should check to see if any respawned players have run out of their invulnerability
40 
41 // build a list of base respawn points on the server, for this level
43 
44 void multi_respawn_init();
46 
47 // notify of a player leaving
49 
50 // ---------------------------------------------------------------------------------------
51 // MULTI RESPAWN PACKET HANDLERS
52 //
53 
55 
56 #endif
void multi_respawn_check_ai()
void multi_respawn_check(object *objp)
void multi_respawn_handle_invul_players()
object * objp
Definition: lua.cpp:3105
void multi_respawn_normal()
void multi_respawn_process_packet(ubyte *data, header *hinfo)
void multi_respawn_observer()
unsigned char ubyte
Definition: pstypes.h:62
Definition: object.h:141
Definition: multi.h:385
GLenum GLsizei GLenum GLenum const GLvoid * data
Definition: Gl.h:1509
void multi_respawn_init()
void multi_respawn_player_leave(net_player *pl)
void multi_respawn_build_points()