1 // network.h -- public data structures for managing network.
3 // Written by Oliver Delise, started May 1999.
5 // Copyleft (C) 1999 Oliver Delise - delise@mail.isis.de
7 // This program is free software; you can redistribute it and/or
8 // modify it under the terms of the GNU General Public License as
9 // published by the Free Software Foundation; either version 2 of the
10 // License, or (at your option) any later version.
12 // This program is distributed in the hope that it will be useful, but
13 // WITHOUT ANY WARRANTY; without even the implied warranty of
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 // General Public License for more details.
17 // You should have received a copy of the GNU General Public License
18 // along with this program; if not, write to the Free Software
19 // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
30 extern char *net_callsign;
31 extern int net_hud_display;
32 extern int net_blast_toggle;
33 extern int net_is_registered;
34 extern int net_r, current_port;
35 extern u_short base_port, end_port;
36 extern char *fg_net_init( ssgRoot *orig_scene );
37 extern char *FGFS_host, *fgd_mcp_ip, *fgd_name;
39 extern void net_hud_update( void );
40 extern int net_resolv_fgd( char *);
44 extern sgMat4 sgFGD_VIEW;
47 /* unsigned */ char ipadr[16], callsign[16];
48 /* unsigned */ char lon[8], lat[8], alt[8], roll[8], pitch[8], yaw[8];
49 float lonf, latf, altf, speedf, rollf, pitchf, yawf;
52 ssgTransform * fgd_pos;
53 struct list_ele *next, *prev;
56 extern struct list_ele *head, *tail, *other;
58 extern void fgd_send_com( char *FGD_com, char *FGFS_host);
59 extern void list_init( void );
60 extern void fgd_init( void);