]> icculus.org git repositories - taylor/freespace2.git/blob - include/multi_pxo.h
fix issue with looping audio streams
[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 #if defined(FS2_DEMO)
79 #define MULTI_PXO_RANKINGS_URL                                  "https://pxo.nottheeye.com/rankings/freespace2demo"
80 #elif defined(MAKE_FS1)
81 #define MULTI_PXO_RANKINGS_URL                                  "https://pxo.nottheeye.com/rankings/freespace"
82 #else
83 #define MULTI_PXO_RANKINGS_URL                                  "https://pxo.nottheeye.com/rankings/freespace2"
84 #endif
85
86 // default url for PXO account creation
87 //#define MULTI_PXO_CREATE_URL                          "http://www.parallaxonline.com/register.html"
88 //#define MULTI_PXO_CREATE_URL                                  "http://www.pxo.net/newaccount.cfm"
89 #define MULTI_PXO_CREATE_URL                                    "https://pxo.nottheeye.com/register"
90
91 // default url for PXO account verification
92 //#define MULTI_PXO_VERIFY_URL                          "http://www.parallaxonline.com/verify.html"
93 //#define MULTI_PXO_VERIFY_URL                                  "http://www.pxo.net/verify.cfm"
94 #define MULTI_PXO_VERIFY_URL                                    "https://pxo.nottheeye.com/account"
95
96 // default url for PXO banners
97 //#define MULTI_PXO_BANNER_URL                                  "http://www.pxo.net/files/banners"
98 #define MULTI_PXO_BANNER_URL                                    "http://pxo.nottheeye.com/files/banners"
99
100 // tracker and PXO addresses
101 //#define MULTI_PXO_USER_TRACKER_IP             "ut.pxo.net"
102 //#define MULTI_PXO_GAME_TRACKER_IP             "gt.pxo.com"
103 //#define MULTI_PXO_CHAT_IP                             "chat.pxo.net"
104 #define MULTI_PXO_USER_TRACKER_IP               "pxo.nottheeye.com"
105 #define MULTI_PXO_GAME_TRACKER_IP               "pxo.nottheeye.com"
106 #define MULTI_PXO_CHAT_IP                               "pxo.nottheeye.com"
107
108 // ----------------------------------------------------------------------------------------------------
109 // PXO FUNCTIONS
110 //
111
112 // initialize the PXO screen
113 void multi_pxo_init(int use_last_channel);
114
115 // do frame for the PXO screen
116 void multi_pxo_do();
117
118 // close the PXO screen
119 void multi_pxo_close();
120
121
122 // initialize the PXO help screen
123 void multi_pxo_help_init();
124
125 // do frame for PXO help
126 void multi_pxo_help_do();
127
128 // close the pxo screen
129 void multi_pxo_help_close();
130
131 // open up a URL
132 void multi_pxo_url(char *url);
133
134 // called from the game tracker API - server count update for a channel
135 void multi_pxo_channel_count_update(char *name,int count);
136
137 #endif