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_observer.h $
16 * Revision 1.3 2002/06/09 04:41:14 relnev
17 * added copyright header
19 * Revision 1.2 2002/05/27 00:40:47 theoddone33
20 * Fix net_addr vs net_addr_t
22 * Revision 1.1.1.1 2002/05/03 03:28:12 root
26 * 3 11/05/98 5:55p Dave
27 * Big pass at reducing #includes
29 * 2 10/07/98 10:53a Dave
32 * 1 10/07/98 10:50a Dave
34 * 3 4/18/98 5:00p Dave
35 * Put in observer zoom key. Made mission sync screen more informative.
37 * 2 3/13/98 2:51p Dave
38 * Put in support for observers to join ingame.
40 * 1 3/12/98 5:44p Dave
45 #ifndef _MULTI_OBSERVER_HEADER_FILE
46 #define _MULTI_OBSERVER_HEADER_FILE
48 // ---------------------------------------------------------------------------------------
49 // MULTI OBSERVER DEFINES/VARS
55 // ---------------------------------------------------------------------------------------
56 // MULTI OBSERVER FUNCTIONS
59 // create a _permanent_ observer player
60 int multi_obs_create_player(int player_num,char *name,net_addr_t *addr,player *pl);
62 // create an explicit observer object and assign it to the passed player
63 void multi_obs_create_observer(net_player *pl);
65 // create observer object locally, and additionally, setup some other information
66 // ( client-side equivalent of multi_obs_create_observer() )
67 void multi_obs_create_observer_client();
69 // create objects for all known observers in the game at level start
70 // call this before entering a mission
71 // this implies for the local player in the case of a client or for _all_ players in the case of a server
72 void multi_obs_level_init();
74 // if i'm an observer, zoom to near my targted object (if any)
75 void multi_obs_zoom_to_target();