FS2_Open
Open source remastering of the Freespace 2 engine
multi_observer.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 _MULTI_OBSERVER_HEADER_FILE
13 #define _MULTI_OBSERVER_HEADER_FILE
14 
15 // ---------------------------------------------------------------------------------------
16 // MULTI OBSERVER DEFINES/VARS
17 //
18 
19 struct net_addr;
20 class player;
21 struct net_player;
22 
23 // ---------------------------------------------------------------------------------------
24 // MULTI OBSERVER FUNCTIONS
25 //
26 
27 // create a _permanent_ observer player
28 int multi_obs_create_player(int player_num,char *name,net_addr *addr,player *pl);
29 
30 // create an explicit observer object and assign it to the passed player
32 
33 // create observer object locally, and additionally, setup some other information
34 // ( client-side equivalent of multi_obs_create_observer() )
36 
37 // create objects for all known observers in the game at level start
38 // call this before entering a mission
39 // this implies for the local player in the case of a client or for _all_ players in the case of a server
41 
42 // if i'm an observer, zoom to near my targted object (if any)
44 
45 #endif
void multi_obs_zoom_to_target()
void multi_obs_create_observer_client()
void multi_obs_level_init()
int multi_obs_create_player(int player_num, char *name, net_addr *addr, player *pl)
void multi_obs_create_observer(net_player *pl)
Definition: player.h:85
GLuint const GLchar * name
Definition: Glext.h:5608
GLenum const GLvoid * addr
Definition: Glext.h:9092