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