Descent3/netcon/lanclient/lanclient.h

100 lines
2.2 KiB
C
Raw Normal View History

2024-04-16 03:43:29 +00:00
#ifndef _LANCLIENT_HEADER
#define _LANCLIENT_HEADER
/*
2024-04-16 18:56:40 +00:00
* $Logfile: /DescentIII/Main/lanclient/lanclient.h $
* $Revision: 1.2 $
* $Date: 2004/02/09 04:14:51 $
* $Author: kevinb $
*
* LAN client DLL
*
* $Log: lanclient.h,v $
* Revision 1.2 2004/02/09 04:14:51 kevinb
* Added newlines to all headers to reduce number of warnings printed
*
* Made some small changes to get everything compiling.
*
* All Ready to merge the 1.5 tree.
*
* Revision 1.1.1.1 2000/04/18 00:00:38 icculus
* initial checkin
*
*
2024-04-16 03:43:29 +00:00
* 14 6/23/99 3:36p Samir
* took out #define ubyte
2024-04-16 18:56:40 +00:00
*
2024-04-16 03:43:29 +00:00
* 13 3/02/99 5:50p Kevin
* Ouch. Duplicate structures existed and were conflicting.
2024-04-16 18:56:40 +00:00
*
2024-04-16 03:43:29 +00:00
* 12 2/19/99 5:21p Kevin
* Fixed some connection DLLs and a Direct Sound bug with threads.
2024-04-16 18:56:40 +00:00
*
2024-04-16 03:43:29 +00:00
* 11 9/15/98 12:42p Jason
* got dedicated server actually working
2024-04-16 18:56:40 +00:00
*
2024-04-16 03:43:29 +00:00
* 10 8/19/98 11:50a Kevin
* Got DirectPlay IPX working, and localized connection DLLs
2024-04-16 18:56:40 +00:00
*
2024-04-16 03:43:29 +00:00
* 9 8/07/98 12:39p Jeff
* added "allowed ships" to multiplayer options
2024-04-16 18:56:40 +00:00
*
2024-04-16 03:43:29 +00:00
* 8 7/21/98 1:49p Kevin
* IPX support and peer-peer option for multi
2024-04-16 18:56:40 +00:00
*
2024-04-16 03:43:29 +00:00
* 7 7/20/98 2:34p Kevin
* Re-wrote the DLL wrapper, to allow for better expandability
2024-04-16 18:56:40 +00:00
*
2024-04-16 03:43:29 +00:00
* 5 6/24/98 6:40p Kevin
* Added help to main dll menu
2024-04-16 18:56:40 +00:00
*
2024-04-16 03:43:29 +00:00
* 4 6/24/98 3:24p Kevin
* Updated PXO screens with chat, etc.
2024-04-16 18:56:40 +00:00
*
2024-04-16 03:43:29 +00:00
* 3 6/18/98 4:49p Kevin
* Updated multiplayer menus
2024-04-16 18:56:40 +00:00
*
2024-04-16 03:43:29 +00:00
* 2 6/01/98 10:10a Kevin
* Added DLL connection interface and auto update DLL
2024-04-16 18:56:40 +00:00
*
2024-04-16 03:43:29 +00:00
* 1 5/28/98 12:14p Kevin
2024-04-16 18:56:40 +00:00
*
2024-04-16 03:43:29 +00:00
* 1 5/18/98 12:47p Kevin
2024-04-16 18:56:40 +00:00
*
* $NoKeywords: $
*/
2024-04-16 03:43:29 +00:00
#include "ui.h"
2024-04-16 20:59:11 +00:00
// #define ubyte unsigned char
2024-04-16 03:43:29 +00:00
2024-04-16 18:56:40 +00:00
#define TRACKER_MENU_W 256
#define TRACKER_MENU_H 256
#define TRACKER_MENU_X 320 - (TRACKER_MENU_W / 2)
#define TRACKER_MENU_Y 240 - (TRACKER_MENU_H / 2)
2024-04-16 03:43:29 +00:00
2024-04-16 18:56:40 +00:00
#define MAXTEXTITEMS 100
#define MAXNEWWINDOWS 5
#define MAXNEWGAMEWINDOWS 5
#define MAXUIBUTTONS 20
#define MAXUITEXTS 20
#define MAXEDITS 20
#define MAXLISTS 20
2024-04-16 03:43:29 +00:00
#include "con_dll.h"
2024-04-16 18:56:40 +00:00
int StartMultiplayerGameMenu();
void MultiplayerOptionsMenu();
2024-04-16 03:43:29 +00:00
2024-04-16 18:56:40 +00:00
namespace lanclient {
2024-04-16 03:43:29 +00:00
int LoginMasterTracker(void);
2024-04-16 18:56:40 +00:00
int MainMultiplayerMenu();
int SearchLANGameMenu();
2024-04-16 03:43:29 +00:00
void DoMTFrame(void);
void DoMTGameOver(void);
int MTVersionCheck(void);
void AutoLoginAndJoinGame(void);
2024-04-16 18:56:40 +00:00
} // namespace lanclient
2024-04-16 03:43:29 +00:00
#endif