Debian Codegraph @

netcon/includes/mdllinit.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 --- HISTORICAL COMMENTS FOLLOW ---
19
20 * $Logfile: /DescentIII/Main/lib/mdllinit.h $
21 * $Revision: 1.1.1.1 $
22 * $Date: 2003/08/26 03:58:12 $
23 * $Author: kevinb $
24 *
25 * Multiplayer DLL function pointer init
26 *
27 * $Log: mdllinit.h,v $
28 * Revision 1.1.1.1 2003/08/26 03:58:12 kevinb
29 * initial 1.5 import
30 *
31 *
32 * 40 10/03/01 1:06a Kevin
33 * pxo bandwidth reduction and nat fix
34 *
35 * 39 3/26/00 10:30p Kevin
36 * MOD Downloader for 1.4 patch.
37 *
38 * 38 7/12/99 4:15p Kevin
39 * Changed the way we determine if we should report stats or not in PXO
40 *
41 * 37 7/06/99 5:52p Kevin
42 * PXO & multiplayer fixes for the patch
43 *
44 * 36 4/25/99 12:11a Kevin
45 * game info dialog stuff
46 *
47 * 35 4/23/99 3:33p Kevin
48 * mission file/multiplayer mod keyword system
49 *
50 * 34 4/19/99 3:57a Jeff
51 * got compiling for Linux
52 *
53 * 33 4/18/99 3:13p Jeff
54 * got working with linux
55 *
56 * 32 4/16/99 3:17p Kevin
57 * More mouselook support
58 *
59 * 31 4/08/99 4:54p Kevin
60 * Display level warp dialog for multiplayer
61 *
62 * 30 4/08/99 3:42p Kevin
63 * Added some stuff for the scoring API. Not functional yet.
64 *
65 * 29 3/25/99 3:26p Kevin
66 * Made PXO games be based on your chat channel
67 *
68 * 28 3/17/99 4:08p Kevin
69 * Changed the way games appear and timeout in the game list.
70 *
71 * 27 2/15/99 7:48p Jeff
72 * new pilot file class and read/write system checked in...should be more
73 * robust than old
74 *
75 * 26 1/11/99 12:29p Jeff
76 * changes made not to call the module library directly
77 *
78 * 25 1/07/99 11:51a Kevin
79 * Added support for joining servers on alternate ports and hosting behind
80 * a proxy/firewall
81 *
82 * 24 12/30/98 3:49p Kevin
83 * Moved multiplayer options out of DLL and into main app
84 *
85 * 23 12/30/98 12:16p Kevin
86 * Auto Mission Download system
87 *
88 * 22 12/23/98 6:38p Kevin
89 * All UDP data (except gamespy) now uses one (registered) port number
90 *
91 * 21 10/01/98 11:37a Kevin
92 * UI fixes and stuff
93 *
94 * 20 9/23/98 2:55p Kevin
95 * Saved multi config and changed UI to conform
96 *
97 * 19 9/22/98 2:29p Kevin
98 * moved ships allowed code out of dll and into main app. Also added
99 * powerup exclusions
100 *
101 * 18 9/21/98 11:19a Kevin
102 * check protocol before entering multiplayer screens
103 *
104 * 17 9/16/98 8:06p Jason
105 * got mastertracker working with the dedicated server
106 *
107 * 16 9/04/98 1:51p Kevin
108 * implemented asyncronous gethostbyname
109 *
110 * 15 9/02/98 6:54p Kevin
111 * Fixed general directplay support up, and got modem-modem working
112 *
113 * 14 8/27/98 5:03p Kevin
114 * Prettied up multiplayer screens and fixed some bugs.
115 *
116 * 13 8/25/98 6:33p Kevin
117 * pxo
118 *
119 * 12 8/24/98 5:04p Kevin
120 * Made msn files have the option to not be playable in multiplayer
121 *
122 * 11 8/24/98 10:42a Kevin
123 * Updated DLL for directplay and PXO background
124 *
125 * 10 8/19/98 11:50a Kevin
126 * Got DirectPlay IPX working, and localized connection DLLs
127 *
128 * 9 8/07/98 12:39p Jeff
129 * added "allowed ships" to multiplayer options
130 *
131 * 8 7/21/98 1:49p Kevin
132 * IPX support and peer-peer option for multi
133 *
134 * 7 7/20/98 2:34p Kevin
135 * Re-wrote the DLL wrapper, to allow for better expandability
136 *
137 * 6 7/10/98 10:47a Kevin
138 * Added command line connecting to games
139 *
140 * 5 6/24/98 6:40p Kevin
141 * Added help to main dll menu
142 *
143 * 4 6/24/98 3:24p Kevin
144 * Updated PXO screens with chat, etc.
145 *
146 * 3 6/18/98 4:49p Kevin
147 * Updated multiplayer menus
148 *
149 * 2 6/01/98 10:10a Kevin
150 * Added DLL connection interface and auto update DLL
151 *
152 * 1 5/18/98 2:26p Kevin
153 *
154 * $NoKeywords: $
155 */
156
157 // Do functions, variables
158 // Note, these must match the ordering on the D3 side (multi_dll_mgr.cpp)
159
160 DLLGetMultiAPIcxx . . $ DLLGetMultiAPI. = (GetMultiAPI_fpcxx . . $ GetMultiAPI_fp#)api_func;
161 DLLGetMultiAPIcxx . . $ DLLGetMultiAPI.(&APIcxx . . $ API.);
162 DLLSetUITextItemTextcxx . . $ DLLSetUITextItemText. = (SetUITextItemText_fpcxx . . $ SetUITextItemText_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[0];
163 DLLNewUIWindowCreatecxx . . $ DLLNewUIWindowCreate. = (NewUIWindowCreate_fpcxx . . $ NewUIWindowCreate_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[1];
164 DLLNewUIWindowDestroycxx . . $ DLLNewUIWindowDestroy. = (NewUIWindowDestroy_fpcxx . . $ NewUIWindowDestroy_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[2];
165 DLLNewUIWindowOpencxx . . $ DLLNewUIWindowOpen. = (NewUIWindowOpen_fpcxx . . $ NewUIWindowOpen_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[3];
166 DLLNewUIWindowClosecxx . . $ DLLNewUIWindowClose. = (NewUIWindowClose_fpcxx . . $ NewUIWindowClose_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[4];
167 DLLTextCreatecxx . . $ DLLTextCreate. = (TextCreate_fpcxx . . $ TextCreate_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[5];
168 DLLEditCreatecxx . . $ DLLEditCreate. = (EditCreate_fpcxx . . $ EditCreate_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[6];
169 DLLButtonCreatecxx . . $ DLLButtonCreate. = (ButtonCreate_fpcxx . . $ ButtonCreate_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[7];
170 DLLListCreatecxx . . $ DLLListCreate. = (ListCreate_fpcxx . . $ ListCreate_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[8];
171 DLLListRemoveAllcxx . . $ DLLListRemoveAll. = (ListRemoveAll_fpcxx . . $ ListRemoveAll_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[9];
172 DLLListAddItemcxx . . $ DLLListAddItem. = (ListAddItem_fpcxx . . $ ListAddItem_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[10];
173 DLLListRemoveItemcxx . . $ DLLListRemoveItem. = (ListRemoveItem_fpcxx . . $ ListRemoveItem_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[11];
174 DLLListSelectItemcxx . . $ DLLListSelectItem. = (ListSelectItem_fpcxx . . $ ListSelectItem_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[12];
175 DLLListGetItemcxx . . $ DLLListGetItem. = (ListGetItem_fpcxx . . $ ListGetItem_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[13];
176 DLLListGetSelectedIndexcxx . . $ DLLListGetSelectedIndex. = (ListGetSelectedIndex_fpcxx . . $ ListGetSelectedIndex_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[14];
177 DLLEditSetTextcxx . . $ DLLEditSetText. = (EditSetText_fpcxx . . $ EditSetText_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[15];
178 DLLEditGetTextcxx . . $ DLLEditGetText. = (EditGetText_fpcxx . . $ EditGetText_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[16];
179 DLLDatabaseWritecxx . . $ DLLDatabaseWrite. = (DatabaseWrite_fpcxx . . $ DatabaseWrite_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[17];
180 DLLDatabaseReadcxx . . $ DLLDatabaseRead. = (DatabaseRead_fpcxx . . $ DatabaseRead_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[18];
181 DLLDoUIcxx . . $ DLLDoUI. = (DoUI_fpcxx . . $ DoUI_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[19];
182 DLLDoMessageBoxFPcxx . . $ DLLDoMessageBoxFP. = (DoMessageBox_fpcxx . . $ DoMessageBox_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[20];
183 DLLDescentDefercxx . . $ DLLDescentDefer. = (DescentDefer_fpcxx . . $ DescentDefer_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[21];
184 DLLDebug_ConsolePrintfcxx . . $ DLLDebug_ConsolePrintf. = (Debug_ConsolePrintf_fpcxx . . $ Debug_ConsolePrintf_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[22];
185 DLLDestroyStringTablecxx . . $ DLLDestroyStringTable. = (DestroyStringTable_fpcxx . . $ DestroyStringTable_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[23];
186 DLLCreateStringTablecxx . . $ DLLCreateStringTable. = (CreateStringTable_fpcxx . . $ CreateStringTable_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[24];
187 DLLNewUIGameWindowCreatecxx . . $ DLLNewUIGameWindowCreate. = (NewUIGameWindowCreate_fpcxx . . $ NewUIGameWindowCreate_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[25];
188 DLLNewUIGameWindowDestroycxx . . $ DLLNewUIGameWindowDestroy. = (NewUIGameWindowDestroy_fpcxx . . $ NewUIGameWindowDestroy_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[26];
189 DLLNewUIGameWindowOpencxx . . $ DLLNewUIGameWindowOpen. = (NewUIGameWindowOpen_fpcxx . . $ NewUIGameWindowOpen_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[27];
190 DLLNewUIGameWindowClosecxx . . $ DLLNewUIGameWindowClose. = (NewUIGameWindowClose_fpcxx . . $ NewUIGameWindowClose_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[28];
191 DLLSetScreenModecxx . . $ DLLSetScreenMode. = (SetScreenMode_fpcxx . . $ SetScreenMode_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[29];
192 DLLtimer_GetTimecxx . . $ DLLtimer_GetTime. = (timer_GetTime_fpcxx . . $ timer_GetTime_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[30];
193 DLLTryToJoinServercxx . . $ DLLTryToJoinServer. = (TryToJoinServer_fpcxx . . $ TryToJoinServer_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[31];
194 DLLMultiStartClientcxx . . $ DLLMultiStartClient. = (MultiStartClient_fpcxx . . $ MultiStartClient_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[32];
195 DLLrend_GetRenderStatecxx . . $ DLLrend_GetRenderState. = (rend_GetRenderState_fpcxx . . $ rend_GetRenderState_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[33];
196 DLLLoadMissioncxx . . $ DLLLoadMission. = (LoadMission_fpcxx . . $ LoadMission_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[34];
197 DLLddio_MakePathcxx . . $ DLLddio_MakePath. = (ddio_MakePath_fpcxx . . $ ddio_MakePath_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[35];
198 DLLddio_FindFileStartcxx . . $ DLLddio_FindFileStart. = (ddio_FindFileStart_fpcxx . . $ ddio_FindFileStart_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[36];
199 DLLddio_FindFileClosecxx . . $ DLLddio_FindFileClose. = (ddio_FindFileClose_fpcxx . . $ ddio_FindFileClose_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[37];
200 DLLddio_FindNextFilecxx . . $ DLLddio_FindNextFile. = (ddio_FindNextFile_fpcxx . . $ ddio_FindNextFile_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[38];
201 DLLMultiStartServerFPcxx . . $ DLLMultiStartServerFP. = (MultiStartServer_fpcxx . . $ MultiStartServer_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[39];
202 DLLShowProgressScreencxx . . $ DLLShowProgressScreen. = (ShowProgressScreen_fpcxx . . $ ShowProgressScreen_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[40];
203 DLLSearchForLocalGamesTCPcxx . . $ DLLSearchForLocalGamesTCP. = (SearchForLocalGamesTCP_fpcxx . . $ SearchForLocalGamesTCP_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[41];
204 DLLnw_GetHostAddressFromNumberscxx . . $ DLLnw_GetHostAddressFromNumbers. = (nw_GetHostAddressFromNumbers_fpcxx . . $ nw_GetHostAddressFromNumbers_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[42];
205 DLLnw_GetProtocolTypecxx . . $ DLLnw_GetProtocolType. = (nw_GetProtocolType_fpcxx . . $ nw_GetProtocolType_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[43];
206 DLLHotSpotCreatecxx . . $ DLLHotSpotCreate. = (HotSpotCreate_fpcxx . . $ HotSpotCreate_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[44];
207 DLLPollUIcxx . . $ DLLPollUI. = (PollUI_fpcxx . . $ PollUI_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[45];
208 DLLGetMissionNamecxx . . $ DLLGetMissionName. = (GetMissionName_fpcxx . . $ GetMissionName_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[46];
209 DLLRemoveUITextItemcxx . . $ DLLRemoveUITextItem. = (RemoveUITextItem_fpcxx . . $ RemoveUITextItem_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[47];
210 DLLCreateNewUITextItemFPcxx . . $ DLLCreateNewUITextItemFP. = (CreateNewUITextItem_fpcxx . . $ CreateNewUITextItem_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[48];
211 DLLmem_malloccxx . . $ DLLmem_malloc. = (mem_malloc_fpcxx . . $ mem_malloc_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[49];
212 DLLmem_freecxx . . $ DLLmem_free. = (mem_free_fpcxx . . $ mem_free_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[50];
213 DLLCreateSplashScreencxx . . $ DLLCreateSplashScreen. = (CreateSplashScreen_fpcxx . . $ CreateSplashScreen_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[51];
214 DLLCloseSplashScreencxx . . $ DLLCloseSplashScreen. = (CloseSplashScreen_fpcxx . . $ CloseSplashScreen_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[52];
215 DLLUIConsoleGadgetCreatecxx . . $ DLLUIConsoleGadgetCreate. = (UIConsoleGadgetCreate_fpcxx . . $ UIConsoleGadgetCreate_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[53];
216 DLLUIConsoleGadgetputscxx . . $ DLLUIConsoleGadgetputs. = (UIConsoleGadgetputs_fpcxx . . $ UIConsoleGadgetputs_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[54];
217 DLLNewUIWindowSetFocusOnEditGadgetcxx . . $ DLLNewUIWindowSetFocusOnEditGadget. = (NewUIWindowSetFocusOnEditGadget_fpcxx . . $ NewUIWindowSetFocusOnEditGadget_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[55];
218 DLLOldEditCreatecxx . . $ DLLOldEditCreate. = (OldEditCreate_fpcxx . . $ OldEditCreate_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[56];
219 DLLOldListCreatecxx . . $ DLLOldListCreate. = (OldListCreate_fpcxx . . $ OldListCreate_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[57];
220 DLLOldListRemoveAllcxx . . $ DLLOldListRemoveAll. = (OldListRemoveAll_fpcxx . . $ OldListRemoveAll_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[58];
221 DLLOldListAddItemcxx . . $ DLLOldListAddItem. = (OldListAddItem_fpcxx . . $ OldListAddItem_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[59];
222 DLLOldListRemoveItemcxx . . $ DLLOldListRemoveItem. = (OldListRemoveItem_fpcxx . . $ OldListRemoveItem_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[60];
223 DLLOldListSelectItemcxx . . $ DLLOldListSelectItem. = (OldListSelectItem_fpcxx . . $ OldListSelectItem_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[61];
224 DLLOldListGetItemcxx . . $ DLLOldListGetItem. = (OldListGetItem_fpcxx . . $ OldListGetItem_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[62];
225 DLLOldListGetSelectedIndexcxx . . $ DLLOldListGetSelectedIndex. = (OldListGetSelectedIndex_fpcxx . . $ OldListGetSelectedIndex_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[63];
226 DLLOldEditSetTextcxx . . $ DLLOldEditSetText. = (OldEditSetText_fpcxx . . $ OldEditSetText_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[64];
227 DLLOldEditGetTextcxx . . $ DLLOldEditGetText. = (OldEditGetText_fpcxx . . $ OldEditGetText_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[65];
228 DLLToggleUICallbackcxx . . $ DLLToggleUICallback. = (ToggleUICallback_fpcxx . . $ ToggleUICallback_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[66];
229 DLLSearchForGamesPXOcxx . . $ DLLSearchForGamesPXO. = (SearchForGamesPXO_fpcxx . . $ SearchForGamesPXO_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[67];
230 DLLSetOldEditBufferLencxx . . $ DLLSetOldEditBufferLen. = (SetOldEditBufferLen_fpcxx . . $ SetOldEditBufferLen_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[68];
231 DLLNewUIWindowLoadBackgroundImagecxx . . $ DLLNewUIWindowLoadBackgroundImage. = (NewUIWindowLoadBackgroundImage_fpcxx . . $ NewUIWindowLoadBackgroundImage_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[69];
232 DLLDeleteUIItemcxx . . $ DLLDeleteUIItem. = (DeleteUIItem_fpcxx . . $ DeleteUIItem_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[70];
233 DLLSearchForLocalGamesIPXcxx . . $ DLLSearchForLocalGamesIPX. = (SearchForLocalGamesIPX_fpcxx . . $ SearchForLocalGamesIPX_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[71];
234 DLLHotSpotSetStatescxx . . $ DLLHotSpotSetStates. = (HotSpotSetStates_fpcxx . . $ HotSpotSetStates_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[72];
235 DLLPlayerSetShipPermissioncxx . . $ DLLPlayerSetShipPermission. = (PlayerSetShipPermission_fpcxx . . $ PlayerSetShipPermission_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[73];
236 DLLPlayerIsShipAllowedcxx . . $ DLLPlayerIsShipAllowed. = (PlayerIsShipAllowed_fpcxx . . $ PlayerIsShipAllowed_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[74];
237 #ifdef WIN32
238 DLLdp_InitDirectPlay = (dp_InitDirectPlay_fp)API.fp[75];
239 DLLdp_ListDirectPlayGames = (dp_ListDirectPlayGames_fp)API.fp[76];
240 DLLdp_GetModemChoices = (dp_GetModemChoices_fp)API.fp[77];
241 #endif
242 DLLDatabaseReadIntcxx . . $ DLLDatabaseReadInt. = (DatabaseReadInt_fpcxx . . $ DatabaseReadInt_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[78];
243 DLLDatabaseWriteIntcxx . . $ DLLDatabaseWriteInt. = (DatabaseWriteInt_fpcxx . . $ DatabaseWriteInt_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[79];
244 DLLDoScreenshotcxx . . $ DLLDoScreenshot. = (DoScreenshot_fpcxx . . $ DoScreenshot_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[80];
245 DLLIsMissionMultiPlayablecxx . . $ DLLIsMissionMultiPlayable. = (IsMissionMultiPlayable_fpcxx . . $ IsMissionMultiPlayable_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[81];
246 DLLgrtext_GetTextLineWidthcxx . . $ DLLgrtext_GetTextLineWidth. = (grtext_GetTextLineWidth_fpcxx . . $ grtext_GetTextLineWidth_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[82];
247 DLLGadgetDestroycxx . . $ DLLGadgetDestroy. = (GadgetDestroy_fpcxx . . $ GadgetDestroy_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[83];
248 #ifdef WIN32
249 DLLdp_StartGame = (dp_StartGame_fp)API.fp[84];
250 DLLdp_EndGame = (dp_EndGame_fp)API.fp[85];
251 #endif
252 DLLnw_Asyncgethostbynamecxx . . $ DLLnw_Asyncgethostbyname. = (nw_Asyncgethostbyname_fpcxx . . $ nw_Asyncgethostbyname_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[86];
253 DLLPrintDedicatedMessagecxx . . $ DLLPrintDedicatedMessage. = (DedicatedServerPrintf_fpcxx . . $ DedicatedServerPrintf_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[87];
254 DLLnw_ReccomendPPScxx . . $ DLLnw_ReccomendPPS. = (nw_ReccomendPPS_fpcxx . . $ nw_ReccomendPPS_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[88];
255 DLLDoMultiAllowedcxx . . $ DLLDoMultiAllowed. = (DoMultiAllowed_fpcxx . . $ DoMultiAllowed_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[89];
256 DLLMultiDoConfigSavecxx . . $ DLLMultiDoConfigSave. = (MultiDoConfigSave_fpcxx . . $ MultiDoConfigSave_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[90];
257 DLLMultiDoConfigLoadcxx . . $ DLLMultiDoConfigLoad. = (MultiDoConfigLoad_fpcxx . . $ MultiDoConfigLoad_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[91];
258 DLLMultiLoadSettingscxx . . $ DLLMultiLoadSettings. = (MultiLoadSettings_fpcxx . . $ MultiLoadSettings_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[92];
259 DLLnw_DoReceiveCallbackscxx . . $ DLLnw_DoReceiveCallbacks. = (nw_DoReceiveCallbacks_fpcxx . . $ nw_DoReceiveCallbacks_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[93];
260 DLLnw_SendWithIDcxx . . $ DLLnw_SendWithID. = (nw_SendWithID_fpcxx . . $ nw_SendWithID_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[94];
261 DLLnw_UnRegisterCallbackcxx . . $ DLLnw_UnRegisterCallback. = (nw_UnRegisterCallback_fpcxx . . $ nw_UnRegisterCallback_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[95];
262 DLLnw_RegisterCallbackcxx . . $ DLLnw_RegisterCallback. = (nw_RegisterCallback_fpcxx . . $ nw_RegisterCallback_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[96];
263 DLLmsn_CheckGetMissioncxx . . $ DLLmsn_CheckGetMission. = (msn_CheckGetMission_fpcxx . . $ msn_CheckGetMission_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[97];
264 DLLMultiGameOptionsMenucxx . . $ DLLMultiGameOptionsMenu. = (MultiGameOptionsMenu_fpcxx . . $ MultiGameOptionsMenu_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[98];
265 DLLmod_FreeModulecxx . . $ DLLmod_FreeModule. = (mod_FreeModule_fpcxx . . $ mod_FreeModule_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[99];
266 DLLmod_GetLastErrorcxx . . $ DLLmod_GetLastError. = (mod_GetLastError_fpcxx . . $ mod_GetLastError_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[100];
267 DLLmod_GetSymbolcxx . . $ DLLmod_GetSymbol. = (mod_GetSymbol_fpcxx . . $ mod_GetSymbol_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[101];
268 DLLmod_LoadModulecxx . . $ DLLmod_LoadModule. = (mod_LoadModule_fpcxx . . $ mod_LoadModule_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[102];
269 CurrentPilotNamecxx . . $ CurrentPilotName. = (CurrentPilotName_fpcxx . . $ CurrentPilotName_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[103];
270 DLLUpdateAndPackGameListcxx . . $ DLLUpdateAndPackGameList. = (UpdateAndPackGameList_fpcxx . . $ UpdateAndPackGameList_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[104];
271 DLLMultiLevelSelectioncxx . . $ DLLMultiLevelSelection. = (MultiLevelSelection_fpcxx . . $ MultiLevelSelection_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[105];
272 DLLDoPlayerMouselookCheckcxx . . $ DLLDoPlayerMouselookCheck. = (DoPlayerMouselookCheck_fpcxx . . $ DoPlayerMouselookCheck_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[106];
273 DLLCheckMissionForScriptcxx . . $ DLLCheckMissionForScript. = (CheckMissionForScript_fpcxx . . $ CheckMissionForScript_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[107];
274 DLLShowNetgameInfocxx . . $ DLLShowNetgameInfo. = (ShowNetgameInfo_fpcxx . . $ ShowNetgameInfo_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[108];
275 // API.fp[109]; // Not used
276 DLLCheckGetD3Mcxx . . $ DLLCheckGetD3M. = (CheckGetD3M_fpcxx . . $ CheckGetD3M_fp#)APIcxx . . $ API..fpcxx . . $ multi_api#fp.[110];
277
278 DLLMPlayerscxx . . $ DLLMPlayers. = (playercxx . . $ player# *)APIcxx . . $ API..playerscxx . . $ multi_api#players.;
279 DLLNetgamecxx . . $ DLLNetgame. = (netgame_infocxx . . $ netgame_info# *)APIcxx . . $ API..netgamecxx . . $ multi_api#netgame.;
280 DLLMNetPlayerscxx . . $ DLLMNetPlayers. = (netplayercxx . . $ netplayer# *)APIcxx . . $ API..netplayerscxx . . $ multi_api#netplayers.;
281 DLLShipscxx . . $ DLLShips. = (shipcxx . . $ ship# *)APIcxx . . $ API..shipscxx . . $ multi_api#ships.;
282
283 DLLPlayer_numcxx . . $ DLLPlayer_num. = *APIcxx . . $ API..vpcxx . . $ multi_api#vp.[0];
284 DLLTracker_idcxx . . $ DLLTracker_id. = (char *)APIcxx . . $ API..vpcxx . . $ multi_api#vp.[1];
285 DLLGame_is_master_tracker_gamecxx . . $ DLLGame_is_master_tracker_game. = APIcxx . . $ API..vpcxx . . $ multi_api#vp.[2];
286 DLLGame_modecxx . . $ DLLGame_mode. = *APIcxx . . $ API..vpcxx . . $ multi_api#vp.[3];
287 // DLLCurrent_pilot = (pilot *)API.vp[4];
288 DLLLocalD3Dircxx . . $ DLLLocalD3Dir. = (char *)(pilotcxx . . $ pilot# *)APIcxx . . $ API..vpcxx . . $ multi_api#vp.[5];
289 DLLMultiGameStartingcxx . . $ DLLMultiGameStarting. = (int *)APIcxx . . $ API..vpcxx . . $ multi_api#vp.[6];
290 DLLMTPilotinfocxx . . $ DLLMTPilotinfo. = (vmt_descent3_structcxx . . $ vmt_descent3_struct# *)APIcxx . . $ API..vpcxx . . $ multi_api#vp.[7];
291 DLLNum_network_games_knowncxx . . $ DLLNum_network_games_known. = APIcxx . . $ API..vpcxx . . $ multi_api#vp.[8];
292 DLLNetwork_gamescxx . . $ DLLNetwork_games. = (network_gamecxx . . $ network_game# *)APIcxx . . $ API..vpcxx . . $ multi_api#vp.[9];
293 DLLNewUIWindow_alphacxx . . $ DLLNewUIWindow_alpha. = (uint8_tcxx . . $ uint8_t# *)APIcxx . . $ API..vpcxx . . $ multi_api#vp.[10];
294 DLLHelpText1cxx . . $ DLLHelpText1. = (char *)APIcxx . . $ API..vpcxx . . $ multi_api#vp.[11];
295 DLLHelpText2cxx . . $ DLLHelpText2. = (char *)APIcxx . . $ API..vpcxx . . $ multi_api#vp.[12];
296 DLLHelpText3cxx . . $ DLLHelpText3. = (char *)APIcxx . . $ API..vpcxx . . $ multi_api#vp.[13];
297 DLLHelpText4cxx . . $ DLLHelpText4. = (char *)APIcxx . . $ API..vpcxx . . $ multi_api#vp.[14];
298 DLLAuto_login_namecxx . . $ DLLAuto_login_name. = (char *)APIcxx . . $ API..vpcxx . . $ multi_api#vp.[15];
299 DLLAuto_login_passcxx . . $ DLLAuto_login_pass. = (char *)APIcxx . . $ API..vpcxx . . $ multi_api#vp.[16];
300 DLLAuto_login_addrcxx . . $ DLLAuto_login_addr. = (char *)APIcxx . . $ API..vpcxx . . $ multi_api#vp.[17];
301 DLLAuto_login_portcxx . . $ DLLAuto_login_port. = (char *)APIcxx . . $ API..vpcxx . . $ multi_api#vp.[18];
302 #ifdef WIN32
303 DLLNum_directplay_games = (int *)API.vp[19];
304 DLLDirectplay_sessions = (LPDPSESSIONDESC2)API.vp[20];
305 DLLDP_active = (bool *)API.vp[21];
306 DLLUse_DirectPlay = (bool *)API.vp[22];
307 DLLModems_found = (modem_list *)API.vp[23];
308 DLLNum_modems_found = (int *)API.vp[24];
309 #else
310 DLLUse_DirectPlaycxx . . $ DLLUse_DirectPlay. = (bool *)APIcxx . . $ API..vpcxx . . $ multi_api#vp.[22];
311 #endif
312 DLLDedicated_servercxx . . $ DLLDedicated_server. = (bool *)APIcxx . . $ API..vpcxx . . $ multi_api#vp.[25];
313 DLLTCP_activecxx . . $ DLLTCP_active. = (BOOLcxx . . $ `netcon/includes/inetgetfile.h:108:9`!)*APIcxx . . $ API..vpcxx . . $ multi_api#vp.[26];
314 DLLIPX_activecxx . . $ DLLIPX_active. = (BOOLcxx . . $ `netcon/includes/inetgetfile.h:108:9`!)*APIcxx . . $ API..vpcxx . . $ multi_api#vp.[27];
315 DLLnw_ListenPortcxx . . $ DLLnw_ListenPort. = (uint16_tcxx . . $ uint16_t#)((size_t)APIcxx . . $ API..vpcxx . . $ multi_api#vp.[28] & 0xffff);
316 DLLMulti_Gamelist_changedcxx . . $ DLLMulti_Gamelist_changed. = (bool *)APIcxx . . $ API..vpcxx . . $ multi_api#vp.[29];
317 DLLPXO_hosted_lobby_namecxx . . $ DLLPXO_hosted_lobby_name. = (char *)APIcxx . . $ API..vpcxx . . $ multi_api#vp.[30];
318 DLLSupports_score_apicxx . . $ DLLSupports_score_api. = (bool *)APIcxx . . $ API..vpcxx . . $ multi_api#vp.[31];
319 // DLLPXOPort = (bool *)API.vp[32]; // only defined for mtclient because I'm lazy...
320
321 *DLLSupports_score_apicxx . . $ DLLSupports_score_api. = false;