FS2_Open
Open source remastering of the Freespace 2 engine
|
#include "network/multi_pxo.h"
#include "anim/animplay.h"
#include "ui/ui.h"
#include "io/key.h"
#include "bmpman/bmpman.h"
#include "palman/palman.h"
#include "gamesnd/gamesnd.h"
#include "gamesequence/gamesequence.h"
#include "cfile/cfile.h"
#include "network/chat_api.h"
#include "popup/popup.h"
#include "freespace2/freespace.h"
#include "graphics/font.h"
#include "network/multi.h"
#include "network/multiui.h"
#include "network/multi_log.h"
#include "stats/medals.h"
#include "globalincs/alphacolors.h"
#include "graphics/2d.h"
#include "graphics/generic.h"
#include "io/timer.h"
#include "inetfile/inetgetfile.h"
#include "cfile/cfilesystem.h"
#include "osapi/osregistry.h"
#include "parse/parselo.h"
#include "stats/scoring.h"
#include "playerman/player.h"
#include "fs2netd/fs2netd_client.h"
#include "menuui/mainhallmenu.h"
#include "debugconsole/console.h"
Go to the source code of this file.
Classes | |
struct | pxo_channel |
struct | player_list |
struct | chat_line |
struct | help_page |
struct | pxo_banner |
Typedefs | |
typedef struct pxo_channel | pxo_channel |
typedef struct player_list | player_list |
typedef struct chat_line | chat_line |
typedef struct help_page | help_page |
typedef struct pxo_banner | pxo_banner |
#define CHAN_GAMES_COLUMN 1 |
Definition at line 307 of file multi_pxo.cpp.
#define CHAN_PLAYERS_COLUMN 0 |
Definition at line 306 of file multi_pxo.cpp.
#define CHANNEL_REFRESH_TIME (75.0f) |
Definition at line 313 of file multi_pxo.cpp.
#define CHANNEL_SERVER_REFRESH_TIME (35.0f) |
Definition at line 316 of file multi_pxo.cpp.
#define CHAT_MODE_CARRY 2 |
Definition at line 519 of file multi_pxo.cpp.
#define CHAT_MODE_CHANNEL_SWITCH 4 |
Definition at line 521 of file multi_pxo.cpp.
#define CHAT_MODE_MOTD 5 |
Definition at line 522 of file multi_pxo.cpp.
#define CHAT_MODE_NORMAL 0 |
Definition at line 517 of file multi_pxo.cpp.
#define CHAT_MODE_PRIVATE 3 |
Definition at line 520 of file multi_pxo.cpp.
#define CHAT_MODE_SERVER 1 |
Definition at line 518 of file multi_pxo.cpp.
#define MAX_CHANNEL_DESCRIPT_LEN 120 |
Definition at line 272 of file multi_pxo.cpp.
#define MAX_CHANNEL_NAME_LEN 32 |
Definition at line 271 of file multi_pxo.cpp.
#define MAX_CHAT_LINE_LEN 256 |
Definition at line 480 of file multi_pxo.cpp.
#define MAX_CHAT_LINES 60 |
Definition at line 479 of file multi_pxo.cpp.
#define MAX_PLAYER_NAME_LEN 32 |
Definition at line 390 of file multi_pxo.cpp.
#define MAX_PXO_MOTD_LEN 1024 |
Definition at line 622 of file multi_pxo.cpp.
#define MAX_PXO_TEXT_LEN 255 |
Definition at line 53 of file multi_pxo.cpp.
#define MULTI_PXO_ANIM_FNAME "pxologo" |
Definition at line 166 of file multi_pxo.cpp.
#define MULTI_PXO_ANIM_X 0 |
Definition at line 167 of file multi_pxo.cpp.
#define MULTI_PXO_ANIM_Y 4 |
Definition at line 168 of file multi_pxo.cpp.
#define MULTI_PXO_AUTOJOIN_CHANNEL "#autoselect" |
Definition at line 294 of file multi_pxo.cpp.
#define MULTI_PXO_AUTOJOIN_PREFIX "#lobby" |
Definition at line 291 of file multi_pxo.cpp.
#define MULTI_PXO_CHAN_DOWN 9 |
Definition at line 66 of file multi_pxo.cpp.
#define MULTI_PXO_CHAN_UP 8 |
Definition at line 65 of file multi_pxo.cpp.
#define MULTI_PXO_COM_CANCEL 0 |
Definition at line 678 of file multi_pxo.cpp.
#define MULTI_PXO_COM_NUM_BUTTONS 2 |
Definition at line 677 of file multi_pxo.cpp.
#define MULTI_PXO_COM_NUM_TEXT 2 |
Definition at line 692 of file multi_pxo.cpp.
#define MULTI_PXO_COM_OK 1 |
Definition at line 679 of file multi_pxo.cpp.
#define MULTI_PXO_EXIT 12 |
Definition at line 69 of file multi_pxo.cpp.
#define MULTI_PXO_FIND 4 |
Definition at line 61 of file multi_pxo.cpp.
#define MULTI_PXO_GAMES 14 |
Definition at line 71 of file multi_pxo.cpp.
#define MULTI_PXO_HAS_LEFT "has left" |
Definition at line 514 of file multi_pxo.cpp.
#define MULTI_PXO_HELP 13 |
Definition at line 70 of file multi_pxo.cpp.
#define MULTI_PXO_HELP_CONTINUE 2 |
Definition at line 939 of file multi_pxo.cpp.
#define MULTI_PXO_HELP_FILE "pxohelp.txt" |
Definition at line 965 of file multi_pxo.cpp.
#define MULTI_PXO_HELP_NEXT 1 |
Definition at line 938 of file multi_pxo.cpp.
#define MULTI_PXO_HELP_NUM_BUTTONS 3 |
Definition at line 936 of file multi_pxo.cpp.
#define MULTI_PXO_HELP_NUM_TEXT 1 |
Definition at line 954 of file multi_pxo.cpp.
#define MULTI_PXO_HELP_PREV 0 |
Definition at line 937 of file multi_pxo.cpp.
#define MULTI_PXO_JOIN 6 |
Definition at line 63 of file multi_pxo.cpp.
#define MULTI_PXO_JOIN_PRIV 7 |
Definition at line 64 of file multi_pxo.cpp.
#define MULTI_PXO_MAX_LINES_PP 57 |
Definition at line 966 of file multi_pxo.cpp.
#define MULTI_PXO_MAX_PAGES 5 |
Definition at line 967 of file multi_pxo.cpp.
#define MULTI_PXO_MODE_FIND 2 |
Definition at line 184 of file multi_pxo.cpp.
#define MULTI_PXO_MODE_NORMAL 0 |
Definition at line 182 of file multi_pxo.cpp.
#define MULTI_PXO_MODE_PRIVATE 1 |
Definition at line 183 of file multi_pxo.cpp.
#define MULTI_PXO_MOTD 5 |
Definition at line 62 of file multi_pxo.cpp.
#define MULTI_PXO_NOTIFY_TIME 4000 |
Definition at line 912 of file multi_pxo.cpp.
#define MULTI_PXO_NOTIFY_Y 435 |
Definition at line 913 of file multi_pxo.cpp.
#define MULTI_PXO_NUM_BUTTONS 15 |
Definition at line 56 of file multi_pxo.cpp.
#define MULTI_PXO_NUM_TEXT 16 |
Definition at line 111 of file multi_pxo.cpp.
#define MULTI_PXO_PINFO 3 |
Definition at line 60 of file multi_pxo.cpp.
#define MULTI_PXO_PINFO_MEDALS 0 |
Definition at line 822 of file multi_pxo.cpp.
#define MULTI_PXO_PINFO_NUM_BUTTONS 2 |
Definition at line 821 of file multi_pxo.cpp.
#define MULTI_PXO_PINFO_NUM_LABELS 18 |
Definition at line 861 of file multi_pxo.cpp.
#define MULTI_PXO_PINFO_NUM_TEXT 2 |
Definition at line 837 of file multi_pxo.cpp.
#define MULTI_PXO_PINFO_OK 1 |
Definition at line 823 of file multi_pxo.cpp.
#define MULTI_PXO_PLIST_DOWN 1 |
Definition at line 58 of file multi_pxo.cpp.
#define MULTI_PXO_PLIST_UP 0 |
Definition at line 57 of file multi_pxo.cpp.
#define MULTI_PXO_PRIV_MAX_TEXT_LEN 30 |
Definition at line 754 of file multi_pxo.cpp.
#define MULTI_PXO_RANK_TIME (5.0f) |
Definition at line 172 of file multi_pxo.cpp.
#define MULTI_PXO_RANKINGS 2 |
Definition at line 59 of file multi_pxo.cpp.
#define MULTI_PXO_SERVER_PREFIX "*** " |
Definition at line 511 of file multi_pxo.cpp.
#define MULTI_PXO_SWITCH_DELAY_TIME 2000 |
Definition at line 564 of file multi_pxo.cpp.
#define MULTI_PXO_TEXT_DOWN 11 |
Definition at line 68 of file multi_pxo.cpp.
#define MULTI_PXO_TEXT_UP 10 |
Definition at line 67 of file multi_pxo.cpp.
#define ON_CHANNEL | ( | ) | (Multi_pxo_channel_current.num_users != -1) |
Definition at line 276 of file multi_pxo.cpp.
#define PMSG_FROM "private message from " |
Definition at line 3513 of file multi_pxo.cpp.
#define PMSG_TO "private message to " |
Definition at line 3514 of file multi_pxo.cpp.
#define PXO_BAN_MODE_CHOOSE_RANDOM 6 |
Definition at line 1040 of file multi_pxo.cpp.
#define PXO_BAN_MODE_IDLE 5 |
Definition at line 1039 of file multi_pxo.cpp.
#define PXO_BAN_MODE_IMAGES 3 |
Definition at line 1037 of file multi_pxo.cpp.
#define PXO_BAN_MODE_IMAGES_DONE 4 |
Definition at line 1038 of file multi_pxo.cpp.
#define PXO_BAN_MODE_IMAGES_STARTUP 2 |
Definition at line 1036 of file multi_pxo.cpp.
#define PXO_BAN_MODE_LIST 1 |
Definition at line 1035 of file multi_pxo.cpp.
#define PXO_BAN_MODE_LIST_STARTUP 0 |
Definition at line 1034 of file multi_pxo.cpp.
#define PXO_BANNERS_CONFIG_FILE "pxobanners.cfg" |
Definition at line 1021 of file multi_pxo.cpp.
#define PXO_MOTD_BLINK_TIME 500 |
Definition at line 623 of file multi_pxo.cpp.
#define SWITCHING_CHANNELS | ( | ) | (Multi_pxo_channel_switch.num_users != -1) |
Definition at line 275 of file multi_pxo.cpp.
typedef struct player_list player_list |
typedef struct pxo_banner pxo_banner |
typedef struct pxo_channel pxo_channel |
for | ( | ) |
Definition at line 472 of file multi_pxo.cpp.
pxo_channel * multi_pxo_add_channel | ( | char * | name, |
pxo_channel ** | list | ||
) |
Create a new channel with the given name and place it on the channel list, return a pointer or NULL on fail
Definition at line 2343 of file multi_pxo.cpp.
player_list * multi_pxo_add_player | ( | char * | name | ) |
Create a new player with the given name and place it on the player list, return a pointer or NULL on fail
Definition at line 2764 of file multi_pxo.cpp.
void multi_pxo_api_process | ( | ) |
Run the networking functions for the PXO API
Definition at line 1993 of file multi_pxo.cpp.
void multi_pxo_autojoin | ( | ) |
Autojoin an appropriate channel
Definition at line 2142 of file multi_pxo.cpp.
int multi_pxo_autojoin_do | ( | ) |
Popup loop which does an autojoin of a public channel.
Returns when the autojoin process is complete
Definition at line 1882 of file multi_pxo.cpp.
void multi_pxo_ban_clicked | ( | ) |
Called when the URL button is clicked
Definition at line 5395 of file multi_pxo.cpp.
void multi_pxo_ban_close | ( | ) |
Close
Definition at line 5215 of file multi_pxo.cpp.
void multi_pxo_ban_draw | ( | ) |
Any bitmap or info or whatever
Definition at line 5376 of file multi_pxo.cpp.
void multi_pxo_ban_init | ( | ) |
Initialisation
Definition at line 5049 of file multi_pxo.cpp.
Parse the banners file and maybe fill in Multi_pxo_dl_file
Definition at line 5234 of file multi_pxo.cpp.
void multi_pxo_ban_process | ( | ) |
Process http download details
Definition at line 5081 of file multi_pxo.cpp.
void multi_pxo_blit_all | ( | ) |
Definition at line 1441 of file multi_pxo.cpp.
void multi_pxo_blit_channels | ( | ) |
Display the channel list
Definition at line 2507 of file multi_pxo.cpp.
void multi_pxo_blit_players | ( | ) |
Display the player list
Definition at line 2939 of file multi_pxo.cpp.
void multi_pxo_blit_status_text | ( | ) |
Blit the status text
Definition at line 2205 of file multi_pxo.cpp.
Handle a button press
Definition at line 1700 of file multi_pxo.cpp.
int multi_pxo_can_scroll_down | ( | ) |
Returns 1 if we can scroll down, 0 otherwise
Definition at line 3400 of file multi_pxo.cpp.
Called from the game tracker API - server count update for a channel
Definition at line 2170 of file multi_pxo.cpp.
void multi_pxo_channel_refresh_current | ( | ) |
Refresh current channel server count
Definition at line 2495 of file multi_pxo.cpp.
void multi_pxo_channel_refresh_servers | ( | ) |
Send a request to refresh our channel server counts
Definition at line 2467 of file multi_pxo.cpp.
Add a line of text
Definition at line 3120 of file multi_pxo.cpp.
void multi_pxo_chat_adjust_start | ( | ) |
Recalculate the chat start index, and adjust the slider properly
Definition at line 3606 of file multi_pxo.cpp.
void multi_pxo_chat_blit | ( | ) |
Blit the chat text
Definition at line 3249 of file multi_pxo.cpp.
void multi_pxo_chat_clear | ( | ) |
Clear all lines of chat text in the chat area
Definition at line 3099 of file multi_pxo.cpp.
void multi_pxo_chat_free | ( | ) |
Free up all chat list stuff
Definition at line 3074 of file multi_pxo.cpp.
void multi_pxo_chat_init | ( | ) |
Initialize and create the chat text linked list
Definition at line 3031 of file multi_pxo.cpp.
int multi_pxo_chat_is_left_message | ( | const char * | txt | ) |
If the text is a "has left message" from the server
Definition at line 3587 of file multi_pxo.cpp.
const char * multi_pxo_chat_is_private | ( | const char * | txt | ) |
Definition at line 3515 of file multi_pxo.cpp.
void multi_pxo_chat_process | ( | ) |
Process chat controls
Definition at line 3442 of file multi_pxo.cpp.
Process an incoming line of text
Definition at line 3168 of file multi_pxo.cpp.
void multi_pxo_check_buttons | ( | ) |
Check for button presses
Definition at line 1684 of file multi_pxo.cpp.
void multi_pxo_clear_channels | ( | ) |
Clear the old channel list
Definition at line 2231 of file multi_pxo.cpp.
void multi_pxo_clear_players | ( | ) |
Clear the old player list
Definition at line 2735 of file multi_pxo.cpp.
void multi_pxo_close | ( | ) |
Definition at line 1325 of file multi_pxo.cpp.
void multi_pxo_com_blit_text | ( | ) |
Blit all text lines, top, middle, bottoms
Definition at line 3825 of file multi_pxo.cpp.
void multi_pxo_com_close | ( | ) |
Close down the common dialog
Definition at line 3816 of file multi_pxo.cpp.
void multi_pxo_com_init | ( | ) |
Initialize the common dialog with the passed max input length
Definition at line 3775 of file multi_pxo.cpp.
void multi_pxo_com_set_bottom_text | ( | const char * | txt | ) |
Set the bottom text, shortening as necessary
Definition at line 3867 of file multi_pxo.cpp.
void multi_pxo_com_set_middle_text | ( | const char * | txt | ) |
Set the middle text, shortening as necessary
Definition at line 3856 of file multi_pxo.cpp.
void multi_pxo_com_set_top_text | ( | const char * | txt | ) |
Set the top text, shortening as necessary
Definition at line 3845 of file multi_pxo.cpp.
int multi_pxo_connect | ( | ) |
Attempt to connect to Parallax Online, return success or fail
Definition at line 1929 of file multi_pxo.cpp.
int multi_pxo_connect_do | ( | ) |
Definition at line 1829 of file multi_pxo.cpp.
void multi_pxo_del_player | ( | char * | name | ) |
Remove a player with the given name
Definition at line 2797 of file multi_pxo.cpp.
void multi_pxo_do | ( | ) |
Definition at line 1242 of file multi_pxo.cpp.
void multi_pxo_do_normal | ( | ) |
Definition at line 1369 of file multi_pxo.cpp.
Handle a button press
Definition at line 4192 of file multi_pxo.cpp.
pxo_channel * multi_pxo_find_channel | ( | char * | name, |
pxo_channel * | list | ||
) |
Lookup a channel with the specified name
Definition at line 2375 of file multi_pxo.cpp.
void multi_pxo_find_close | ( | ) |
Close down the popup
Definition at line 4082 of file multi_pxo.cpp.
void multi_pxo_find_init | ( | ) |
Initialize the popup
Definition at line 4053 of file multi_pxo.cpp.
player_list * multi_pxo_find_player | ( | char * | name | ) |
Try and find a player with the given name, return a pointer to his entry (or NULL)
Definition at line 2866 of file multi_pxo.cpp.
int multi_pxo_find_popup | ( | ) |
Run the popup, 0 if still running, -1 if cancel, 1 if ok
Definition at line 4094 of file multi_pxo.cpp.
void multi_pxo_find_process_buttons | ( | ) |
Process button presses
Definition at line 4176 of file multi_pxo.cpp.
void multi_pxo_find_process_input | ( | ) |
Process the inputbox
Definition at line 4208 of file multi_pxo.cpp.
void multi_pxo_find_search_process | ( | ) |
Process search mode if applicable
Definition at line 4247 of file multi_pxo.cpp.
void multi_pxo_get_channels | ( | ) |
Get a list of channels on the server
Definition at line 2223 of file multi_pxo.cpp.
void multi_pxo_get_data | ( | char * | name | ) |
Definition at line 1510 of file multi_pxo.cpp.
int multi_pxo_get_select_index | ( | ) |
void multi_pxo_goto_bottom | ( | ) |
Scroll to the very bottom of the chat area
Definition at line 3344 of file multi_pxo.cpp.
void multi_pxo_handle_channel_change | ( | ) |
Handle any processing details if we're currently trying to join a channel
Definition at line 2672 of file multi_pxo.cpp.
void multi_pxo_handle_disconnect | ( | ) |
Definition at line 1532 of file multi_pxo.cpp.
void multi_pxo_handle_kick | ( | ) |
Definition at line 1515 of file multi_pxo.cpp.
void multi_pxo_help_blit_page | ( | ) |
Blit the current page
Definition at line 4967 of file multi_pxo.cpp.
Button pressed
Definition at line 5014 of file multi_pxo.cpp.
void multi_pxo_help_close | ( | ) |
Close the pxo screen
Definition at line 4893 of file multi_pxo.cpp.
void multi_pxo_help_do | ( | ) |
Do frame for PXO help
Definition at line 4851 of file multi_pxo.cpp.
void multi_pxo_help_init | ( | ) |
Initialize the PXO help screen
Definition at line 4807 of file multi_pxo.cpp.
void multi_pxo_help_load | ( | ) |
Load the help file up
Definition at line 4918 of file multi_pxo.cpp.
void multi_pxo_help_process_buttons | ( | ) |
Process button presses
Definition at line 4998 of file multi_pxo.cpp.
Definition at line 1083 of file multi_pxo.cpp.
int multi_pxo_is_autojoin | ( | char * | name | ) |
Does the string match the "autojoin" prefix
Definition at line 2157 of file multi_pxo.cpp.
int multi_pxo_is_end_of_motd_text | ( | const char * | txt | ) |
If the text is the end of motd text
Definition at line 3574 of file multi_pxo.cpp.
int multi_pxo_is_motd_text | ( | const char * | txt | ) |
If the text is message of the day text
Definition at line 3559 of file multi_pxo.cpp.
int multi_pxo_is_nick_command | ( | char * | msg | ) |
If the command is a potential "nick" command
Definition at line 1664 of file multi_pxo.cpp.
int multi_pxo_is_server_text | ( | const char * | txt | ) |
If the text came from the server
Definition at line 3544 of file multi_pxo.cpp.
void multi_pxo_join_channel | ( | pxo_channel * | chan | ) |
Attempt to join a channel
Definition at line 2612 of file multi_pxo.cpp.
void multi_pxo_load_palette | ( | ) |
Definition at line 1590 of file multi_pxo.cpp.
void multi_pxo_make_channels | ( | char * | chan_str | ) |
Parse the input string and make a list of new channels
Definition at line 2268 of file multi_pxo.cpp.
void multi_pxo_motd_add_text | ( | const char * | text | ) |
Set the motd text
Definition at line 3648 of file multi_pxo.cpp.
void multi_pxo_motd_dialog | ( | ) |
Display the motd dialog
Definition at line 3738 of file multi_pxo.cpp.
void multi_pxo_motd_init | ( | ) |
Initialize motd when going into this screen
Definition at line 3633 of file multi_pxo.cpp.
void multi_pxo_motd_maybe_blit | ( | ) |
Call to maybe blink the motd button
Definition at line 3750 of file multi_pxo.cpp.
void multi_pxo_notify_add | ( | const char * | txt | ) |
Add a notification string
Definition at line 4771 of file multi_pxo.cpp.
void multi_pxo_notify_blit | ( | ) |
Blit and process the notification string
Definition at line 4783 of file multi_pxo.cpp.
int multi_pxo_on_private_channel | ( | ) |
If we're currently on a private channel
Definition at line 1613 of file multi_pxo.cpp.
void multi_pxo_pinfo_blit | ( | ) |
Blit all the stats on this screen
Definition at line 4711 of file multi_pxo.cpp.
void multi_pxo_pinfo_build_vals | ( | ) |
Build the stats labels values
Definition at line 4475 of file multi_pxo.cpp.
void multi_pxo_pinfo_close | ( | ) |
Close
Definition at line 4690 of file multi_pxo.cpp.
int multi_pxo_pinfo_cond | ( | ) |
Popup conditional functions, returns 10 on successful get of stats
Definition at line 4312 of file multi_pxo.cpp.
int multi_pxo_pinfo_do | ( | ) |
Do frame
Definition at line 4641 of file multi_pxo.cpp.
int multi_pxo_pinfo_get | ( | char * | name | ) |
Return 1 if Multi_pxo_pinfo was successfully filled in, 0 otherwise
Definition at line 4430 of file multi_pxo.cpp.
void multi_pxo_pinfo_init | ( | ) |
Initialize the popup
Definition at line 4583 of file multi_pxo.cpp.
void multi_pxo_pinfo_show | ( | ) |
Fire up the stats view popup
Definition at line 4458 of file multi_pxo.cpp.
Handle a button press
Definition at line 3995 of file multi_pxo.cpp.
void multi_pxo_priv_close | ( | ) |
Close down the popup
Definition at line 3901 of file multi_pxo.cpp.
void multi_pxo_priv_init | ( | ) |
Initialize the popup
Definition at line 3881 of file multi_pxo.cpp.
int multi_pxo_priv_popup | ( | ) |
Run the popup, 0 if still running, -1 if cancel, 1 if ok
Definition at line 3913 of file multi_pxo.cpp.
void multi_pxo_priv_process_buttons | ( | ) |
Process button presses
Definition at line 3979 of file multi_pxo.cpp.
void multi_pxo_priv_process_input | ( | ) |
Process the inputbox
Definition at line 4022 of file multi_pxo.cpp.
void multi_pxo_process_channels | ( | ) |
Process the channel list (select, etc)
Definition at line 2398 of file multi_pxo.cpp.
void multi_pxo_process_common | ( | ) |
Definition at line 1494 of file multi_pxo.cpp.
void multi_pxo_process_nick_change | ( | char * | data | ) |
Process a "nick" change event
Definition at line 2118 of file multi_pxo.cpp.
void multi_pxo_process_players | ( | ) |
Process the player list (select, etc)
Definition at line 2890 of file multi_pxo.cpp.
void multi_pxo_run_medals | ( | ) |
Run the medals screen
Definition at line 4735 of file multi_pxo.cpp.
void multi_pxo_scroll_channels_down | ( | ) |
Scroll channel list down
Definition at line 2589 of file multi_pxo.cpp.
void multi_pxo_scroll_channels_up | ( | ) |
Scroll channel list up
Definition at line 2572 of file multi_pxo.cpp.
void multi_pxo_scroll_chat_down | ( | ) |
Scroll the text down
Definition at line 3427 of file multi_pxo.cpp.
void multi_pxo_scroll_chat_up | ( | ) |
Scroll the text up
Definition at line 3381 of file multi_pxo.cpp.
void multi_pxo_scroll_players_down | ( | ) |
Scroll player list down
Definition at line 2999 of file multi_pxo.cpp.
void multi_pxo_scroll_players_up | ( | ) |
Scroll player list up
Definition at line 2982 of file multi_pxo.cpp.
void multi_pxo_set_end_of_motd | ( | ) |
Set end of motd
Definition at line 3681 of file multi_pxo.cpp.
void multi_pxo_set_status_text | ( | const char * | txt | ) |
Set the status text
Definition at line 2192 of file multi_pxo.cpp.
void multi_pxo_strip_space | ( | char * | string1, |
char * | string2 | ||
) |
Definition at line 1546 of file multi_pxo.cpp.
void multi_pxo_underscore_nick | ( | char * | string1, |
char * | string2 | ||
) |
Convert string 1 into string 2, substituting underscores for spaces
Definition at line 1627 of file multi_pxo.cpp.
void multi_pxo_unload_palette | ( | ) |
Unload the palette
Definition at line 1601 of file multi_pxo.cpp.
void multi_pxo_url | ( | char * | url | ) |
Definition at line 1562 of file multi_pxo.cpp.
int i |
Definition at line 466 of file multi_pxo.cpp.
int mpxo_failed = 0 |
Condition function for popup_do_with_condition for connected to Parallax Online
Definition at line 1828 of file multi_pxo.cpp.
generic_anim Multi_pxo_anim |
Definition at line 169 of file multi_pxo.cpp.
UI_BUTTON Multi_pxo_ban_button |
Definition at line 1043 of file multi_pxo.cpp.
InetGetFile* Multi_pxo_ban_get = NULL |
Definition at line 1018 of file multi_pxo.cpp.
int Multi_pxo_ban_mode = PXO_BAN_MODE_LIST_STARTUP |
Definition at line 1057 of file multi_pxo.cpp.
pxo_banner Multi_pxo_banner |
Definition at line 1054 of file multi_pxo.cpp.
int Multi_pxo_bitmap = -1 |
Definition at line 161 of file multi_pxo.cpp.
char Multi_pxo_bitmap_fname[GR_NUM_RESOLUTIONS][MAX_FILENAME_LEN] |
Definition at line 151 of file multi_pxo.cpp.
ui_button_info Multi_pxo_buttons[GR_NUM_RESOLUTIONS][MULTI_PXO_NUM_BUTTONS] |
Definition at line 74 of file multi_pxo.cpp.
int Multi_pxo_chan_coords[GR_NUM_RESOLUTIONS][4] |
Definition at line 296 of file multi_pxo.cpp.
UI_BUTTON Multi_pxo_channel_button |
Definition at line 324 of file multi_pxo.cpp.
int Multi_pxo_channel_count = 0 |
Definition at line 328 of file multi_pxo.cpp.
pxo_channel Multi_pxo_channel_current |
Definition at line 338 of file multi_pxo.cpp.
char Multi_pxo_channel_last[MAX_CHANNEL_NAME_LEN+1] = "" |
Definition at line 287 of file multi_pxo.cpp.
float Multi_pxo_channel_last_refresh = -1.0f |
Definition at line 314 of file multi_pxo.cpp.
pxo_channel* Multi_pxo_channel_select = NULL |
Definition at line 335 of file multi_pxo.cpp.
float Multi_pxo_channel_server_refresh = -1.0f |
Definition at line 317 of file multi_pxo.cpp.
pxo_channel* Multi_pxo_channel_start = NULL |
Definition at line 331 of file multi_pxo.cpp.
int Multi_pxo_channel_start_index = -1 |
Definition at line 332 of file multi_pxo.cpp.
pxo_channel Multi_pxo_channel_switch |
Definition at line 341 of file multi_pxo.cpp.
pxo_channel* Multi_pxo_channels = NULL |
Definition at line 327 of file multi_pxo.cpp.
int Multi_pxo_chars_per_line[GR_NUM_RESOLUTIONS] |
Definition at line 978 of file multi_pxo.cpp.
chat_line* Multi_pxo_chat = NULL |
Definition at line 531 of file multi_pxo.cpp.
chat_line* Multi_pxo_chat_add = NULL |
Definition at line 534 of file multi_pxo.cpp.
int Multi_pxo_chat_coords[GR_NUM_RESOLUTIONS][4] |
Definition at line 487 of file multi_pxo.cpp.
int Multi_pxo_chat_count = 0 |
Definition at line 561 of file multi_pxo.cpp.
UI_INPUTBOX Multi_pxo_chat_input |
Definition at line 541 of file multi_pxo.cpp.
UI_SLIDER2 Multi_pxo_chat_slider |
Definition at line 544 of file multi_pxo.cpp.
int Multi_pxo_chat_slider_coords[GR_NUM_RESOLUTIONS][4] |
Definition at line 546 of file multi_pxo.cpp.
char* Multi_pxo_chat_slider_name[GR_NUM_RESOLUTIONS] |
Definition at line 555 of file multi_pxo.cpp.
chat_line* Multi_pxo_chat_start = NULL |
Definition at line 537 of file multi_pxo.cpp.
int Multi_pxo_chat_start_index = -1 |
Definition at line 538 of file multi_pxo.cpp.
int Multi_pxo_chat_title_y[GR_NUM_RESOLUTIONS] |
Definition at line 482 of file multi_pxo.cpp.
int Multi_pxo_com_bitmap = -1 |
Definition at line 704 of file multi_pxo.cpp.
char Multi_pxo_com_bottom_text[MAX_PXO_TEXT_LEN] |
Definition at line 715 of file multi_pxo.cpp.
int Multi_pxo_com_bottom_text_y[GR_NUM_RESOLUTIONS] |
Definition at line 729 of file multi_pxo.cpp.
ui_button_info Multi_pxo_com_buttons[GR_NUM_RESOLUTIONS][MULTI_PXO_COM_NUM_BUTTONS] |
Definition at line 681 of file multi_pxo.cpp.
int Multi_pxo_com_coords[GR_NUM_RESOLUTIONS][2] |
Definition at line 658 of file multi_pxo.cpp.
char* Multi_pxo_com_fname[GR_NUM_RESOLUTIONS] |
Definition at line 648 of file multi_pxo.cpp.
UI_INPUTBOX Multi_pxo_com_input |
Definition at line 706 of file multi_pxo.cpp.
int Multi_pxo_com_input_coords[GR_NUM_RESOLUTIONS][4] |
Definition at line 668 of file multi_pxo.cpp.
char* Multi_pxo_com_mask_fname[GR_NUM_RESOLUTIONS] |
Definition at line 652 of file multi_pxo.cpp.
char Multi_pxo_com_middle_text[MAX_PXO_TEXT_LEN] |
Definition at line 712 of file multi_pxo.cpp.
int Multi_pxo_com_middle_text_y[GR_NUM_RESOLUTIONS] |
Definition at line 725 of file multi_pxo.cpp.
UI_XSTR Multi_pxo_com_text[GR_NUM_RESOLUTIONS][MULTI_PXO_COM_NUM_TEXT] |
Definition at line 693 of file multi_pxo.cpp.
char Multi_pxo_com_top_text[MAX_PXO_TEXT_LEN] |
Definition at line 709 of file multi_pxo.cpp.
int Multi_pxo_com_top_text_coords[GR_NUM_RESOLUTIONS][2] |
Definition at line 717 of file multi_pxo.cpp.
UI_WINDOW Multi_pxo_com_window |
Definition at line 705 of file multi_pxo.cpp.
int Multi_pxo_connected = 0 |
Definition at line 177 of file multi_pxo.cpp.
char Multi_pxo_find_channel[MAX_CHANNEL_NAME_LEN+1] |
Definition at line 783 of file multi_pxo.cpp.
int Multi_pxo_find_return_code = -1 |
Definition at line 786 of file multi_pxo.cpp.
int Multi_pxo_help_bitmap = -1 |
Definition at line 998 of file multi_pxo.cpp.
ui_button_info Multi_pxo_help_buttons[GR_NUM_RESOLUTIONS][MULTI_PXO_HELP_NUM_BUTTONS] |
Definition at line 941 of file multi_pxo.cpp.
int Multi_pxo_help_coords[GR_NUM_RESOLUTIONS][2] |
Definition at line 969 of file multi_pxo.cpp.
int Multi_pxo_help_cur = 0 |
Definition at line 1002 of file multi_pxo.cpp.
char* Multi_pxo_help_fname[GR_NUM_RESOLUTIONS] |
Definition at line 927 of file multi_pxo.cpp.
char* Multi_pxo_help_mask_fname[GR_NUM_RESOLUTIONS] |
Definition at line 931 of file multi_pxo.cpp.
int Multi_pxo_help_num_pages = 0 |
Definition at line 996 of file multi_pxo.cpp.
help_page Multi_pxo_help_pages[MULTI_PXO_MAX_PAGES] |
Definition at line 994 of file multi_pxo.cpp.
UI_XSTR Multi_pxo_help_text[GR_NUM_RESOLUTIONS][MULTI_PXO_HELP_NUM_TEXT] |
Definition at line 955 of file multi_pxo.cpp.
UI_WINDOW Multi_pxo_help_window |
Definition at line 999 of file multi_pxo.cpp.
int Multi_pxo_input_coords[GR_NUM_RESOLUTIONS][4] |
Definition at line 496 of file multi_pxo.cpp.
int Multi_pxo_lines_pp[GR_NUM_RESOLUTIONS] |
Definition at line 983 of file multi_pxo.cpp.
char Multi_pxo_mask_fname[GR_NUM_RESOLUTIONS][MAX_FILENAME_LEN] |
Definition at line 155 of file multi_pxo.cpp.
int Multi_pxo_max_chan_display[GR_NUM_RESOLUTIONS] |
Definition at line 319 of file multi_pxo.cpp.
int Multi_pxo_max_chat_display[GR_NUM_RESOLUTIONS] |
Definition at line 505 of file multi_pxo.cpp.
int Multi_pxo_max_player_display[GR_NUM_RESOLUTIONS] |
Definition at line 407 of file multi_pxo.cpp.
int Multi_pxo_mode = MULTI_PXO_MODE_NORMAL |
Definition at line 185 of file multi_pxo.cpp.
int Multi_pxo_must_autojoin = 1 |
Definition at line 179 of file multi_pxo.cpp.
int Multi_pxo_must_connect = 0 |
Definition at line 176 of file multi_pxo.cpp.
int Multi_pxo_must_validate = 0 |
Definition at line 178 of file multi_pxo.cpp.
char Multi_pxo_nick[NAME_LENGTH+1] |
Definition at line 188 of file multi_pxo.cpp.
int Multi_pxo_notify_stamp = -1 |
Definition at line 916 of file multi_pxo.cpp.
char Multi_pxo_notify_text[MAX_PXO_TEXT_LEN] |
Definition at line 915 of file multi_pxo.cpp.
int Multi_pxo_palette = -1 |
Definition at line 162 of file multi_pxo.cpp.
int Multi_pxo_pinfo_bitmap = -1 |
Definition at line 849 of file multi_pxo.cpp.
ui_button_info Multi_pxo_pinfo_buttons[GR_NUM_RESOLUTIONS][MULTI_PXO_PINFO_NUM_BUTTONS] |
Definition at line 825 of file multi_pxo.cpp.
int Multi_pxo_pinfo_coords[GR_NUM_RESOLUTIONS][4] |
Definition at line 863 of file multi_pxo.cpp.
char* Multi_pxo_pinfo_fname[GR_NUM_RESOLUTIONS] |
Definition at line 811 of file multi_pxo.cpp.
char* Multi_pxo_pinfo_mask_fname[GR_NUM_RESOLUTIONS] |
Definition at line 815 of file multi_pxo.cpp.
player Multi_pxo_pinfo_player |
Definition at line 853 of file multi_pxo.cpp.
char* Multi_pxo_pinfo_stats_labels[MULTI_PXO_PINFO_NUM_LABELS] |
Definition at line 876 of file multi_pxo.cpp.
int Multi_pxo_pinfo_stats_spacing[MULTI_PXO_PINFO_NUM_LABELS] |
Definition at line 880 of file multi_pxo.cpp.
UI_XSTR Multi_pxo_pinfo_text[GR_NUM_RESOLUTIONS][MULTI_PXO_PINFO_NUM_TEXT] |
Definition at line 838 of file multi_pxo.cpp.
int Multi_pxo_pinfo_val_x[GR_NUM_RESOLUTIONS] |
Definition at line 871 of file multi_pxo.cpp.
char Multi_pxo_pinfo_vals[MULTI_PXO_PINFO_NUM_LABELS][50] |
Definition at line 878 of file multi_pxo.cpp.
UI_WINDOW Multi_pxo_pinfo_window |
Definition at line 850 of file multi_pxo.cpp.
UI_BUTTON Multi_pxo_player_button |
Definition at line 411 of file multi_pxo.cpp.
int Multi_pxo_player_coords[GR_NUM_RESOLUTIONS][4] |
Definition at line 398 of file multi_pxo.cpp.
int Multi_pxo_player_count = 0 |
Definition at line 429 of file multi_pxo.cpp.
player_list* Multi_pxo_player_select = NULL |
Definition at line 436 of file multi_pxo.cpp.
int Multi_pxo_player_slider_coords[GR_NUM_RESOLUTIONS][4] |
Definition at line 414 of file multi_pxo.cpp.
char* Multi_pxo_player_slider_name[GR_NUM_RESOLUTIONS] |
Definition at line 422 of file multi_pxo.cpp.
player_list* Multi_pxo_player_start = NULL |
Definition at line 432 of file multi_pxo.cpp.
player_list* Multi_pxo_players = NULL |
Definition at line 428 of file multi_pxo.cpp.
char Multi_pxo_priv_chan[MULTI_PXO_PRIV_MAX_TEXT_LEN+100] |
Definition at line 757 of file multi_pxo.cpp.
int Multi_pxo_priv_return_code = -1 |
Definition at line 760 of file multi_pxo.cpp.
float Multi_pxo_ranking_last = -1.0f |
Definition at line 173 of file multi_pxo.cpp.
char Multi_pxo_retrieve_id[128] |
Definition at line 858 of file multi_pxo.cpp.
int Multi_pxo_retrieve_mode = -1 |
Definition at line 855 of file multi_pxo.cpp.
char Multi_pxo_retrieve_name[MAX_PLAYER_NAME_LEN+1] |
Definition at line 857 of file multi_pxo.cpp.
int Multi_pxo_searching = 0 |
Definition at line 3770 of file multi_pxo.cpp.
int Multi_pxo_status_coords[GR_NUM_RESOLUTIONS][4] |
Definition at line 251 of file multi_pxo.cpp.
char Multi_pxo_status_text[MAX_PXO_TEXT_LEN] |
Definition at line 261 of file multi_pxo.cpp.
int Multi_pxo_switch_delay = -1 |
Definition at line 565 of file multi_pxo.cpp.
UI_XSTR Multi_pxo_text[GR_NUM_RESOLUTIONS][MULTI_PXO_NUM_TEXT] |
Definition at line 112 of file multi_pxo.cpp.
int Multi_pxo_use_last_channel = 0 |
Definition at line 288 of file multi_pxo.cpp.
UI_WINDOW Multi_pxo_window |
Definition at line 160 of file multi_pxo.cpp.
char name_lookup[MAX_PXO_TEXT_LEN] |
Definition at line 4048 of file multi_pxo.cpp.
int Pxo_ban_coords[GR_NUM_RESOLUTIONS][4] |
Definition at line 1024 of file multi_pxo.cpp.
char Pxo_motd[1024] = "" |
Definition at line 624 of file multi_pxo.cpp.
int Pxo_motd_blink_on = 0 |
Definition at line 628 of file multi_pxo.cpp.
int Pxo_motd_blink_stamp = -1 |
Definition at line 627 of file multi_pxo.cpp.
int Pxo_motd_blinked_already = 0 |
Definition at line 629 of file multi_pxo.cpp.
int Pxo_motd_end = 0 |
Definition at line 625 of file multi_pxo.cpp.
int Pxo_motd_read = 0 |
Definition at line 626 of file multi_pxo.cpp.