2 * $Logfile: /Freespace2/code/Network/multi_observer.h $
8 * Revision 1.1 2002/05/03 03:28:12 root
12 * 3 11/05/98 5:55p Dave
13 * Big pass at reducing #includes
15 * 2 10/07/98 10:53a Dave
18 * 1 10/07/98 10:50a Dave
20 * 3 4/18/98 5:00p Dave
21 * Put in observer zoom key. Made mission sync screen more informative.
23 * 2 3/13/98 2:51p Dave
24 * Put in support for observers to join ingame.
26 * 1 3/12/98 5:44p Dave
31 #ifndef _MULTI_OBSERVER_HEADER_FILE
32 #define _MULTI_OBSERVER_HEADER_FILE
34 // ---------------------------------------------------------------------------------------
35 // MULTI OBSERVER DEFINES/VARS
42 // ---------------------------------------------------------------------------------------
43 // MULTI OBSERVER FUNCTIONS
46 // create a _permanent_ observer player
47 int multi_obs_create_player(int player_num,char *name,net_addr *addr,player *pl);
49 // create an explicit observer object and assign it to the passed player
50 void multi_obs_create_observer(net_player *pl);
52 // create observer object locally, and additionally, setup some other information
53 // ( client-side equivalent of multi_obs_create_observer() )
54 void multi_obs_create_observer_client();
56 // create objects for all known observers in the game at level start
57 // call this before entering a mission
58 // this implies for the local player in the case of a client or for _all_ players in the case of a server
59 void multi_obs_level_init();
61 // if i'm an observer, zoom to near my targted object (if any)
62 void multi_obs_zoom_to_target();