]> icculus.org git repositories - taylor/freespace2.git/blob - include/multi_pxo.h
rendering functions mostly done; more complete shader setup
[taylor/freespace2.git] / include / multi_pxo.h
1 /*
2  * Copyright (C) Volition, Inc. 2005.  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  * $Logfile: /Freespace2/code/Network/multi_pxo.h $
12  * $Revision: 5 $
13  * $Date: 11/02/99 2:32p $
14  * $Author: Jefff $
15  *
16  * $Log: /Freespace2/code/Network/multi_pxo.h $
17  * 
18  * 5     11/02/99 2:32p Jefff
19  * updated some URLs
20  * 
21  * 4     10/06/99 10:31a Jefff
22  * url open fuction available to all
23  * 
24  * 3     4/20/99 6:39p Dave
25  * Almost done with artillery targeting. Added support for downloading
26  * images on the PXO screen.
27  * 
28  * 2     10/07/98 10:53a Dave
29  * Initial checkin.
30  * 
31  * 1     10/07/98 10:50a Dave
32  * 
33  * 9     7/08/98 4:54p Dave
34  * Join last used channel when returning from the games list.
35  * 
36  * 8     5/23/98 3:02a Dave
37  * Pxo tweaks.
38  * 
39  * 7     5/21/98 9:45p Dave
40  * Lengthened tracker polling times. Put in initial support for PXO
41  * servers with channel filters. Fixed several small UI bugs.
42  * 
43  * 6     5/19/98 8:35p Dave
44  * Revamp PXO channel listing system. Send campaign goals/events to
45  * clients for evaluation. Made lock button pressable on all screens. 
46  * 
47  * 5     5/19/98 1:35a Dave
48  * Tweaked pxo interface. Added rankings url to pxo.cfg. Make netplayer
49  * local options update dynamically in netgames.
50  * 
51  * 4     5/18/98 9:15p Dave
52  * Put in network config file support.
53  * 
54  * 3     5/15/98 12:09a Dave
55  * New tracker api code. New game tracker code. Finished up first run of
56  * the PXO screen. Fixed a few game server list exceptions.
57  * 
58  * 2     5/12/98 2:46a Dave
59  * Rudimentary communication between Parallax Online and freespace. Can
60  * get and store channel lists.
61  * 
62  * 1     5/11/98 11:47p Dave
63  *  
64  * 
65  * $NoKeywords: $
66  */
67
68 #ifndef _PARALLAX_ONLINE_HEADER_FILE
69 #define _PARALLAX_ONLINE_HEADER_FILE
70
71 // ----------------------------------------------------------------------------------------------------
72 // PXO DEFINES/VARS
73 //
74
75 // default url for PXO rankings
76 //#define MULTI_PXO_RANKINGS_URL                                "http://www.volition-inc.com"
77 #define MULTI_PXO_RANKINGS_URL                          "http://www.pxo.net/rankings/fs2full.cfm"
78
79
80 // default url for PXO account creation
81 //#define MULTI_PXO_CREATE_URL                          "http://www.parallaxonline.com/register.html"
82 #define MULTI_PXO_CREATE_URL                                    "http://www.pxo.net/newaccount.cfm"
83
84 // default url for PXO account verification
85 //#define MULTI_PXO_VERIFY_URL                          "http://www.parallaxonline.com/verify.html"
86 #define MULTI_PXO_VERIFY_URL                                    "http://www.pxo.net/verify.cfm"
87
88 // default url for PXO banners
89 #define MULTI_PXO_BANNER_URL                                    "http://www.pxo.net/files/banners"
90
91 // tracker and PXO addresses
92 #define MULTI_PXO_USER_TRACKER_IP               "ut.pxo.net"
93 #define MULTI_PXO_GAME_TRACKER_IP               "gt.pxo.com"
94 #define MULTI_PXO_CHAT_IP                                       "chat.pxo.net"
95
96 // ----------------------------------------------------------------------------------------------------
97 // PXO FUNCTIONS
98 //
99
100 // initialize the PXO screen
101 void multi_pxo_init(int use_last_channel);
102
103 // do frame for the PXO screen
104 void multi_pxo_do();
105
106 // close the PXO screen
107 void multi_pxo_close();
108
109
110 // initialize the PXO help screen
111 void multi_pxo_help_init();
112
113 // do frame for PXO help
114 void multi_pxo_help_do();
115
116 // close the pxo screen
117 void multi_pxo_help_close();
118
119 // open up a URL
120 void multi_pxo_url(char *url);
121
122 // called from the game tracker API - server count update for a channel
123 void multi_pxo_channel_count_update(char *name,int count);
124
125 #endif