Debian Codegraph @

netcon/lanclient/lanclient.h

raw symbols SCIP
1 /*
2 * Descent 3
3 * Copyright (C) 2024 Parallax Software
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19 #ifndef _LANCLIENT_HEADER
20 #define _LANCLIENT_HEADER
21 /*
22 * $Logfile: /DescentIII/Main/lanclient/lanclient.h $
23 * $Revision: 1.2 $
24 * $Date: 2004/02/09 04:14:51 $
25 * $Author: kevinb $
26 *
27 * LAN client DLL
28 *
29 * $Log: lanclient.h,v $
30 * Revision 1.2 2004/02/09 04:14:51 kevinb
31 * Added newlines to all headers to reduce number of warnings printed
32 *
33 * Made some small changes to get everything compiling.
34 *
35 * All Ready to merge the 1.5 tree.
36 *
37 * Revision 1.1.1.1 2000/04/18 00:00:38 icculus
38 * initial checkin
39 *
40 *
41 * 14 6/23/99 3:36p Samir
42 * took out #define uint8_t
43 *
44 * 13 3/02/99 5:50p Kevin
45 * Ouch. Duplicate structures existed and were conflicting.
46 *
47 * 12 2/19/99 5:21p Kevin
48 * Fixed some connection DLLs and a Direct Sound bug with threads.
49 *
50 * 11 9/15/98 12:42p Jason
51 * got dedicated server actually working
52 *
53 * 10 8/19/98 11:50a Kevin
54 * Got DirectPlay IPX working, and localized connection DLLs
55 *
56 * 9 8/07/98 12:39p Jeff
57 * added "allowed ships" to multiplayer options
58 *
59 * 8 7/21/98 1:49p Kevin
60 * IPX support and peer-peer option for multi
61 *
62 * 7 7/20/98 2:34p Kevin
63 * Re-wrote the DLL wrapper, to allow for better expandability
64 *
65 * 5 6/24/98 6:40p Kevin
66 * Added help to main dll menu
67 *
68 * 4 6/24/98 3:24p Kevin
69 * Updated PXO screens with chat, etc.
70 *
71 * 3 6/18/98 4:49p Kevin
72 * Updated multiplayer menus
73 *
74 * 2 6/01/98 10:10a Kevin
75 * Added DLL connection interface and auto update DLL
76 *
77 * 1 5/28/98 12:14p Kevin
78 *
79 * 1 5/18/98 12:47p Kevin
80 *
81 * $NoKeywords: $
82 */
83
84 #include "ui.h"
85
86 // #define uint8_t uint8_t
87
88 #define TRACKER_MENU_W 256
89 #define TRACKER_MENU_H 256
90 #define TRACKER_MENU_X 320 - (TRACKER_MENU_W / 2)
91 #define TRACKER_MENU_Y 240 - (TRACKER_MENU_H / 2)
92
93 #define MAXTEXTITEMS 100
94 #define MAXNEWWINDOWS 5
95 #define MAXNEWGAMEWINDOWS 5
96 #define MAXUIBUTTONS 20
97 #define MAXUITEXTS 20
98 #define MAXEDITS 20
99 #define MAXLISTS 20
100
101 #include "con_dll.h"
102
103 int StartMultiplayerGameMenu();
104 void MultiplayerOptionsMenu();
105
106 namespace lanclient {
107
108 int LoginMasterTracker(void);
109 int MainMultiplayerMenu();
110 int SearchLANGameMenu();
111
112 void DoMTFrame(void);
113 void DoMTGameOver(void);
114 int MTVersionCheck(void);
115 void AutoLoginAndJoinGame(void);
116 } // namespace lanclient
117 #endif