| 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/dmfc/dmfcinternal.h $ |
| 21 | * $Revision: 1.1.1.1 $ |
| 22 | * $Date: 2003/08/26 03:57:21 $ |
| 23 | * $Author: kevinb $ |
| 24 | * |
| 25 | * Internal DMFC header |
| 26 | * |
| 27 | * $Log: dmfcinternal.h,v $ |
| 28 | * Revision 1.1.1.1 2003/08/26 03:57:21 kevinb |
| 29 | * initial 1.5 import |
| 30 | * |
| 31 | * |
| 32 | * 76 9/05/01 6:04p Matt |
| 33 | * Added code to save the user's preferred HUD name level setting even if |
| 34 | * the server bashes it down. |
| 35 | * |
| 36 | * 75 9/28/99 10:55a Jeff |
| 37 | * changed size of pointer for mastertracker game from uint8_t* to int* |
| 38 | * |
| 39 | * 74 8/21/99 12:32a Jeff |
| 40 | * Changed the name of the GetRealGametime function to |
| 41 | * GetRealGametimePacket since it was confusing some compilers with the |
| 42 | * other GetRealGametime function. |
| 43 | * |
| 44 | * 73 8/15/99 4:36p Jeff |
| 45 | * finished exporting all inventory class functions. export object_info |
| 46 | * array. added check for -nooutragelogo to display Outrage logo display. |
| 47 | * |
| 48 | * 72 8/11/99 1:47p Jeff |
| 49 | * interface functions |
| 50 | * |
| 51 | * 71 7/16/99 2:43p Jeff |
| 52 | * changed CreateMenuItemWArgs function |
| 53 | * |
| 54 | * 70 7/14/99 11:47a Jeff |
| 55 | * localized text for patch fixes |
| 56 | * |
| 57 | * 69 7/13/99 10:05a Jeff |
| 58 | * text taunt token decoding |
| 59 | * |
| 60 | * 68 7/11/99 3:31p Jeff |
| 61 | * exported game arguments, made command line option to specify |
| 62 | * autoexec.dmfc |
| 63 | * |
| 64 | * 67 7/09/99 7:02p Jeff |
| 65 | * put in countdown timer for when a level is about to end |
| 66 | * |
| 67 | * 66 7/09/99 6:18p Jeff |
| 68 | * added $remoteadminlogout and $wait commands |
| 69 | * |
| 70 | * 65 7/09/99 2:54p Jeff |
| 71 | * handle gametime better (pause it when needed) if the server is 'waiting |
| 72 | * for players' |
| 73 | * |
| 74 | * 64 7/08/99 9:55p Jeff |
| 75 | * added event handler for weapon fired event |
| 76 | * |
| 77 | * 63 7/08/99 6:25p Jeff |
| 78 | * remote admin in and working |
| 79 | * |
| 80 | * 62 7/08/99 2:39a Jeff |
| 81 | * rough implementation of remote administration checked in. Still needs |
| 82 | * some polishing, but should work basically. |
| 83 | * |
| 84 | * 61 7/07/99 6:10p Jeff |
| 85 | * don't count the time that a player is in observer mode for death/kill |
| 86 | * messages |
| 87 | * |
| 88 | * 60 7/07/99 5:00p Jeff |
| 89 | * removed vararg functions from interface functions, just made different |
| 90 | * versions of them |
| 91 | * |
| 92 | * 59 7/07/99 12:16p Jeff |
| 93 | * all mangles symbol names fixed. Finished making interface functions. |
| 94 | * |
| 95 | * 58 6/10/99 5:42p Jeff |
| 96 | * fixed mprintf define |
| 97 | * |
| 98 | * 57 6/10/99 11:10a Jeff |
| 99 | * don't display the Outrage logo for non-Outrage games |
| 100 | * |
| 101 | * 56 5/22/99 1:12a Jeff |
| 102 | * correctly handle Viewer_object |
| 103 | * |
| 104 | * 55 5/19/99 11:51p Jeff |
| 105 | * set version number for 1.0 for release |
| 106 | * |
| 107 | * 54 5/13/99 11:46a Jeff |
| 108 | * increased version number |
| 109 | * |
| 110 | * 53 5/12/99 11:04p Jeff |
| 111 | * dmfc and multiplayer games now have endian friendly packets (*whew*) |
| 112 | * |
| 113 | * 52 5/10/99 2:44a Jeff |
| 114 | * handle new scheme of player's joining in a team game, where the team is |
| 115 | * set before player enters game in the main code, but the team is |
| 116 | * determined via event call to dmfc |
| 117 | * |
| 118 | * 51 5/09/99 6:20a Jeff |
| 119 | * improved Entropy (added sounds, max virii per room). Fixed rendering |
| 120 | * bugs for other multiplayer dlls. |
| 121 | * |
| 122 | * 50 5/08/99 11:06a Jeff |
| 123 | * |
| 124 | * 49 5/07/99 12:52p Jeff |
| 125 | * audio taunt icon is ppic if available. coop has hard max team set of 4 |
| 126 | * |
| 127 | * 48 5/04/99 8:46p Jeff |
| 128 | * display icon when someone plays an audio taunt |
| 129 | * |
| 130 | * 47 4/30/99 10:53p Jeff |
| 131 | * added $warp command |
| 132 | * |
| 133 | * 46 4/30/99 7:36p Jeff |
| 134 | * exported vis_effects to dmfc |
| 135 | * |
| 136 | * 45 4/25/99 7:19p Jeff |
| 137 | * added code to handle suicides in pinfo |
| 138 | * |
| 139 | * 44 4/23/99 6:15p Jeff |
| 140 | * fixed double calls to GameClose |
| 141 | * |
| 142 | * 43 4/19/99 3:54a Jeff |
| 143 | * got compiling for Linux |
| 144 | * |
| 145 | * 42 4/14/99 1:15a Jeff |
| 146 | * fixed case mismatched #includes |
| 147 | * |
| 148 | * 41 4/12/99 11:36a Jeff |
| 149 | * added permissable cs string |
| 150 | * |
| 151 | * 40 4/04/99 4:56p Jeff |
| 152 | * added functionality to call osiris functions from multiplayer d3ms |
| 153 | * |
| 154 | * 39 4/03/99 4:06p Jeff |
| 155 | * added loss/ping gauge |
| 156 | * |
| 157 | * 38 3/30/99 9:01p Jeff |
| 158 | * exported polymodels |
| 159 | * |
| 160 | * 37 3/30/99 7:42p Jeff |
| 161 | * fixed a misspelling on a function name |
| 162 | * |
| 163 | * 36 3/27/99 4:53p Jeff |
| 164 | * player rankings in multiplayer games implemented. Fixed join message |
| 165 | * so it doesn't get cut off |
| 166 | * |
| 167 | * 35 3/22/99 6:20p Jeff |
| 168 | * added 2 more audio taunts. a mulitplayer event when someone plays an |
| 169 | * audio taunt. option to disable audio taunts. |
| 170 | * |
| 171 | * 34 3/22/99 1:55p Jeff |
| 172 | * make sure initialization happens (possible crashing) |
| 173 | * |
| 174 | * 33 3/17/99 12:24p Jeff |
| 175 | * converted DMFC to be COM interface |
| 176 | * |
| 177 | * 32 1/19/99 3:55a Jeff |
| 178 | * all strings localized out |
| 179 | * |
| 180 | * 31 1/18/99 7:27p Jeff |
| 181 | * localized strings in dmfcbase.cpp |
| 182 | * |
| 183 | * 30 1/10/99 7:41p Jeff |
| 184 | * added initial version of waitforplayers dialog |
| 185 | * |
| 186 | * 29 1/04/99 12:21p Jeff |
| 187 | * added support for hosts.allow/deny and updates stats manager a little |
| 188 | * |
| 189 | * 28 12/08/98 12:17p Jeff |
| 190 | * various changes that include an improved Team Control dialog (doesn't |
| 191 | * switch teams until exit..) and spew/respawn players that change teams |
| 192 | * |
| 193 | * 27 11/19/98 5:56p Jeff |
| 194 | * added slider exported and improved Hoard |
| 195 | * |
| 196 | * 26 11/17/98 6:29p Jeff |
| 197 | * mod can specify whether or not to display the team setup dialog on team |
| 198 | * game start. Added a menu item to display team setup dialog in mid-game |
| 199 | * |
| 200 | * 25 11/16/98 5:35p Jeff |
| 201 | * removed log functions, added support for changing team names, fixed ctf |
| 202 | * to work better with different team names |
| 203 | * |
| 204 | * 24 11/11/98 7:19p Jeff |
| 205 | * changed version number |
| 206 | * |
| 207 | * 23 11/11/98 7:19p Jeff |
| 208 | * changes made so that a dedicated server's team is always -1 (team game |
| 209 | * or not) |
| 210 | * |
| 211 | * 22 10/29/98 7:01p Jeff |
| 212 | * creation of team placement dialog. Moved TranslateEvent into DMFC |
| 213 | * |
| 214 | * 21 10/20/98 4:35p Jeff |
| 215 | * added a flag for menu to add a <None> to MIT_PLIST... |
| 216 | * |
| 217 | * 20 10/20/98 12:16p Jeff |
| 218 | * added death message filter, hud callsign filter |
| 219 | * |
| 220 | * 19 10/18/98 7:59p Jeff |
| 221 | * functions added to dmfc for client->server objnum matching. Banning |
| 222 | * now uses tracker id when available. |
| 223 | * |
| 224 | * 18 10/15/98 1:34p Jeff |
| 225 | * added scrollable onscreen menu. Remove ban in dmfc. prejoin event |
| 226 | * |
| 227 | * 17 10/08/98 3:37p Jeff |
| 228 | * general improvements (Netgame info things, save to registry). Changes |
| 229 | * so it would send packets on NETSEQ_OBJECTS |
| 230 | * |
| 231 | * 16 10/05/98 2:50p Jeff |
| 232 | * |
| 233 | * 15 9/30/98 3:50p Jeff |
| 234 | * general improvements (many) |
| 235 | * |
| 236 | * 14 9/29/98 3:04p Jeff |
| 237 | * added time in game and start_time support |
| 238 | * |
| 239 | * 13 9/28/98 5:05p Jeff |
| 240 | * made the statisitical death messages an option in the menu |
| 241 | * |
| 242 | * 12 9/24/98 5:52p Jeff |
| 243 | * starting adding statistical death messages, checked in for testing |
| 244 | * |
| 245 | * 11 9/21/98 7:11p Jeff |
| 246 | * made InputCommand interface API and moved existing input commands to |
| 247 | * the interface. Changed mprintf/ASSERT so they are valid in DMFC |
| 248 | * |
| 249 | * $NoKeywords: $ |
| 250 | */ |
| 251 | |
| 252 | #ifndef __DMFC_INTERNAL_H |
| 253 | #define __DMFC_INTERNAL_Hcxx . . $ `netgames/dmfc/dmfcinternal.h:253:9`! |
| 254 | |
| 255 | #include <stdio.h> |
| 256 | #include <stdarg.h> |
| 257 | #include <time.h> |
| 258 | #include "idmfc.h"cxx . . $ `<file>/netgames/includes/idmfc.h`/ |
| 259 | #include "DMFC.h"cxx . . $ `<file>/netgames/includes/DMFC.h`/ |
| 260 | #include "gamedll_header.h"cxx . . $ `<file>/netgames/includes/gamedll_header.h`/ |
| 261 | #include "DMFCKeyCodes.h"cxx . . $ `<file>/netgames/includes/DMFCKeyCodes.h`/ |
| 262 | |
| 263 | #define DMFC_VERSION_MAJORcxx . . $ `netgames/dmfc/dmfcinternal.h:263:9`! 1 |
| 264 | #define DMFC_VERSION_MINORcxx . . $ `netgames/dmfc/dmfcinternal.h:264:9`! 0 |
| 265 | |
| 266 | // DEMO 1.0 |
| 267 | // #define DMFC_VERSION_MAJOR 0 |
| 268 | // #define DMFC_VERSION_MINOR 60 |
| 269 | |
| 270 | class DMFCBasecxx . . $ DMFCBase#; |
| 271 | |
| 272 | #ifdef mprintfcxx . . $ `netgames/includes/DMFC.h:423:9`! // undefine mprintf and redirect it to use DLLmprintf |
| 273 | #undef mprintfcxx . . $ `netgames/includes/DMFC.h:423:9`! |
| 274 | #endif |
| 275 | #define mprintfcxx . . $ `netgames/dmfc/dmfcinternal.h:275:9`!(...) DLLmprintfcxx . . $ `netgames/includes/DMFC.h:343:9`!(__VA_ARGS__) |
| 276 | |
| 277 | #define MAX_DBNAME_SIZEcxx . . $ `netgames/dmfc/dmfcinternal.h:277:9`! 32 |
| 278 | #define MAX_DBLABEL_SIZEcxx . . $ `netgames/dmfc/dmfcinternal.h:278:9`! 128 |
| 279 | |
| 280 | // DMFC Control Messages |
| 281 | #define CM_KICKEDcxx . . $ `netgames/dmfc/dmfcinternal.h:281:9`! 0xFF // tell the player he is kicked |
| 282 | #define CM_BANNEDcxx . . $ `netgames/dmfc/dmfcinternal.h:282:9`! 0xFE // tell the player he is banned |
| 283 | #define CM_TEAMCHANGEDENIEDcxx . . $ `netgames/dmfc/dmfcinternal.h:283:9`! 0xFD // tell the player change team request denied |
| 284 | #define CM_SIGNALSTARTcxx . . $ `netgames/dmfc/dmfcinternal.h:284:9`! 0xFC // tell the player he can start moving |
| 285 | #define CM_SIGNALWAITcxx . . $ `netgames/dmfc/dmfcinternal.h:285:9`! 0xFB // tell the player to stop moving |
| 286 | #define CM_PAUSETIMEcxx . . $ `netgames/dmfc/dmfcinternal.h:286:9`! 0xFA // tell the player to pause gametime |
| 287 | #define CM_UNPAUSETIMEcxx . . $ `netgames/dmfc/dmfcinternal.h:287:9`! 0xF9 // tell the player to unpause gametime |
| 288 | |
| 289 | struct tDeathMsgcxx . . $ tDeathMsg# { |
| 290 | char *messagecxx . . $ tDeathMsg#message.; // pointer to the actual message |
| 291 | bool inusecxx . . $ tDeathMsg#inuse.; // whether the node is being used |
| 292 | bool victim_firstcxx . . $ tDeathMsg#victim_first.; // whether the victim is listed first or second in the message |
| 293 | }; |
| 294 | |
| 295 | struct tSPHandlercxx . . $ tSPHandler# { |
| 296 | void (*funccxx . . $ tSPHandler#func.)(uint8_tcxx . . $ uint8_t# *); // Function handler to handle the packet |
| 297 | void (DMFCBasecxx . . $ DMFCBase#::*DMFCfunccxx . . $ tSPHandler#DMFCfunc.)(uint8_tcxx . . $ uint8_t# *); |
| 298 | tSPHandlercxx . . $ tSPHandler# *nextcxx . . $ tSPHandler#next.; // Pointer to next handler |
| 299 | int typecxx . . $ tSPHandler#type.; |
| 300 | uint8_tcxx . . $ uint8_t# IDcxx . . $ tSPHandler#ID.; // ID of special packet |
| 301 | }; |
| 302 | |
| 303 | // Struct for Input Command nodes (commands that begin with $) |
| 304 | struct tInputCommandNodecxx . . $ tInputCommandNode# { |
| 305 | char *datacxx . . $ tInputCommandNode#data.; |
| 306 | char *desccxx . . $ tInputCommandNode#desc.; |
| 307 | tInputCommandNodecxx . . $ tInputCommandNode# *nextcxx . . $ tInputCommandNode#next.; |
| 308 | void (*handlercxx . . $ tInputCommandNode#handler.)(const char *); |
| 309 | bool allow_remotecxx . . $ tInputCommandNode#allow_remote.; |
| 310 | }; |
| 311 | |
| 312 | struct tPKillerInfocxx . . $ tPKillerInfo# { |
| 313 | uint8_tcxx . . $ uint8_t# slotcxx . . $ tPKillerInfo#slot.; |
| 314 | int killscxx . . $ tPKillerInfo#kills.; |
| 315 | tPKillerInfocxx . . $ tPKillerInfo# *nextcxx . . $ tPKillerInfo#next.; |
| 316 | }; |
| 317 | |
| 318 | struct tPExtraInfocxx . . $ tPExtraInfo# { |
| 319 | float last_kill_timecxx . . $ tPExtraInfo#last_kill_time.; // Game time of the last kill for this player (previous kill) |
| 320 | float last_death_timecxx . . $ tPExtraInfo#last_death_time.; // Game time of the last time this player was killed (previous death) |
| 321 | float kill_timecxx . . $ tPExtraInfo#kill_time.; // time of latest kill |
| 322 | float death_timecxx . . $ tPExtraInfo#death_time.; // time of latest death |
| 323 | float observer_timecxx . . $ tPExtraInfo#observer_time.; // time the player entered observer mode (or 0 if not) |
| 324 | uint16_tcxx . . $ uint16_t# kills_in_a_rowcxx . . $ tPExtraInfo#kills_in_a_row.; // Number of kills in a row for this player |
| 325 | uint16_tcxx . . $ uint16_t# deaths_in_a_rowcxx . . $ tPExtraInfo#deaths_in_a_row.; // Number of deaths in a row for this player |
| 326 | int8_t last_kill_numcxx . . $ tPExtraInfo#last_kill_num.; // Player record num of last person this player killed |
| 327 | int8_t last_death_numcxx . . $ tPExtraInfo#last_death_num.; // Player record num of the player that last killed this player |
| 328 | char got_revengecxx . . $ tPExtraInfo#got_revenge.; // 1 if revenge has been made on last killer |
| 329 | }; |
| 330 | |
| 331 | class PInfocxx . . $ PInfo# { |
| 332 | public: |
| 333 | PInfocxx . . $ PInfo#PInfo(d4f767463ce0a6b3).(int slot); |
| 334 | ~cxx . . $ PInfo#`~PInfo`(49f6e7a06ebc5aa8).PInfocxx . . $ PInfo#(); |
| 335 | tPKillerInfocxx . . $ tPKillerInfo# *GetKillerInfocxx . . $ PInfo#GetKillerInfo(ffb103d8d7d108f5).(int slot); |
| 336 | void Updatecxx . . $ PInfo#Update(5b087d8044ce5dfc).(int slot, tPKillerInfocxx . . $ tPKillerInfo# *amount); |
| 337 | tPKillerInfocxx . . $ tPKillerInfo# *GetFirstKillercxx . . $ PInfo#GetFirstKiller(b31d3e412c1354e2).(void); |
| 338 | tPKillerInfocxx . . $ tPKillerInfo# *GetNextKillercxx . . $ PInfo#GetNextKiller(b31d3e412c1354e2).(void); |
| 339 | void RemoveKillercxx . . $ PInfo#RemoveKiller(d4f767463ce0a6b3).(int slot); |
| 340 | void ResetAllcxx . . $ PInfo#ResetAll(49f6e7a06ebc5aa8).(void); |
| 341 | int GetSizeOfDatacxx . . $ PInfo#GetSizeOfData(b126dc7c1de90089).(void); |
| 342 | int GetExtraInfoSizecxx . . $ PInfo#GetExtraInfoSize(b126dc7c1de90089).(void); |
| 343 | void PackDatacxx . . $ PInfo#PackData(f25546b61a629de7).(uint8_tcxx . . $ uint8_t# *buffer); |
| 344 | bool UnpackDatacxx . . $ PInfo#UnpackData(6a46171b248bf29b).(uint8_tcxx . . $ uint8_t# *buffer, int buffsize); |
| 345 | tPExtraInfocxx . . $ tPExtraInfo# *GetExtraInfocxx . . $ PInfo#GetExtraInfo(f456be6123535f67).(void); |
| 346 | void HandleKillcxx . . $ PInfo#HandleKill(d4f767463ce0a6b3).(int killer_num); |
| 347 | void HandleDeathcxx . . $ PInfo#HandleDeath(d4f767463ce0a6b3).(int victim_num); |
| 348 | void HandleSuicidecxx . . $ PInfo#HandleSuicide(49f6e7a06ebc5aa8).(void); |
| 349 | void EnterObserverModecxx . . $ PInfo#EnterObserverMode(49f6e7a06ebc5aa8).(void); |
| 350 | void ExitObserverModecxx . . $ PInfo#ExitObserverMode(49f6e7a06ebc5aa8).(void); |
| 351 | |
| 352 | private: |
| 353 | tPKillerInfocxx . . $ tPKillerInfo# *FindKillercxx . . $ PInfo#FindKiller(b0095f1ac29cb01a).(int slot, tPKillerInfocxx . . $ tPKillerInfo# **prev = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!); |
| 354 | tPKillerInfocxx . . $ tPKillerInfo# *CreateKillercxx . . $ PInfo#CreateKiller(ffb103d8d7d108f5).(int slot); |
| 355 | tPKillerInfocxx . . $ tPKillerInfo# *killer_listcxx . . $ PInfo#killer_list.; |
| 356 | tPKillerInfocxx . . $ tPKillerInfo# *currcxx . . $ PInfo#curr.; |
| 357 | tPExtraInfocxx . . $ tPExtraInfo# extra_infocxx . . $ PInfo#extra_info.; |
| 358 | int m_slotcxx . . $ PInfo#m_slot.; |
| 359 | }; |
| 360 | |
| 361 | class MenuItemcxx . . $ MenuItem# : public IMenuItemcxx . . $ IMenuItem# { |
| 362 | public: |
| 363 | MenuItemcxx . . $ MenuItem#MenuItem(49f6e7a06ebc5aa8).(); |
| 364 | MenuItemcxx . . $ MenuItem#MenuItem(1d32b6541b96864e).(const char *title, char type, uint8_tcxx . . $ uint8_t# flags, void (*fp)(int), ...); // the last parameters are the state items, which |
| 365 | // is an int (the number of states), followed by |
| 366 | // an int (the initial state), followed by a |
| 367 | // a list of char * to the names of the items |
| 368 | // this is required for MIT_STATE type only |
| 369 | ~cxx . . $ MenuItem#`~MenuItem`(ced63f7c635d850d).MenuItemcxx . . $ MenuItem#(); |
| 370 | |
| 371 | bool AddSubMenucxx . . $ MenuItem#AddSubMenu(7cad07ba2f70ae18).(IMenuItemcxx . . $ IMenuItem# *p); |
| 372 | bool DetachSubMenucxx . . $ MenuItem#DetachSubMenu(7cad07ba2f70ae18).(IMenuItemcxx . . $ IMenuItem# *p); |
| 373 | |
| 374 | bool Forwardcxx . . $ MenuItem#Forward(c9857a73d68e59ba).(void); |
| 375 | bool Backcxx . . $ MenuItem#Back(c9857a73d68e59ba).(void); |
| 376 | bool Upcxx . . $ MenuItem#Up(c9857a73d68e59ba).(void); |
| 377 | bool Downcxx . . $ MenuItem#Down(c9857a73d68e59ba).(void); |
| 378 | |
| 379 | void Executecxx . . $ MenuItem#Execute(49f6e7a06ebc5aa8).(void); |
| 380 | void Drawcxx . . $ MenuItem#Draw(d0909ec2d84ff198).(int x, int y, int height, int backgroundbmp, float *ratio = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!); |
| 381 | |
| 382 | void SetInputFocuscxx . . $ MenuItem#SetInputFocus(49f6e7a06ebc5aa8).(void); |
| 383 | void LoseInputFocuscxx . . $ MenuItem#LoseInputFocus(49f6e7a06ebc5aa8).(void); |
| 384 | bool GetFocuscxx . . $ MenuItem#GetFocus(c9857a73d68e59ba).(void); |
| 385 | |
| 386 | const char *GetTitlecxx . . $ MenuItem#GetTitle(33a1f659e94feb42).(void); |
| 387 | int GetCustomSubMenuCountcxx . . $ MenuItem#GetCustomSubMenuCount(b126dc7c1de90089).(void); |
| 388 | |
| 389 | void CallFunccxx . . $ MenuItem#CallFunc(d4f767463ce0a6b3).(int value); |
| 390 | bool HasSubMenuscxx . . $ MenuItem#HasSubMenus(c9857a73d68e59ba).(void); |
| 391 | char GetTypecxx . . $ MenuItem#GetType(6e9c618e4dd2eafc).(void); |
| 392 | |
| 393 | void SetStatecxx . . $ MenuItem#SetState(d4f767463ce0a6b3).(int state); |
| 394 | bool SetStateItemListcxx . . $ MenuItem#SetStateItemList(d49b86907ad5c83b).(int count, ...); |
| 395 | bool SetStateItemListArraycxx . . $ MenuItem#SetStateItemListArray(999dbd1e14140801).(int count, char **array); |
| 396 | |
| 397 | public: |
| 398 | void Deletecxx . . $ MenuItem#Delete(49f6e7a06ebc5aa8).(void); |
| 399 | void *Dynamic_Castcxx . . $ MenuItem#Dynamic_Cast(42228c1987407501).(const char *pszType); |
| 400 | void DuplicatePointercxx . . $ MenuItem#DuplicatePointer(49f6e7a06ebc5aa8).(void); |
| 401 | void DestroyPointercxx . . $ MenuItem#DestroyPointer(49f6e7a06ebc5aa8).(void); |
| 402 | |
| 403 | private: |
| 404 | int m_cPtrscxx . . $ MenuItem#m_cPtrs.; |
| 405 | // How many submenus this has |
| 406 | int SubMenuCountcxx . . $ MenuItem#SubMenuCount.; |
| 407 | // Points to the currently active submenu (-1 if none) |
| 408 | int CurrSubMenucxx . . $ MenuItem#CurrSubMenu.; |
| 409 | // State of the menu (only for MIT_STATE) |
| 410 | int m_iStatecxx . . $ MenuItem#m_iState.; |
| 411 | // List of player nums according to the submenu index |
| 412 | int Pnumscxx . . $ MenuItem#Pnums.[DLLMAX_PLAYERScxx . . $ `netgames/includes/DMFC.h:425:9`!]; |
| 413 | // The array of Submenus |
| 414 | IMenuItemcxx . . $ IMenuItem# **SubMenuscxx . . $ MenuItem#SubMenus.; |
| 415 | // The title for this Menu |
| 416 | char m_sTitlecxx . . $ MenuItem#m_sTitle.[MAX_STRING_LENcxx . . $ `netgames/includes/DMFC.h:521:9`!]; |
| 417 | // Handler for execute |
| 418 | void (*funccxx . . $ MenuItem#func.)(int); |
| 419 | // true is this menu currently has input focus |
| 420 | bool HasInputFocuscxx . . $ MenuItem#HasInputFocus.; |
| 421 | // What type of submenus this has |
| 422 | // only if this is set to MIT_NORMAL can it have submenus of its submenus |
| 423 | // no submenus are allowed to be added to a MIT_PLIST, as this is automatically handled |
| 424 | // no submenus are allowed for MIT_STATEITEM as they are specific ends for a MIT_STATE submenu |
| 425 | char m_cTypecxx . . $ MenuItem#m_cType.; |
| 426 | uint8_tcxx . . $ uint8_t# m_iFlagscxx . . $ MenuItem#m_iFlags.; |
| 427 | uint8_tcxx . . $ uint8_t# m_Alphacxx . . $ MenuItem#m_Alpha.; |
| 428 | bool m_AlphaDircxx . . $ MenuItem#m_AlphaDir.; |
| 429 | int m_iTopIndexcxx . . $ MenuItem#m_iTopIndex.; |
| 430 | bool m_bMoreToScrollcxx . . $ MenuItem#m_bMoreToScroll., m_bAtBottomcxx . . $ MenuItem#m_bAtBottom.; |
| 431 | tCustomMenucxx . . $ tCustomMenu# m_cmInfocxx . . $ MenuItem#m_cmInfo.; |
| 432 | }; |
| 433 | |
| 434 | struct tDMFCTimerInfocxx . . $ tDMFCTimerInfo# { |
| 435 | bool inusecxx . . $ tDMFCTimerInfo#inuse.; |
| 436 | void (*handlercxx . . $ tDMFCTimerInfo#handler.)(void); |
| 437 | void (*onkillcxx . . $ tDMFCTimerInfo#onkill.)(void); |
| 438 | float starttimecxx . . $ tDMFCTimerInfo#starttime.; |
| 439 | float longevitycxx . . $ tDMFCTimerInfo#longevity.; |
| 440 | float nexttimecxx . . $ tDMFCTimerInfo#nexttime.; |
| 441 | float intvalcxx . . $ tDMFCTimerInfo#intval.; |
| 442 | }; |
| 443 | |
| 444 | struct tWeaponKillMsgcxx . . $ tWeaponKillMsg# { |
| 445 | bool inusecxx . . $ tWeaponKillMsg#inuse.; |
| 446 | bool victim_firstcxx . . $ tWeaponKillMsg#victim_first.; |
| 447 | char *messagecxx . . $ tWeaponKillMsg#message.; |
| 448 | }; |
| 449 | |
| 450 | struct tBanItemcxx . . $ tBanItem# { |
| 451 | network_addresscxx . . $ network_address# addrcxx . . $ tBanItem#addr.; |
| 452 | char callsigncxx . . $ tBanItem#callsign.[MAX_CALLSIGN_SIZEcxx . . $ `netgames/includes/DMFC.h:525:9`!]; |
| 453 | char tracker_idcxx . . $ tBanItem#tracker_id.[24]; |
| 454 | tBanItemcxx . . $ tBanItem# *nextcxx . . $ tBanItem#next.; |
| 455 | }; |
| 456 | |
| 457 | // This class handles displaying and processing a customizable and detailed stats screen (in-game) |
| 458 | class CDmfcStatscxx . . $ CDmfcStats# : public IDmfcStatscxx . . $ IDmfcStats# { |
| 459 | public: |
| 460 | // constuctor/destructor |
| 461 | CDmfcStatscxx . . $ CDmfcStats#CDmfcStats(49f6e7a06ebc5aa8).(); |
| 462 | ~cxx . . $ CDmfcStats#`~CDmfcStats`(ced63f7c635d850d).CDmfcStatscxx . . $ CDmfcStats#(); |
| 463 | |
| 464 | // initialization member function, must be called first |
| 465 | bool Initializecxx . . $ CDmfcStats#Initialize(645910a8ad01b658).(tDmfcStatsInitcxx . . $ tDmfcStatsInit# *init_info); |
| 466 | |
| 467 | // enables/disables the displaying of the stats screen |
| 468 | void Enablecxx . . $ CDmfcStats#Enable(b45ddcbc8423892c).(bool enable); |
| 469 | // returns the state of the stats manager |
| 470 | bool IsEnabledcxx . . $ CDmfcStats#IsEnabled(c9857a73d68e59ba).(); |
| 471 | |
| 472 | // the do-it-all function, call once per frame |
| 473 | void DoFramecxx . . $ CDmfcStats#DoFrame(49f6e7a06ebc5aa8).(); |
| 474 | // scrolls the player list down one |
| 475 | void ScrollDowncxx . . $ CDmfcStats#ScrollDown(49f6e7a06ebc5aa8).(); |
| 476 | // scrolls the player list up one |
| 477 | void ScrollUpcxx . . $ CDmfcStats#ScrollUp(49f6e7a06ebc5aa8).(); |
| 478 | // returns true if the player list can scroll down any more |
| 479 | bool CanScrollDowncxx . . $ CDmfcStats#CanScrollDown(c9857a73d68e59ba).(); |
| 480 | // returns true if the player list can scroll up any more |
| 481 | bool CanScrollUpcxx . . $ CDmfcStats#CanScrollUp(c9857a73d68e59ba).(); |
| 482 | |
| 483 | public: |
| 484 | void Deletecxx . . $ CDmfcStats#Delete(49f6e7a06ebc5aa8).(void); |
| 485 | void *Dynamic_Castcxx . . $ CDmfcStats#Dynamic_Cast(42228c1987407501).(const char *pszType); |
| 486 | void DuplicatePointercxx . . $ CDmfcStats#DuplicatePointer(49f6e7a06ebc5aa8).(void); |
| 487 | void DestroyPointercxx . . $ CDmfcStats#DestroyPointer(49f6e7a06ebc5aa8).(void); |
| 488 | |
| 489 | protected: |
| 490 | int m_cPtrscxx . . $ CDmfcStats#m_cPtrs.; |
| 491 | |
| 492 | // true if initialized |
| 493 | bool m_initcxx . . $ CDmfcStats#m_init.; |
| 494 | int m_flagscxx . . $ CDmfcStats#m_flags.; |
| 495 | // array of sorted prec numbers |
| 496 | int *m_SortedPRecscxx . . $ CDmfcStats#m_SortedPRecs.; |
| 497 | // pointer to the max number displayed (if the flag is set) |
| 498 | int *m_pMaxNumberDisplayedcxx . . $ CDmfcStats#m_pMaxNumberDisplayed.; |
| 499 | // number of players to be displayed for this frame |
| 500 | int m_MaxCountcxx . . $ CDmfcStats#m_MaxCount.; |
| 501 | // number of columns for the player lists |
| 502 | int m_iPLColCountcxx . . $ CDmfcStats#m_iPLColCount.; |
| 503 | // number of columns for the detailed list |
| 504 | int m_iDColCountcxx . . $ CDmfcStats#m_iDColCount.; |
| 505 | // information for the player list columns |
| 506 | tDmfcStatsColumnInfocxx . . $ tDmfcStatsColumnInfo# *m_PLColInfocxx . . $ CDmfcStats#m_PLColInfo.; |
| 507 | // information for the detailed columns |
| 508 | tDmfcStatsColumnInfocxx . . $ tDmfcStatsColumnInfo# *m_DColInfocxx . . $ CDmfcStats#m_DColInfo.; |
| 509 | // callback for DSCOL_CUSTOM column types for Player list |
| 510 | void (*m_PLColCallbackcxx . . $ CDmfcStats#m_PLColCallback.)(int precord_num, int column_num, char *buffer, int buffer_size); |
| 511 | // callback for DSCOL_CUSTOM column types for detailed |
| 512 | void (*m_DColCallbackcxx . . $ CDmfcStats#m_DColCallback.)(int precord_num, int column_num, char *buffer, int buffer_size); |
| 513 | // callback for DSCOL_BMP column types for Player list (bitmaps) |
| 514 | void (*m_PLColCallbackBMPcxx . . $ CDmfcStats#m_PLColCallbackBMP.)(int precord_num, int column_num, int x, int y, int w, int h, uint8_tcxx . . $ uint8_t# alpha_to_use); |
| 515 | // callback for DSCOL_BMP column types for detailed (bitmaps) |
| 516 | void (*m_DColCallbackBMPcxx . . $ CDmfcStats#m_DColCallbackBMP.)(int precord_num, int column_num, int x, int y, int w, int h, uint8_tcxx . . $ uint8_t# alpha_to_use); |
| 517 | // callback for team data |
| 518 | void (*m_TeamCallbackcxx . . $ CDmfcStats#m_TeamCallback.)(int team, char *buffer, int buffer_size); |
| 519 | // name of the multiplayer game |
| 520 | char *m_GameNamecxx . . $ CDmfcStats#m_GameName.; |
| 521 | |
| 522 | // starting scroll index |
| 523 | int m_top_indexcxx . . $ CDmfcStats#m_top_index.; |
| 524 | // selected index |
| 525 | int m_selected_indexcxx . . $ CDmfcStats#m_selected_index.; |
| 526 | // bottom index value |
| 527 | int m_bottom_indexcxx . . $ CDmfcStats#m_bottom_index.; |
| 528 | // true if the stats is enabled |
| 529 | bool m_enabledcxx . . $ CDmfcStats#m_enabled.; |
| 530 | // height of the font |
| 531 | int m_font_heightcxx . . $ CDmfcStats#m_font_height.; |
| 532 | // starting y value of player list data |
| 533 | int m_y_start_plistcxx . . $ CDmfcStats#m_y_start_plist.; |
| 534 | // starting y value of detailed list data |
| 535 | int m_y_start_detailcxx . . $ CDmfcStats#m_y_start_detail.; |
| 536 | // starting x value of player list data |
| 537 | int m_x_start_plistcxx . . $ CDmfcStats#m_x_start_plist.; |
| 538 | // starting x value of detailed list data |
| 539 | int m_x_start_detailcxx . . $ CDmfcStats#m_x_start_detail.; |
| 540 | // selected prec num |
| 541 | int m_selected_preccxx . . $ CDmfcStats#m_selected_prec.; |
| 542 | // translatation index->prec |
| 543 | int m_translatecxx . . $ CDmfcStats#m_translate.[MAX_PLAYER_RECORDScxx . . $ `netgames/includes/DMFC.h:526:9`!]; |
| 544 | |
| 545 | // bmp handle to highlight bar |
| 546 | int m_highlight_bmpcxx . . $ CDmfcStats#m_highlight_bmp.; |
| 547 | // bmp handle to window background |
| 548 | int m_background_bmpcxx . . $ CDmfcStats#m_background_bmp.; |
| 549 | // what page of who-killed-who stats are we on |
| 550 | int m_page_indexcxx . . $ CDmfcStats#m_page_index.; |
| 551 | // how many items can we fit on the who-killed-who stats |
| 552 | int m_can_fit_countcxx . . $ CDmfcStats#m_can_fit_count.; |
| 553 | // how long has the current page been displayed |
| 554 | float m_page_display_timecxx . . $ CDmfcStats#m_page_display_time.; |
| 555 | // does this guy have multiple pages? |
| 556 | bool m_has_multiple_pagescxx . . $ CDmfcStats#m_has_multiple_pages.; |
| 557 | // alpha of the items |
| 558 | uint8_tcxx . . $ uint8_t# m_alphacxx . . $ CDmfcStats#m_alpha.; |
| 559 | float alpha_in_timecxx . . $ CDmfcStats#alpha_in_time.; |
| 560 | |
| 561 | // validates all the variables |
| 562 | void ValidateInfocxx . . $ CDmfcStats#ValidateInfo(49f6e7a06ebc5aa8).(); |
| 563 | |
| 564 | // renders the stats screen |
| 565 | void Rendercxx . . $ CDmfcStats#Render(49f6e7a06ebc5aa8).(); |
| 566 | |
| 567 | // displays in a window the view of the viewer object |
| 568 | void DisplayPlayerViewcxx . . $ CDmfcStats#DisplayPlayerView(d6b429e444e082f0).(int x, int y, int w, int h, objectcxx . . $ object# *viewer); |
| 569 | }; |
| 570 | |
| 571 | struct tHostsNodecxx . . $ tHostsNode# { |
| 572 | uint32_tcxx . . $ uint32_t# ipcxx . . $ tHostsNode#ip.; |
| 573 | uint32_tcxx . . $ uint32_t# maskcxx . . $ tHostsNode#mask.; |
| 574 | tHostsNodecxx . . $ tHostsNode# *nextcxx . . $ tHostsNode#next.; |
| 575 | }; // Allow/Deny IP address nodes |
| 576 | |
| 577 | // DMFCBase class |
| 578 | // This is the base class that the DMFCApp class is based off of. This just handles general |
| 579 | // functions, and handling default events. |
| 580 | class DMFCBasecxx . . $ DMFCBase# : public IDMFCcxx . . $ IDMFC# { |
| 581 | public: |
| 582 | DMFCBasecxx . . $ DMFCBase#DMFCBase(49f6e7a06ebc5aa8).(void); |
| 583 | ~cxx . . $ DMFCBase#`~DMFCBase`(ced63f7c635d850d).DMFCBasecxx . . $ DMFCBase#(void); |
| 584 | |
| 585 | // ##################Setup and processing functions####################### |
| 586 | |
| 587 | // DMGFBase::LoadFunctions |
| 588 | // |
| 589 | // Initializes all the functions for a multiplayer game...must be first thing called |
| 590 | void LoadFunctionscxx . . $ DMFCBase#LoadFunctions(11b0e290e57a7e53).(int *api_func); |
| 591 | |
| 592 | // DMFCBase::GameInit |
| 593 | // |
| 594 | // Sets up all the DLL functions and pointers and preps the class for use. This ABSOLUTLY must be |
| 595 | // called, so if you override DMFCApp::GameInit, make sure that you put a call to this somewhere in |
| 596 | // the override. |
| 597 | void GameInitcxx . . $ DMFCBase#GameInit(d4f767463ce0a6b3).(int teams); |
| 598 | |
| 599 | // DMFCBase::GameClose |
| 600 | // |
| 601 | // Closes up any needed DLL and DMFC tasks. This ABSOLUTLY must be called, so if you override |
| 602 | // DMFCApp::GameClose, make sure that you put a call to this somewhere in the override |
| 603 | void GameClosecxx . . $ DMFCBase#GameClose(49f6e7a06ebc5aa8).(void); |
| 604 | |
| 605 | // ###################Server Only functions################################ |
| 606 | |
| 607 | // DMFCBase::OnServerPlayerKilled |
| 608 | // |
| 609 | // Event handler for when a player gets killed, either by another player or some other way |
| 610 | // killer_obj = object pointer to the object that killed the player |
| 611 | // victim_pnum = player number of the player that got killed |
| 612 | virtual void OnServerPlayerKilledcxx . . $ DMFCBase#OnServerPlayerKilled(766a1b7183ffa4b4).(objectcxx . . $ object# *killer_obj, int victim_pnum); |
| 613 | |
| 614 | // DMFCBase::OnServerPlayerExploded |
| 615 | // |
| 616 | // Event handler for when a player explodes. Gets called after a EVT_GAMEPLAYERKILLED event. |
| 617 | // player_num = player number of the player exploding |
| 618 | virtual void OnServerPlayerExplodedcxx . . $ DMFCBase#OnServerPlayerExploded(d4f767463ce0a6b3).(int player_num); |
| 619 | |
| 620 | // DMFCBase::OnServerCollide |
| 621 | // |
| 622 | // Event handler for when two objects collide. At least one of the two objects is a player or a robot. |
| 623 | // Be aware that this event will be called twice per collision, the second time it is called the me and |
| 624 | // it objects will be flipped. |
| 625 | // me_obj = object pointer to the me object |
| 626 | // it_obj = object pointer to the it object |
| 627 | virtual void OnServerCollidecxx . . $ DMFCBase#OnServerCollide(6273fa812ac58a8).(objectcxx . . $ object# *me_obj, objectcxx . . $ object# *it_obj); |
| 628 | virtual void OnServerCollidecxx . . $ DMFCBase#OnServerCollide(584c77d2760d8df8).(objectcxx . . $ object# *me_obj, objectcxx . . $ object# *it_obj, vectorcxx . . $ vector# *point, vectorcxx . . $ vector# *normal); |
| 629 | |
| 630 | // DMFCBase::OnServerPlayerChangeSegment |
| 631 | // |
| 632 | // Event handler for when a player changes rooms or a "large" terrain cell |
| 633 | // (8x8 Terrain block). |
| 634 | // player_num = player number of the player who just changed the room/segment |
| 635 | // newseg = New room/cell location |
| 636 | // oldseg = Old room/cell location |
| 637 | virtual void OnServerPlayerChangeSegmentcxx . . $ DMFCBase#OnServerPlayerChangeSegment(b1146eedae1e1d0b).(int player_num, int newseg, int oldseg); |
| 638 | |
| 639 | // DMFCBase::OnServerObjectChangeSegment (Only called if server tells client to execute) |
| 640 | // |
| 641 | // Event handler for when a player changes rooms or a "large" terrain cell |
| 642 | // (8x8 Terrain block). |
| 643 | // obj = Object pointer of the object who just changed the room/segment |
| 644 | // newseg = New room/cell location |
| 645 | // oldseg = Old room/cell location |
| 646 | virtual void OnServerObjectChangeSegmentcxx . . $ DMFCBase#OnServerObjectChangeSegment(a7790401ac9fc765).(objectcxx . . $ object# *obj, int newseg, int oldseg); |
| 647 | |
| 648 | // DMFCBase::OnServerPlayerEntersGame |
| 649 | // |
| 650 | // Event handler for when a player enters the game. This will only get called once per |
| 651 | // player, it usually gets called right after they connect to the server to start playing. |
| 652 | // player_num = player number of the player entering the game |
| 653 | virtual void OnServerPlayerEntersGamecxx . . $ DMFCBase#OnServerPlayerEntersGame(d4f767463ce0a6b3).(int player_num); |
| 654 | |
| 655 | // DMFCBase::OnServerPlayerDisconnect |
| 656 | // |
| 657 | // Event handler for when a player disconnects from the server. |
| 658 | // player_num = player number of the player that just disconnected |
| 659 | virtual void OnServerPlayerDisconnectcxx . . $ DMFCBase#OnServerPlayerDisconnect(d4f767463ce0a6b3).(int player_num); |
| 660 | |
| 661 | // DMFCBase::OnServerGameCreated |
| 662 | // |
| 663 | // Event handler when the server's game first gets started. This will only be called once |
| 664 | // while the server is running, and that is when the server first starts up. |
| 665 | virtual void OnServerGameCreatedcxx . . $ DMFCBase#OnServerGameCreated(49f6e7a06ebc5aa8).(void); |
| 666 | |
| 667 | // DMFCBase::OnServerLevelChange |
| 668 | // |
| 669 | // Event handler when the server changes levels. This will get called after a level ends and a server |
| 670 | // is starting a new level. |
| 671 | virtual void OnServerLevelChangecxx . . $ DMFCBase#OnServerLevelChange(49f6e7a06ebc5aa8).(void); |
| 672 | |
| 673 | // DMFCBase::OnServerLevelStart |
| 674 | // |
| 675 | // Event handler for when a multiplayer level is starting up. This will get called right before the level |
| 676 | // starts. |
| 677 | virtual void OnServerLevelStartcxx . . $ DMFCBase#OnServerLevelStart(49f6e7a06ebc5aa8).(void); |
| 678 | |
| 679 | // DMFCBase::OnServerLevelEnd |
| 680 | // |
| 681 | // Event handler for when a multiplayer level is ending. |
| 682 | virtual void OnServerLevelEndcxx . . $ DMFCBase#OnServerLevelEnd(49f6e7a06ebc5aa8).(void); |
| 683 | |
| 684 | // DMFCBase::OnServerObjectShieldsChanged |
| 685 | // |
| 686 | // Event handler for when an objects shield's change |
| 687 | virtual void OnServerObjectShieldsChangedcxx . . $ DMFCBase#OnServerObjectShieldsChanged(4ebbd0c3cbf1b78a).(objectcxx . . $ object# *obj, float amount); |
| 688 | |
| 689 | // DMFCBase::OnServerIsAddressBanned |
| 690 | // |
| 691 | // Called by the game to determine if the given network address is banned from the game |
| 692 | virtual bool OnServerIsAddressBannedcxx . . $ DMFCBase#OnServerIsAddressBanned(46e1c72e52d9c94a).(network_addresscxx . . $ network_address# *addr, const char *tracker_id); |
| 693 | |
| 694 | // DMFCBase::OnServerWallCollide |
| 695 | // |
| 696 | // Called by the game when their is a collision between an object and a wall |
| 697 | virtual void OnServerWallCollidecxx . . $ DMFCBase#OnServerWallCollide(cd5bbf25e955f730).(objectcxx . . $ object# *obj, float hitspeed, int hitseg, int hitwall, vectorcxx . . $ vector# *hitpt, |
| 698 | vectorcxx . . $ vector# *wall_normal, float hit_dot); |
| 699 | |
| 700 | // DMFCBase::OnServerObjectKilled |
| 701 | // |
| 702 | // Called when an object is being killed |
| 703 | // Not automatically sent to clients (OnClientObjectKilled) |
| 704 | // killer might not be valid (NULL) |
| 705 | virtual void OnServerObjectKilledcxx . . $ DMFCBase#OnServerObjectKilled(6273fa812ac58a8).(objectcxx . . $ object# *obj, objectcxx . . $ object# *killer); |
| 706 | |
| 707 | // DMFCBase::OnServerObjectDestroyed |
| 708 | // |
| 709 | // Called when an object is about to be deleted |
| 710 | // Not automatically sent to clients |
| 711 | virtual void OnServerObjectDestroyedcxx . . $ DMFCBase#OnServerObjectDestroyed(419c470199a90a97).(objectcxx . . $ object# *obj); |
| 712 | |
| 713 | // ######################### Client allowed event handlers############################ |
| 714 | |
| 715 | // DMFCBase::OnClientPlayerKilled (Only called if server tells client to execute) |
| 716 | // |
| 717 | // Event handler for when a player gets killed, either by another player or some other way. |
| 718 | // killer_obj = object pointer to the object that killed the player |
| 719 | // victim_pnum = player number of the player that got killed |
| 720 | virtual void OnClientPlayerKilledcxx . . $ DMFCBase#OnClientPlayerKilled(766a1b7183ffa4b4).(objectcxx . . $ object# *killer_obj, int victim_pnum); |
| 721 | |
| 722 | // DMFCBase::OnClientPlayerExploded (Only called if server tells client to execute) |
| 723 | // |
| 724 | // Event handler for when a player explodes. Gets called after a EVT_GAMEPLAYERKILLED event. |
| 725 | // player_num = player number of the player exploding |
| 726 | virtual void OnClientPlayerExplodedcxx . . $ DMFCBase#OnClientPlayerExploded(d4f767463ce0a6b3).(int player_num); |
| 727 | |
| 728 | // DMFCBase::OnClientCollide (Only called if server tells client to execute) |
| 729 | // |
| 730 | // Event handler for when two objects collide. At least one of the two objects is a player or a robot. |
| 731 | // Be aware that this event will be called twice per collision, the second time it is called the me and |
| 732 | // it objects will be flipped. |
| 733 | // ALSO NOTE: In order for the OnClientCollide() that passes the point and normal to have valid values |
| 734 | // the server must pass true to the parameter to send arguments in CallClientEvent(). |
| 735 | // me_obj = object pointer to the me object |
| 736 | // it_obj = object pointer to the it object |
| 737 | virtual void OnClientCollidecxx . . $ DMFCBase#OnClientCollide(6273fa812ac58a8).(objectcxx . . $ object# *me_obj, objectcxx . . $ object# *it_obj); |
| 738 | virtual void OnClientCollidecxx . . $ DMFCBase#OnClientCollide(584c77d2760d8df8).(objectcxx . . $ object# *me_obj, objectcxx . . $ object# *it_obj, vectorcxx . . $ vector# *point, vectorcxx . . $ vector# *normal); |
| 739 | |
| 740 | // DMFCBase::OnClientPlayerChangeSegment (Only called if server tells client to execute) |
| 741 | // |
| 742 | // Event handler for when a player changes rooms or a "large" terrain cell |
| 743 | // (8x8 Terrain block). |
| 744 | // player_num = player number of the player who just changed the room/segment |
| 745 | // newseg = New room/cell location |
| 746 | // oldseg = Old room/cell location |
| 747 | virtual void OnClientPlayerChangeSegmentcxx . . $ DMFCBase#OnClientPlayerChangeSegment(b1146eedae1e1d0b).(int player_num, int newseg, int oldseg); |
| 748 | |
| 749 | // DMFCBase::OnClientObjectChangeSegment (Only called if server tells client to execute) |
| 750 | // |
| 751 | // Event handler for when a player changes rooms or a "large" terrain cell |
| 752 | // (8x8 Terrain block). |
| 753 | // obj = Object pointer of the object who just changed the room/segment |
| 754 | // newseg = New room/cell location |
| 755 | // oldseg = Old room/cell location |
| 756 | virtual void OnClientObjectChangeSegmentcxx . . $ DMFCBase#OnClientObjectChangeSegment(a7790401ac9fc765).(objectcxx . . $ object# *obj, int newseg, int oldseg); |
| 757 | |
| 758 | // DMFCBase::OnClientPlayerEntersGame (Only called if server tells client to execute) |
| 759 | // |
| 760 | // Event handler for when a player enters the game. This will only get called once per |
| 761 | // player, it usually gets called right after they connect to the server to start playing. |
| 762 | // player_num = player number of the player entering the game |
| 763 | virtual void OnClientPlayerEntersGamecxx . . $ DMFCBase#OnClientPlayerEntersGame(d4f767463ce0a6b3).(int player_num); |
| 764 | |
| 765 | // DMFCBase::OnClientPlayerDisconnect (Only called if server tells client to execute) |
| 766 | // |
| 767 | // Event handler for when a player disconnects from the server. |
| 768 | // player_num = player number of the player that just disconnected |
| 769 | virtual void OnClientPlayerDisconnectcxx . . $ DMFCBase#OnClientPlayerDisconnect(d4f767463ce0a6b3).(int player_num); |
| 770 | |
| 771 | // DMFCBase::OnMeDisconnectFromServer |
| 772 | // |
| 773 | // Event handler that gets called if we disconnect from the server for some reason (not purposesly quit) |
| 774 | virtual void OnMeDisconnectFromServercxx . . $ DMFCBase#OnMeDisconnectFromServer(49f6e7a06ebc5aa8).(void); |
| 775 | |
| 776 | // DMFCBase::OnClientGameCreated (Only called if server tells client to execute) |
| 777 | // |
| 778 | // Event handler when the server's game first gets started. This will only be called once |
| 779 | // while the server is running, and that is when the server first starts up. |
| 780 | virtual void OnClientGameCreatedcxx . . $ DMFCBase#OnClientGameCreated(49f6e7a06ebc5aa8).(void); |
| 781 | |
| 782 | // DMFCBase::OnClientObjectShieldsChanged |
| 783 | // |
| 784 | // Event handler for when an objects shield's change |
| 785 | virtual void OnClientObjectShieldsChangedcxx . . $ DMFCBase#OnClientObjectShieldsChanged(4ebbd0c3cbf1b78a).(objectcxx . . $ object# *obj, float amount); |
| 786 | |
| 787 | // DMFCBase::OnWeaponFired |
| 788 | // |
| 789 | // Event handler for when an object fires a weapon |
| 790 | virtual void OnWeaponFiredcxx . . $ DMFCBase#OnWeaponFired(6273fa812ac58a8).(objectcxx . . $ object# *weapon_obj, objectcxx . . $ object# *shooter); |
| 791 | |
| 792 | // DMFCBase::OnClientLevelChange (Only called if server tells client to execute) |
| 793 | // |
| 794 | // Event handler when the server changes levels. This will get called after a level ends and a server |
| 795 | // is starting a new level. |
| 796 | virtual void OnClientLevelChangecxx . . $ DMFCBase#OnClientLevelChange(49f6e7a06ebc5aa8).(void); |
| 797 | |
| 798 | // DMFCBase::OnClientLevelStart (Only called if server tells client to execute) |
| 799 | // |
| 800 | // Event handler for when a multiplayer level is starting up. This will get called right before the level |
| 801 | // starts. |
| 802 | virtual void OnClientLevelStartcxx . . $ DMFCBase#OnClientLevelStart(49f6e7a06ebc5aa8).(void); |
| 803 | |
| 804 | // DMFCBase::OnClientLevelEnd (Only called if server tells client to execute) |
| 805 | // |
| 806 | // Event handler for when a multiplayer level is ending. |
| 807 | virtual void OnClientLevelEndcxx . . $ DMFCBase#OnClientLevelEnd(49f6e7a06ebc5aa8).(void); |
| 808 | |
| 809 | // DMFCBase::OnClientWallCollide |
| 810 | // |
| 811 | // Called by the game when their is a collision between an object and a wall |
| 812 | virtual void OnClientWallCollidecxx . . $ DMFCBase#OnClientWallCollide(cd5bbf25e955f730).(objectcxx . . $ object# *obj, float hitspeed, int hitseg, int hitwall, vectorcxx . . $ vector# *hitpt, |
| 813 | vectorcxx . . $ vector# *wall_normal, float hit_dot); |
| 814 | |
| 815 | // DMFCBase::OnClientObjectKilled |
| 816 | // |
| 817 | // Called when an object is being killed |
| 818 | // Not automatically sent to clients (OnClientObjectKilled) |
| 819 | // killer might not be valid (NULL) |
| 820 | virtual void OnClientObjectKilledcxx . . $ DMFCBase#OnClientObjectKilled(6273fa812ac58a8).(objectcxx . . $ object# *obj, objectcxx . . $ object# *killer); |
| 821 | |
| 822 | // DMFCBase::OnClientObjectDestroyed |
| 823 | // |
| 824 | // Called when an object is about to be deleted |
| 825 | // Not automatically sent to clients |
| 826 | virtual void OnClientObjectDestroyedcxx . . $ DMFCBase#OnClientObjectDestroyed(419c470199a90a97).(objectcxx . . $ object# *obj); |
| 827 | |
| 828 | // DMFCBase::OnPlayerEntersObserver |
| 829 | // |
| 830 | // Event handler when a player becomes an observer mode |
| 831 | // If they are piggybacking another player than piggy is the object pointer, else it's NULL |
| 832 | virtual void OnPlayerEntersObservercxx . . $ DMFCBase#OnPlayerEntersObserver(14473714f2cc5bd2).(int pnum, objectcxx . . $ object# *piggy); |
| 833 | |
| 834 | // DMFCBase::OnPlayerExitsObserver |
| 835 | // |
| 836 | // Event handler when a player is leaving observer mode |
| 837 | virtual void OnPlayerExitsObservercxx . . $ DMFCBase#OnPlayerExitsObserver(d4f767463ce0a6b3).(int pnum); |
| 838 | |
| 839 | // DMFCBase::OnCanChangeTeam |
| 840 | // |
| 841 | // Called to determine if a player can change teams, you can override this so the server won't |
| 842 | // let a player change teams if it is not desired (for that player) |
| 843 | virtual bool OnCanChangeTeamcxx . . $ DMFCBase#OnCanChangeTeam(cf9ef193275fa6d8).(int pnum, int newteam); |
| 844 | |
| 845 | // DMFCBase::OnSpecialPacket |
| 846 | // |
| 847 | // Event handler for when a special packet arrives and needs to be processed. |
| 848 | // Both the server and client can get this event, although it is more common for the |
| 849 | // client to recieve these. |
| 850 | virtual void OnSpecialPacketcxx . . $ DMFCBase#OnSpecialPacket(49f6e7a06ebc5aa8).(void); |
| 851 | |
| 852 | // DMFCBase::OnInterval |
| 853 | // |
| 854 | // Event handler that gets called once a frame |
| 855 | virtual void OnIntervalcxx . . $ DMFCBase#OnInterval(49f6e7a06ebc5aa8).(void); |
| 856 | |
| 857 | // DMFCBase::OnHUDInterval |
| 858 | // |
| 859 | // Event handler that gets called once a frame when it's time to render the HUD images |
| 860 | virtual void OnHUDIntervalcxx . . $ DMFCBase#OnHUDInterval(49f6e7a06ebc5aa8).(void); |
| 861 | |
| 862 | // DMFCBase::OnPLRInterval |
| 863 | // |
| 864 | // Event handler that gets called once a frame when the Post Level Results screen is being display |
| 865 | virtual void OnPLRIntervalcxx . . $ DMFCBase#OnPLRInterval(49f6e7a06ebc5aa8).(void); |
| 866 | |
| 867 | // DMFCBase::OnPLRInit |
| 868 | // |
| 869 | // Event handler that gets called the first frame of the PLR screen for each level |
| 870 | virtual void OnPLRInitcxx . . $ DMFCBase#OnPLRInit(49f6e7a06ebc5aa8).(void); |
| 871 | |
| 872 | // DMFCBase::OnKeypress |
| 873 | // |
| 874 | // Event handler for when a user presses a key while in the game |
| 875 | // key = Key code of the key being pressed |
| 876 | virtual void OnKeypresscxx . . $ DMFCBase#OnKeypress(d4f767463ce0a6b3).(int key); |
| 877 | |
| 878 | // DMFCBase::OnInputString |
| 879 | // |
| 880 | // Event handler for when the user types a message at the console (F8) that begins with a $ |
| 881 | // input_string = string that was typed |
| 882 | virtual void OnInputStringcxx . . $ DMFCBase#OnInputString(fda57c8427c60377).(char *input_string); |
| 883 | |
| 884 | // DMFCBase::OnPlayerChangeTeam |
| 885 | // |
| 886 | // Called when a player changes team |
| 887 | // if announce is true than it is a change in the middle of the game, else it's an initial assignment change |
| 888 | virtual void OnPlayerChangeTeamcxx . . $ DMFCBase#OnPlayerChangeTeam(23bb497e4fbd6c85).(int player_num, int newteam, bool announce, bool spew_everything); |
| 889 | |
| 890 | // DMFCBase::OnGameStateRequest |
| 891 | // |
| 892 | // Server only. Override this to listen for Game state requests from the clients |
| 893 | // When this function is called a client (who's player number is passed in) is requesting |
| 894 | // game state information. Do what you need to do to send game state information to that player |
| 895 | virtual void OnGameStateRequestcxx . . $ DMFCBase#OnGameStateRequest(d4f767463ce0a6b3).(int pnum); |
| 896 | |
| 897 | // DMFCBase::OnSaveStatsToFile |
| 898 | // |
| 899 | // |
| 900 | // The user is requesting the game stats to be saved to file, you must handle this completly on |
| 901 | // the game's side, nothing is done in DMFC |
| 902 | virtual void OnSaveStatsToFilecxx . . $ DMFCBase#OnSaveStatsToFile(49f6e7a06ebc5aa8).(void); |
| 903 | |
| 904 | // DMFCBase::OnPlayerReconnect |
| 905 | // |
| 906 | // |
| 907 | // This player is reconnecting to the game |
| 908 | virtual void OnPlayerReconnectcxx . . $ DMFCBase#OnPlayerReconnect(d4f767463ce0a6b3).(int player_num); |
| 909 | |
| 910 | // DMFCBase::OnPlayerConnect |
| 911 | // |
| 912 | // |
| 913 | // This player is connecting to the game for the first time |
| 914 | virtual void OnPlayerConnectcxx . . $ DMFCBase#OnPlayerConnect(d4f767463ce0a6b3).(int player_num); |
| 915 | |
| 916 | // DMFCBase::OnControlMessage |
| 917 | // |
| 918 | // |
| 919 | // There is a control message sent from someone |
| 920 | virtual void OnControlMessagecxx . . $ DMFCBase#OnControlMessage(d5cb1b1d97598ec6).(uint8_tcxx . . $ uint8_t# msg, int from_pnum); |
| 921 | |
| 922 | // DMFCBase::OnAllowObserverChange |
| 923 | // |
| 924 | // |
| 925 | // returns true if the requested change for observer mode should go through |
| 926 | virtual bool OnAllowObserverChangecxx . . $ DMFCBase#OnAllowObserverChange(efaadfb7dc14930a).(bool turnonobserver); |
| 927 | |
| 928 | // DMFCBase::OnClientShowUI |
| 929 | // |
| 930 | // |
| 931 | // The game is saying it's ok to do any UI. Only handle the id's that belong to you and pass the rest |
| 932 | // to DMFCBase::OnClientShowUI(). |
| 933 | virtual void OnClientShowUIcxx . . $ DMFCBase#OnClientShowUI(6ca3d68f5c5f0975).(int id, void *user_data); |
| 934 | |
| 935 | // DMFCBase::OnPrintScores |
| 936 | // |
| 937 | // |
| 938 | // The user is requesting that the scores be printed out (For Dedicated Server use). Use DPrintf |
| 939 | // level: -1 Requesting all the available scores |
| 940 | // n Print only the top n scores |
| 941 | // Override this to how you see fit, but it should conform to the above. |
| 942 | virtual void OnPrintScorescxx . . $ DMFCBase#OnPrintScores(d4f767463ce0a6b3).(int level); |
| 943 | |
| 944 | // DMFCBase::OnDisconnectSaveStatsToFile |
| 945 | // |
| 946 | // |
| 947 | // The game should save the stats because the player (only ourself as the client in the game), |
| 948 | // has disconnected. |
| 949 | virtual void OnDisconnectSaveStatsToFilecxx . . $ DMFCBase#OnDisconnectSaveStatsToFile(49f6e7a06ebc5aa8).(void); |
| 950 | |
| 951 | // DMFCBase::OnLevelEndSaveStatsToFile |
| 952 | // |
| 953 | // |
| 954 | // The game should save the "End of Level" stats to file. You must handle this completly on |
| 955 | // the game's side, nothing is done in DMFC |
| 956 | virtual void OnLevelEndSaveStatsToFilecxx . . $ DMFCBase#OnLevelEndSaveStatsToFile(49f6e7a06ebc5aa8).(void); |
| 957 | |
| 958 | // DMFCBase::OnGetHudCallSignColor |
| 959 | // |
| 960 | // This is an event sent in by the game requesting what color it should draw the HUD callsign |
| 961 | // of the passed in playernum. Using GR_RGB return the color from the function. This function |
| 962 | // gets called every frame that the player is on the clients HUD. |
| 963 | virtual ddgr_colorcxx . . $ ddgr_color# OnGetHudCallSignColorcxx . . $ DMFCBase#OnGetHudCallSignColor(46cc46841198e427).(int playernum); |
| 964 | |
| 965 | // DMFCBase::TranslateEvent |
| 966 | // |
| 967 | // Translates the event passed in to handle, calls the appropriate handler function. If a function isn't |
| 968 | // created to handle the event, then it calls the default handler. Handler functions should call the default |
| 969 | // handler unless it absolutly shouldn't |
| 970 | virtual void TranslateEventcxx . . $ DMFCBase#TranslateEvent(32ca0c0c7dbc2fcf).(int eventnum, dllinfocxx . . $ dllinfo# *data); |
| 971 | |
| 972 | // DMFCBase::OnTeamChangeName |
| 973 | // |
| 974 | // This event occurs on the client when a team's name has just changed |
| 975 | virtual void OnTeamChangeNamecxx . . $ DMFCBase#OnTeamChangeName(5665db83c1ca01b7).(int team, char *oldname, char *newname); |
| 976 | |
| 977 | // DMFCBase::OnDoControls |
| 978 | // |
| 979 | // This event occurs when there is a new back of game controls data |
| 980 | virtual void OnDoControlscxx . . $ DMFCBase#OnDoControls(728771fc1cd83448).(game_controlscxx . . $ game_controls# *controls); |
| 981 | |
| 982 | // DMFCBase::OnPlayAudioTaunt |
| 983 | // |
| 984 | // This event occurs when a player plays an audio taunt |
| 985 | virtual void OnPlayAudioTauntcxx . . $ DMFCBase#OnPlayAudioTaunt(d4f767463ce0a6b3).(int pnum); |
| 986 | |
| 987 | // DMFCBase::OnGetTokenString |
| 988 | // |
| 989 | // This event occurs when a text macro is being used that has tokens |
| 990 | // in it, if you have a specific token, override this event to handle it. |
| 991 | virtual void OnGetTokenStringcxx . . $ DMFCBase#OnGetTokenString(655c4eff246c5519).(char *src, char *dest, int dest_size); |
| 992 | |
| 993 | void DrawMenucxx . . $ DMFCBase#DrawMenu(49f6e7a06ebc5aa8).(void); |
| 994 | |
| 995 | void DisplayPlayerInfocxx . . $ DMFCBase#DisplayPlayerInfo(918ebd27a9ddbad3).(int background_bmp = -1, bool dedicated_server = false); |
| 996 | |
| 997 | // DMFCBase::SwitchPlayerInfoDisplay |
| 998 | // |
| 999 | // Switches on/off displaying a Playerinfo |
| 1000 | void SwitchPlayerInfoDisplaycxx . . $ DMFCBase#SwitchPlayerInfoDisplay(d4f767463ce0a6b3).(int pnum); |
| 1001 | |
| 1002 | // DMFCBase::DisplayingPlayerInfo |
| 1003 | // |
| 1004 | // Returns the pnum of who you are currently displaying, -1 if noone |
| 1005 | int DisplayingPlayerInfocxx . . $ DMFCBase#DisplayingPlayerInfo(b126dc7c1de90089).(void); |
| 1006 | |
| 1007 | // DMFCBase::GetTeamFromString |
| 1008 | // |
| 1009 | // Returns the int value of a team based on a string, -1 if not a team |
| 1010 | int GetTeamFromStringcxx . . $ DMFCBase#GetTeamFromString(1ef8e6ec083aabb9).(char *str); |
| 1011 | |
| 1012 | // DMFCBase::GetPlayerNum |
| 1013 | // |
| 1014 | // Returns your playernum, useful when finding out if an event is referring to you (by looking at |
| 1015 | // the playernum passed to the event handler, compared to your playernum |
| 1016 | int GetPlayerNumcxx . . $ DMFCBase#GetPlayerNum(b126dc7c1de90089).(void); |
| 1017 | |
| 1018 | // DMFCBase::GetLocalRole |
| 1019 | // |
| 1020 | // Returns your role in the multiplayer game. The result returned will be either LR_SERVER or LR_CLIENT |
| 1021 | int GetLocalRolecxx . . $ DMFCBase#GetLocalRole(b126dc7c1de90089).(void); |
| 1022 | |
| 1023 | // DMFCBase::CheckPlayerNum |
| 1024 | // |
| 1025 | // Returns true if the player number passed in is a valid player number (the player is connected) |
| 1026 | bool CheckPlayerNumcxx . . $ DMFCBase#CheckPlayerNum(83c267b20bac841a).(int player_num); |
| 1027 | |
| 1028 | // DMFCBase::PacketCheckPlayerNum |
| 1029 | // |
| 1030 | // Returns true if it's ok to send a packet to this player |
| 1031 | bool PacketCheckPlayerNumcxx . . $ DMFCBase#PacketCheckPlayerNum(83c267b20bac841a).(int player_num); |
| 1032 | |
| 1033 | // DMFCBase::CallClientEvent |
| 1034 | // |
| 1035 | // Server Only. This will send an event to a client for it to execute. |
| 1036 | // event = An EVT_CLIENT_* |
| 1037 | // me_objnum,it_objnum = Object numbers of the objects to be me and it for the event |
| 1038 | // destination = Player number of the client to send to, or -1 if to send to all |
| 1039 | void CallClientEventcxx . . $ DMFCBase#CallClientEvent(d7a7761809021567).(int event, int me_objnum, int it_objnum, int destination, bool parms = false); |
| 1040 | |
| 1041 | // DMFCBase::GetTimeLeft |
| 1042 | // |
| 1043 | // Server Only. This will fill in the float pointer passed to it with how much time is |
| 1044 | // left in the multiplayer game. The value placed in the float is only valid if GetTimeLeft |
| 1045 | // returns true. If it returns false it was because either it is not a game with a time limit |
| 1046 | // or it is being called on a client. |
| 1047 | bool GetTimeLeftcxx . . $ DMFCBase#GetTimeLeft(7f1546a85f5329ec).(float *time); |
| 1048 | |
| 1049 | // DMFCBase::EndLevel |
| 1050 | // |
| 1051 | // Server Only. This will end the current multiplayer level, and will go on to the next level. |
| 1052 | void EndLevelcxx . . $ DMFCBase#EndLevel(49f6e7a06ebc5aa8).(void); |
| 1053 | |
| 1054 | // DMFCBase::WarpToLevel |
| 1055 | // |
| 1056 | // Warps to another level in the mission. Pass a level number (1 to Current_mission.num_levels) |
| 1057 | // It will end the level and go to that level. |
| 1058 | void WarpToLevelcxx . . $ DMFCBase#WarpToLevel(d4f767463ce0a6b3).(int lev); |
| 1059 | |
| 1060 | // DMFCBase::GetScoreLimit |
| 1061 | // |
| 1062 | // Server Only. This will fill in the int pointer passed to it with what the scoring limit |
| 1063 | // is, set in in the multiplayer options. The value point into the int is only valid if |
| 1064 | // GetScoreLimit returns true. If it returns false it is because you are either not the |
| 1065 | // server or this option wasn't set in the multiplayer options |
| 1066 | bool GetScoreLimitcxx . . $ DMFCBase#GetScoreLimit(18a3c31ed0aa5760).(int *limit); |
| 1067 | |
| 1068 | // DMFCBase::AutoTimeLimit |
| 1069 | // |
| 1070 | // Server Only. This turns off or on the automatic level ending by DMFC of a timed multiplayer game. |
| 1071 | // If you turn it off, it is your responsibility to end a time multiplayer game when it's time |
| 1072 | // is up. If it is turned on, DMFC will automatically handle ending the game. By default it is on. |
| 1073 | void AutoTimeLimitcxx . . $ DMFCBase#AutoTimeLimit(b45ddcbc8423892c).(bool turnon); |
| 1074 | |
| 1075 | // DMFCBase::AutoDeathMessage |
| 1076 | // |
| 1077 | // This turns on or off DMFC's automatic handling of death messages. If it is turned on (Default) |
| 1078 | // then when a player dies it will display a random death message from the list added by you using |
| 1079 | // AddDeathMessage. If it is turned off, then it is your responsibility to handle the messages, you |
| 1080 | // can use DoRandomDeathMessage to display one when appropriate. |
| 1081 | void AutoDeathMessagecxx . . $ DMFCBase#AutoDeathMessage(b45ddcbc8423892c).(bool turnon); |
| 1082 | |
| 1083 | // DMFCBase::AddDeathMessage |
| 1084 | // |
| 1085 | // This will add a death message to DMFC. |
| 1086 | // format = string in a "printf" type format (using %s for player callsigns) of the message |
| 1087 | // victim_first = Set this to true if the victim is listed first in the format |
| 1088 | void AddDeathMessagecxx . . $ DMFCBase#AddDeathMessage(90ef5b561fbcb8de).(const char *string, bool victim_first = true); |
| 1089 | |
| 1090 | // DMFCBase::AddSuicideMessage |
| 1091 | // |
| 1092 | // This will add a death message to DMFC. |
| 1093 | // format = string in a "printf" type format (using %s for player callsigns) of the message |
| 1094 | void AddSuicideMessagecxx . . $ DMFCBase#AddSuicideMessage(85c52e162fed56f9).(const char *string); |
| 1095 | |
| 1096 | // DMFCBase::DoRandomDeathMessage |
| 1097 | // |
| 1098 | // DMFC will display a death message (or suicide message if killer and victim are the same) when |
| 1099 | // this function is called, based on the strings added with AddDeathMessage or AddSuicideMessage. |
| 1100 | // killernum = object number of the killer |
| 1101 | // victimnum = object number of the victim |
| 1102 | // hash = hash index of the weapon killer, -1 if none |
| 1103 | void DoRandomDeathMessagecxx . . $ DMFCBase#DoRandomDeathMessage(f59d17f8b9f2d3e1).(int killernum, int victimnum, uint32_tcxx . . $ uint32_t# hash = -1); |
| 1104 | |
| 1105 | // DMFCBase::GetItObjNum |
| 1106 | // |
| 1107 | // Returns the it object number of the current event for use. |
| 1108 | int GetItObjNumcxx . . $ DMFCBase#GetItObjNum(b126dc7c1de90089).(void); |
| 1109 | |
| 1110 | // DMFCBase::GetMeObjNum |
| 1111 | // |
| 1112 | // Returns the me object number of the current event for use. |
| 1113 | int GetMeObjNumcxx . . $ DMFCBase#GetMeObjNum(b126dc7c1de90089).(void); |
| 1114 | |
| 1115 | // DMFCBase::RegisterPacketReceiver |
| 1116 | // |
| 1117 | // Sets up a handler for a Special Packet ID. When a special packet is recieved it's ID is compared |
| 1118 | // to the ID's given to this function. If any match than it calls the handler given to process |
| 1119 | // the packet. |
| 1120 | // id = ID of the packet |
| 1121 | // func = Function handler to handle the packet. Must be declared like void MyFunction(uint8_t *data); |
| 1122 | void RegisterPacketReceivercxx . . $ DMFCBase#RegisterPacketReceiver(6efe5766e3bef270).(uint8_tcxx . . $ uint8_t# id, void (*func)(uint8_tcxx . . $ uint8_t# *)); |
| 1123 | void RegisterPacketReceivercxx . . $ DMFCBase#RegisterPacketReceiver(9b94200667d08e70).(uint8_tcxx . . $ uint8_t# id, void (DMFCBasecxx . . $ DMFCBase#::*func)(uint8_tcxx . . $ uint8_t# *)); |
| 1124 | |
| 1125 | // DMFCBase::StartPacket |
| 1126 | // |
| 1127 | // Initializes a packet so it is ready to be sent out. |
| 1128 | // data = pointer to buffer of data for packet. This buffer should be MAX_GAME_DATA_SIZE in size, even |
| 1129 | // if you don't plan on using all that data, there is header information that is added |
| 1130 | // in this function. |
| 1131 | // id = ID of the Special packet. When the packet is recieved by whomever, this is the ID that determines which |
| 1132 | // handler to |
| 1133 | // call. |
| 1134 | // count = pointer to your packet index pointer |
| 1135 | void StartPacketcxx . . $ DMFCBase#StartPacket(261852a8f74abaa0).(uint8_tcxx . . $ uint8_t# *data, uint8_tcxx . . $ uint8_t# id, int *count); |
| 1136 | |
| 1137 | // DMFCBase::SendPacket |
| 1138 | // |
| 1139 | // Ships a Special Packet away to the destination. This call must be preceeded by a StartPacket call |
| 1140 | // data = buffer of data to be sent out (same buffer that was passed to StartPacket |
| 1141 | // size = size (in bytes) of the packet |
| 1142 | // destination = either a player number, SP_ALL for all the players or SP_SERVER to send to the server (if you are a |
| 1143 | // client) |
| 1144 | void SendPacketcxx . . $ DMFCBase#SendPacket(49a5bbab55ea8abc).(uint8_tcxx . . $ uint8_t# *data, int size, int destination); |
| 1145 | |
| 1146 | // DMFCBase::GetTeamForNewPlayer |
| 1147 | // |
| 1148 | // A Helper function (Server only), which will give you the optimum team assignment (whoever has the |
| 1149 | // lowest amount of players on their team, for a new player. |
| 1150 | // player_num = player number of the new player |
| 1151 | // num_teams = The number of teams in your game |
| 1152 | int GetTeamForNewPlayercxx . . $ DMFCBase#GetTeamForNewPlayer(9b79fb6aee4c0440).(int player_num, int num_teams); |
| 1153 | |
| 1154 | // DMFCBase::SetNumberOfTeams |
| 1155 | // |
| 1156 | // Sets the number of teams to be used in the game. By default there is 1 team (everyone against everyone). |
| 1157 | // You can set up to a maximum of 4 teams. Call this function as soon as possible. |
| 1158 | // teams = number of teams |
| 1159 | void SetNumberOfTeamscxx . . $ DMFCBase#SetNumberOfTeams(d4f767463ce0a6b3).(int teams); |
| 1160 | |
| 1161 | // DMFCBase::AutoTeamSelect |
| 1162 | // |
| 1163 | // Turns on or off DMFC's auto team assignment. If it is on, then when a new player joins, they will |
| 1164 | // be placed on the team with fewest players. If it is off, then you must handle that. Defualt on. |
| 1165 | void AutoTeamSelectcxx . . $ DMFCBase#AutoTeamSelect(b45ddcbc8423892c).(bool turnon); |
| 1166 | |
| 1167 | // DMFCBase::SendTeamAssignment |
| 1168 | // |
| 1169 | // A DMFC Special Packet function, this sends a team assignment packet to all the players. Server only. |
| 1170 | // playernum = player to change teams |
| 1171 | // team = new team |
| 1172 | void SendTeamAssignmentcxx . . $ DMFCBase#SendTeamAssignment(6908015b96d379c0).(int playernum, int team, bool spew_on_respawn); |
| 1173 | |
| 1174 | // DMFCBase::GetTeamAssignmentPacket |
| 1175 | // |
| 1176 | // Reciever for the team assignment packet. |
| 1177 | void GetTeamAssignmentPacketcxx . . $ DMFCBase#GetTeamAssignmentPacket(f25546b61a629de7).(uint8_tcxx . . $ uint8_t# *data); |
| 1178 | |
| 1179 | // DMFCBase::GetChangeTeamPacket |
| 1180 | // |
| 1181 | // Reciever for the change team packet.(Server Only) |
| 1182 | void GetChangeTeamPacketcxx . . $ DMFCBase#GetChangeTeamPacket(f25546b61a629de7).(uint8_tcxx . . $ uint8_t# *data); |
| 1183 | |
| 1184 | // DMFCBase::GetGameStateRequest |
| 1185 | // |
| 1186 | // Receiver for the server from a client asking for the state of the game |
| 1187 | void GetGameStateRequestcxx . . $ DMFCBase#GetGameStateRequest(f25546b61a629de7).(uint8_tcxx . . $ uint8_t# *data); |
| 1188 | |
| 1189 | // DMFCBase::SendChangeTeamRequest |
| 1190 | // |
| 1191 | // Sends a request to the server to change teams (Client Only) |
| 1192 | // spew_onchange should be true if you want the client the spew his inventory on the change |
| 1193 | void SendChangeTeamRequestcxx . . $ DMFCBase#SendChangeTeamRequest(918ebd27a9ddbad3).(int newteam, bool spew_onchange); |
| 1194 | |
| 1195 | // DMFCBase::GetDMFCGameInfo |
| 1196 | // |
| 1197 | // Receives information about the DMFC game |
| 1198 | void GetDMFCGameInfocxx . . $ DMFCBase#GetDMFCGameInfo(f25546b61a629de7).(uint8_tcxx . . $ uint8_t# *data); |
| 1199 | |
| 1200 | // DMFCBase::SendDMFCGameInfo |
| 1201 | // |
| 1202 | // Sends information about the DMFC game |
| 1203 | void SendDMFCGameInfocxx . . $ DMFCBase#SendDMFCGameInfo(d4f767463ce0a6b3).(int player); |
| 1204 | |
| 1205 | // DMFCBase::GetRemoteKey |
| 1206 | // |
| 1207 | // Handles a new remote key from the server |
| 1208 | void GetRemoteKeycxx . . $ DMFCBase#GetRemoteKey(f25546b61a629de7).(uint8_tcxx . . $ uint8_t# *data); |
| 1209 | |
| 1210 | // DMFCBase::SendRemoteKey |
| 1211 | // |
| 1212 | // Sends out the players remote admin key |
| 1213 | void SendRemoteKeycxx . . $ DMFCBase#SendRemoteKey(d4f767463ce0a6b3).(int pnum); |
| 1214 | |
| 1215 | // DMFCBase::ChangeTeams |
| 1216 | // |
| 1217 | // If you are the server it will make the player change teams. If you |
| 1218 | // are a client then it sends a request to the server to change teams |
| 1219 | // spew_on_repsawn is true if the player should spew his inventory before he respawns |
| 1220 | void RequestTeamChangecxx . . $ DMFCBase#RequestTeamChange(6908015b96d379c0).(int team, int pnum, bool spew_on_respawn); |
| 1221 | |
| 1222 | // DMFCBase::RequestGameState |
| 1223 | // |
| 1224 | // Sends a request to the server for the game state |
| 1225 | void RequestGameStatecxx . . $ DMFCBase#RequestGameState(49f6e7a06ebc5aa8).(void); |
| 1226 | |
| 1227 | // DMFCBase::AddHudItemCallback |
| 1228 | // |
| 1229 | // Adds an item to the hud. Everytime the hud needs to be updated, it will call the |
| 1230 | // handler passed in. The handler must be declared as: |
| 1231 | // void func(struct tHudItem *item); |
| 1232 | // type = HI_BITMAP for bitmap, HI_TEXT for a text item |
| 1233 | // func = function callback |
| 1234 | void AddHUDItemCallbackcxx . . $ DMFCBase#AddHUDItemCallback(97c9b33f56b4265c).(int type, void (*func)(struct tHUDItemcxx . . $ tHUDItem# *)); |
| 1235 | |
| 1236 | // DMFCBase::GetMyTeam |
| 1237 | // |
| 1238 | // Returns the int value of the team you are on...only useful in a team game. |
| 1239 | int GetMyTeamcxx . . $ DMFCBase#GetMyTeam(b126dc7c1de90089).(void); |
| 1240 | |
| 1241 | // DMFCBase::GetTeamString |
| 1242 | // |
| 1243 | // Returns a pointer to a string name of a team |
| 1244 | // team = integer value of the team |
| 1245 | const char *GetTeamStringcxx . . $ DMFCBase#GetTeamString(f7ae7e56280f18ae).(int team); |
| 1246 | |
| 1247 | // DMFCBase::GetTeamColor |
| 1248 | // |
| 1249 | // Returns the color components of a team |
| 1250 | // team = integer value of the team |
| 1251 | ddgr_colorcxx . . $ ddgr_color# GetTeamColorcxx . . $ DMFCBase#GetTeamColor(46cc46841198e427).(int team); |
| 1252 | |
| 1253 | // DMFCBase::GetNumTeams |
| 1254 | // |
| 1255 | // Returns the number of teams in the game |
| 1256 | int GetNumTeamscxx . . $ DMFCBase#GetNumTeams(b126dc7c1de90089).(void); |
| 1257 | |
| 1258 | // DMFCBase::AllowTeamChange |
| 1259 | // |
| 1260 | // Returns true if team changing is allowed |
| 1261 | bool AllowTeamChangecxx . . $ DMFCBase#AllowTeamChange(c9857a73d68e59ba).(void); |
| 1262 | |
| 1263 | // DMFCBase::SwitchAllowTeamChange |
| 1264 | // |
| 1265 | // Turns on/off allowing of team changing |
| 1266 | void SwitchAllowTeamChangecxx . . $ DMFCBase#SwitchAllowTeamChange(b45ddcbc8423892c).(bool turnon); |
| 1267 | |
| 1268 | // DMFCBase::GetSortedPlayerSlots |
| 1269 | // |
| 1270 | // Fills in the passed array (of size maxsize) with the playernums sorted by (kills-suicides) |
| 1271 | void GetSortedPlayerSlotscxx . . $ DMFCBase#GetSortedPlayerSlots(621ccea12ecf5b06).(int *sortedindex, int maxsize); |
| 1272 | |
| 1273 | // DMFCBase::GetSortedPlayerSlotsByEfficiency |
| 1274 | // |
| 1275 | // Fills in the passed array (of size maxsize) with the playernums sorted by kills/(kills+deaths+suicides) |
| 1276 | void GetSortedPlayerSlotsByEfficiencycxx . . $ DMFCBase#GetSortedPlayerSlotsByEfficiency(621ccea12ecf5b06).(int *sortedindex, int maxsize); |
| 1277 | |
| 1278 | // DMFCBase::IsMenuUp |
| 1279 | // |
| 1280 | // Returns true if the on screen menu is being shown |
| 1281 | bool IsMenuUpcxx . . $ DMFCBase#IsMenuUp(c9857a73d68e59ba).(void); |
| 1282 | |
| 1283 | // DMFCBase::ConvertHUDAlpha |
| 1284 | // |
| 1285 | // Returns a converted alpha based on what you give, it will be a more transparent if the onscreen menu is up |
| 1286 | float ConvertHUDAlphacxx . . $ DMFCBase#ConvertHUDAlpha(fbcf3211dfe1bfd1).(float normal); |
| 1287 | uint8_tcxx . . $ uint8_t# ConvertHUDAlphacxx . . $ DMFCBase#ConvertHUDAlpha(50106d451684defa).(uint8_tcxx . . $ uint8_t# normal); |
| 1288 | |
| 1289 | // DMFCBase::ClipString |
| 1290 | // |
| 1291 | // Given a width, the string will be clipped to that width. If you pass true for arrow, then an arrow will be |
| 1292 | // appended if the string has been clipped. Based off current font |
| 1293 | void ClipStringcxx . . $ DMFCBase#ClipString(8677479218165cd4).(int width, char *string, bool arrow); |
| 1294 | |
| 1295 | // DMFCBase::DisplayOutrageLogo(void) |
| 1296 | // |
| 1297 | // Displays the Outrage Logo for 5 seconds (call repeatedly, after 5 seconds it will just short circuit) |
| 1298 | // Does nothing for non-Outrage releases |
| 1299 | void DisplayOutrageLogocxx . . $ DMFCBase#DisplayOutrageLogo(49f6e7a06ebc5aa8).(void); |
| 1300 | |
| 1301 | // DMFCBase::InitTimers |
| 1302 | // |
| 1303 | // Inializes the timers |
| 1304 | void InitTimerscxx . . $ DMFCBase#InitTimers(49f6e7a06ebc5aa8).(void); |
| 1305 | |
| 1306 | // DMFCBase::KillAllTimers |
| 1307 | // |
| 1308 | // Kills all running timers |
| 1309 | void KillAllTimerscxx . . $ DMFCBase#KillAllTimers(49f6e7a06ebc5aa8).(void); |
| 1310 | |
| 1311 | // DMFCBase::SetTimerInterval |
| 1312 | // |
| 1313 | // Starts a timer event running |
| 1314 | int SetTimerIntervalcxx . . $ DMFCBase#SetTimerInterval(695c251031f3a34d).(void (*func)(void), float intval, float longevity, void (*onkill)(void) = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!); |
| 1315 | |
| 1316 | // DMFCBase::KillTimer |
| 1317 | // |
| 1318 | // Kills a timer |
| 1319 | void KillTimercxx . . $ DMFCBase#KillTimer(d4f767463ce0a6b3).(int handle); |
| 1320 | |
| 1321 | // DMFCBase::ProcessTimers |
| 1322 | // |
| 1323 | // Goes through all the timers and updates them if they need to be updated |
| 1324 | void ProcessTimerscxx . . $ DMFCBase#ProcessTimers(49f6e7a06ebc5aa8).(void); |
| 1325 | |
| 1326 | // DMFCBase::SwitchShowHudCallsignLevel |
| 1327 | // |
| 1328 | // |
| 1329 | // Sets the level for displaying of Player's Callsigns on the HUD |
| 1330 | void SwitchShowHudCallsignLevelcxx . . $ DMFCBase#SwitchShowHudCallsignLevel(f2ac3508b56cd10).(uint8_tcxx . . $ uint8_t# level, bool announce = true); |
| 1331 | |
| 1332 | // DMFCBase::SwitchServerHudCallsignLevel |
| 1333 | // |
| 1334 | // |
| 1335 | // Sets the max level of HUD callsign displayage...determined by the server |
| 1336 | void SwitchServerHudCallsignLevelcxx . . $ DMFCBase#SwitchServerHudCallsignLevel(ac50b47256ae7414).(uint8_tcxx . . $ uint8_t# level); |
| 1337 | |
| 1338 | // DMFCBase::GetCounterMeasureOwner |
| 1339 | // |
| 1340 | // |
| 1341 | // Given a counter measure it will determine the pnum of it's owner...if it can't find it, it returns -1 |
| 1342 | int GetCounterMeasureOwnercxx . . $ DMFCBase#GetCounterMeasureOwner(2da2a862cad4c994).(objectcxx . . $ object# *robot); |
| 1343 | |
| 1344 | // DMFCBase::CFGOpen |
| 1345 | // |
| 1346 | // Opens the registry/cfg information for the DMFC game, see error codes for return values |
| 1347 | int CFGOpencxx . . $ DMFCBase#CFGOpen(1ef8e6ec083aabb9).(char *filename); |
| 1348 | |
| 1349 | // DMFCBase::CFGClose |
| 1350 | // |
| 1351 | // Closes the registry information for the game. |
| 1352 | void CFGClosecxx . . $ DMFCBase#CFGClose(49f6e7a06ebc5aa8).(void); |
| 1353 | |
| 1354 | // DMFCBase::CFGFlush |
| 1355 | // |
| 1356 | // Flushes out the registry information to fall |
| 1357 | int CFGFlushcxx . . $ DMFCBase#CFGFlush(b126dc7c1de90089).(void); |
| 1358 | |
| 1359 | // DMFCBase::CFGCreateKey |
| 1360 | // |
| 1361 | // Creates a key in the registry |
| 1362 | int CFGCreateKeycxx . . $ DMFCBase#CFGCreateKey(1ef8e6ec083aabb9).(char *name); |
| 1363 | |
| 1364 | // DMFCBase::CFGLookupKey |
| 1365 | // |
| 1366 | // Sets the active key in the registry |
| 1367 | int CFGLookupKeycxx . . $ DMFCBase#CFGLookupKey(1ef8e6ec083aabb9).(char *name); |
| 1368 | |
| 1369 | // DMFCBase::CFGLookupRecord |
| 1370 | // |
| 1371 | // Looks up a record in the active key |
| 1372 | int CFGLookupRecordcxx . . $ DMFCBase#CFGLookupRecord(3eb1fdce138500d5).(char *record, void *data); |
| 1373 | |
| 1374 | // DMFCBase::CFGCreateRecord |
| 1375 | // |
| 1376 | // Create/overwrites a record in the active key. Type is either REGT_DWORD or REGT_STRING |
| 1377 | int CFGCreateRecordcxx . . $ DMFCBase#CFGCreateRecord(c0790496e06ad349).(char *name, char type, void *data); |
| 1378 | |
| 1379 | // DMFCBase::DecryptData |
| 1380 | // |
| 1381 | // Decrypts a buffer of data |
| 1382 | void DecryptDatacxx . . $ DMFCBase#DecryptData(fc0f0e1646c32816).(uint8_tcxx . . $ uint8_t# *data, int size); |
| 1383 | |
| 1384 | // DMFCBase::EncryptData |
| 1385 | // |
| 1386 | // Encrypts (weak) a buffer of data |
| 1387 | void EncryptDatacxx . . $ DMFCBase#EncryptData(fc0f0e1646c32816).(uint8_tcxx . . $ uint8_t# *data, int size); |
| 1388 | |
| 1389 | // DMFCBase::VersionCheck |
| 1390 | // |
| 1391 | // Makes sure Client has same DMFC version |
| 1392 | void VersionCheckcxx . . $ DMFCBase#VersionCheck(d4f767463ce0a6b3).(int pnum); |
| 1393 | |
| 1394 | // DMFCBase::FindPInfo |
| 1395 | // |
| 1396 | // Given a player number it will search the list and find that player, returning the pointer, or NULL if it |
| 1397 | // can't be found or created |
| 1398 | PInfocxx . . $ PInfo# *FindPInfocxx . . $ DMFCBase#FindPInfo(63a4ce93a6a08762).(int pnum); |
| 1399 | |
| 1400 | // DMFCBase::UpdatePInfo |
| 1401 | // |
| 1402 | // |
| 1403 | // Updates a victim's pinfo stat |
| 1404 | void UpdatePInfocxx . . $ DMFCBase#UpdatePInfo(b1146eedae1e1d0b).(int victim, int killer, int amount); |
| 1405 | |
| 1406 | // DMFCBase::ResetPInfo |
| 1407 | // |
| 1408 | // |
| 1409 | // Resets all the PInfo stats (and frees memory) |
| 1410 | void ResetPInfocxx . . $ DMFCBase#ResetPInfo(49f6e7a06ebc5aa8).(void); |
| 1411 | |
| 1412 | // DMFCBase::WriteDMFCStatsToFile |
| 1413 | // |
| 1414 | // |
| 1415 | // This function will write out DMFC's stats to the file given (it must be opened for writing) |
| 1416 | void WriteDMFCStatsToFilecxx . . $ DMFCBase#WriteDMFCStatsToFile(3639e799710acb68).(CFILEcxx . . $ CFILE# *file); |
| 1417 | |
| 1418 | // DMFCBase::SetWeaponDeathMessage |
| 1419 | // |
| 1420 | // Sets a death message for a weapon kill (you only need to pass in one version of the weapon if it |
| 1421 | // consists of multiple weapons...make sure AddWeaponHash has been called before this for this weapon) |
| 1422 | bool SetWeaponDeathMessagecxx . . $ DMFCBase#SetWeaponDeathMessage(567fbfac950d45).(const char *weapon_name, const char *message, bool victim_first); |
| 1423 | |
| 1424 | // DMFCBase::GetWeaponDeathMessage |
| 1425 | // |
| 1426 | // Returns the format string for a weapon death message, NULL if it doesn't exist |
| 1427 | char *GetWeaponDeathMessagecxx . . $ DMFCBase#GetWeaponDeathMessage(1a27f55e060209c1).(int index, bool *victim_first); |
| 1428 | |
| 1429 | // DMFCBase::AddWeaponHash |
| 1430 | // |
| 1431 | // Since one weapon may actually consist of many weapons, in order to save space you can create |
| 1432 | // one weapon where all those other weapon id's will be mapped to it...use WeaponHash[id] to |
| 1433 | // get the actual weapon. End list of children with a NULL |
| 1434 | void AddWeaponHashcxx . . $ DMFCBase#AddWeaponHash(326aeb464d16410c).(const char *parent, ...); |
| 1435 | |
| 1436 | // DMFCBase::AddWeaponHashArray |
| 1437 | // |
| 1438 | // Since one weapon may actually consist of many weapons, in order to save space you can create |
| 1439 | // one weapon where all those other weapon id's will be mapped to it...use WeaponHash[id] to |
| 1440 | // get the actual weapon. |
| 1441 | void AddWeaponHashArraycxx . . $ DMFCBase#AddWeaponHashArray(9f647276e7804368).(const char *parent, int count, char **array); |
| 1442 | |
| 1443 | // DMFCBase::SetupPlayerRecord |
| 1444 | // |
| 1445 | // Sets up memory for multiplayer mod user defined data in the Player Records. Pass in the size (in bytes) |
| 1446 | // of 1 struct (each player will get one). Use GetPlayerRecordData to retrieve a pointer to the data. |
| 1447 | // |
| 1448 | // pack_callback : callback function called when data from the struct needs to be packed |
| 1449 | // into a packet. It is SUPER important that this function packs the data |
| 1450 | // in little endian format. This function gets a pointer to the struct that |
| 1451 | // needs to be packed (user_info), and a buffer in which to pack it to. This |
| 1452 | // function is to return the number of bytes it has packed. |
| 1453 | // unpack_callback : callback function called when data from the struct needs to be unpacket |
| 1454 | // from a packet. This data will be in little endian format. Returns the number of |
| 1455 | // bytes unpacked. |
| 1456 | // returns: 1 if size given was <=0 (if so all previous user stats will be removed) |
| 1457 | // 0 all went ok |
| 1458 | // -1 out of memory (all user stats memory will be freed) |
| 1459 | int SetupPlayerRecordcxx . . $ DMFCBase#SetupPlayerRecord(7df49e8a00e47932).(int sizeof_individual_data, int (*pack_callback)(void *user_info, uint8_tcxx . . $ uint8_t# *data), |
| 1460 | int (*unpack_callback)(void *user_info, uint8_tcxx . . $ uint8_t# *data)); |
| 1461 | |
| 1462 | // DMFCBase::GetPlayerRecordData |
| 1463 | // |
| 1464 | // Returns a pointer to the memory set aside for a particular player (NULL on error) |
| 1465 | void *GetPlayerRecordDatacxx . . $ DMFCBase#GetPlayerRecordData(d1680a912d714170).(int pnum); |
| 1466 | |
| 1467 | // DMFCBase::GetPlayerRecord |
| 1468 | // |
| 1469 | // Returns a pointer to the player record at the given slot (passed in slot must be in the range |
| 1470 | // 0<=slot<MAX_PLAYER_RECORDS) |
| 1471 | player_recordcxx . . $ player_record# *GetPlayerRecordcxx . . $ DMFCBase#GetPlayerRecord(6359c6f28dd028ae).(int slot); |
| 1472 | |
| 1473 | // DMFCBase::GetPlayerRecordByPnum |
| 1474 | // |
| 1475 | // Same as above, but you can specify by a player's pnum, return NULL on error |
| 1476 | player_recordcxx . . $ player_record# *GetPlayerRecordByPnumcxx . . $ DMFCBase#GetPlayerRecordByPnum(6359c6f28dd028ae).(int pnum); |
| 1477 | |
| 1478 | // DMFCBase::SendRequestForPlayerRecords |
| 1479 | // |
| 1480 | // |
| 1481 | // Sends a request to the server to send the player records |
| 1482 | void SendRequestForPlayerRecordscxx . . $ DMFCBase#SendRequestForPlayerRecords(49f6e7a06ebc5aa8).(void); |
| 1483 | |
| 1484 | // DMFCBase::ReceiveRequestForPlayerRecords |
| 1485 | // |
| 1486 | // |
| 1487 | // Recieves and processes a request for a player record |
| 1488 | void ReceiveRequestForPlayerRecordscxx . . $ DMFCBase#ReceiveRequestForPlayerRecords(f25546b61a629de7).(uint8_tcxx . . $ uint8_t# *data); |
| 1489 | |
| 1490 | // DMFCBase::IsPlayerBanned |
| 1491 | // |
| 1492 | // returns true is the given pnum is banned from the game |
| 1493 | bool IsPlayerBannedcxx . . $ DMFCBase#IsPlayerBanned(83c267b20bac841a).(int pnum); |
| 1494 | |
| 1495 | // DMFCBase::IsAddressBanned |
| 1496 | // |
| 1497 | // returns true if the given address is banned from the game |
| 1498 | bool IsAddressBannedcxx . . $ DMFCBase#IsAddressBanned(46e1c72e52d9c94a).(network_addresscxx . . $ network_address# *addr, const char *tracker_id); |
| 1499 | |
| 1500 | // DMFCBase::RemoveAllBans |
| 1501 | // |
| 1502 | // Removes all the temp bans |
| 1503 | void RemoveAllBanscxx . . $ DMFCBase#RemoveAllBans(49f6e7a06ebc5aa8).(void); |
| 1504 | |
| 1505 | // DMFCBase::RemoveBan |
| 1506 | // |
| 1507 | // Removes a temp ban on given the ban #...returns true on success |
| 1508 | bool RemoveBancxx . . $ DMFCBase#RemoveBan(83c267b20bac841a).(int index); |
| 1509 | |
| 1510 | // DMCBase::GetBannedPlayerCallsign |
| 1511 | // |
| 1512 | // Returns the callsign of the banned player at position index, NULL on error |
| 1513 | char *GetBannedPlayerCallsigncxx . . $ DMFCBase#GetBannedPlayerCallsign(ff224f080444ee45).(int index); |
| 1514 | |
| 1515 | // DMFCBase::GetNumBannedPlayers |
| 1516 | // |
| 1517 | // Returns the number of players banned from the server |
| 1518 | int GetNumBannedPlayerscxx . . $ DMFCBase#GetNumBannedPlayers(b126dc7c1de90089).(void); |
| 1519 | |
| 1520 | // DMFCBase::BanPlayerFromGame |
| 1521 | // |
| 1522 | // Puts a temp ban on a player which will only last the duration of the game |
| 1523 | void BanPlayerFromGamecxx . . $ DMFCBase#BanPlayerFromGame(d4f767463ce0a6b3).(int pnum); |
| 1524 | |
| 1525 | // DMFCBase::IsPlayerAlive |
| 1526 | // |
| 1527 | // Returns true is the given pnum is a player, flying around the level (not dying, |
| 1528 | // dead or observing) |
| 1529 | bool IsPlayerAlivecxx . . $ DMFCBase#IsPlayerAlive(83c267b20bac841a).(int pnum); |
| 1530 | |
| 1531 | // DMFCBase::SendControlMessageToPlayer |
| 1532 | // |
| 1533 | // |
| 1534 | // Sends a [1 byte] control message to a player |
| 1535 | void SendControlMessageToPlayercxx . . $ DMFCBase#SendControlMessageToPlayer(9633529ce3c4ff50).(int pnum, uint8_tcxx . . $ uint8_t# msg); |
| 1536 | |
| 1537 | // DMFCBase::ReceiveControlMessage |
| 1538 | // |
| 1539 | // |
| 1540 | // Handles a control message |
| 1541 | void ReceiveControlMessagecxx . . $ DMFCBase#ReceiveControlMessage(f25546b61a629de7).(uint8_tcxx . . $ uint8_t# *data); |
| 1542 | |
| 1543 | // DMFCBase::SendRealGametime |
| 1544 | // |
| 1545 | // Updates a player about the 'real' game time |
| 1546 | void SendRealGametimecxx . . $ DMFCBase#SendRealGametime(d4f767463ce0a6b3).(int pnum); |
| 1547 | |
| 1548 | // DMFCBase::GetRealGametime |
| 1549 | // |
| 1550 | // handles a packet about updating the real game time |
| 1551 | void GetRealGametimePacketcxx . . $ DMFCBase#GetRealGametimePacket(f25546b61a629de7).(uint8_tcxx . . $ uint8_t# *data); |
| 1552 | |
| 1553 | // DMFCBase::FindPInfoStatFirst |
| 1554 | // |
| 1555 | // Fills in a tPInfoStat that contains information about a given player record slot. Returns true on success, false |
| 1556 | // if there is no information available for the given slot. Call this first, then follow with repeated calls to |
| 1557 | // FindPInfoStatNext until you get a false value returned...call FindPInfoStatClose when done. |
| 1558 | bool FindPInfoStatFirstcxx . . $ DMFCBase#FindPInfoStatFirst(e8124cb919632806).(int slot, tPInfoStatcxx . . $ tPInfoStat# *stat); |
| 1559 | |
| 1560 | // DMFCBase::FindPInfoStatNext |
| 1561 | // |
| 1562 | // Call this repeatedly until you get a value of false, finish by calling FindPInfoStatClose |
| 1563 | bool FindPInfoStatNextcxx . . $ DMFCBase#FindPInfoStatNext(4ead3766c292904).(tPInfoStatcxx . . $ tPInfoStat# *stat); |
| 1564 | |
| 1565 | // DMFCBase::FindPInfoStatClose |
| 1566 | // |
| 1567 | // Closes up a FindPInfo series of calls |
| 1568 | void FindPInfoStatClosecxx . . $ DMFCBase#FindPInfoStatClose(49f6e7a06ebc5aa8).(void); |
| 1569 | |
| 1570 | // DMFCBase::DoDamageToPlayer |
| 1571 | // |
| 1572 | // Server only...applies damage to player |
| 1573 | void DoDamageToPlayercxx . . $ DMFCBase#DoDamageToPlayer(c583259905cf10b6).(int pnum, int type, float amount, bool playsound = true); |
| 1574 | |
| 1575 | // DMFCBase::StartUIWindow |
| 1576 | // |
| 1577 | // Prepares the game so that you can display UI stuff, give a unique id in which will be passed |
| 1578 | // to the OnClientShowUI(). In your OnClientShowUI() you must ONLY handle id's which belong to you |
| 1579 | // and pass the others to DMFCBase::OnClientShowUI(). |
| 1580 | void StartUIWindowcxx . . $ DMFCBase#StartUIWindow(6ca3d68f5c5f0975).(int id, void *user_data); |
| 1581 | |
| 1582 | // DMFCBase::DisconnectMe |
| 1583 | // |
| 1584 | // Disconnects yourself from the game. It should be called when you are kicked or banned to make the |
| 1585 | // whole process a bit nicer/cleaner. Even if it doesn't get called when kicked, you will still |
| 1586 | // eventually disconnect. |
| 1587 | void DisconnectMecxx . . $ DMFCBase#DisconnectMe(49f6e7a06ebc5aa8).(void); |
| 1588 | |
| 1589 | /* Input Command Functions */ |
| 1590 | // DMFCBase::AddInputCommand |
| 1591 | // |
| 1592 | // When the client (or dedicated server) types a message that begins with a $, DMFC will look through |
| 1593 | // all the values you passed to AddInputCommand() and see if any match. If so it passes the entire |
| 1594 | // command string to the given function handler. Returns 1 on success, -1 if out of memory, 0 if it already |
| 1595 | // exists. These commands are not case sensitive. |
| 1596 | // Ex. AddInputCommand("team"); //this handles all the '$team' passed in |
| 1597 | // allow_remotely : if set true, this input command can be called remotely via remote administration |
| 1598 | int8_t AddInputCommandcxx . . $ DMFCBase#AddInputCommand(e7187a5a7118c77f).(const char *command, const char *description, void (*handler)(const char *), bool allow_remotely = false); |
| 1599 | |
| 1600 | // DMFCBase::CanInputCommandBeUsedRemotely |
| 1601 | // |
| 1602 | // Returns 1 if the input command can be called remotely |
| 1603 | // Returns -1 if the input command is not found |
| 1604 | // Returns 0 if the input command can be called remotely |
| 1605 | int CanInputCommandBeUsedRemotelycxx . . $ DMFCBase#CanInputCommandBeUsedRemotely(1ef8e6ec083aabb9).(char *command); |
| 1606 | |
| 1607 | // Does a check on on the pinfo info making sure it is valid |
| 1608 | void CheckPInfocxx . . $ DMFCBase#CheckPInfo(49f6e7a06ebc5aa8).(); |
| 1609 | |
| 1610 | // DMFCBase::EnableStatisticalMessages |
| 1611 | // |
| 1612 | // Turns on or off the statistical HUD messages that appear due to a player death |
| 1613 | void EnableStatisticalMessagescxx . . $ DMFCBase#EnableStatisticalMessages(b45ddcbc8423892c).(bool on); |
| 1614 | |
| 1615 | // DMFCBase::EnableOnScreenMenu |
| 1616 | // |
| 1617 | // Turns on/off the onscreen menu |
| 1618 | void EnableOnScreenMenucxx . . $ DMFCBase#EnableOnScreenMenu(b45ddcbc8423892c).(bool turn_on); |
| 1619 | |
| 1620 | // DMFCBase::EnableAutoSaveLevelEnd |
| 1621 | // |
| 1622 | // Disables/Enables the autosaving of game stats to file on level end |
| 1623 | void EnableAutoSaveLevelEndcxx . . $ DMFCBase#EnableAutoSaveLevelEnd(b45ddcbc8423892c).(bool enable); |
| 1624 | |
| 1625 | // DMFCBase::EnableAutoSaveDisconnect |
| 1626 | // |
| 1627 | // Disables/Enables the autosaving of game stats to file on disconnect from the game |
| 1628 | void EnableAutoSaveDisconnectcxx . . $ DMFCBase#EnableAutoSaveDisconnect(b45ddcbc8423892c).(bool enable); |
| 1629 | |
| 1630 | // DMFCBase::GenerateStatFilename |
| 1631 | // |
| 1632 | // Given the following information it will return a full path to what |
| 1633 | // the recommended filename to save stats to should be. |
| 1634 | // root = Multiplayer DLL Name (filename will start with this) |
| 1635 | // end_of_level = pass true if this is the end of a level stats |
| 1636 | void GenerateStatFilenamecxx . . $ DMFCBase#GenerateStatFilename(4d4dad76095ad7d8).(char *filename, const char *root, bool end_of_level); |
| 1637 | |
| 1638 | // DMFCBase::IsPlayerObserver |
| 1639 | // |
| 1640 | // Returns true if the given pnum is currently an observer in the game, else returns false. |
| 1641 | // If an invalid pnum is given, then it returns false |
| 1642 | bool IsPlayerObservercxx . . $ DMFCBase#IsPlayerObserver(83c267b20bac841a).(int pnum); |
| 1643 | |
| 1644 | // DMFCBase::EnableOnScreenMenuBackground |
| 1645 | // |
| 1646 | // Enables/disables the onscreen menu background |
| 1647 | void EnableOnScreenMenuBackgroundcxx . . $ DMFCBase#EnableOnScreenMenuBackground(b45ddcbc8423892c).(bool enable); |
| 1648 | |
| 1649 | // DMFCBase::GetTimeInGame |
| 1650 | // |
| 1651 | // Returns the totaltime the player has been in the game at the moment you call |
| 1652 | // this function. Pass in the player record slot. |
| 1653 | float GetTimeInGamecxx . . $ DMFCBase#GetTimeInGame(5cde91ea12d43f46).(int slot); |
| 1654 | |
| 1655 | // DMFCBase::GetTimeString |
| 1656 | // |
| 1657 | // Returns a string that contains a formated time (i.e. 32 seconds, 1:15 minutes, 3:21:23 hours) |
| 1658 | char *GetTimeStringcxx . . $ DMFCBase#GetTimeString(3b344d7a46e3c2ff).(float sec); |
| 1659 | |
| 1660 | // DMFCBase::DisplayNetGameInfo |
| 1661 | // |
| 1662 | // Displays information about the Netgame that is currently being played |
| 1663 | // on to the screen. |
| 1664 | void DisplayNetGameInfocxx . . $ DMFCBase#DisplayNetGameInfo(918ebd27a9ddbad3).(int background_bmp = -1, bool dedicated_server = false); |
| 1665 | |
| 1666 | // DMFCBase::SwitchNetGameInfoDisplay |
| 1667 | // |
| 1668 | // Switches on/off displaying netgame info |
| 1669 | void SwitchNetGameInfoDisplaycxx . . $ DMFCBase#SwitchNetGameInfoDisplay(d4f767463ce0a6b3).(int on); |
| 1670 | |
| 1671 | // DMFCBase::IsDisplayingNetGameInfo |
| 1672 | // |
| 1673 | // returns true if we are currently displaying netgame info |
| 1674 | bool IsDisplayingNetGameInfocxx . . $ DMFCBase#IsDisplayingNetGameInfo(c9857a73d68e59ba).(void); |
| 1675 | |
| 1676 | // DatabaseRegister |
| 1677 | // Registers your multiplayer game with the database. This must be |
| 1678 | // called before any other database function, or they will fail until this |
| 1679 | // is called. |
| 1680 | void DatabaseRegistercxx . . $ DMFCBase#DatabaseRegister(fda57c8427c60377).(char *name); |
| 1681 | // DatabaseRead |
| 1682 | // Reads a string from the database |
| 1683 | bool DatabaseReadcxx . . $ DMFCBase#DatabaseRead(3bcbb53201fcdcb8).(const char *label, char *entry, int *entrylen); |
| 1684 | // DatabaseRead |
| 1685 | // Reads wordsize bytes from the database |
| 1686 | bool DatabaseReadcxx . . $ DMFCBase#DatabaseRead(340cb0a925eda13d).(const char *label, void *entry, int wordsize); |
| 1687 | // DatabaseRead |
| 1688 | // Reads a bool from the database |
| 1689 | bool DatabaseReadcxx . . $ DMFCBase#DatabaseRead(c1ce79fc3dc965f1).(const char *label, bool *entry); |
| 1690 | // DatabaseWrite |
| 1691 | // Writes/Updates a string to the database |
| 1692 | bool DatabaseWritecxx . . $ DMFCBase#DatabaseWrite(f827cee075336303).(const char *label, const char *entry, int entrylen); |
| 1693 | // DatabaseWrite |
| 1694 | // Writes/Updates a value to the database |
| 1695 | bool DatabaseWritecxx . . $ DMFCBase#DatabaseWrite(2551bed5d6fc04f6).(const char *label, int entry); |
| 1696 | // DMFCBase::SendNetGameInfoSync |
| 1697 | // |
| 1698 | // Sends out a NetGame info sync packet to all the players |
| 1699 | void SendNetGameInfoSynccxx . . $ DMFCBase#SendNetGameInfoSync(d4f767463ce0a6b3).(int to_who = SP_ALLcxx . . $ `netgames/includes/DMFC.h:435:9`!); |
| 1700 | // DMFCBase::SetMaxPlayerHardLimit |
| 1701 | // |
| 1702 | // Sets a hard limit to the max number of players allowed in the game |
| 1703 | // changing the number of players can never go above this...defaults |
| 1704 | // to DLLMAX_PLAYERS |
| 1705 | void SetMaxPlayerHardLimitcxx . . $ DMFCBase#SetMaxPlayerHardLimit(d4f767463ce0a6b3).(int max); |
| 1706 | |
| 1707 | // CompareNetworkAddress |
| 1708 | // |
| 1709 | // Compare's two network addresses, returns true if they are the same, false if not. |
| 1710 | // use_port: if this is true, than it will consider the port part of the network address |
| 1711 | bool CompareNetworkAddresscxx . . $ DMFCBase#CompareNetworkAddress(3c6f311cdf2181f2).(network_addresscxx . . $ network_address# *one, network_addresscxx . . $ network_address# *two, bool use_port = true); |
| 1712 | |
| 1713 | // IsMasterTrackerGame |
| 1714 | // |
| 1715 | // returns true if this game is being played on the master tracker |
| 1716 | bool IsMasterTrackerGamecxx . . $ DMFCBase#IsMasterTrackerGame(c9857a73d68e59ba).(void); |
| 1717 | |
| 1718 | // ConvertLocalToServerObjnum |
| 1719 | // |
| 1720 | // Given an objnum, it will convert the number from your local objnum to the server's objnum |
| 1721 | // It will return -1 on error |
| 1722 | int ConvertLocalToServerObjnumcxx . . $ DMFCBase#ConvertLocalToServerObjnum(7864480464b09eea).(int objnum); |
| 1723 | |
| 1724 | // ConvertServerToLocalObjnum |
| 1725 | // |
| 1726 | // Given an objnum from the server, this function will convert the objnum to your local objnum |
| 1727 | // It will return -1 on error |
| 1728 | int ConvertServerToLocalObjnumcxx . . $ DMFCBase#ConvertServerToLocalObjnum(7864480464b09eea).(int objnum); |
| 1729 | |
| 1730 | // DMFCBase::ShouldIDisplayHUDName |
| 1731 | // |
| 1732 | // Given a player num, it will determine if the callsign should be drawn on the HUD |
| 1733 | bool ShouldIDisplayHUDNamecxx . . $ DMFCBase#ShouldIDisplayHUDName(83c267b20bac841a).(int pnum); |
| 1734 | |
| 1735 | // DMFCBase::SetDeathMessageFilter |
| 1736 | // |
| 1737 | // Sets the death message filter |
| 1738 | void SetDeathMessageFiltercxx . . $ DMFCBase#SetDeathMessageFilter(d4f767463ce0a6b3).(int level); |
| 1739 | |
| 1740 | // DMFCBase::IAmDedicatedServer |
| 1741 | // |
| 1742 | // Returns true if we are a dedicated server |
| 1743 | bool IAmDedicatedServercxx . . $ DMFCBase#IAmDedicatedServer(c9857a73d68e59ba).(void); |
| 1744 | |
| 1745 | // DMFCBase::IsPlayerDedicatedServer |
| 1746 | // |
| 1747 | // Returns true if the passed in pnum/playerrecord is a dedicated server |
| 1748 | bool IsPlayerDedicatedServercxx . . $ DMFCBase#IsPlayerDedicatedServer(83c267b20bac841a).(int pnum); |
| 1749 | bool IsPlayerDedicatedServercxx . . $ DMFCBase#IsPlayerDedicatedServer(6a9c0d4ad435bebf).(player_recordcxx . . $ player_record# *pr); |
| 1750 | |
| 1751 | // Displays dedicated server help |
| 1752 | void DisplayInputCommandHelpcxx . . $ DMFCBase#DisplayInputCommandHelp(85c52e162fed56f9).(const char *s); |
| 1753 | |
| 1754 | // DMFCBase::GetPlayerTeam |
| 1755 | // |
| 1756 | // Returns the team of the player...call this instead of accessing .team directly |
| 1757 | int GetPlayerTeamcxx . . $ DMFCBase#GetPlayerTeam(7864480464b09eea).(int pnum); |
| 1758 | |
| 1759 | // DMFCBase::GetConnectingPlayerTeam |
| 1760 | // |
| 1761 | // Returns the team of a player just connecting, this is to be set by the |
| 1762 | // game and is DMFC assumes that all players have the correct team on join |
| 1763 | int GetConnectingPlayerTeamcxx . . $ DMFCBase#GetConnectingPlayerTeam(7864480464b09eea).(int slot); |
| 1764 | |
| 1765 | // DMFCBase::SetTeamName |
| 1766 | // |
| 1767 | // Sets the team name for a given team |
| 1768 | // team: integer value of the team to change |
| 1769 | // name: new name for the team |
| 1770 | // announce: if this is true, and we are the server, it will tell all the clients about the change |
| 1771 | bool SetTeamNamecxx . . $ DMFCBase#SetTeamName(dc3004c27659fe3).(int team, const char *name, bool announce); |
| 1772 | |
| 1773 | // DMFCBase::ConvertHUDCoord |
| 1774 | // |
| 1775 | // Given an x,y based on a virtual 640x480 screen, this will convert it to the x,y that should be |
| 1776 | // used based on the current screen size |
| 1777 | void ConvertHUDCoordcxx . . $ DMFCBase#ConvertHUDCoord(d9d96f10f2d1e5b).(int x, int y, int *rx, int *ry); |
| 1778 | |
| 1779 | // DMFCBase::GetPlayerLogoBmp |
| 1780 | // |
| 1781 | // Given a player_num, it will return a bitmap handle to that player's ship logo, or |
| 1782 | // -1 if they don't have a logo for their ship. |
| 1783 | // if is_vclip comes back as true, than it is not a bitmap handle, but a handle |
| 1784 | // to a vclip (animated bitmap). It is an index into the DLLGameVClips[]. |
| 1785 | int GetPlayerLogoBmpcxx . . $ DMFCBase#GetPlayerLogoBmp(87ec94c72a760af5).(int player_num, bool *is_vclip); |
| 1786 | |
| 1787 | // DMFCBase::EnableShipLogos |
| 1788 | // |
| 1789 | // Disables or enables logo displaying for the client |
| 1790 | void EnableShipLogoscxx . . $ DMFCBase#EnableShipLogos(b45ddcbc8423892c).(bool enable); |
| 1791 | |
| 1792 | // DMFCBase::AreLogosEnabled |
| 1793 | // |
| 1794 | // returns true if ship logos are enabled |
| 1795 | bool AreLogosEnabledcxx . . $ DMFCBase#AreLogosEnabled(c9857a73d68e59ba).(void); |
| 1796 | |
| 1797 | // DMFCBase::EnableAudioTaunts |
| 1798 | // |
| 1799 | // Disables or enables audio taunts |
| 1800 | void EnableAudioTauntscxx . . $ DMFCBase#EnableAudioTaunts(b45ddcbc8423892c).(bool enable); |
| 1801 | |
| 1802 | // DMFCBase::AreTauntsEnabled(void) |
| 1803 | // |
| 1804 | // returns true if audio taunts are enabled |
| 1805 | bool AreTauntsEnabledcxx . . $ DMFCBase#AreTauntsEnabled(c9857a73d68e59ba).(void); |
| 1806 | |
| 1807 | // DMFCBase::EnableTimelimitCountdown |
| 1808 | // |
| 1809 | // Enables/Disables the timelimit countdown (if there is a level time limit) |
| 1810 | // Optionally you can specify what time to start the count down. |
| 1811 | void EnableTimelimitCountdowncxx . . $ DMFCBase#EnableTimelimitCountdown(b994e01f1c45a386).(bool enable, int seconds = 10); |
| 1812 | |
| 1813 | // DMFCBase::RespawnPlayer |
| 1814 | // |
| 1815 | // Takes the given player and respawns his at a random start point (in a team game, team respawn |
| 1816 | // points are taken into consideration, so make sure the player is on the correct team before you |
| 1817 | // respawn him. spew_everything, if false, will override spew_energy_and_shields |
| 1818 | void RespawnPlayercxx . . $ DMFCBase#RespawnPlayer(d06ec138c316ab3d).(int pnum, bool spew_energy_and_shield, bool spew_everything); |
| 1819 | |
| 1820 | // If you are going to create submenus you MUST use this function. along with: |
| 1821 | // void SetState(int state); |
| 1822 | // bool SetStateItemList(int count, ... ); for MIT_STATE items |
| 1823 | MenuItemcxx . . $ MenuItem# *CreateMenuItemcxx . . $ DMFCBase#CreateMenuItem(c2d9b916734a716c).(const char *title, char type, uint8_tcxx . . $ uint8_t# flags, void (*fp)(int), ...); |
| 1824 | |
| 1825 | // DMFCBase::ReadInHostsAllowDeny |
| 1826 | // |
| 1827 | // Reads in the hosts.allow and hosts.deny files (if available) |
| 1828 | void ReadInHostsAllowDenycxx . . $ DMFCBase#ReadInHostsAllowDeny(49f6e7a06ebc5aa8).(void); |
| 1829 | |
| 1830 | // DMFCBase::FreeHostsLists |
| 1831 | // |
| 1832 | // Frees all the memory allocated for the host allow/deny lists |
| 1833 | void FreeHostsListscxx . . $ DMFCBase#FreeHostsLists(49f6e7a06ebc5aa8).(void); |
| 1834 | |
| 1835 | // DMFCBase::RehashAllowDeny |
| 1836 | // |
| 1837 | // Flushes and reloads the hosts.allow/.deny lists |
| 1838 | void RehashAllowDenycxx . . $ DMFCBase#RehashAllowDeny(49f6e7a06ebc5aa8).(void); |
| 1839 | |
| 1840 | // DMFCBase::AnnounceTeamChangeDeny |
| 1841 | // |
| 1842 | // Tells a player that team change request was denied |
| 1843 | void AnnounceTeamChangeDenycxx . . $ DMFCBase#AnnounceTeamChangeDeny(d4f767463ce0a6b3).(int pnum); |
| 1844 | |
| 1845 | // DMFCBase::EnableLossGuage |
| 1846 | // |
| 1847 | // Turns on/off the Loss guage on the screen |
| 1848 | void EnableLossGuagecxx . . $ DMFCBase#EnableLossGuage(b45ddcbc8423892c).(bool enable); |
| 1849 | |
| 1850 | // DMFCBase::WasPlayerInGameAtLevelEnd |
| 1851 | // |
| 1852 | // Given a player record it returns the pnum of the player at that slot |
| 1853 | // IF (and only if) the player was in the game at level end, else it |
| 1854 | // returns -1. |
| 1855 | int WasPlayerInGameAtLevelEndcxx . . $ DMFCBase#WasPlayerInGameAtLevelEnd(7864480464b09eea).(int prec); |
| 1856 | |
| 1857 | // DMFCBase::SelectNextCameraView |
| 1858 | // |
| 1859 | // This function, given which window (corresponds to left, middle, right), switches the |
| 1860 | // current view of the small camera windows on the screen |
| 1861 | void SelectNextCameraViewcxx . . $ DMFCBase#SelectNextCameraView(d4f767463ce0a6b3).(int window); |
| 1862 | |
| 1863 | // DMFCBase::ResetPlayersInGame |
| 1864 | // |
| 1865 | // Resets the Players-in-game list |
| 1866 | void ResetPlayersInGamecxx . . $ DMFCBase#ResetPlayersInGame(49f6e7a06ebc5aa8).(void); |
| 1867 | |
| 1868 | // DMFCBase::MarkPlayersInGame |
| 1869 | // |
| 1870 | // Goes through all the player records and marks those that are in the game |
| 1871 | // This is needed because at level end, all clients disconnect, so we lose |
| 1872 | // that information. |
| 1873 | void MarkPlayersInGamecxx . . $ DMFCBase#MarkPlayersInGame(49f6e7a06ebc5aa8).(void); |
| 1874 | |
| 1875 | // DMFCBase::InputCommandHandle |
| 1876 | // |
| 1877 | // Goes through the list of input commands and calls the associated handle (if it exists). Returns |
| 1878 | // true if it called a handler, else false. |
| 1879 | bool InputCommandHandlecxx . . $ DMFCBase#InputCommandHandle(c6b7e35ff6de5671).(char *command_string); |
| 1880 | |
| 1881 | // DMFCBase::PauseRealGameTime |
| 1882 | // |
| 1883 | // Pauses/unpauses the realgame time |
| 1884 | void PauseRealGameTimecxx . . $ DMFCBase#PauseRealGameTime(b45ddcbc8423892c).(bool enable); |
| 1885 | |
| 1886 | // DMFCBase::MakeClientsWait |
| 1887 | // |
| 1888 | // If passed true than all joining clients are forced to wait until they are given the signal to |
| 1889 | // join, either through SignalClientStart() or by passing false to MakeClientsWait |
| 1890 | void MakeClientsWaitcxx . . $ DMFCBase#MakeClientsWait(b45ddcbc8423892c).(bool wait); |
| 1891 | |
| 1892 | // DMFCBase::SetDedicatedWait |
| 1893 | // |
| 1894 | // Sets the level wait time for the dedicated server. A dedicated server will make all |
| 1895 | // clients wait until this time (in seconds) is up each level. |
| 1896 | void SetDedicatedWaitcxx . . $ DMFCBase#SetDedicatedWait(9364e6e7bff7660).(float time_secs); |
| 1897 | |
| 1898 | // DMFCBase::TranslateTextMacro |
| 1899 | // |
| 1900 | // Given a macro with tokens, this function will replace the tokens |
| 1901 | // and create a new string for display. |
| 1902 | // All tokens begin with $$ (i.e. $$TEAMBASE) |
| 1903 | void TranslateTextMacrocxx . . $ DMFCBase#TranslateTextMacro(a1cf99d6bd92bbc4).(const char *src, char *destination, int dest_size); |
| 1904 | |
| 1905 | dllinfocxx . . $ dllinfo# *GetDLLInfoCallDatacxx . . $ DMFCBase#GetDLLInfoCallData(4458c5bdce97a5c3).(void); |
| 1906 | int GetHighestRoomIndexcxx . . $ DMFCBase#GetHighestRoomIndex(b126dc7c1de90089).(void); |
| 1907 | int GetGameWindowWcxx . . $ DMFCBase#GetGameWindowW(b126dc7c1de90089).(void); |
| 1908 | int GetGameWindowHcxx . . $ DMFCBase#GetGameWindowH(b126dc7c1de90089).(void); |
| 1909 | int GetGameWindowXcxx . . $ DMFCBase#GetGameWindowX(b126dc7c1de90089).(void); |
| 1910 | int GetGameWindowYcxx . . $ DMFCBase#GetGameWindowY(b126dc7c1de90089).(void); |
| 1911 | int *GetGameFontTranslateArraycxx . . $ DMFCBase#GetGameFontTranslateArray(a7741f82f5fc3640).(void); |
| 1912 | int GetObserverModeBitmapcxx . . $ DMFCBase#GetObserverModeBitmap(b126dc7c1de90089).(void); |
| 1913 | float GetFrametimecxx . . $ DMFCBase#GetFrametime(9b8c9e39889c762c).(void); |
| 1914 | float GetGametimecxx . . $ DMFCBase#GetGametime(9b8c9e39889c762c).(void); |
| 1915 | float GetRealGametimecxx . . $ DMFCBase#GetRealGametime(a493af64c7bc6d09).(bool *ispaused = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!); |
| 1916 | float *GetShieldDeltaArraycxx . . $ DMFCBase#GetShieldDeltaArray(a3aba87f01dec7c2).(void); |
| 1917 | float GetHudAspectXcxx . . $ DMFCBase#GetHudAspectX(9b8c9e39889c762c).(void); |
| 1918 | float GetHudAspectYcxx . . $ DMFCBase#GetHudAspectY(9b8c9e39889c762c).(void); |
| 1919 | const char *GetLocalD3Dircxx . . $ DMFCBase#GetLocalD3Dir(33a1f659e94feb42).(void); |
| 1920 | const tMissioncxx . . $ tMission# *GetCurrentMissioncxx . . $ DMFCBase#GetCurrentMission(d7a4f7ca6f9cb411).(void); |
| 1921 | roomcxx . . $ room# *GetRoomscxx . . $ DMFCBase#GetRooms(80f895f1fc5a89de).(void); |
| 1922 | objectcxx . . $ object# *GetObjectscxx . . $ DMFCBase#GetObjects(26f25deff401d7e4).(void); |
| 1923 | terrain_segmentcxx . . $ terrain_segment# *GetTerrainSegscxx . . $ DMFCBase#GetTerrainSegs(a12f615691f159d5).(void); |
| 1924 | netgame_infocxx . . $ netgame_info# *GetNetgameInfocxx . . $ DMFCBase#GetNetgameInfo(242e78cd5130aa12).(void); |
| 1925 | playercxx . . $ player# *GetPlayerscxx . . $ DMFCBase#GetPlayers(51ff8e716a252304).(void); |
| 1926 | netplayercxx . . $ netplayer# *GetNetPlayerscxx . . $ DMFCBase#GetNetPlayers(d09959b2d64446dd).(void); |
| 1927 | shipcxx . . $ ship# *GetShipscxx . . $ DMFCBase#GetShips(2cf117cef444fd19).(void); |
| 1928 | weaponcxx . . $ weapon# *GetWeaponscxx . . $ DMFCBase#GetWeapons(9275e64180ea11c0).(void); |
| 1929 | texturecxx . . $ texture# *GetGameTexturescxx . . $ DMFCBase#GetGameTextures(204733a467239a0f).(void); |
| 1930 | vclipcxx . . $ vclip# *GetGameVClipscxx . . $ DMFCBase#GetGameVClips(cfd7d5be6fb491e1).(void); |
| 1931 | ddgr_colorcxx . . $ ddgr_color# *GetPlayerColorscxx . . $ DMFCBase#GetPlayerColors(ac695d451f96e4aa).(void); |
| 1932 | poly_modelcxx . . $ poly_model# *GetGamePolyModelscxx . . $ DMFCBase#GetGamePolyModels(4cb3338b82435ee4).(void); |
| 1933 | game_controlscxx . . $ game_controls# GetLastGameControlscxx . . $ DMFCBase#GetLastGameControls(edc1f1d10c57b232).(void); |
| 1934 | int *GetPilotPicBitmapHandlescxx . . $ DMFCBase#GetPilotPicBitmapHandles(a7741f82f5fc3640).(void); |
| 1935 | void GetViewerObjectPtrcxx . . $ DMFCBase#GetViewerObjectPtr(9d86e21909d749d5).(objectcxx . . $ object# **v_obj); |
| 1936 | void SetViewerObjectPtrcxx . . $ DMFCBase#SetViewerObjectPtr(419c470199a90a97).(objectcxx . . $ object# *v_obj); |
| 1937 | float GetRenderZoomcxx . . $ DMFCBase#GetRenderZoom(9b8c9e39889c762c).(void); |
| 1938 | IMenuItemcxx . . $ IMenuItem# *GetOnScreenMenucxx . . $ DMFCBase#GetOnScreenMenu(8efbf9c7cdf9c614).(void); |
| 1939 | tOSIRISModuleInitcxx . . $ tOSIRISModuleInit# *GetOsirisModuleDatacxx . . $ DMFCBase#GetOsirisModuleData(f70108f55cb05e1f).(void); |
| 1940 | vis_effectcxx . . $ vis_effect# *GetVisEffectArraycxx . . $ DMFCBase#GetVisEffectArray(cbc3a0d74bd34739).(int **Highest_viseffect_index_ptr = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!); |
| 1941 | level_infocxx . . $ level_info# *GetLevelInfocxx . . $ DMFCBase#GetLevelInfo(9783071b1a9aeb74).(void); |
| 1942 | char *GetGameArgcxx . . $ DMFCBase#GetGameArg(ff224f080444ee45).(int index); |
| 1943 | int GetCameraViewTypecxx . . $ DMFCBase#GetCameraViewType(7864480464b09eea).(int window); |
| 1944 | object_infocxx . . $ object_info# *GetObjectInfocxx . . $ DMFCBase#GetObjectInfo(7edd0c317fb06c23).(int objinfoid); |
| 1945 | |
| 1946 | public: |
| 1947 | void Deletecxx . . $ DMFCBase#Delete(49f6e7a06ebc5aa8).(void); |
| 1948 | void *Dynamic_Castcxx . . $ DMFCBase#Dynamic_Cast(42228c1987407501).(const char *pszType); |
| 1949 | void DuplicatePointercxx . . $ DMFCBase#DuplicatePointer(49f6e7a06ebc5aa8).(void); |
| 1950 | void DestroyPointercxx . . $ DMFCBase#DestroyPointer(49f6e7a06ebc5aa8).(void); |
| 1951 | |
| 1952 | public: |
| 1953 | dllinfocxx . . $ dllinfo# *Datacxx . . $ DMFCBase#Data.; // Current event's data |
| 1954 | int *Player_numcxx . . $ DMFCBase#Player_num.; // Your player num |
| 1955 | int *Highest_room_indexcxx . . $ DMFCBase#Highest_room_index.; // the highest room index (for room number validation) |
| 1956 | int *Game_window_wcxx . . $ DMFCBase#Game_window_w.; // visible screen width |
| 1957 | int *Game_window_hcxx . . $ DMFCBase#Game_window_h.; // visible screen height |
| 1958 | int *Game_window_xcxx . . $ DMFCBase#Game_window_x.; // visible screen top-left x |
| 1959 | int *Game_window_ycxx . . $ DMFCBase#Game_window_y.; // visible screen top-left y |
| 1960 | int *Game_fontscxx . . $ DMFCBase#Game_fonts.; // array of fonts |
| 1961 | int hBitmapObservercxx . . $ DMFCBase#hBitmapObserver.; // Bitmap handle for the 'in observer mode' icon |
| 1962 | float *Frametimecxx . . $ DMFCBase#Frametime.; // how long it took the last frame to display |
| 1963 | float *Gametimecxx . . $ DMFCBase#Gametime.; // how long the game has been running |
| 1964 | float *ShieldDeltacxx . . $ DMFCBase#ShieldDelta.; // array of player's...server update's their shields based on this array |
| 1965 | float *Hud_aspect_xcxx . . $ DMFCBase#Hud_aspect_x., *Hud_aspect_ycxx . . $ DMFCBase#Hud_aspect_y.; |
| 1966 | char *LocalD3Dircxx . . $ DMFCBase#LocalD3Dir.; // Path to the root of the Descent3 installation directory |
| 1967 | tMissioncxx . . $ tMission# *Current_missioncxx . . $ DMFCBase#Current_mission.; // the current mission |
| 1968 | game_apicxx . . $ game_api# APIcxx . . $ DMFCBase#API.; |
| 1969 | roomcxx . . $ room# *Roomscxx . . $ DMFCBase#Rooms.; // rooms array |
| 1970 | objectcxx . . $ object# *Objectscxx . . $ DMFCBase#Objects.; // objects array |
| 1971 | terrain_segmentcxx . . $ terrain_segment# *Terrain_segcxx . . $ DMFCBase#Terrain_seg.; // Terrain segment array |
| 1972 | netgame_infocxx . . $ netgame_info# *Netgamecxx . . $ DMFCBase#Netgame.; // Netgame info |
| 1973 | playercxx . . $ player# *Playerscxx . . $ DMFCBase#Players.; // Player's array |
| 1974 | netplayercxx . . $ netplayer# *NetPlayerscxx . . $ DMFCBase#NetPlayers.; // NetPlayer's array |
| 1975 | shipcxx . . $ ship# *Shipscxx . . $ DMFCBase#Ships.; // Ship's array |
| 1976 | weaponcxx . . $ weapon# *Weaponscxx . . $ DMFCBase#Weapons.; // Weapon's array |
| 1977 | texturecxx . . $ texture# *GameTexturescxx . . $ DMFCBase#GameTextures.; // Texture's array |
| 1978 | vclipcxx . . $ vclip# *GameVClipscxx . . $ DMFCBase#GameVClips.; // VClip array |
| 1979 | ddgr_colorcxx . . $ ddgr_color# *Player_colorscxx . . $ DMFCBase#Player_colors.; |
| 1980 | poly_modelcxx . . $ poly_model# *Poly_modelscxx . . $ DMFCBase#Poly_models.; // polymodel array |
| 1981 | game_controlscxx . . $ game_controls# Last_game_controlscxx . . $ DMFCBase#Last_game_controls.; // The last frame's set of control data |
| 1982 | int PilotPicBmpHandlescxx . . $ DMFCBase#PilotPicBmpHandles.[DLLMAX_PLAYERScxx . . $ `netgames/includes/DMFC.h:425:9`!]; |
| 1983 | MenuItemcxx . . $ MenuItem# Menucxx . . $ DMFCBase#Menu.; |
| 1984 | objectcxx . . $ object# **Viewer_objectcxx . . $ DMFCBase#Viewer_object.; // object the player's view is from |
| 1985 | float *Render_zoomcxx . . $ DMFCBase#Render_zoom.; |
| 1986 | vis_effectcxx . . $ vis_effect# *VisEffectscxx . . $ DMFCBase#VisEffects.; |
| 1987 | int *Highest_vis_effect_indexcxx . . $ DMFCBase#Highest_vis_effect_index.; |
| 1988 | int *Multi_next_levelcxx . . $ DMFCBase#Multi_next_level.; |
| 1989 | level_infocxx . . $ level_info# *Level_infocxx . . $ DMFCBase#Level_info.; |
| 1990 | void *GameArgscxx . . $ DMFCBase#GameArgs.; |
| 1991 | object_infocxx . . $ object_info# *Object_infocxx . . $ DMFCBase#Object_info.; |
| 1992 | |
| 1993 | int Hard_max_playerscxx . . $ DMFCBase#Hard_max_players.; |
| 1994 | |
| 1995 | protected: |
| 1996 | void SetPlayerInfocxx . . $ DMFCBase#SetPlayerInfo(d4f767463ce0a6b3).(int pnum); |
| 1997 | void SendVersionToClientcxx . . $ DMFCBase#SendVersionToClient(d4f767463ce0a6b3).(int pnum); |
| 1998 | void GetDMFCVersionCheckcxx . . $ DMFCBase#GetDMFCVersionCheck(f25546b61a629de7).(uint8_tcxx . . $ uint8_t# *data); |
| 1999 | bool DMFC_compare_slotscxx . . $ DMFCBase#DMFC_compare_slots(cf9ef193275fa6d8).(int a, int b); |
| 2000 | bool DMFC_compare_slots_efficiencycxx . . $ DMFCBase#DMFC_compare_slots_efficiency(cf9ef193275fa6d8).(int a, int b); |
| 2001 | |
| 2002 | // DMFCBase::InputCommandFree |
| 2003 | // |
| 2004 | // Frees up all memory allocated for the input commands ($ messages) |
| 2005 | void InputCommandFreecxx . . $ DMFCBase#InputCommandFree(49f6e7a06ebc5aa8).(void); |
| 2006 | // DMFCBase::InputCommandInit |
| 2007 | // |
| 2008 | // Initializes the variables and data for the input commands. Default DMFC commands are to |
| 2009 | // be placed in here. |
| 2010 | void InputCommandInitcxx . . $ DMFCBase#InputCommandInit(49f6e7a06ebc5aa8).(void); |
| 2011 | // DMFCBase::GetStatisticalDeathMessage |
| 2012 | // |
| 2013 | // Generates a statistical death message about the deaths |
| 2014 | void GetStatisticalDeathMessagecxx . . $ DMFCBase#GetStatisticalDeathMessage(3e454b8ccf442868).(int knum, int vnum); |
| 2015 | // DMFCBase::GetStatisticalSuicideMessage |
| 2016 | // |
| 2017 | // Generates a statistical suicide message about the suicide |
| 2018 | char *GetStatisticalSuicideMessagecxx . . $ DMFCBase#GetStatisticalSuicideMessage(ff224f080444ee45).(int pnum); |
| 2019 | |
| 2020 | // DMFCBase::DoDMFCUITeamPlacement |
| 2021 | // |
| 2022 | // Displays the dialog for doing team placement in DMFC |
| 2023 | void DoDMFCUITeamPlacementcxx . . $ DMFCBase#DoDMFCUITeamPlacement(b0b38cda41d4ede4).(bool make_clients_wait, bool called_by_level_start = true); |
| 2024 | |
| 2025 | // DMFCBase::DoDMFCUIWaitForPlayers |
| 2026 | // |
| 2027 | // Displays the dialog for in the beginning of the level, waiting for all the players |
| 2028 | void DoDMFCUIWaitForPlayerscxx . . $ DMFCBase#DoDMFCUIWaitForPlayers(b45ddcbc8423892c).(bool clients_wait); |
| 2029 | |
| 2030 | // DMFCBase::SignalClientStart |
| 2031 | // |
| 2032 | // Given a player num, it tells the client that they can start moving and playing |
| 2033 | void SignalClientStartcxx . . $ DMFCBase#SignalClientStart(d4f767463ce0a6b3).(int pnum); |
| 2034 | |
| 2035 | // DMFCBase::WaitForServer |
| 2036 | // |
| 2037 | // Call this to start waiting, until the server tells us to stop (by passing false as a parm) |
| 2038 | void WaitForServercxx . . $ DMFCBase#WaitForServer(b45ddcbc8423892c).(bool wait); |
| 2039 | |
| 2040 | // DMFCBase::WaitingForServerLoop |
| 2041 | // |
| 2042 | // Called per frame while waiting for the server to signal go |
| 2043 | void WaitingForServerLoopcxx . . $ DMFCBase#WaitingForServerLoop(49f6e7a06ebc5aa8).(void); |
| 2044 | |
| 2045 | // DMFCBase::DisplayTimelimitCountdown |
| 2046 | // |
| 2047 | // Displays (if needed) the time limit countdown |
| 2048 | void DisplayTimelimitCountdowncxx . . $ DMFCBase#DisplayTimelimitCountdown(49f6e7a06ebc5aa8).(void); |
| 2049 | |
| 2050 | int m_iProtectedFlagscxx . . $ DMFCBase#m_iProtectedFlags.; |
| 2051 | int m_iDeathMsgCountcxx . . $ DMFCBase#m_iDeathMsgCount.; |
| 2052 | int m_iSuicideMsgCountcxx . . $ DMFCBase#m_iSuicideMsgCount.; |
| 2053 | int m_iNumTeamscxx . . $ DMFCBase#m_iNumTeams.; // how many teams there are |
| 2054 | int m_iPlayerDisplayedcxx . . $ DMFCBase#m_iPlayerDisplayed.; // the pnum of the player's info being displayed (if above is true) |
| 2055 | int MenuBackgroundBMPcxx . . $ DMFCBase#MenuBackgroundBMP.; |
| 2056 | |
| 2057 | int *Game_interface_modecxx . . $ DMFCBase#Game_interface_mode.; |
| 2058 | tSPHandlercxx . . $ tSPHandler# *SPRootcxx . . $ DMFCBase#SPRoot.; // Root node of the Special packet handler list |
| 2059 | tBanItemcxx . . $ tBanItem# *m_BanListcxx . . $ DMFCBase#m_BanList.; // root node of ban addresses |
| 2060 | tInputCommandNodecxx . . $ tInputCommandNode# *m_InputCommandRootNodecxx . . $ DMFCBase#m_InputCommandRootNode.; // root node for input commands ($ messages) |
| 2061 | |
| 2062 | MenuItemcxx . . $ MenuItem# *TeamMenuItemcxx . . $ DMFCBase#TeamMenuItem.; |
| 2063 | MenuItemcxx . . $ MenuItem# *AutoBalanceItemcxx . . $ DMFCBase#AutoBalanceItem.; |
| 2064 | MenuItemcxx . . $ MenuItem# *AllowTeamChangeItemcxx . . $ DMFCBase#AllowTeamChangeItem.; |
| 2065 | MenuItemcxx . . $ MenuItem# *ObserverItemcxx . . $ DMFCBase#ObserverItem.; |
| 2066 | MenuItemcxx . . $ MenuItem# *HUDCallsignsItemcxx . . $ DMFCBase#HUDCallsignsItem.; |
| 2067 | MenuItemcxx . . $ MenuItem# *ServerHUDCallsignsItemcxx . . $ DMFCBase#ServerHUDCallsignsItem.; |
| 2068 | MenuItemcxx . . $ MenuItem# *StatisticMessagesItemcxx . . $ DMFCBase#StatisticMessagesItem.; |
| 2069 | MenuItemcxx . . $ MenuItem# *SaveStatsLevelEndItemcxx . . $ DMFCBase#SaveStatsLevelEndItem.; |
| 2070 | MenuItemcxx . . $ MenuItem# *SaveStatsDisconnectItemcxx . . $ DMFCBase#SaveStatsDisconnectItem.; |
| 2071 | MenuItemcxx . . $ MenuItem# *MenuBackgroundItemcxx . . $ DMFCBase#MenuBackgroundItem.; |
| 2072 | MenuItemcxx . . $ MenuItem# *NetGameInfoItemcxx . . $ DMFCBase#NetGameInfoItem.; |
| 2073 | MenuItemcxx . . $ MenuItem# *DeathMessageFilterItemcxx . . $ DMFCBase#DeathMessageFilterItem.; |
| 2074 | MenuItemcxx . . $ MenuItem# *ShipLogosItemcxx . . $ DMFCBase#ShipLogosItem.; |
| 2075 | MenuItemcxx . . $ MenuItem# *AudioTauntsItemcxx . . $ DMFCBase#AudioTauntsItem.; |
| 2076 | MenuItemcxx . . $ MenuItem# *HUDIndicatorItemcxx . . $ DMFCBase#HUDIndicatorItem.; |
| 2077 | |
| 2078 | tDMFCTimerInfocxx . . $ tDMFCTimerInfo# Timerscxx . . $ DMFCBase#Timers.[MAX_DMFC_TIMERScxx . . $ `netgames/includes/DMFC.h:522:9`!]; |
| 2079 | tWeaponKillMsgcxx . . $ tWeaponKillMsg# WeaponMessagescxx . . $ DMFCBase#WeaponMessages.[MAX_WEAPONScxx . . $ `Descent3/weapon.h:208:9`!]; |
| 2080 | int WeaponHashcxx . . $ DMFCBase#WeaponHash.[MAX_WEAPONScxx . . $ `Descent3/weapon.h:208:9`!]; |
| 2081 | tDeathMsgcxx . . $ tDeathMsg# DeathMsgscxx . . $ DMFCBase#DeathMsgs.[MAX_DEATH_MSGScxx . . $ `netgames/includes/DMFC.h:523:9`!]; |
| 2082 | tDeathMsgcxx . . $ tDeathMsg# SuicideMsgscxx . . $ DMFCBase#SuicideMsgs.[MAX_DEATH_MSGScxx . . $ `netgames/includes/DMFC.h:523:9`!]; |
| 2083 | char DMFC_team_namescxx . . $ DMFCBase#DMFC_team_names.[DLLMAX_TEAMScxx . . $ `netgames/includes/DMFC.h:426:9`!][MAX_TEAMNAME_LENcxx . . $ `netgames/includes/DMFC.h:443:9`!]; // strings that are the team names |
| 2084 | private: |
| 2085 | int m_cPtrscxx . . $ DMFCBase#m_cPtrs.; |
| 2086 | bool m_bMakeClientsWaitcxx . . $ DMFCBase#m_bMakeClientsWait.; |
| 2087 | bool m_bHasInitializedcxx . . $ DMFCBase#m_bHasInitialized.; |
| 2088 | bool m_bDisplayOutrageLogocxx . . $ DMFCBase#m_bDisplayOutrageLogo.; |
| 2089 | int *m_bTrackerGamecxx . . $ DMFCBase#m_bTrackerGame.; |
| 2090 | bool *Dedicated_servercxx . . $ DMFCBase#Dedicated_server.; |
| 2091 | uint8_tcxx . . $ uint8_t# m_iServerHUDCallsignLevelcxx . . $ DMFCBase#m_iServerHUDCallsignLevel.; |
| 2092 | uint8_tcxx . . $ uint8_t# m_iMyPreferredHUDCallsignLevelcxx . . $ DMFCBase#m_iMyPreferredHUDCallsignLevel.; // what the user selected for callsign level |
| 2093 | uint8_tcxx . . $ uint8_t# m_iMyCurrentHUDCallsignLevelcxx . . $ DMFCBase#m_iMyCurrentHUDCallsignLevel.; // might be lower than preferred level if limited by server |
| 2094 | uint8_tcxx . . $ uint8_t# m_iDeathMessageFiltercxx . . $ DMFCBase#m_iDeathMessageFilter.; |
| 2095 | int m_iNumBanPlayerscxx . . $ DMFCBase#m_iNumBanPlayers.; |
| 2096 | int m_iUIWindowIDcxx . . $ DMFCBase#m_iUIWindowID.; |
| 2097 | void *m_UIUserDatacxx . . $ DMFCBase#m_UIUserData.; |
| 2098 | uint16_tcxx . . $ uint16_t# *Local_object_listcxx . . $ DMFCBase#Local_object_list.; |
| 2099 | uint16_tcxx . . $ uint16_t# *Server_object_listcxx . . $ DMFCBase#Server_object_list.; |
| 2100 | tHostsNodecxx . . $ tHostsNode# *m_DenyListcxx . . $ DMFCBase#m_DenyList.; |
| 2101 | tHostsNodecxx . . $ tHostsNode# *m_AllowListcxx . . $ DMFCBase#m_AllowList.; |
| 2102 | bool LossGuageEnabledcxx . . $ DMFCBase#LossGuageEnabled.; |
| 2103 | bool DMFCInitcxx . . $ DMFCBase#DMFCInit.; |
| 2104 | bool DisplayTauntIndicatorcxx . . $ DMFCBase#DisplayTauntIndicator.; |
| 2105 | bool m_bDisplayTimelimitCountdowncxx . . $ DMFCBase#m_bDisplayTimelimitCountdown.; |
| 2106 | int TauntIndicatorPlayerNumcxx . . $ DMFCBase#TauntIndicatorPlayerNum.; |
| 2107 | int TauntIndicatorBMPcxx . . $ DMFCBase#TauntIndicatorBMP.; |
| 2108 | float TauntIndicatorStartTimecxx . . $ DMFCBase#TauntIndicatorStartTime.; |
| 2109 | float RealGametimecxx . . $ DMFCBase#RealGametime.; |
| 2110 | float DedicatedLevelWaitcxx . . $ DMFCBase#DedicatedLevelWait.; |
| 2111 | int m_iTimeLimitCountdowncxx . . $ DMFCBase#m_iTimeLimitCountdown.; |
| 2112 | int *Camera_view_modecxx . . $ DMFCBase#Camera_view_mode.; |
| 2113 | |
| 2114 | char DatabaseRegisteredNamecxx . . $ DMFCBase#DatabaseRegisteredName.[MAX_DBNAME_SIZEcxx . . $ `netgames/dmfc/dmfcinternal.h:277:9`!]; |
| 2115 | int16_t players_in_gamecxx . . $ DMFCBase#players_in_game.[MAX_PLAYER_RECORDScxx . . $ `netgames/includes/DMFC.h:526:9`!]; |
| 2116 | |
| 2117 | // DMFCBase::InitializeForLevel |
| 2118 | // |
| 2119 | // |
| 2120 | void InitializeForLevelcxx . . $ DMFCBase#InitializeForLevel(49f6e7a06ebc5aa8).(void); |
| 2121 | |
| 2122 | // DMFCBase::LoadSettings |
| 2123 | // |
| 2124 | // Loads the settings of DMFC from the registry and initializes those variables |
| 2125 | void LoadSettingscxx . . $ DMFCBase#LoadSettings(49f6e7a06ebc5aa8).(void); |
| 2126 | // DMFCBase::SaveSettings |
| 2127 | // |
| 2128 | // Saves out the settings of DMFC to the registry |
| 2129 | void SaveSettingscxx . . $ DMFCBase#SaveSettings(49f6e7a06ebc5aa8).(void); |
| 2130 | // DMFCBase::ReceiveNetGameInfoSync |
| 2131 | // |
| 2132 | // Receives a NetGame info sync packet from the server |
| 2133 | void ReceiveNetGameInfoSynccxx . . $ DMFCBase#ReceiveNetGameInfoSync(f25546b61a629de7).(uint8_tcxx . . $ uint8_t# *data); |
| 2134 | // DMFCBase::SendNewTeamName |
| 2135 | // |
| 2136 | // Tells the clients about a team's new name |
| 2137 | void SendNewTeamNamecxx . . $ DMFCBase#SendNewTeamName(d4f767463ce0a6b3).(int team); |
| 2138 | // DMFCBase::ReceiveNewTeamName |
| 2139 | // |
| 2140 | // The server is telling us about a new team name |
| 2141 | void ReceiveNewTeamNamecxx . . $ DMFCBase#ReceiveNewTeamName(f25546b61a629de7).(uint8_tcxx . . $ uint8_t# *data); |
| 2142 | |
| 2143 | // DMFCBase::ParseStartupScript |
| 2144 | // |
| 2145 | // |
| 2146 | // Loads up the startup script and sets variables accordingly |
| 2147 | void ParseStartupScriptcxx . . $ DMFCBase#ParseStartupScript(49f6e7a06ebc5aa8).(void); |
| 2148 | |
| 2149 | // DMFCBase::LossGuageFrame |
| 2150 | // |
| 2151 | // Processes the Loss guage for the frame |
| 2152 | void LossGuageFramecxx . . $ DMFCBase#LossGuageFrame(49f6e7a06ebc5aa8).(void); |
| 2153 | |
| 2154 | // DMFCBase::SetPlayerTauntIndicator |
| 2155 | // |
| 2156 | // Sets up a taunt indicator for display |
| 2157 | void SetPlayerTauntIndicatorcxx . . $ DMFCBase#SetPlayerTauntIndicator(d4f767463ce0a6b3).(int pnum); |
| 2158 | |
| 2159 | // DMFCBase::DisplayTauntIndicatorFrame |
| 2160 | // |
| 2161 | // Performs any needed actions to display taunt indicator |
| 2162 | void DisplayTauntIndicatorFramecxx . . $ DMFCBase#DisplayTauntIndicatorFrame(49f6e7a06ebc5aa8).(void); |
| 2163 | |
| 2164 | //--------------------------------------------------------------------------------- |
| 2165 | //--------------------------------------------------------------------------------- |
| 2166 | //--------------------------------------------------------------------------------- |
| 2167 | //------------------ VIRTUAL EVENT HANDLER FUNCTIONS ---------------------------- |
| 2168 | //--------------------------------------------------------------------------------- |
| 2169 | //--------------------------------------------------------------------------------- |
| 2170 | //--------------------------------------------------------------------------------- |
| 2171 | public: |
| 2172 | void Set_OnServerPlayerKilledcxx . . $ DMFCBase#Set_OnServerPlayerKilled(7da43329b4117518).(void (*callback)(objectcxx . . $ object# *killer_obj, int victim_pnum)); |
| 2173 | void Set_OnServerPlayerExplodedcxx . . $ DMFCBase#Set_OnServerPlayerExploded(94eb4457dc8d4d10).(void (*callback)(int player_num)); |
| 2174 | void Set_OnServerCollidecxx . . $ DMFCBase#Set_OnServerCollide(74ea2c9f51d3637e).(void (*callback)(objectcxx . . $ object# *me_obj, objectcxx . . $ object# *it_obj)); |
| 2175 | void Set_OnServerCollidecxx . . $ DMFCBase#Set_OnServerCollide(e28f4bc3414414f0).(void (*callback)(objectcxx . . $ object# *me_obj, objectcxx . . $ object# *it_obj, vectorcxx . . $ vector# *point, vectorcxx . . $ vector# *normal)); |
| 2176 | void Set_OnServerPlayerChangeSegmentcxx . . $ DMFCBase#Set_OnServerPlayerChangeSegment(d20c6d03e4c9e417).(void (*callback)(int player_num, int newseg, int oldseg)); |
| 2177 | void Set_OnServerObjectChangeSegmentcxx . . $ DMFCBase#Set_OnServerObjectChangeSegment(5769ea49e0370569).(void (*callback)(objectcxx . . $ object# *obj, int newseg, int oldseg)); |
| 2178 | void Set_OnServerPlayerEntersGamecxx . . $ DMFCBase#Set_OnServerPlayerEntersGame(94eb4457dc8d4d10).(void (*callback)(int player_num)); |
| 2179 | void Set_OnServerPlayerDisconnectcxx . . $ DMFCBase#Set_OnServerPlayerDisconnect(94eb4457dc8d4d10).(void (*callback)(int player_num)); |
| 2180 | void Set_OnServerGameCreatedcxx . . $ DMFCBase#Set_OnServerGameCreated(964b12a25712bdc3).(void (*callback)(void)); |
| 2181 | void Set_OnServerLevelChangecxx . . $ DMFCBase#Set_OnServerLevelChange(964b12a25712bdc3).(void (*callback)(void)); |
| 2182 | void Set_OnServerLevelStartcxx . . $ DMFCBase#Set_OnServerLevelStart(964b12a25712bdc3).(void (*callback)(void)); |
| 2183 | void Set_OnServerLevelEndcxx . . $ DMFCBase#Set_OnServerLevelEnd(964b12a25712bdc3).(void (*callback)(void)); |
| 2184 | void Set_OnServerObjectShieldsChangedcxx . . $ DMFCBase#Set_OnServerObjectShieldsChanged(b4782650c5a9a534).(void (*callback)(objectcxx . . $ object# *obj, float amount)); |
| 2185 | void Set_OnServerIsAddressBannedcxx . . $ DMFCBase#Set_OnServerIsAddressBanned(110dfde02382de56).(bool (*callback)(network_addresscxx . . $ network_address# *addr, const char *tracker_id)); |
| 2186 | void Set_OnServerWallCollidecxx . . $ DMFCBase#Set_OnServerWallCollide(a5bf35c739dcfdf9).(void (*callback)(objectcxx . . $ object# *obj, float hitspeed, int hitseg, int hitwall, vectorcxx . . $ vector# *hitpt, |
| 2187 | vectorcxx . . $ vector# *wall_normal, float hit_dot)); |
| 2188 | void Set_OnServerObjectKilledcxx . . $ DMFCBase#Set_OnServerObjectKilled(74ea2c9f51d3637e).(void (*callback)(objectcxx . . $ object# *obj, objectcxx . . $ object# *killer)); |
| 2189 | void Set_OnServerObjectDestroyedcxx . . $ DMFCBase#Set_OnServerObjectDestroyed(3a5d300df5b2aec2).(void (*callback)(objectcxx . . $ object# *obj)); |
| 2190 | void Set_OnClientPlayerKilledcxx . . $ DMFCBase#Set_OnClientPlayerKilled(7da43329b4117518).(void (*callback)(objectcxx . . $ object# *killer_obj, int victim_pnum)); |
| 2191 | void Set_OnClientPlayerExplodedcxx . . $ DMFCBase#Set_OnClientPlayerExploded(94eb4457dc8d4d10).(void (*callback)(int player_num)); |
| 2192 | void Set_OnClientCollidecxx . . $ DMFCBase#Set_OnClientCollide(74ea2c9f51d3637e).(void (*callback)(objectcxx . . $ object# *me_obj, objectcxx . . $ object# *it_obj)); |
| 2193 | void Set_OnClientCollidecxx . . $ DMFCBase#Set_OnClientCollide(e28f4bc3414414f0).(void (*callback)(objectcxx . . $ object# *me_obj, objectcxx . . $ object# *it_obj, vectorcxx . . $ vector# *point, vectorcxx . . $ vector# *normal)); |
| 2194 | void Set_OnClientPlayerChangeSegmentcxx . . $ DMFCBase#Set_OnClientPlayerChangeSegment(d20c6d03e4c9e417).(void (*callback)(int player_num, int newseg, int oldseg)); |
| 2195 | void Set_OnClientObjectChangeSegmentcxx . . $ DMFCBase#Set_OnClientObjectChangeSegment(5769ea49e0370569).(void (*callback)(objectcxx . . $ object# *obj, int newseg, int oldseg)); |
| 2196 | void Set_OnClientPlayerEntersGamecxx . . $ DMFCBase#Set_OnClientPlayerEntersGame(94eb4457dc8d4d10).(void (*callback)(int player_num)); |
| 2197 | void Set_OnClientPlayerDisconnectcxx . . $ DMFCBase#Set_OnClientPlayerDisconnect(94eb4457dc8d4d10).(void (*callback)(int player_num)); |
| 2198 | void Set_OnMeDisconnectFromServercxx . . $ DMFCBase#Set_OnMeDisconnectFromServer(964b12a25712bdc3).(void (*callback)(void)); |
| 2199 | void Set_OnClientGameCreatedcxx . . $ DMFCBase#Set_OnClientGameCreated(964b12a25712bdc3).(void (*callback)(void)); |
| 2200 | void Set_OnClientObjectShieldsChangedcxx . . $ DMFCBase#Set_OnClientObjectShieldsChanged(b4782650c5a9a534).(void (*callback)(objectcxx . . $ object# *obj, float amount)); |
| 2201 | void Set_OnWeaponFiredcxx . . $ DMFCBase#Set_OnWeaponFired(74ea2c9f51d3637e).(void (*callback)(objectcxx . . $ object# *weapon_obj, objectcxx . . $ object# *shooter)); |
| 2202 | void Set_OnClientLevelChangecxx . . $ DMFCBase#Set_OnClientLevelChange(964b12a25712bdc3).(void (*callback)(void)); |
| 2203 | void Set_OnClientLevelStartcxx . . $ DMFCBase#Set_OnClientLevelStart(964b12a25712bdc3).(void (*callback)(void)); |
| 2204 | void Set_OnClientLevelEndcxx . . $ DMFCBase#Set_OnClientLevelEnd(964b12a25712bdc3).(void (*callback)(void)); |
| 2205 | void Set_OnClientWallCollidecxx . . $ DMFCBase#Set_OnClientWallCollide(a5bf35c739dcfdf9).(void (*callback)(objectcxx . . $ object# *obj, float hitspeed, int hitseg, int hitwall, vectorcxx . . $ vector# *hitpt, |
| 2206 | vectorcxx . . $ vector# *wall_normal, float hit_dot)); |
| 2207 | void Set_OnClientObjectKilledcxx . . $ DMFCBase#Set_OnClientObjectKilled(74ea2c9f51d3637e).(void (*callback)(objectcxx . . $ object# *obj, objectcxx . . $ object# *killer)); |
| 2208 | void Set_OnClientObjectDestroyedcxx . . $ DMFCBase#Set_OnClientObjectDestroyed(3a5d300df5b2aec2).(void (*callback)(objectcxx . . $ object# *obj)); |
| 2209 | void Set_OnPlayerEntersObservercxx . . $ DMFCBase#Set_OnPlayerEntersObserver(44e0dd9f073bbf0e).(void (*callback)(int pnum, objectcxx . . $ object# *piggy)); |
| 2210 | void Set_OnPlayerExitsObservercxx . . $ DMFCBase#Set_OnPlayerExitsObserver(94eb4457dc8d4d10).(void (*callback)(int pnum)); |
| 2211 | void Set_OnCanChangeTeamcxx . . $ DMFCBase#Set_OnCanChangeTeam(6e1a2bea835f83b9).(bool (*callback)(int pnum, int newteam)); |
| 2212 | void Set_OnSpecialPacketcxx . . $ DMFCBase#Set_OnSpecialPacket(964b12a25712bdc3).(void (*callback)(void)); |
| 2213 | void Set_OnIntervalcxx . . $ DMFCBase#Set_OnInterval(964b12a25712bdc3).(void (*callback)(void)); |
| 2214 | void Set_OnHUDIntervalcxx . . $ DMFCBase#Set_OnHUDInterval(964b12a25712bdc3).(void (*callback)(void)); |
| 2215 | void Set_OnPLRIntervalcxx . . $ DMFCBase#Set_OnPLRInterval(964b12a25712bdc3).(void (*callback)(void)); |
| 2216 | void Set_OnPLRInitcxx . . $ DMFCBase#Set_OnPLRInit(964b12a25712bdc3).(void (*callback)(void)); |
| 2217 | void Set_OnKeypresscxx . . $ DMFCBase#Set_OnKeypress(94eb4457dc8d4d10).(void (*callback)(int key)); |
| 2218 | void Set_OnInputStringcxx . . $ DMFCBase#Set_OnInputString(9cb244eb65e956fd).(void (*callback)(char *input_string)); |
| 2219 | void Set_OnPlayerChangeTeamcxx . . $ DMFCBase#Set_OnPlayerChangeTeam(de68047fd69e86f6).(void (*callback)(int player_num, int newteam, bool announce, bool spew_everything)); |
| 2220 | void Set_OnGameStateRequestcxx . . $ DMFCBase#Set_OnGameStateRequest(94eb4457dc8d4d10).(void (*callback)(int pnum)); |
| 2221 | void Set_OnSaveStatsToFilecxx . . $ DMFCBase#Set_OnSaveStatsToFile(964b12a25712bdc3).(void (*callback)(void)); |
| 2222 | void Set_OnPlayerReconnectcxx . . $ DMFCBase#Set_OnPlayerReconnect(94eb4457dc8d4d10).(void (*callback)(int player_num)); |
| 2223 | void Set_OnPlayerConnectcxx . . $ DMFCBase#Set_OnPlayerConnect(94eb4457dc8d4d10).(void (*callback)(int player_num)); |
| 2224 | void Set_OnControlMessagecxx . . $ DMFCBase#Set_OnControlMessage(38191377d105579d).(void (*callback)(uint8_tcxx . . $ uint8_t# msg, int from_pnum)); |
| 2225 | void Set_OnAllowObserverChangecxx . . $ DMFCBase#Set_OnAllowObserverChange(4a19337041939ce6).(bool (*callback)(bool turnonobserver)); |
| 2226 | void Set_OnClientShowUIcxx . . $ DMFCBase#Set_OnClientShowUI(5275d8c1b1c0b8a7).(void (*callback)(int id, void *user_data)); |
| 2227 | void Set_OnPrintScorescxx . . $ DMFCBase#Set_OnPrintScores(94eb4457dc8d4d10).(void (*callback)(int level)); |
| 2228 | void Set_OnDisconnectSaveStatsToFilecxx . . $ DMFCBase#Set_OnDisconnectSaveStatsToFile(964b12a25712bdc3).(void (*callback)(void)); |
| 2229 | void Set_OnLevelEndSaveStatsToFilecxx . . $ DMFCBase#Set_OnLevelEndSaveStatsToFile(964b12a25712bdc3).(void (*callback)(void)); |
| 2230 | void Set_OnGetHudCallSignColorcxx . . $ DMFCBase#Set_OnGetHudCallSignColor(966d1486edfeede3).(ddgr_colorcxx . . $ ddgr_color# (*callback)(int playernum)); |
| 2231 | void Set_OnTeamChangeNamecxx . . $ DMFCBase#Set_OnTeamChangeName(7397e9d913dfbc99).(void (*callback)(int team, char *oldname, char *newname)); |
| 2232 | void Set_OnDoControlscxx . . $ DMFCBase#Set_OnDoControls(962ab24e182f0f40).(void (*callback)(game_controlscxx . . $ game_controls# *controls)); |
| 2233 | void Set_OnPlayAudioTauntcxx . . $ DMFCBase#Set_OnPlayAudioTaunt(94eb4457dc8d4d10).(void (*callback)(int pnum)); |
| 2234 | void Set_OnGetTokenStringcxx . . $ DMFCBase#Set_OnGetTokenString(723abb0b76eae20f).(void (*callback)(char *src, char *dest, int dest_size)); |
| 2235 | |
| 2236 | void CallOnServerPlayerKilledcxx . . $ DMFCBase#CallOnServerPlayerKilled(766a1b7183ffa4b4).(objectcxx . . $ object# *killer_obj, int victim_pnum); |
| 2237 | void CallOnServerPlayerExplodedcxx . . $ DMFCBase#CallOnServerPlayerExploded(d4f767463ce0a6b3).(int player_num); |
| 2238 | void CallOnServerCollidecxx . . $ DMFCBase#CallOnServerCollide(6273fa812ac58a8).(objectcxx . . $ object# *me_obj, objectcxx . . $ object# *it_obj); |
| 2239 | void CallOnServerCollidecxx . . $ DMFCBase#CallOnServerCollide(584c77d2760d8df8).(objectcxx . . $ object# *me_obj, objectcxx . . $ object# *it_obj, vectorcxx . . $ vector# *point, vectorcxx . . $ vector# *normal); |
| 2240 | void CallOnServerPlayerChangeSegmentcxx . . $ DMFCBase#CallOnServerPlayerChangeSegment(b1146eedae1e1d0b).(int player_num, int newseg, int oldseg); |
| 2241 | void CallOnServerObjectChangeSegmentcxx . . $ DMFCBase#CallOnServerObjectChangeSegment(a7790401ac9fc765).(objectcxx . . $ object# *obj, int newseg, int oldseg); |
| 2242 | void CallOnServerPlayerEntersGamecxx . . $ DMFCBase#CallOnServerPlayerEntersGame(d4f767463ce0a6b3).(int player_num); |
| 2243 | void CallOnServerPlayerDisconnectcxx . . $ DMFCBase#CallOnServerPlayerDisconnect(d4f767463ce0a6b3).(int player_num); |
| 2244 | void CallOnServerGameCreatedcxx . . $ DMFCBase#CallOnServerGameCreated(49f6e7a06ebc5aa8).(void); |
| 2245 | void CallOnServerLevelChangecxx . . $ DMFCBase#CallOnServerLevelChange(49f6e7a06ebc5aa8).(void); |
| 2246 | void CallOnServerLevelStartcxx . . $ DMFCBase#CallOnServerLevelStart(49f6e7a06ebc5aa8).(void); |
| 2247 | void CallOnServerLevelEndcxx . . $ DMFCBase#CallOnServerLevelEnd(49f6e7a06ebc5aa8).(void); |
| 2248 | void CallOnServerObjectShieldsChangedcxx . . $ DMFCBase#CallOnServerObjectShieldsChanged(4ebbd0c3cbf1b78a).(objectcxx . . $ object# *obj, float amount); |
| 2249 | bool CallOnServerIsAddressBannedcxx . . $ DMFCBase#CallOnServerIsAddressBanned(46e1c72e52d9c94a).(network_addresscxx . . $ network_address# *addr, const char *tracker_id); |
| 2250 | void CallOnServerWallCollidecxx . . $ DMFCBase#CallOnServerWallCollide(cd5bbf25e955f730).(objectcxx . . $ object# *obj, float hitspeed, int hitseg, int hitwall, vectorcxx . . $ vector# *hitpt, vectorcxx . . $ vector# *wall_normal, |
| 2251 | float hit_dot); |
| 2252 | void CallOnServerObjectKilledcxx . . $ DMFCBase#CallOnServerObjectKilled(6273fa812ac58a8).(objectcxx . . $ object# *obj, objectcxx . . $ object# *killer); |
| 2253 | void CallOnServerObjectDestroyedcxx . . $ DMFCBase#CallOnServerObjectDestroyed(419c470199a90a97).(objectcxx . . $ object# *obj); |
| 2254 | void CallOnClientPlayerKilledcxx . . $ DMFCBase#CallOnClientPlayerKilled(766a1b7183ffa4b4).(objectcxx . . $ object# *killer_obj, int victim_pnum); |
| 2255 | void CallOnClientPlayerExplodedcxx . . $ DMFCBase#CallOnClientPlayerExploded(d4f767463ce0a6b3).(int player_num); |
| 2256 | void CallOnClientCollidecxx . . $ DMFCBase#CallOnClientCollide(6273fa812ac58a8).(objectcxx . . $ object# *me_obj, objectcxx . . $ object# *it_obj); |
| 2257 | void CallOnClientCollidecxx . . $ DMFCBase#CallOnClientCollide(584c77d2760d8df8).(objectcxx . . $ object# *me_obj, objectcxx . . $ object# *it_obj, vectorcxx . . $ vector# *point, vectorcxx . . $ vector# *normal); |
| 2258 | void CallOnClientPlayerChangeSegmentcxx . . $ DMFCBase#CallOnClientPlayerChangeSegment(b1146eedae1e1d0b).(int player_num, int newseg, int oldseg); |
| 2259 | void CallOnClientObjectChangeSegmentcxx . . $ DMFCBase#CallOnClientObjectChangeSegment(a7790401ac9fc765).(objectcxx . . $ object# *obj, int newseg, int oldseg); |
| 2260 | void CallOnClientPlayerEntersGamecxx . . $ DMFCBase#CallOnClientPlayerEntersGame(d4f767463ce0a6b3).(int player_num); |
| 2261 | void CallOnClientPlayerDisconnectcxx . . $ DMFCBase#CallOnClientPlayerDisconnect(d4f767463ce0a6b3).(int player_num); |
| 2262 | void CallOnMeDisconnectFromServercxx . . $ DMFCBase#CallOnMeDisconnectFromServer(49f6e7a06ebc5aa8).(void); |
| 2263 | void CallOnClientGameCreatedcxx . . $ DMFCBase#CallOnClientGameCreated(49f6e7a06ebc5aa8).(void); |
| 2264 | void CallOnClientObjectShieldsChangedcxx . . $ DMFCBase#CallOnClientObjectShieldsChanged(4ebbd0c3cbf1b78a).(objectcxx . . $ object# *obj, float amount); |
| 2265 | void CallOnWeaponFiredcxx . . $ DMFCBase#CallOnWeaponFired(6273fa812ac58a8).(objectcxx . . $ object# *weapon_obj, objectcxx . . $ object# *shooter); |
| 2266 | void CallOnClientLevelChangecxx . . $ DMFCBase#CallOnClientLevelChange(49f6e7a06ebc5aa8).(void); |
| 2267 | void CallOnClientLevelStartcxx . . $ DMFCBase#CallOnClientLevelStart(49f6e7a06ebc5aa8).(void); |
| 2268 | void CallOnClientLevelEndcxx . . $ DMFCBase#CallOnClientLevelEnd(49f6e7a06ebc5aa8).(void); |
| 2269 | void CallOnClientWallCollidecxx . . $ DMFCBase#CallOnClientWallCollide(cd5bbf25e955f730).(objectcxx . . $ object# *obj, float hitspeed, int hitseg, int hitwall, vectorcxx . . $ vector# *hitpt, vectorcxx . . $ vector# *wall_normal, |
| 2270 | float hit_dot); |
| 2271 | void CallOnClientObjectKilledcxx . . $ DMFCBase#CallOnClientObjectKilled(6273fa812ac58a8).(objectcxx . . $ object# *obj, objectcxx . . $ object# *killer); |
| 2272 | void CallOnClientObjectDestroyedcxx . . $ DMFCBase#CallOnClientObjectDestroyed(419c470199a90a97).(objectcxx . . $ object# *obj); |
| 2273 | void CallOnPlayerEntersObservercxx . . $ DMFCBase#CallOnPlayerEntersObserver(14473714f2cc5bd2).(int pnum, objectcxx . . $ object# *piggy); |
| 2274 | void CallOnPlayerExitsObservercxx . . $ DMFCBase#CallOnPlayerExitsObserver(d4f767463ce0a6b3).(int pnum); |
| 2275 | bool CallOnCanChangeTeamcxx . . $ DMFCBase#CallOnCanChangeTeam(cf9ef193275fa6d8).(int pnum, int newteam); |
| 2276 | void CallOnSpecialPacketcxx . . $ DMFCBase#CallOnSpecialPacket(49f6e7a06ebc5aa8).(void); |
| 2277 | void CallOnIntervalcxx . . $ DMFCBase#CallOnInterval(49f6e7a06ebc5aa8).(void); |
| 2278 | void CallOnHUDIntervalcxx . . $ DMFCBase#CallOnHUDInterval(49f6e7a06ebc5aa8).(void); |
| 2279 | void CallOnPLRIntervalcxx . . $ DMFCBase#CallOnPLRInterval(49f6e7a06ebc5aa8).(void); |
| 2280 | void CallOnPLRInitcxx . . $ DMFCBase#CallOnPLRInit(49f6e7a06ebc5aa8).(void); |
| 2281 | void CallOnKeypresscxx . . $ DMFCBase#CallOnKeypress(d4f767463ce0a6b3).(int key); |
| 2282 | void CallOnInputStringcxx . . $ DMFCBase#CallOnInputString(fda57c8427c60377).(char *input_string); |
| 2283 | void CallOnPlayerChangeTeamcxx . . $ DMFCBase#CallOnPlayerChangeTeam(23bb497e4fbd6c85).(int player_num, int newteam, bool announce, bool spew_everything); |
| 2284 | void CallOnGameStateRequestcxx . . $ DMFCBase#CallOnGameStateRequest(d4f767463ce0a6b3).(int pnum); |
| 2285 | void CallOnSaveStatsToFilecxx . . $ DMFCBase#CallOnSaveStatsToFile(49f6e7a06ebc5aa8).(void); |
| 2286 | void CallOnPlayerReconnectcxx . . $ DMFCBase#CallOnPlayerReconnect(d4f767463ce0a6b3).(int player_num); |
| 2287 | void CallOnPlayerConnectcxx . . $ DMFCBase#CallOnPlayerConnect(d4f767463ce0a6b3).(int player_num); |
| 2288 | void CallOnControlMessagecxx . . $ DMFCBase#CallOnControlMessage(d5cb1b1d97598ec6).(uint8_tcxx . . $ uint8_t# msg, int from_pnum); |
| 2289 | bool CallOnAllowObserverChangecxx . . $ DMFCBase#CallOnAllowObserverChange(efaadfb7dc14930a).(bool turnonobserver); |
| 2290 | void CallOnClientShowUIcxx . . $ DMFCBase#CallOnClientShowUI(6ca3d68f5c5f0975).(int id, void *user_data); |
| 2291 | void CallOnPrintScorescxx . . $ DMFCBase#CallOnPrintScores(d4f767463ce0a6b3).(int level); |
| 2292 | void CallOnDisconnectSaveStatsToFilecxx . . $ DMFCBase#CallOnDisconnectSaveStatsToFile(49f6e7a06ebc5aa8).(void); |
| 2293 | void CallOnLevelEndSaveStatsToFilecxx . . $ DMFCBase#CallOnLevelEndSaveStatsToFile(49f6e7a06ebc5aa8).(void); |
| 2294 | ddgr_colorcxx . . $ ddgr_color# CallOnGetHudCallSignColorcxx . . $ DMFCBase#CallOnGetHudCallSignColor(46cc46841198e427).(int playernum); |
| 2295 | void CallOnTeamChangeNamecxx . . $ DMFCBase#CallOnTeamChangeName(5665db83c1ca01b7).(int team, char *oldname, char *newname); |
| 2296 | void CallOnDoControlscxx . . $ DMFCBase#CallOnDoControls(728771fc1cd83448).(game_controlscxx . . $ game_controls# *controls); |
| 2297 | void CallOnPlayAudioTauntcxx . . $ DMFCBase#CallOnPlayAudioTaunt(d4f767463ce0a6b3).(int pnum); |
| 2298 | void CallOnGetTokenStringcxx . . $ DMFCBase#CallOnGetTokenString(655c4eff246c5519).(char *src, char *dest, int dest_size); |
| 2299 | |
| 2300 | private: |
| 2301 | // DMFCBase::InitializeVirtualHandles |
| 2302 | // |
| 2303 | // Prepares the virtual handles |
| 2304 | void InitializeVirtualHandlescxx . . $ DMFCBase#InitializeVirtualHandles(49f6e7a06ebc5aa8).(void); |
| 2305 | |
| 2306 | void (*UserOnServerPlayerKilledcxx . . $ DMFCBase#UserOnServerPlayerKilled.)(objectcxx . . $ object# *killer_obj, int victim_pnum); |
| 2307 | void (*UserOnServerPlayerExplodedcxx . . $ DMFCBase#UserOnServerPlayerExploded.)(int player_num); |
| 2308 | void (*UserOnServerCollidecxx . . $ DMFCBase#UserOnServerCollide.)(objectcxx . . $ object# *me_obj, objectcxx . . $ object# *it_obj); |
| 2309 | void (*UserOnServerCollide2cxx . . $ DMFCBase#UserOnServerCollide2.)(objectcxx . . $ object# *me_obj, objectcxx . . $ object# *it_obj, vectorcxx . . $ vector# *point, vectorcxx . . $ vector# *normal); |
| 2310 | void (*UserOnServerPlayerChangeSegmentcxx . . $ DMFCBase#UserOnServerPlayerChangeSegment.)(int player_num, int newseg, int oldseg); |
| 2311 | void (*UserOnServerObjectChangeSegmentcxx . . $ DMFCBase#UserOnServerObjectChangeSegment.)(objectcxx . . $ object# *obj, int newseg, int oldseg); |
| 2312 | void (*UserOnServerPlayerEntersGamecxx . . $ DMFCBase#UserOnServerPlayerEntersGame.)(int player_num); |
| 2313 | void (*UserOnServerPlayerDisconnectcxx . . $ DMFCBase#UserOnServerPlayerDisconnect.)(int player_num); |
| 2314 | void (*UserOnServerGameCreatedcxx . . $ DMFCBase#UserOnServerGameCreated.)(void); |
| 2315 | void (*UserOnServerLevelChangecxx . . $ DMFCBase#UserOnServerLevelChange.)(void); |
| 2316 | void (*UserOnServerLevelStartcxx . . $ DMFCBase#UserOnServerLevelStart.)(void); |
| 2317 | void (*UserOnServerLevelEndcxx . . $ DMFCBase#UserOnServerLevelEnd.)(void); |
| 2318 | void (*UserOnServerObjectShieldsChangedcxx . . $ DMFCBase#UserOnServerObjectShieldsChanged.)(objectcxx . . $ object# *obj, float amount); |
| 2319 | bool (*UserOnServerIsAddressBannedcxx . . $ DMFCBase#UserOnServerIsAddressBanned.)(network_addresscxx . . $ network_address# *addr, const char *tracker_id); |
| 2320 | void (*UserOnServerWallCollidecxx . . $ DMFCBase#UserOnServerWallCollide.)(objectcxx . . $ object# *obj, float hitspeed, int hitseg, int hitwall, vectorcxx . . $ vector# *hitpt, |
| 2321 | vectorcxx . . $ vector# *wall_normal, float hit_dot); |
| 2322 | void (*UserOnServerObjectKilledcxx . . $ DMFCBase#UserOnServerObjectKilled.)(objectcxx . . $ object# *obj, objectcxx . . $ object# *killer); |
| 2323 | void (*UserOnServerObjectDestroyedcxx . . $ DMFCBase#UserOnServerObjectDestroyed.)(objectcxx . . $ object# *obj); |
| 2324 | void (*UserOnClientPlayerKilledcxx . . $ DMFCBase#UserOnClientPlayerKilled.)(objectcxx . . $ object# *killer_obj, int victim_pnum); |
| 2325 | void (*UserOnClientPlayerExplodedcxx . . $ DMFCBase#UserOnClientPlayerExploded.)(int player_num); |
| 2326 | void (*UserOnClientCollidecxx . . $ DMFCBase#UserOnClientCollide.)(objectcxx . . $ object# *me_obj, objectcxx . . $ object# *it_obj); |
| 2327 | void (*UserOnClientCollide2cxx . . $ DMFCBase#UserOnClientCollide2.)(objectcxx . . $ object# *me_obj, objectcxx . . $ object# *it_obj, vectorcxx . . $ vector# *point, vectorcxx . . $ vector# *normal); |
| 2328 | void (*UserOnClientPlayerChangeSegmentcxx . . $ DMFCBase#UserOnClientPlayerChangeSegment.)(int player_num, int newseg, int oldseg); |
| 2329 | void (*UserOnClientObjectChangeSegmentcxx . . $ DMFCBase#UserOnClientObjectChangeSegment.)(objectcxx . . $ object# *obj, int newseg, int oldseg); |
| 2330 | void (*UserOnClientPlayerEntersGamecxx . . $ DMFCBase#UserOnClientPlayerEntersGame.)(int player_num); |
| 2331 | void (*UserOnClientPlayerDisconnectcxx . . $ DMFCBase#UserOnClientPlayerDisconnect.)(int player_num); |
| 2332 | void (*UserOnMeDisconnectFromServercxx . . $ DMFCBase#UserOnMeDisconnectFromServer.)(void); |
| 2333 | void (*UserOnClientGameCreatedcxx . . $ DMFCBase#UserOnClientGameCreated.)(void); |
| 2334 | void (*UserOnClientObjectShieldsChangedcxx . . $ DMFCBase#UserOnClientObjectShieldsChanged.)(objectcxx . . $ object# *obj, float amount); |
| 2335 | void (*UserOnWeaponFiredcxx . . $ DMFCBase#UserOnWeaponFired.)(objectcxx . . $ object# *weapon_obj, objectcxx . . $ object# *shooter); |
| 2336 | void (*UserOnClientLevelChangecxx . . $ DMFCBase#UserOnClientLevelChange.)(void); |
| 2337 | void (*UserOnClientLevelStartcxx . . $ DMFCBase#UserOnClientLevelStart.)(void); |
| 2338 | void (*UserOnClientLevelEndcxx . . $ DMFCBase#UserOnClientLevelEnd.)(void); |
| 2339 | void (*UserOnClientWallCollidecxx . . $ DMFCBase#UserOnClientWallCollide.)(objectcxx . . $ object# *obj, float hitspeed, int hitseg, int hitwall, vectorcxx . . $ vector# *hitpt, |
| 2340 | vectorcxx . . $ vector# *wall_normal, float hit_dot); |
| 2341 | void (*UserOnClientObjectKilledcxx . . $ DMFCBase#UserOnClientObjectKilled.)(objectcxx . . $ object# *obj, objectcxx . . $ object# *killer); |
| 2342 | void (*UserOnClientObjectDestroyedcxx . . $ DMFCBase#UserOnClientObjectDestroyed.)(objectcxx . . $ object# *obj); |
| 2343 | void (*UserOnPlayerEntersObservercxx . . $ DMFCBase#UserOnPlayerEntersObserver.)(int pnum, objectcxx . . $ object# *piggy); |
| 2344 | void (*UserOnPlayerExitsObservercxx . . $ DMFCBase#UserOnPlayerExitsObserver.)(int pnum); |
| 2345 | bool (*UserOnCanChangeTeamcxx . . $ DMFCBase#UserOnCanChangeTeam.)(int pnum, int newteam); |
| 2346 | void (*UserOnSpecialPacketcxx . . $ DMFCBase#UserOnSpecialPacket.)(void); |
| 2347 | void (*UserOnIntervalcxx . . $ DMFCBase#UserOnInterval.)(void); |
| 2348 | void (*UserOnHUDIntervalcxx . . $ DMFCBase#UserOnHUDInterval.)(void); |
| 2349 | void (*UserOnPLRIntervalcxx . . $ DMFCBase#UserOnPLRInterval.)(void); |
| 2350 | void (*UserOnPLRInitcxx . . $ DMFCBase#UserOnPLRInit.)(void); |
| 2351 | void (*UserOnKeypresscxx . . $ DMFCBase#UserOnKeypress.)(int key); |
| 2352 | void (*UserOnInputStringcxx . . $ DMFCBase#UserOnInputString.)(char *input_string); |
| 2353 | void (*UserOnPlayerChangeTeamcxx . . $ DMFCBase#UserOnPlayerChangeTeam.)(int player_num, int newteam, bool announce, bool spew_everything); |
| 2354 | void (*UserOnGameStateRequestcxx . . $ DMFCBase#UserOnGameStateRequest.)(int pnum); |
| 2355 | void (*UserOnSaveStatsToFilecxx . . $ DMFCBase#UserOnSaveStatsToFile.)(void); |
| 2356 | void (*UserOnPlayerReconnectcxx . . $ DMFCBase#UserOnPlayerReconnect.)(int player_num); |
| 2357 | void (*UserOnPlayerConnectcxx . . $ DMFCBase#UserOnPlayerConnect.)(int player_num); |
| 2358 | void (*UserOnControlMessagecxx . . $ DMFCBase#UserOnControlMessage.)(uint8_tcxx . . $ uint8_t# msg, int from_pnum); |
| 2359 | bool (*UserOnAllowObserverChangecxx . . $ DMFCBase#UserOnAllowObserverChange.)(bool turnonobserver); |
| 2360 | void (*UserOnClientShowUIcxx . . $ DMFCBase#UserOnClientShowUI.)(int id, void *user_data); |
| 2361 | void (*UserOnPrintScorescxx . . $ DMFCBase#UserOnPrintScores.)(int level); |
| 2362 | void (*UserOnDisconnectSaveStatsToFilecxx . . $ DMFCBase#UserOnDisconnectSaveStatsToFile.)(void); |
| 2363 | void (*UserOnLevelEndSaveStatsToFilecxx . . $ DMFCBase#UserOnLevelEndSaveStatsToFile.)(void); |
| 2364 | ddgr_colorcxx . . $ ddgr_color# (*UserOnGetHudCallSignColorcxx . . $ DMFCBase#UserOnGetHudCallSignColor.)(int playernum); |
| 2365 | void (*UserOnTeamChangeNamecxx . . $ DMFCBase#UserOnTeamChangeName.)(int team, char *oldname, char *newname); |
| 2366 | void (*UserOnDoControlscxx . . $ DMFCBase#UserOnDoControls.)(game_controlscxx . . $ game_controls# *controls); |
| 2367 | void (*UserOnPlayAudioTauntcxx . . $ DMFCBase#UserOnPlayAudioTaunt.)(int pnum); |
| 2368 | void (*UserOnGetTokenStringcxx . . $ DMFCBase#UserOnGetTokenString.)(char *src, char *dest, int dest_size); |
| 2369 | }; |
| 2370 | |
| 2371 | #define ENABLE_FLAGScxx . . $ `netgames/dmfc/dmfcinternal.h:2371:9`!(f, i) (f |= (i)) |
| 2372 | #define DISABLE_FLAGScxx . . $ `netgames/dmfc/dmfcinternal.h:2372:9`!(f, i) (f &= ~(i)) |
| 2373 | |
| 2374 | #define DMFC_PRF_PLRFIRSTTIMEcxx . . $ `netgames/dmfc/dmfcinternal.h:2374:9`! 0x00000001 // This flag will be enabled if the Post Level Results has had one frame shown |
| 2375 | #define DMFC_PRF_AUTOTIMELIMITcxx . . $ `netgames/dmfc/dmfcinternal.h:2375:9`! 0x00000002 // Enabled: DMFC should handle ending a timed multiplayer game |
| 2376 | #define DMFC_PRF_AUTODEATHMSGcxx . . $ `netgames/dmfc/dmfcinternal.h:2376:9`! 0x00000004 // Enabled: DMFC should handle displaying death messages |
| 2377 | #define DMFC_PRF_AUTOTEAMSELECTcxx . . $ `netgames/dmfc/dmfcinternal.h:2377:9`! 0x00000008 // Enabled: DMFC should handle initial team assignments |
| 2378 | #define DMFC_PRF_DISPPLAYERINFOcxx . . $ `netgames/dmfc/dmfcinternal.h:2378:9`! 0x00000010 // Enabled: DMFC is currently displaying a player's info on the screen |
| 2379 | #define DMFC_PRF_DISPNETGAMEINFOcxx . . $ `netgames/dmfc/dmfcinternal.h:2379:9`! 0x00000020 // Enabled: DMFC is currently displaying net game info |
| 2380 | #define DMFC_PRF_DISPSTATHUDMSGScxx . . $ `netgames/dmfc/dmfcinternal.h:2380:9`! 0x00000040 // Enabled: DMFC should display random statistical messages |
| 2381 | #define DMFC_PRF_AUTOSAVELEVELENDcxx . . $ `netgames/dmfc/dmfcinternal.h:2381:9`! 0x00000080 // Enabled: DMFC should signal an auto-save when the level ends |
| 2382 | #define DMFC_PRF_AUTOSAVEDISCcxx . . $ `netgames/dmfc/dmfcinternal.h:2382:9`! 0x00000100 // Enabled: DMFC should signal an auto-save if the player gets disconnected |
| 2383 | #define DMFC_PRF_DISPMENUBACKGRcxx . . $ `netgames/dmfc/dmfcinternal.h:2383:9`! 0x00000200 // Enabled: DMFC should put a background on the On-Screen menu |
| 2384 | #define DMFC_PRF_INOPTIONScxx . . $ `netgames/dmfc/dmfcinternal.h:2384:9`! 0x00000400 // Enabled: DMFC is currently displayed the On-Screen menu |
| 2385 | #define DMFC_PRF_CANTEAMCHANGEcxx . . $ `netgames/dmfc/dmfcinternal.h:2385:9`! 0x00000800 // Enabled: The server is allowing client specified team changing |
| 2386 | #define DMFC_PRF_NOTEAMSELECTONSTARTcxx . . $ `netgames/dmfc/dmfcinternal.h:2386:9`! \ |
| 2387 | 0x00001000 // Enabled: DMFC should NOT display the Team Select dialog on startup of a team game level |
| 2388 | #define DMFC_PRF_SHIPLOGOSENABLEDcxx . . $ `netgames/dmfc/dmfcinternal.h:2388:9`! 0x00002000 // Enabled: Display ship logos |
| 2389 | #define DMFC_PRF_NOWAITFORPLAYERScxx . . $ `netgames/dmfc/dmfcinternal.h:2389:9`! \ |
| 2390 | 0x00004000 // Enabled: DMFC should NOT display the wait for players dialog on startup of a single player game |
| 2391 | #define DMFC_PRF_PAUSETIMEcxx . . $ `netgames/dmfc/dmfcinternal.h:2391:9`! 0x00008000 // Enabled: Real game time (used for endlevel) is not updated |
| 2392 | |
| 2393 | const char *DMFCGetStringcxx . . $ DMFCGetString(f7ae7e56280f18ae).(int d); |
| 2394 | |
| 2395 | /////////////////////////////////////////////// |
| 2396 | // localization info |
| 2397 | #define DTXTcxx . . $ `netgames/dmfc/dmfcinternal.h:2397:9`!(d) DMFCGetString(d) |
| 2398 | #define DTXT_KILLED1cxx . . $ `netgames/dmfc/dmfcinternal.h:2398:9`! DTXT(0) //"%s was killed by %s" |
| 2399 | #define DTXT_SUICIDE1cxx . . $ `netgames/dmfc/dmfcinternal.h:2399:9`! DTXT(1) //"%s blasts themself" |
| 2400 | #define DTXT_MNUSRVRCOMMANDcxx . . $ `netgames/dmfc/dmfcinternal.h:2400:9`! DTXT(2) //"Server Commands" |
| 2401 | #define DTXT_MNUKICKcxx . . $ `netgames/dmfc/dmfcinternal.h:2401:9`! DTXT(3) //"Kick" |
| 2402 | #define DTXT_MNUBANcxx . . $ `netgames/dmfc/dmfcinternal.h:2402:9`! DTXT(4) //"Ban" |
| 2403 | #define DTXT_MNUENDLEVELcxx . . $ `netgames/dmfc/dmfcinternal.h:2403:9`! DTXT(5) //"End Level" |
| 2404 | #define DTXT_MNUTEAMCONTROLcxx . . $ `netgames/dmfc/dmfcinternal.h:2404:9`! DTXT(6) //"Team Control" |
| 2405 | #define DTXT_MNUBALANCEcxx . . $ `netgames/dmfc/dmfcinternal.h:2405:9`! DTXT(7) //"Balance Teams" |
| 2406 | #define DTXT_MNUAUTOBALANCEcxx . . $ `netgames/dmfc/dmfcinternal.h:2406:9`! DTXT(8) //"AutoTeam Balance" |
| 2407 | #define DTXT_MNUALLOWTEAMCNGcxx . . $ `netgames/dmfc/dmfcinternal.h:2407:9`! DTXT(9) //"Allow Team Changing" |
| 2408 | #define DTXT_MNUONcxx . . $ `netgames/dmfc/dmfcinternal.h:2408:9`! DTXT(10) //"On" |
| 2409 | #define DTXT_MNUOFFcxx . . $ `netgames/dmfc/dmfcinternal.h:2409:9`! DTXT(11) //"Off" |
| 2410 | #define DTXT_MNUGETPLYRINFOcxx . . $ `netgames/dmfc/dmfcinternal.h:2410:9`! DTXT(12) //"Get Player Info" |
| 2411 | #define DTXT_MNUOBSERVERcxx . . $ `netgames/dmfc/dmfcinternal.h:2411:9`! DTXT(13) //"Observer Mode" |
| 2412 | #define DTXT_MNUCHANGETEAMScxx . . $ `netgames/dmfc/dmfcinternal.h:2412:9`! DTXT(14) //"Change Teams" |
| 2413 | #define DTXT_REDcxx . . $ `netgames/dmfc/dmfcinternal.h:2413:9`! DTXT(15) //"Red" |
| 2414 | #define DTXT_BLUEcxx . . $ `netgames/dmfc/dmfcinternal.h:2414:9`! DTXT(16) //"Blue" |
| 2415 | #define DTXT_GREENcxx . . $ `netgames/dmfc/dmfcinternal.h:2415:9`! DTXT(17) //"Green" |
| 2416 | #define DTXT_YELLOWcxx . . $ `netgames/dmfc/dmfcinternal.h:2416:9`! DTXT(18) //"Yellow" |
| 2417 | #define DTXT_SERVERcxx . . $ `netgames/dmfc/dmfcinternal.h:2417:9`! DTXT(19) //"Server" |
| 2418 | #define DTXT_CLIENTcxx . . $ `netgames/dmfc/dmfcinternal.h:2418:9`! DTXT(20) //"Client" |
| 2419 | #define DTXT_TEAMFORMATcxx . . $ `netgames/dmfc/dmfcinternal.h:2419:9`! DTXT(21) //"Team: %s" |
| 2420 | #define DTXT_PLRNUMFORMATcxx . . $ `netgames/dmfc/dmfcinternal.h:2420:9`! DTXT(22) //"PlayerNum: %d" |
| 2421 | #define DTXT_TCPIPADDRFORMcxx . . $ `netgames/dmfc/dmfcinternal.h:2421:9`! DTXT(23) //"TCP/IP Address: %s" |
| 2422 | #define DTXT_SHIPFORMcxx . . $ `netgames/dmfc/dmfcinternal.h:2422:9`! DTXT(24) //"Ship: %s" |
| 2423 | #define DTXT_STRAYFIREFORMcxx . . $ `netgames/dmfc/dmfcinternal.h:2423:9`! DTXT(25) //"%s was killed by a U.F.O." |
| 2424 | #define DTXT_LONERcxx . . $ `netgames/dmfc/dmfcinternal.h:2424:9`! DTXT(26) //"Loner" |
| 2425 | #define DTXT_SAVESTATScxx . . $ `netgames/dmfc/dmfcinternal.h:2425:9`! DTXT(27) //"Save Stats To File" |
| 2426 | #define DTXT_ROBOTKILLcxx . . $ `netgames/dmfc/dmfcinternal.h:2426:9`! DTXT(28) //"%s was killed by a robot" |
| 2427 | #define DTXT_MNUSHOWCALLSIGNScxx . . $ `netgames/dmfc/dmfcinternal.h:2427:9`! DTXT(29) //"HUD Callsign Level" |
| 2428 | #define DTXT_KICKEDMSGcxx . . $ `netgames/dmfc/dmfcinternal.h:2428:9`! DTXTcxx . . $ `netgames/dmfc/dmfcinternal.h:2397:9`!(30) //"You've Been Kicked From The Game" |
| 2429 | #define DTXT_BANNEDMSGcxx . . $ `netgames/dmfc/dmfcinternal.h:2429:9`! DTXTcxx . . $ `netgames/dmfc/dmfcinternal.h:2397:9`!(31) //"You've Been Banned From This Game" |
| 2430 | #define DTXT_MNUSSHOWCALLSIGNScxx . . $ `netgames/dmfc/dmfcinternal.h:2430:9`! DTXT(32) //"Max HUD Callsign Level" |
| 2431 | #define DTXT_NONEcxx . . $ `netgames/dmfc/dmfcinternal.h:2431:9`! DTXT(33) //"<None>" |
| 2432 | #define DTXT_DEATHLASERcxx . . $ `netgames/dmfc/dmfcinternal.h:2432:9`! DTXT(34) //%s's Laser blasts %s to smithereens" |
| 2433 | #define DTXT_DEATHVAUSScxx . . $ `netgames/dmfc/dmfcinternal.h:2433:9`! DTXT(35) //"%s punctures %s's ship with the Vauss" |
| 2434 | #define DTXT_DEATHMICROWAVEcxx . . $ `netgames/dmfc/dmfcinternal.h:2434:9`! DTXT(36) //"%s is vaporized by %s's Microwave beam" |
| 2435 | #define DTXT_DEATHPLASMAcxx . . $ `netgames/dmfc/dmfcinternal.h:2435:9`! DTXT(37) //"%s pulverizes %s with Plasma power" |
| 2436 | #define DTXT_DEATHFUSIONcxx . . $ `netgames/dmfc/dmfcinternal.h:2436:9`! DTXT(38) //"%s disintigrates %s's hull with the fusion" |
| 2437 | #define DTXT_DEATHSUPERLASERcxx . . $ `netgames/dmfc/dmfcinternal.h:2437:9`! DTXT(39) //"%s's Super Laser blasts %s to smithereens" |
| 2438 | #define DTXT_DEATHMASScxx . . $ `netgames/dmfc/dmfcinternal.h:2438:9`! DTXT(40) //"%s targets %s for Mass destruction" |
| 2439 | #define DTXT_DEATHNAPALMcxx . . $ `netgames/dmfc/dmfcinternal.h:2439:9`! DTXT(41) //"%s's Napalm burns %s beyond recognition" |
| 2440 | #define DTXT_DEATHEMDcxx . . $ `netgames/dmfc/dmfcinternal.h:2440:9`! DTXT(42) //"%s's EMD electrocutes %s!" |
| 2441 | #define DTXT_DEATHOMEGAcxx . . $ `netgames/dmfc/dmfcinternal.h:2441:9`! DTXT(43) //"%s's Omega peels off %s's shields" |
| 2442 | #define DTXT_DEATHCONCcxx . . $ `netgames/dmfc/dmfcinternal.h:2442:9`! DTXT(44) //%s takes a pounding from %s's Concussion" |
| 2443 | #define DTXT_DEATHHOMINGcxx . . $ `netgames/dmfc/dmfcinternal.h:2443:9`! DTXT(45) //"%s's Homer swoops down on %s for the kill" |
| 2444 | #define DTXT_DEATHSMARTcxx . . $ `netgames/dmfc/dmfcinternal.h:2444:9`! DTXT(46) //"%s can't shake %s's Smart missile" |
| 2445 | #define DTXT_DEATHMEGAcxx . . $ `netgames/dmfc/dmfcinternal.h:2445:9`! DTXT(47) //"%s's Mega reduces %s to smoldering scrap" |
| 2446 | #define DTXT_DEATHFRAGcxx . . $ `netgames/dmfc/dmfcinternal.h:2446:9`! DTXT(48) //"%s catches shrapnel from %s's Frag" |
| 2447 | #define DTXT_DEATHGUIDEDcxx . . $ `netgames/dmfc/dmfcinternal.h:2447:9`! DTXT(49) //"%s's Guided hunts down %s" |
| 2448 | #define DTXT_DEATHNAPALMROCKETcxx . . $ `netgames/dmfc/dmfcinternal.h:2448:9`! DTXT(50) //"%s is incinerated by %s's Napalm Rocket" |
| 2449 | #define DTXT_DEATHCYCLONEcxx . . $ `netgames/dmfc/dmfcinternal.h:2449:9`! DTXT(51) //%s's Cyclone overwhelms %s's defenses" |
| 2450 | #define DTXT_DEATHFLAREcxx . . $ `netgames/dmfc/dmfcinternal.h:2450:9`! DTXT(52) //"%s's Flare ignites %s's fuel leak" |
| 2451 | #define DTXT_OSM_REMOVEBANcxx . . $ `netgames/dmfc/dmfcinternal.h:2451:9`! DTXT(53) //"Remove Ban" |
| 2452 | #define DTXT_OSM_REHASHLISTcxx . . $ `netgames/dmfc/dmfcinternal.h:2452:9`! DTXT(54) //"Rehash Allow/Deny List" |
| 2453 | #define DTXT_OSM_MAXHUDNAMEcxx . . $ `netgames/dmfc/dmfcinternal.h:2453:9`! DTXT(55) //"Max HUD Name Level" |
| 2454 | #define DTXT_PLAIN_NONEcxx . . $ `netgames/dmfc/dmfcinternal.h:2454:9`! DTXT(56) //"None" |
| 2455 | #define DTXT_OSM_TEAMONLYcxx . . $ `netgames/dmfc/dmfcinternal.h:2455:9`! DTXT(57) //"Team Only" |
| 2456 | #define DTXT_OSM_FULLcxx . . $ `netgames/dmfc/dmfcinternal.h:2456:9`! DTXT(58) //"Full" |
| 2457 | #define DTXT_OSM_TEAMCONFIGcxx . . $ `netgames/dmfc/dmfcinternal.h:2457:9`! DTXT(59) //"Show Team Config Dialog" |
| 2458 | #define DTXT_OSM_PIGGYBACKcxx . . $ `netgames/dmfc/dmfcinternal.h:2458:9`! DTXT(60) //"PiggyBack Observer" |
| 2459 | #define DTXT_OSM_BACKGROUNDcxx . . $ `netgames/dmfc/dmfcinternal.h:2459:9`! DTXT(61) //"OnScreen Menu Background" |
| 2460 | #define DTXT_OSM_HUDNAMELEVELcxx . . $ `netgames/dmfc/dmfcinternal.h:2460:9`! DTXT(62) //"HUD Name Level" |
| 2461 | #define DTXT_OSM_SHIPLOGOScxx . . $ `netgames/dmfc/dmfcinternal.h:2461:9`! DTXT(63) //"Ship Logos" |
| 2462 | #define DTXT_OSM_STATSTOFILEcxx . . $ `netgames/dmfc/dmfcinternal.h:2462:9`! DTXT(64) //"Game Stats To File" |
| 2463 | #define DTXT_OSM_STATLEVELENDcxx . . $ `netgames/dmfc/dmfcinternal.h:2463:9`! DTXT(65) //"AutoSave On Level End" |
| 2464 | #define DTXT_OSM_STATDISCONNECTcxx . . $ `netgames/dmfc/dmfcinternal.h:2464:9`! DTXT(66) //"AutoSave On Disconnect" |
| 2465 | #define DTXT_OSM_NETGAMEINFOcxx . . $ `netgames/dmfc/dmfcinternal.h:2465:9`! DTXT(67) //"NetGame Info" |
| 2466 | #define DTXT_OSM_HUDFILTERcxx . . $ `netgames/dmfc/dmfcinternal.h:2466:9`! DTXT(68) //"HUD Message Filters" |
| 2467 | #define DTXT_OSM_KILLMESSAGEScxx . . $ `netgames/dmfc/dmfcinternal.h:2467:9`! DTXT(69) //"Kill Messages" |
| 2468 | #define DTXT_OSM_SIMPLEcxx . . $ `netgames/dmfc/dmfcinternal.h:2468:9`! DTXT(70) //"Simple" |
| 2469 | #define DTXT_OSM_STATMESSAGEScxx . . $ `netgames/dmfc/dmfcinternal.h:2469:9`! DTXT(71) //"Statistical Messages" |
| 2470 | #define DTXT_OSM_EXITcxx . . $ `netgames/dmfc/dmfcinternal.h:2470:9`! DTXT(72) //"Exit Menu" |
| 2471 | #define DTXT_PI_TIMEINGAMEcxx . . $ `netgames/dmfc/dmfcinternal.h:2471:9`! DTXT(73) //"Total Time In Game: %s\n" |
| 2472 | #define DTXT_SETTEAMNAMEcxx . . $ `netgames/dmfc/dmfcinternal.h:2472:9`! DTXT(74) //"%s changed team name to %s" |
| 2473 | #define DTXT_HUDLEVEL_FULLcxx . . $ `netgames/dmfc/dmfcinternal.h:2473:9`! DTXT(75) //"Personal HUD Name Level: Full" |
| 2474 | #define DTXT_HUDLEVEL_TEAMcxx . . $ `netgames/dmfc/dmfcinternal.h:2474:9`! DTXT(76) //"Personal HUD Name Level: Team Only" |
| 2475 | #define DTXT_HUDLEVEL_NONEcxx . . $ `netgames/dmfc/dmfcinternal.h:2475:9`! DTXT(77) //"Personal HUD Name Level: None" |
| 2476 | #define DTXT_SHUDLEVEL_FULLcxx . . $ `netgames/dmfc/dmfcinternal.h:2476:9`! DTXT(78) //"Server Max HUD Name Level: Full" |
| 2477 | #define DTXT_SHUDLEVEL_TEAMcxx . . $ `netgames/dmfc/dmfcinternal.h:2477:9`! DTXT(79) //"Server Max HUD Name Level: Team Only" |
| 2478 | #define DTXT_SHUDLEVEL_NONEcxx . . $ `netgames/dmfc/dmfcinternal.h:2478:9`! DTXT(80) //"Server Max HUD Name Level: None" |
| 2479 | #define DTXT_DMFC_STAT_HEADERcxx . . $ `netgames/dmfc/dmfcinternal.h:2479:9`! DTXT(81) //"Callsign: Kills: Deaths:" |
| 2480 | #define DTXT_DEDS_BANcxx . . $ `netgames/dmfc/dmfcinternal.h:2480:9`! DTXT(82) //"Banning %s\n" |
| 2481 | #define DTXT_DEDS_BAN_ERRORcxx . . $ `netgames/dmfc/dmfcinternal.h:2481:9`! DTXT(83) //"Unable to ban player...pnum not valid\n" |
| 2482 | #define DTXT_TIME_HOURcxx . . $ `netgames/dmfc/dmfcinternal.h:2482:9`! DTXT(84) //"01:00:00 hour" |
| 2483 | #define DTXT_TIME_HOURScxx . . $ `netgames/dmfc/dmfcinternal.h:2483:9`! DTXT(85) //"%d:%.2d:%.2d hours" |
| 2484 | #define DTXT_TIME_MINUTEcxx . . $ `netgames/dmfc/dmfcinternal.h:2484:9`! DTXT(86) //"1:00 minute" |
| 2485 | #define DTXT_TIME_MINUTEScxx . . $ `netgames/dmfc/dmfcinternal.h:2485:9`! DTXT(87) //"%d:%.2d minutes" |
| 2486 | #define DTXT_TIME_SECONDcxx . . $ `netgames/dmfc/dmfcinternal.h:2486:9`! DTXT(88) //"1 second" |
| 2487 | #define DTXT_TIME_SECONDScxx . . $ `netgames/dmfc/dmfcinternal.h:2487:9`! DTXT(89) //"%d seconds" |
| 2488 | #define DTXT_IC_ALLOWTEAMCHANGEcxx . . $ `netgames/dmfc/dmfcinternal.h:2488:9`! DTXT(90) //"allowteamchange" |
| 2489 | #define DTXT_IC_ALLOWTEAMCHANGEDcxx . . $ `netgames/dmfc/dmfcinternal.h:2489:9`! \ |
| 2490 | DTXT(91) //"[Server Only]\nTurns off/on allowing clients to change their team.\nUsage: \"$allowteamchange <off/on>\"" |
| 2491 | #define DTXT_IC_AUTOBALANCEcxx . . $ `netgames/dmfc/dmfcinternal.h:2491:9`! DTXT(92) //"autobalance" |
| 2492 | #define DTXT_IC_AUTOBALANCEDcxx . . $ `netgames/dmfc/dmfcinternal.h:2492:9`! \ |
| 2493 | DTXT(93) //"[Server Only]\nTurns off/on allowing the automatic team placement of new players by the server.\nUsage: |
| 2494 | //\"$autobalance <off/on>\"" |
| 2495 | #define DTXT_IC_AUTOSAVEDISCcxx . . $ `netgames/dmfc/dmfcinternal.h:2495:9`! DTXT(94) //"autosavedisconnect" |
| 2496 | #define DTXT_IC_AUTOSAVEDISCDcxx . . $ `netgames/dmfc/dmfcinternal.h:2496:9`! \ |
| 2497 | DTXT(95) //"Enables/Disables the automatic saving of the game stats if you disconnect from the server.\nUsage: |
| 2498 | //\"$autosavedisconnect <on/off>\"" |
| 2499 | #define DTXT_IC_AUTOSAVELEVELcxx . . $ `netgames/dmfc/dmfcinternal.h:2499:9`! DTXT(96) //"autosavelevel" |
| 2500 | #define DTXT_IC_AUTOSAVELEVELDcxx . . $ `netgames/dmfc/dmfcinternal.h:2500:9`! \ |
| 2501 | DTXT(97) //"Enables/Disables the automatic saving of the game stats when the level ends.\nUsage: \"$autosavelevel |
| 2502 | //<on/off>\"" |
| 2503 | #define DTXT_IC_BALANCEcxx . . $ `netgames/dmfc/dmfcinternal.h:2503:9`! DTXT(98) //"balance" |
| 2504 | #define DTXT_IC_BALANCEDcxx . . $ `netgames/dmfc/dmfcinternal.h:2504:9`! \ |
| 2505 | DTXT(99) //"[Server Only]\nAutomatically balances the teams, based on senority.\nUsage: \"$balance\"" |
| 2506 | #define DTXT_IC_BANcxx . . $ `netgames/dmfc/dmfcinternal.h:2506:9`! DTXT(100) //"ban" |
| 2507 | #define DTXT_IC_BANDcxx . . $ `netgames/dmfc/dmfcinternal.h:2507:9`! DTXT(101) //"[Server Only]\nBans a player from the game.\nUsage: \"$ban <pnum>\"" |
| 2508 | #define DTXT_IC_BANLISTcxx . . $ `netgames/dmfc/dmfcinternal.h:2508:9`! DTXT(102) //"banlist" |
| 2509 | #define DTXT_IC_BANLISTDcxx . . $ `netgames/dmfc/dmfcinternal.h:2509:9`! \ |
| 2510 | DTXT(103) //"[Dedicated Server Only]\nLists the players banned from the game along with their ban number, which can be |
| 2511 | // used to remove the ban.\nUsage: \"$banlist\"" |
| 2512 | #define DTXT_IC_CHANGETEAMcxx . . $ `netgames/dmfc/dmfcinternal.h:2512:9`! DTXT(104) //"changeteam" |
| 2513 | #define DTXT_IC_CHANGETEAMDcxx . . $ `netgames/dmfc/dmfcinternal.h:2513:9`! \ |
| 2514 | DTXT(105) //"[Server Only]\nForces a player to a team.\nUsage: \"$changeteam <pnum> <team_name>\"" |
| 2515 | #define DTXT_IC_ENDLEVELcxx . . $ `netgames/dmfc/dmfcinternal.h:2515:9`! DTXT(106) //"endlevel" |
| 2516 | #define DTXT_IC_ENDLEVELDcxx . . $ `netgames/dmfc/dmfcinternal.h:2516:9`! DTXT(107) //"[Server Only]\nEnds the level.\nUsage: \"$endlevel\"" |
| 2517 | #define DTXT_IC_HELPcxx . . $ `netgames/dmfc/dmfcinternal.h:2517:9`! DTXT(108) //"help" |
| 2518 | #define DTXT_IC_HELPDcxx . . $ `netgames/dmfc/dmfcinternal.h:2518:9`! DTXT(109) //"Displays help information for the input commands.\nUsage: \"$help [command]\"" |
| 2519 | #define DTXT_IC_HUDNAMEcxx . . $ `netgames/dmfc/dmfcinternal.h:2519:9`! DTXT(110) //"hudnames" |
| 2520 | #define DTXT_IC_HUDNAMEDcxx . . $ `netgames/dmfc/dmfcinternal.h:2520:9`! \ |
| 2521 | DTXT(111) //"Sets your personal level for the HUD name filter.\nUsage: \"$hudnames <full/team/none>\"\nNOTE: You can |
| 2522 | // only set your HUD Callsign level up to the level that the server is. So if the server is only allowing |
| 2523 | // up to teammates, you won't be able to set to full" |
| 2524 | #define DTXT_IC_KICKcxx . . $ `netgames/dmfc/dmfcinternal.h:2524:9`! DTXT(112) //"kick" |
| 2525 | #define DTXT_IC_KICKDcxx . . $ `netgames/dmfc/dmfcinternal.h:2525:9`! DTXT(113) //"[Server Only]\nKicks a player from the game.\nUsage: \"$kick <pnum>\"" |
| 2526 | #define DTXT_IC_KILLMSGFILTERcxx . . $ `netgames/dmfc/dmfcinternal.h:2526:9`! DTXT(114) //"killmsgfilter" |
| 2527 | #define DTXT_IC_KILLMSGFILTERDcxx . . $ `netgames/dmfc/dmfcinternal.h:2527:9`! \ |
| 2528 | DTXT(115) //"Sets the kill message filter, for what style of messages you want.\nUsage: \"$killmsgfilter |
| 2529 | //<full/simple/none>\"" |
| 2530 | #define DTXT_IC_NETGAMEINFOcxx . . $ `netgames/dmfc/dmfcinternal.h:2530:9`! DTXT(116) //"netgameinfo" |
| 2531 | #define DTXT_IC_NETGAMEINFODcxx . . $ `netgames/dmfc/dmfcinternal.h:2531:9`! DTXT(117) //"Displays information about the net game.\nUsage: \"$netgameinfo\"" |
| 2532 | #define DTXT_IC_OBSERVERcxx . . $ `netgames/dmfc/dmfcinternal.h:2532:9`! DTXT(118) //"observer" |
| 2533 | #define DTXT_IC_OBSERVERDcxx . . $ `netgames/dmfc/dmfcinternal.h:2533:9`! \ |
| 2534 | DTXT(119) //"If you pass specify 'on', it puts you into observer mode, else it will return you back to normal |
| 2535 | // mode.\nUsage: \"$observer <on/off>\"" |
| 2536 | #define DTXT_IC_PIGGYBACKcxx . . $ `netgames/dmfc/dmfcinternal.h:2536:9`! DTXT(120) //"piggyback" |
| 2537 | #define DTXT_IC_PIGGYBACKDcxx . . $ `netgames/dmfc/dmfcinternal.h:2537:9`! DTXT(121) //"Puts you into Piggyback Observer mode.\"$piggyback <pnum>\"" |
| 2538 | #define DTXT_IC_PLAYERINFOcxx . . $ `netgames/dmfc/dmfcinternal.h:2538:9`! DTXT(122) //"playerinfo" |
| 2539 | #define DTXT_IC_PLAYERINFODcxx . . $ `netgames/dmfc/dmfcinternal.h:2539:9`! DTXT(123) //"Displays information about a player.\nUsage: \"$playerinfo <pnum>\"" |
| 2540 | #define DTXT_IC_PLAYERScxx . . $ `netgames/dmfc/dmfcinternal.h:2540:9`! DTXT(124) //"players" |
| 2541 | #define DTXT_IC_PLAYERSDcxx . . $ `netgames/dmfc/dmfcinternal.h:2541:9`! \ |
| 2542 | DTXT(125) //"[Dedicated Server Only]\nDisplays a list of the players in the game, with their player numbers.\nUsage: |
| 2543 | //\"$players\"" |
| 2544 | #define DTXT_IC_REHASHcxx . . $ `netgames/dmfc/dmfcinternal.h:2544:9`! DTXT(126) //"rehash" |
| 2545 | #define DTXT_IC_REHASHDcxx . . $ `netgames/dmfc/dmfcinternal.h:2545:9`! \ |
| 2546 | DTXT(127) //"[Server Only]\nRehashes the hosts.allow and hosts.deny files. First it flushes the old, and reloads |
| 2547 | // them.\nUsages: \"$rehash\"" |
| 2548 | #define DTXT_IC_REMOVEBANcxx . . $ `netgames/dmfc/dmfcinternal.h:2548:9`! DTXT(128) //"removeban" |
| 2549 | #define DTXT_IC_REMOVEBANDcxx . . $ `netgames/dmfc/dmfcinternal.h:2549:9`! \ |
| 2550 | DTXT(129) //"[Dedicated Server Only]\nRemoves a ban from a player, given the number associated with them from |
| 2551 | //$banlist.\nUsage: \"$removeban <player>\"" |
| 2552 | #define DTXT_IC_SAVESTATScxx . . $ `netgames/dmfc/dmfcinternal.h:2552:9`! DTXT(130) //"savestats" |
| 2553 | #define DTXT_IC_SAVESTATSDcxx . . $ `netgames/dmfc/dmfcinternal.h:2553:9`! DTXT(131) //"Saves the game stats to file immediatly.\nUsage: \"$savestats\"" |
| 2554 | #define DTXT_IC_SCOREScxx . . $ `netgames/dmfc/dmfcinternal.h:2554:9`! DTXT(132) //"scores" |
| 2555 | #define DTXT_IC_SCORESDcxx . . $ `netgames/dmfc/dmfcinternal.h:2555:9`! DTXT(133) //"Displays the scores or stats of the game.\nUsage: \"$scores\"" |
| 2556 | #define DTXT_IC_SERVERHUDNAMEScxx . . $ `netgames/dmfc/dmfcinternal.h:2556:9`! DTXT(134) //"serverhudnames" |
| 2557 | #define DTXT_IC_SERVERHUDNAMESDcxx . . $ `netgames/dmfc/dmfcinternal.h:2557:9`! \ |
| 2558 | DTXT(135) //"[Server Only]\nSets the highest HUD name filter permitted for the clients.\nUsage: \"$serverhudnames |
| 2559 | //<full/team/none>\"" |
| 2560 | #define DTXT_IC_SETGOALLIMITcxx . . $ `netgames/dmfc/dmfcinternal.h:2560:9`! DTXT(136) //"setgoallimit" |
| 2561 | #define DTXT_IC_SETGOALLIMITDcxx . . $ `netgames/dmfc/dmfcinternal.h:2561:9`! \ |
| 2562 | DTXT(137) //"[Server Only]\nChanges the goal limit for the level.\nUsage: \"$setgoallimit <points>\"" |
| 2563 | #define DTXT_IC_SETMAXPLAYERScxx . . $ `netgames/dmfc/dmfcinternal.h:2563:9`! DTXT(138) //"setmaxplayers" |
| 2564 | #define DTXT_IC_SETMAXPLAYERSDcxx . . $ `netgames/dmfc/dmfcinternal.h:2564:9`! \ |
| 2565 | DTXT(139) //"[Server Only]\nSets the maximum number of players allowed in the game.\nUsage: \"$setmaxplayers |
| 2566 | //<count>\"" |
| 2567 | #define DTXT_IC_SETPPScxx . . $ `netgames/dmfc/dmfcinternal.h:2567:9`! DTXT(140) //"setpps" |
| 2568 | #define DTXT_IC_SETPPSDcxx . . $ `netgames/dmfc/dmfcinternal.h:2568:9`! \ |
| 2569 | DTXT(141) //"[Server Only]\nChanges the Packets Per Second (PPS) threshold of the game\nUsage: \"$setpps <pps>\"" |
| 2570 | #define DTXT_IC_SETRESPAWNTIMEcxx . . $ `netgames/dmfc/dmfcinternal.h:2570:9`! DTXT(142) //"setrespawntime" |
| 2571 | #define DTXT_IC_SETRESPAWNTIMEDcxx . . $ `netgames/dmfc/dmfcinternal.h:2571:9`! \ |
| 2572 | DTXT(143) //"[Server Only]\nChanges the respawn time of the powerups in the level.\nUsage: \"$setrespawntime |
| 2573 | //<seconds>\"" |
| 2574 | #define DTXT_IC_SETTEAMNAMEcxx . . $ `netgames/dmfc/dmfcinternal.h:2574:9`! DTXT(144) //"setteamname" |
| 2575 | #define DTXT_IC_SETTEAMNAMEDcxx . . $ `netgames/dmfc/dmfcinternal.h:2575:9`! \ |
| 2576 | DTXT(145) //"[Server Only]\nChanges the name of a team.\nUsage: \"$setteamname <team_num> <new_team_name>\"" |
| 2577 | #define DTXT_IC_SETTIMELIMITcxx . . $ `netgames/dmfc/dmfcinternal.h:2577:9`! DTXT(146) //"settimelimit" |
| 2578 | #define DTXT_IC_SETTIMELIMITDcxx . . $ `netgames/dmfc/dmfcinternal.h:2578:9`! \ |
| 2579 | DTXT(147) //"[Server Only]\nChanges the time limit for the level.\nUsage: \"$settimelimit <minutes>\"" |
| 2580 | #define DTXT_IC_STATMSGScxx . . $ `netgames/dmfc/dmfcinternal.h:2580:9`! DTXT(148) //"statmsgs" |
| 2581 | #define DTXT_IC_STATMSGSDcxx . . $ `netgames/dmfc/dmfcinternal.h:2581:9`! DTXT(149) //"Enables/Disables random statistical messages.\nUsage: \"$statmsgs <on/off>\"" |
| 2582 | #define DTXT_IC_TEAMcxx . . $ `netgames/dmfc/dmfcinternal.h:2582:9`! DTXT(150) //"team" |
| 2583 | #define DTXT_IC_TEAMDcxx . . $ `netgames/dmfc/dmfcinternal.h:2583:9`! DTXT(151) //"Change teams for yourself.\nUsage: \"$team <team_name>\"" |
| 2584 | #define DTXT_IC_HEADEERLISTcxx . . $ `netgames/dmfc/dmfcinternal.h:2584:9`! DTXT(152) //"Input Command List:\n" |
| 2585 | #define DTXT_IC_HEADERINSTRUCTcxx . . $ `netgames/dmfc/dmfcinternal.h:2585:9`! \ |
| 2586 | DTXT(153) //"Prefix a '$' before the commands listed below. To get more detailed help\nabout a command, type '$help |
| 2587 | //<command>'\n" |
| 2588 | #define DTXT_IC_NOADDITIONALINFOcxx . . $ `netgames/dmfc/dmfcinternal.h:2588:9`! DTXT(154) //"No additional information is available\n" |
| 2589 | #define DTXT_IC_COMMANDNOTFOUNDcxx . . $ `netgames/dmfc/dmfcinternal.h:2589:9`! DTXT(155) //"Command not found\n" |
| 2590 | #define DTXT_SUNDAYcxx . . $ `netgames/dmfc/dmfcinternal.h:2590:9`! DTXT(156) //"Sun" |
| 2591 | #define DTXT_MONDAYcxx . . $ `netgames/dmfc/dmfcinternal.h:2591:9`! DTXT(157) //"Mon" |
| 2592 | #define DTXT_TUESDAYcxx . . $ `netgames/dmfc/dmfcinternal.h:2592:9`! DTXT(158) //"Tue" |
| 2593 | #define DTXT_WEDNESDAYcxx . . $ `netgames/dmfc/dmfcinternal.h:2593:9`! DTXT(159) //"Wed" |
| 2594 | #define DTXT_THURSDAYcxx . . $ `netgames/dmfc/dmfcinternal.h:2594:9`! DTXT(160) //"Thur" |
| 2595 | #define DTXT_FRIDAYcxx . . $ `netgames/dmfc/dmfcinternal.h:2595:9`! DTXT(161) //"Fri" |
| 2596 | #define DTXT_SATURDAYcxx . . $ `netgames/dmfc/dmfcinternal.h:2596:9`! DTXT(162) //"Sat" |
| 2597 | #define DTXT_JANUARYcxx . . $ `netgames/dmfc/dmfcinternal.h:2597:9`! DTXT(163) //"Jan" |
| 2598 | #define DTXT_FEBRUARYcxx . . $ `netgames/dmfc/dmfcinternal.h:2598:9`! DTXT(164) //"Feb" |
| 2599 | #define DTXT_MARCHcxx . . $ `netgames/dmfc/dmfcinternal.h:2599:9`! DTXT(165) //"March" |
| 2600 | #define DTXT_APRILcxx . . $ `netgames/dmfc/dmfcinternal.h:2600:9`! DTXT(166) //"April" |
| 2601 | #define DTXT_MAYcxx . . $ `netgames/dmfc/dmfcinternal.h:2601:9`! DTXT(167) //"May" |
| 2602 | #define DTXT_JUNEcxx . . $ `netgames/dmfc/dmfcinternal.h:2602:9`! DTXT(168) //"June" |
| 2603 | #define DTXT_JULYcxx . . $ `netgames/dmfc/dmfcinternal.h:2603:9`! DTXT(169) //"July" |
| 2604 | #define DTXT_AUGUSTcxx . . $ `netgames/dmfc/dmfcinternal.h:2604:9`! DTXT(170) //"Aug" |
| 2605 | #define DTXT_SEPTEMBERcxx . . $ `netgames/dmfc/dmfcinternal.h:2605:9`! DTXT(171) //"Sept" |
| 2606 | #define DTXT_OCTOBERcxx . . $ `netgames/dmfc/dmfcinternal.h:2606:9`! DTXT(172) //"Oct" |
| 2607 | #define DTXT_NOVEMBERcxx . . $ `netgames/dmfc/dmfcinternal.h:2607:9`! DTXT(173) //"Nov" |
| 2608 | #define DTXT_DECEMBERcxx . . $ `netgames/dmfc/dmfcinternal.h:2608:9`! DTXT(174) //"Dec" |
| 2609 | #define DTXT_ENDOFLEVELCONCATcxx . . $ `netgames/dmfc/dmfcinternal.h:2609:9`! DTXT(175) //"End_Of_Level_" |
| 2610 | #define DTXT_NGI_HEADINGcxx . . $ `netgames/dmfc/dmfcinternal.h:2610:9`! DTXT(176) //"NetGame Information\n" |
| 2611 | #define DTXT_NGI_GAMENAMEcxx . . $ `netgames/dmfc/dmfcinternal.h:2611:9`! DTXT(177) //"Game Name: %s\n" |
| 2612 | #define DTXT_NGI_MISSIONNAMEcxx . . $ `netgames/dmfc/dmfcinternal.h:2612:9`! DTXT(178) //"Mission Name: %s\n" |
| 2613 | #define DTXT_NGI_SCRIPTNAMEcxx . . $ `netgames/dmfc/dmfcinternal.h:2613:9`! DTXT(179) //"Script Name: %s\n" |
| 2614 | #define DTXT_NGI_PPScxx . . $ `netgames/dmfc/dmfcinternal.h:2614:9`! DTXT(180) //"PPS: %d\n" |
| 2615 | #define DTXT_NGI_PPSSERVERcxx . . $ `netgames/dmfc/dmfcinternal.h:2615:9`! DTXT(181) //"PPS (Server/You): %d/%d\n" |
| 2616 | #define DTXT_NGI_MAXPLAYERScxx . . $ `netgames/dmfc/dmfcinternal.h:2616:9`! DTXT(182) //"Max Players: %d\n" |
| 2617 | #define DTXT_NGI_ACCURATECOLLcxx . . $ `netgames/dmfc/dmfcinternal.h:2617:9`! DTXT(183) //"Accurate Weapon Collisions: %s\n" |
| 2618 | #define DTXT_NGI_SENDROTATIONALcxx . . $ `netgames/dmfc/dmfcinternal.h:2618:9`! DTXT(184) //"Send Rotational Velocity: %s\n" |
| 2619 | #define DTXT_NGI_TIMELIMITcxx . . $ `netgames/dmfc/dmfcinternal.h:2619:9`! DTXT(185) //"Time Limit: %d %s\n" |
| 2620 | #define DTXT_MINUTEcxx . . $ `netgames/dmfc/dmfcinternal.h:2620:9`! DTXT(186) //"minute" |
| 2621 | #define DTXT_MINUTEScxx . . $ `netgames/dmfc/dmfcinternal.h:2621:9`! DTXT(187) //"minutes" |
| 2622 | #define DTXT_NGI_TIMELEFTcxx . . $ `netgames/dmfc/dmfcinternal.h:2622:9`! DTXT(188) //"Time Left: %s\n" |
| 2623 | #define DTXT_NGI_NOTIMELIMITcxx . . $ `netgames/dmfc/dmfcinternal.h:2623:9`! DTXT(189) //"Time Limit: None" |
| 2624 | #define DTXT_NGI_GOALLIMITcxx . . $ `netgames/dmfc/dmfcinternal.h:2624:9`! DTXT(190) //"Goal: %d points\n" |
| 2625 | #define DTXT_NGI_NOGOALcxx . . $ `netgames/dmfc/dmfcinternal.h:2625:9`! DTXT(191) //"Goal: None\n" |
| 2626 | #define DTXT_NGI_RESPAWNTIMEcxx . . $ `netgames/dmfc/dmfcinternal.h:2626:9`! DTXT(192) //"Respawn Time: %s\n" |
| 2627 | #define DTXT_NGI_PACKETLOSSNAcxx . . $ `netgames/dmfc/dmfcinternal.h:2627:9`! DTXT(193) //"Packet Loss: N/A\n" |
| 2628 | #define DTXT_NGI_PACKETLOSScxx . . $ `netgames/dmfc/dmfcinternal.h:2628:9`! DTXT(194) //"Packet Loss: %.1f%%\n" |
| 2629 | #define DTXT_NGI_NETWORKMODELcxx . . $ `netgames/dmfc/dmfcinternal.h:2629:9`! DTXT(195) //"Network Model: %s\n" |
| 2630 | #define DTXT_PEERTOPEERcxx . . $ `netgames/dmfc/dmfcinternal.h:2630:9`! DTXT(196) //"Peer-To-Peer" |
| 2631 | #define DTXT_CLIENTSERVERcxx . . $ `netgames/dmfc/dmfcinternal.h:2631:9`! DTXT(197) //"Client/Server" |
| 2632 | #define DTXT_NGI_MOVEMENTSMOOTHINGcxx . . $ `netgames/dmfc/dmfcinternal.h:2632:9`! DTXT(198) //"Movement Smoothing: %s\n" |
| 2633 | #define DTXT_CHANGETEAMDENIEDcxx . . $ `netgames/dmfc/dmfcinternal.h:2633:9`! DTXT(199) //"Team Change Was Denied" |
| 2634 | #define DTXT_KILLMSGFULLcxx . . $ `netgames/dmfc/dmfcinternal.h:2634:9`! DTXT(200) //"Kill Message Filter: Full" |
| 2635 | #define DTXT_KILLMSGSIMPLEcxx . . $ `netgames/dmfc/dmfcinternal.h:2635:9`! DTXT(201) //"Kill Message Filter: Simple" |
| 2636 | #define DTXT_KILLMSGNONEcxx . . $ `netgames/dmfc/dmfcinternal.h:2636:9`! DTXT(202) //"Kill Message Filter: None" |
| 2637 | #define DTXT_WAITFORSERVERcxx . . $ `netgames/dmfc/dmfcinternal.h:2637:9`! DTXT(203) //"Waiting For Server..." |
| 2638 | #define DTXT_PRESSPRNTSCRNcxx . . $ `netgames/dmfc/dmfcinternal.h:2638:9`! DTXTcxx . . $ `netgames/dmfc/dmfcinternal.h:2397:9`!(204) //"Press PrintScreen For A ScreenShot" |
| 2639 | #define DTXT_CHANGETEAMcxx . . $ `netgames/dmfc/dmfcinternal.h:2639:9`! DTXTcxx . . $ `netgames/dmfc/dmfcinternal.h:2397:9`!(205) //"%s changes teams to the %s team\n" |
| 2640 | #define DTXT_NOKILLERDEATHMSGcxx . . $ `netgames/dmfc/dmfcinternal.h:2640:9`! DTXT(206) //"%s was killed" |
| 2641 | #define DTXT_SIMPLESUICIDEMSGcxx . . $ `netgames/dmfc/dmfcinternal.h:2641:9`! DTXT(207) //"%s went suicidal" |
| 2642 | #define DTXT_HM_KILLSINAROWcxx . . $ `netgames/dmfc/dmfcinternal.h:2642:9`! DTXT(208) //"That's %d kills in a row for %s!" |
| 2643 | #define DTXT_HM_DEATHSINAROWcxx . . $ `netgames/dmfc/dmfcinternal.h:2643:9`! DTXT(209) //"That's %d deaths in a row for %s!" |
| 2644 | #define DTXT_HM_TIMESINCELASTKILLcxx . . $ `netgames/dmfc/dmfcinternal.h:2644:9`! DTXT(210) //"It's %s's first kill in %s" |
| 2645 | #define DTXT_HM_TIMESINCELASTDEATHcxx . . $ `netgames/dmfc/dmfcinternal.h:2645:9`! DTXT(211) //"%s lasted %s without being killed!" |
| 2646 | #define DTXT_HM_HIGHEFFICENCYcxx . . $ `netgames/dmfc/dmfcinternal.h:2646:9`! DTXT(212) //"%s has an awesome efficiency of %.2f!!" |
| 2647 | #define DTXT_HM_GOODEFFICENCYcxx . . $ `netgames/dmfc/dmfcinternal.h:2647:9`! DTXT(213) //"%s has an efficiency of %.2f" |
| 2648 | #define DTXT_HM_TIMESKILLEDcxx . . $ `netgames/dmfc/dmfcinternal.h:2648:9`! DTXT(214) //"%s has killed %s %d times!" |
| 2649 | #define DTXT_HM_REVENGEcxx . . $ `netgames/dmfc/dmfcinternal.h:2649:9`! DTXT(215) //"%s got revenge on %s!" |
| 2650 | #define DTXT_TEAMCHANGEATTEMPTcxx . . $ `netgames/dmfc/dmfcinternal.h:2650:9`! DTXT(216) //"Attempting to change teams to %s team" |
| 2651 | #define DTXT_STEAMCHANGEATTEMPTcxx . . $ `netgames/dmfc/dmfcinternal.h:2651:9`! DTXT(217) //"Attempting to change %s to %s team" |
| 2652 | #define DTXT_GETPLAYERINFOcxx . . $ `netgames/dmfc/dmfcinternal.h:2652:9`! DTXT(218) //"Getting Playerinfo for %s" |
| 2653 | #define DTXT_BALANCETEAMMSGcxx . . $ `netgames/dmfc/dmfcinternal.h:2653:9`! DTXT(219) //"Balancing Teams" |
| 2654 | #define DTXT_AUTOTEAMBALANCEMSGcxx . . $ `netgames/dmfc/dmfcinternal.h:2654:9`! DTXT(220) //"Auto Team Balance: %s" |
| 2655 | #define DTXT_ALLOWTEAMCHANGEMSGcxx . . $ `netgames/dmfc/dmfcinternal.h:2655:9`! DTXT(221) //"Allow Team Changing: %s" |
| 2656 | #define DTXT_KICKMSGcxx . . $ `netgames/dmfc/dmfcinternal.h:2656:9`! DTXT(222) //"Kicking %s from game" |
| 2657 | #define DTXT_BANMSGcxx . . $ `netgames/dmfc/dmfcinternal.h:2657:9`! DTXT(223) //"Banning %s from game" |
| 2658 | #define DTXT_ENDLEVELMSGcxx . . $ `netgames/dmfc/dmfcinternal.h:2658:9`! DTXT(224) //"Ending the level" |
| 2659 | #define DTXT_STATSMSGSETcxx . . $ `netgames/dmfc/dmfcinternal.h:2659:9`! DTXT(225) //"Statistical Messages: %s" |
| 2660 | #define DTXT_AUTOSAVELEVELMSGcxx . . $ `netgames/dmfc/dmfcinternal.h:2660:9`! DTXT(226) //"AutoSave Stats on Level End: %s" |
| 2661 | #define DTXT_AUTOSAVEDISCMSGcxx . . $ `netgames/dmfc/dmfcinternal.h:2661:9`! DTXT(227) //"AutoSave Stats on Disconnect: %s" |
| 2662 | #define DTXT_TIMELIMITSETMSGcxx . . $ `netgames/dmfc/dmfcinternal.h:2662:9`! DTXT(228) //"Time Limit: %d" |
| 2663 | #define DTXT_TIMELIMITOFFMSGcxx . . $ `netgames/dmfc/dmfcinternal.h:2663:9`! DTXT(229) //"Time Limit: Off" |
| 2664 | #define DTXT_GOALLIMITSETMSGcxx . . $ `netgames/dmfc/dmfcinternal.h:2664:9`! DTXT(230) //"Goal Limit: %d" |
| 2665 | #define DTXT_GOALLIMITOFFMSGcxx . . $ `netgames/dmfc/dmfcinternal.h:2665:9`! DTXT(231) //"Goal Limit: None" |
| 2666 | #define DTXT_MAXPLAYERSSETMSGcxx . . $ `netgames/dmfc/dmfcinternal.h:2666:9`! DTXT(232) //"Max Players: %d" |
| 2667 | #define DTXT_RESPAWNTIMEMSGcxx . . $ `netgames/dmfc/dmfcinternal.h:2667:9`! DTXT(233) //"Respawn Time: %d" |
| 2668 | #define DTXT_PPSSETMSGcxx . . $ `netgames/dmfc/dmfcinternal.h:2668:9`! DTXT(234) //"Max PPS: %d" |
| 2669 | #define DTXT_BANREMOVEDMSGcxx . . $ `netgames/dmfc/dmfcinternal.h:2669:9`! DTXT(235) //"Ban Removed\n" |
| 2670 | #define DTXT_BANNOTREMOVEDMSGcxx . . $ `netgames/dmfc/dmfcinternal.h:2670:9`! DTXT(236) //"Couldn't remove ban\n" |
| 2671 | #define DTXT_NOTINDEDICATEDcxx . . $ `netgames/dmfc/dmfcinternal.h:2671:9`! DTXT(237) //"Command Not Available To Dedicated Server\n" |
| 2672 | #define DTXT_OBSERVERDENIEDcxx . . $ `netgames/dmfc/dmfcinternal.h:2672:9`! DTXT(238) //"Observer mode request denied" |
| 2673 | #define DTXT_INVALIDPNUMcxx . . $ `netgames/dmfc/dmfcinternal.h:2673:9`! DTXT(239) //"Invalid Player Number" |
| 2674 | #define DTXT_PLAYERLISTHEADERcxx . . $ `netgames/dmfc/dmfcinternal.h:2674:9`! DTXT(240) //"PNum Name\n" |
| 2675 | #define DTXT_INVALIDTEAMcxx . . $ `netgames/dmfc/dmfcinternal.h:2675:9`! DTXT(241) //"Invalid Team, Must be between 0 and %d" |
| 2676 | #define DTXT_SERVERCANTKICKcxx . . $ `netgames/dmfc/dmfcinternal.h:2676:9`! DTXT(242) //"Server can't kick themself\n" |
| 2677 | #define DTXT_SERVERCANTBANcxx . . $ `netgames/dmfc/dmfcinternal.h:2677:9`! DTXT(243) //"Server can't ban themself\n" |
| 2678 | #define DTXT_BALANCINGTEAMScxx . . $ `netgames/dmfc/dmfcinternal.h:2678:9`! DTXT(244) //"Balancing Teams\n" |
| 2679 | #define DTXT_NODEDICATEDTEAMcxx . . $ `netgames/dmfc/dmfcinternal.h:2679:9`! DTXT(245) //"Dedicated Server Can't Change Teams\n" |
| 2680 | #define DTXT_SAMETEAMCHANGEcxx . . $ `netgames/dmfc/dmfcinternal.h:2680:9`! DTXT(246) //"You're already on the %s team\n" |
| 2681 | #define DTXT_SHIPLOGOSMSGcxx . . $ `netgames/dmfc/dmfcinternal.h:2681:9`! DTXT(247) //"Ship Logos: %s" |
| 2682 | #define DTXT_ENABLEDcxx . . $ `netgames/dmfc/dmfcinternal.h:2682:9`! DTXT(248) //"Enabled" |
| 2683 | #define DTXT_DISABLEDcxx . . $ `netgames/dmfc/dmfcinternal.h:2683:9`! DTXT(249) //"Disabled" |
| 2684 | #define DTXT_REHASHINGMSGcxx . . $ `netgames/dmfc/dmfcinternal.h:2684:9`! DTXT(250) //"Rehashing Hosts.allow and Hosts.deny" |
| 2685 | #define DTXT_STAT_STATUScxx . . $ `netgames/dmfc/dmfcinternal.h:2685:9`! DTXT(251) //"Status:" |
| 2686 | #define DTXT_STAT_TEAMcxx . . $ `netgames/dmfc/dmfcinternal.h:2686:9`! DTXT(252) //"Team:" |
| 2687 | #define DTXT_STAT_PLAYTIMEcxx . . $ `netgames/dmfc/dmfcinternal.h:2687:9`! DTXT(253) //"Play Time:" |
| 2688 | #define DTXT_STAT_STREAKcxx . . $ `netgames/dmfc/dmfcinternal.h:2688:9`! DTXT(254) //"Streak:" |
| 2689 | #define DTXT_STAT_LASTVICTIMcxx . . $ `netgames/dmfc/dmfcinternal.h:2689:9`! DTXT(255) //"Last Victim:" |
| 2690 | #define DTXT_STAT_LASTKILLERcxx . . $ `netgames/dmfc/dmfcinternal.h:2690:9`! DTXT(256) //"Last Killer:" |
| 2691 | #define DTXT_STAT_SERVERcxx . . $ `netgames/dmfc/dmfcinternal.h:2691:9`! DTXT(257) //"Server" |
| 2692 | #define DTXT_STAT_OBSERVERcxx . . $ `netgames/dmfc/dmfcinternal.h:2692:9`! DTXT(258) //"Observing" |
| 2693 | #define DTXT_STAT_PLAYINGcxx . . $ `netgames/dmfc/dmfcinternal.h:2693:9`! DTXT(259) //"Playing" |
| 2694 | #define DTXT_STAT_DISCONNECTEDcxx . . $ `netgames/dmfc/dmfcinternal.h:2694:9`! DTXT(260) //"Disconnected" |
| 2695 | #define DTXT_STAT_KILLcxx . . $ `netgames/dmfc/dmfcinternal.h:2695:9`! DTXT(261) //"Kill" |
| 2696 | #define DTXT_STAT_KILLScxx . . $ `netgames/dmfc/dmfcinternal.h:2696:9`! DTXT(262) //"Kills" |
| 2697 | #define DTXT_STAT_DEATHcxx . . $ `netgames/dmfc/dmfcinternal.h:2697:9`! DTXT(263) //"Death" |
| 2698 | #define DTXT_STAT_DEATHScxx . . $ `netgames/dmfc/dmfcinternal.h:2698:9`! DTXT(264) //"Deaths" |
| 2699 | #define DTXT_STAT_PILOTNAMELABELcxx . . $ `netgames/dmfc/dmfcinternal.h:2699:9`! DTXT(265) //"Pilot Name" |
| 2700 | #define DTXT_UI_STARTGAMEcxx . . $ `netgames/dmfc/dmfcinternal.h:2700:9`! DTXT(266) //"Start Game" |
| 2701 | #define DTXT_UI_RETURNTOGAMEcxx . . $ `netgames/dmfc/dmfcinternal.h:2701:9`! DTXT(267) //"Return to Game" |
| 2702 | #define DTXT_UI_CLIENTSWAITcxx . . $ `netgames/dmfc/dmfcinternal.h:2702:9`! DTXT(268) //"Make Clients Wait" |
| 2703 | #define DTXT_UI_TEAMSETUPcxx . . $ `netgames/dmfc/dmfcinternal.h:2703:9`! DTXT(269) //"Team Setup" |
| 2704 | #define DTXT_UI_WAITFORPLAYERScxx . . $ `netgames/dmfc/dmfcinternal.h:2704:9`! DTXT(270) //"Waiting For Players" |
| 2705 | #define DTXT_UI_KICKPLAYERcxx . . $ `netgames/dmfc/dmfcinternal.h:2705:9`! DTXT(271) //"Kick Player" |
| 2706 | #define DTXT_UI_BANPLAYERcxx . . $ `netgames/dmfc/dmfcinternal.h:2706:9`! DTXT(272) //"Ban Player" |
| 2707 | #define DTXT_OSM_AUDIOTAUNTScxx . . $ `netgames/dmfc/dmfcinternal.h:2707:9`! DTXT(273) //"Audio Taunts" |
| 2708 | #define DTXT_AUDIOTAUNTSMSGcxx . . $ `netgames/dmfc/dmfcinternal.h:2708:9`! DTXT(274) //"Audio Taunts: %s" |
| 2709 | #define DTXT_RANKcxx . . $ `netgames/dmfc/dmfcinternal.h:2709:9`! DTXT(275) //"Rank:" |
| 2710 | #define DTXT_NETWORK_LOSScxx . . $ `netgames/dmfc/dmfcinternal.h:2710:9`! DTXT(276) //"Network Loss" |
| 2711 | #define DTXT_NETWORK_PINGcxx . . $ `netgames/dmfc/dmfcinternal.h:2711:9`! DTXT(277) //"Network Ping" |
| 2712 | #define DTXT_LOSSPINGINDcxx . . $ `netgames/dmfc/dmfcinternal.h:2712:9`! DTXT(278) //"Loss/Ping HUD Indicator" |
| 2713 | #define DTXT_LOSSINDICATORcxx . . $ `netgames/dmfc/dmfcinternal.h:2713:9`! DTXT(279) //"Loss/Ping Indicator: %s" |
| 2714 | #define DTXT_PERMISSABLEcxx . . $ `netgames/dmfc/dmfcinternal.h:2714:9`! DTXT(280) //"Permissable C/S" |
| 2715 | #define DTXT_IC_WARPcxx . . $ `netgames/dmfc/dmfcinternal.h:2715:9`! DTXT(281) //"warp" |
| 2716 | #define DTXT_IC_WARPDcxx . . $ `netgames/dmfc/dmfcinternal.h:2716:9`! \ |
| 2717 | DTXT(282) //"[Server Only]\nChanges the current level to another level in the mission.\nUsage: \"$warp <level>\"" |
| 2718 | //--------------------- |
| 2719 | #define DTXT_REMOTELOGGEDOUTcxx . . $ `netgames/dmfc/dmfcinternal.h:2719:9`! DTXT(283) //"Remote Admin Logged Out" |
| 2720 | #define DTXT_HUDMSGLOGGEDOUTcxx . . $ `netgames/dmfc/dmfcinternal.h:2720:9`! DTXT(284) //"==%s has logged out==" |
| 2721 | #define DTXT_HUDMSGLOGGEDINcxx . . $ `netgames/dmfc/dmfcinternal.h:2721:9`! DTXT(285) //"==%s is remote administrating==" |
| 2722 | #define DTXT_REMOTELOGGEDINcxx . . $ `netgames/dmfc/dmfcinternal.h:2722:9`! DTXT(286) //"Remote Admin Logged In" |
| 2723 | #define DTXT_REMOTEEXECUTEcxx . . $ `netgames/dmfc/dmfcinternal.h:2723:9`! DTXT(287) //"==%s executed "%s"" |
| 2724 | #define DTXT_REMOTESUCCESScxx . . $ `netgames/dmfc/dmfcinternal.h:2724:9`! DTXT(288) //"Remote Command Successful" |
| 2725 | #define DTXT_REMOTENOTSUCCESScxx . . $ `netgames/dmfc/dmfcinternal.h:2725:9`! DTXT(289) //"Remote Command Not Successful" |
| 2726 | #define DTXT_REMOTENOTALLOWEDcxx . . $ `netgames/dmfc/dmfcinternal.h:2726:9`! DTXT(290) //"Remote Command Not Allowed" |
| 2727 | #define DTXT_REMOTENOTFOUNDcxx . . $ `netgames/dmfc/dmfcinternal.h:2727:9`! DTXT(291) //"Remote Command Not Found" |
| 2728 | #define DTXT_UNABLETOREMOTEcxx . . $ `netgames/dmfc/dmfcinternal.h:2728:9`! DTXT(292) //"Unable to enable remote administration (no password?)" |
| 2729 | #define DTXT_REMOTEADMINENABLEcxx . . $ `netgames/dmfc/dmfcinternal.h:2729:9`! DTXT(293) //"Remote Administration: %s" |
| 2730 | #define DTXT_REMOTEADMINPASScxx . . $ `netgames/dmfc/dmfcinternal.h:2730:9`! DTXT(294) //"Remote Administration Password Set" |
| 2731 | #define DTXT_WAITSECScxx . . $ `netgames/dmfc/dmfcinternal.h:2731:9`! DTXT(295) //"Making Clients Wait %.2f seconds\n" |
| 2732 | #define DTXT_WAITOFFcxx . . $ `netgames/dmfc/dmfcinternal.h:2732:9`! DTXT(296) //"Turning Off Client Wait Time\n" |
| 2733 | #define DTXT_WAITONcxx . . $ `netgames/dmfc/dmfcinternal.h:2733:9`! DTXT(297) //"Making Clients Wait\n" |
| 2734 | #define DTXT_WAITNOLONGERcxx . . $ `netgames/dmfc/dmfcinternal.h:2734:9`! DTXT(298) //"No Longer Making Clients Wait\n" |
| 2735 | #define DTXT_TEAMLABELcxx . . $ `netgames/dmfc/dmfcinternal.h:2735:9`! DTXT(299) //"%s Team:" |
| 2736 | #define DTXT_IC_REMOTEcxx . . $ `netgames/dmfc/dmfcinternal.h:2736:9`! DTXT(300) //"remote" |
| 2737 | #define DTXT_IC_REMOTEDcxx . . $ `netgames/dmfc/dmfcinternal.h:2737:9`! \ |
| 2738 | DTXT(301) //"[Client Only]\nhandles a remote admin command\nUsage: \"$remote <command> <option parms> <...>\"" |
| 2739 | #define DTXT_IC_REMOTEADMINcxx . . $ `netgames/dmfc/dmfcinternal.h:2739:9`! DTXT(302) //"remoteadmin" |
| 2740 | #define DTXT_IC_REMOTEADMINDcxx . . $ `netgames/dmfc/dmfcinternal.h:2740:9`! \ |
| 2741 | DTXT(303) //"[Server Only]\nhandles enable/disable remote administration\nUsage: \"$remoteadmin <on/off>\"" |
| 2742 | #define DTXT_IC_REMOTEADMINLOGOUTcxx . . $ `netgames/dmfc/dmfcinternal.h:2742:9`! DTXT(304) //"remoteadminlogout" |
| 2743 | #define DTXT_IC_REMOTEADMINLOGOUTDcxx . . $ `netgames/dmfc/dmfcinternal.h:2743:9`! \ |
| 2744 | DTXT(305) //"[Server Only]\nhandles seeing who is logged in, and allows the server to log them out\nIf no parameter is |
| 2745 | // given it lists all the players logged in.\nTo log out a player give the login-id as a parameter\nUsage: |
| 2746 | //\"$remoteadminlogout [login-id]\"" |
| 2747 | #define DTXT_IC_REMOTEADMINPASScxx . . $ `netgames/dmfc/dmfcinternal.h:2747:9`! DTXT(306) //"remoteadminpass" |
| 2748 | #define DTXT_IC_REMOTEADMINPASSDcxx . . $ `netgames/dmfc/dmfcinternal.h:2748:9`! \ |
| 2749 | DTXT(307) //"[Server Only]\nhandles setting/changing the remote administration password\nUsage: \"$remoteadminpass |
| 2750 | //<password>\"" |
| 2751 | #define DTXT_IC_WAITcxx . . $ `netgames/dmfc/dmfcinternal.h:2751:9`! DTXT(308) //"wait" |
| 2752 | #define DTXT_IC_WAITDcxx . . $ `netgames/dmfc/dmfcinternal.h:2752:9`! \ |
| 2753 | DTXT(309) //"[Dedicated Server Only]\nhandles a request to make all clients wait/or stop waiting. If a time is |
| 2754 | // giving, the server will wait that long each level until it lets clients to play.\nUsage: \"$wait <on/off |
| 2755 | // or time-in-seconds>\"" |
| 2756 | |
| 2757 | #define GAME_DLL_INTERFACEcxx . . $ `netgames/dmfc/dmfcinternal.h:2757:9`! 9 |
| 2758 | |
| 2759 | // DMFC Special Packet definer |
| 2760 | #define SPID_TEAMASSIGNMENTcxx . . $ `netgames/dmfc/dmfcinternal.h:2760:9`! 0xE0 |
| 2761 | #define SPID_CHANGETEAMcxx . . $ `netgames/dmfc/dmfcinternal.h:2761:9`! 0xE1 |
| 2762 | #define SPID_REQGAMESTATEcxx . . $ `netgames/dmfc/dmfcinternal.h:2762:9`! 0xE2 |
| 2763 | #define SPID_DMFCGAMEINFOcxx . . $ `netgames/dmfc/dmfcinternal.h:2763:9`! 0xE3 |
| 2764 | #define SPID_VERSIONIDcxx . . $ `netgames/dmfc/dmfcinternal.h:2764:9`! 0xE4 |
| 2765 | #define SPID_PRECORDcxx . . $ `netgames/dmfc/dmfcinternal.h:2765:9`! 0xE5 |
| 2766 | #define SPID_PRECORDREQcxx . . $ `netgames/dmfc/dmfcinternal.h:2766:9`! 0xE6 |
| 2767 | #define SPID_CONTROLMSGcxx . . $ `netgames/dmfc/dmfcinternal.h:2767:9`! 0xE7 |
| 2768 | #define SPID_NETGAMESYNCcxx . . $ `netgames/dmfc/dmfcinternal.h:2768:9`! 0xE8 |
| 2769 | #define SPID_NEWTEAMNAMEcxx . . $ `netgames/dmfc/dmfcinternal.h:2769:9`! 0xE9 |
| 2770 | #define SPID_REMOTETOSERVERcxx . . $ `netgames/dmfc/dmfcinternal.h:2770:9`! 0xEA |
| 2771 | #define SPID_REMOTETOCLIENTcxx . . $ `netgames/dmfc/dmfcinternal.h:2771:9`! 0xEB |
| 2772 | #define SPID_SERVERREMOTEMSGcxx . . $ `netgames/dmfc/dmfcinternal.h:2772:9`! 0xEC |
| 2773 | #define SPID_REMOTEKEYcxx . . $ `netgames/dmfc/dmfcinternal.h:2773:9`! 0xED |
| 2774 | #define SPID_REALGAMETIMEcxx . . $ `netgames/dmfc/dmfcinternal.h:2774:9`! 0xEE |
| 2775 | |
| 2776 | #define HUD_CALLSIGN_LEVEL_FULLcxx . . $ `netgames/dmfc/dmfcinternal.h:2776:9`! 2 |
| 2777 | #define HUD_CALLSIGN_LEVEL_TEAMcxx . . $ `netgames/dmfc/dmfcinternal.h:2777:9`! 1 |
| 2778 | #define HUD_CALLSIGN_LEVEL_NONEcxx . . $ `netgames/dmfc/dmfcinternal.h:2778:9`! 0 |
| 2779 | |
| 2780 | #define DM_FILTER_FULLcxx . . $ `netgames/dmfc/dmfcinternal.h:2780:9`! 2 |
| 2781 | #define DM_FILTER_SIMPLEcxx . . $ `netgames/dmfc/dmfcinternal.h:2781:9`! 1 |
| 2782 | #define DM_FILTER_NONEcxx . . $ `netgames/dmfc/dmfcinternal.h:2782:9`! 0 |
| 2783 | |
| 2784 | #define UIID_TEAMPLACEMENTcxx . . $ `netgames/dmfc/dmfcinternal.h:2784:9`! 0xEEE0 |
| 2785 | #define UIID_WAITFORPLAYERScxx . . $ `netgames/dmfc/dmfcinternal.h:2785:9`! 0xEEE1 |
| 2786 | |
| 2787 | // Uncomment the following define to put a black background on the in-game menus |
| 2788 | // #define DMFC_MENUBACKGROUND |
| 2789 | |
| 2790 | #define PINFO_CLEARcxx . . $ `netgames/dmfc/dmfcinternal.h:2790:9`! -2 |
| 2791 | #define PINFO_INUSEcxx . . $ `netgames/dmfc/dmfcinternal.h:2791:9`! -1 |
| 2792 | |
| 2793 | #define MAX_STATE_SUBMENUScxx . . $ `netgames/dmfc/dmfcinternal.h:2793:9`! 64 // maximum number of state menu items a MIT_STATE menu can have |
| 2794 | |
| 2795 | int GetBanPlayerListcxx . . $ GetBanPlayerList(b126dc7c1de90089).(void); |
| 2796 | char *GetBannedPlayerStringcxx . . $ GetBannedPlayerString(ff224f080444ee45).(int index); |
| 2797 | |
| 2798 | // Menu Function handlers |
| 2799 | void KickPlayercxx . . $ KickPlayer(d4f767463ce0a6b3).(int pnum); |
| 2800 | void EndMultiLevelcxx . . $ EndMultiLevel(d4f767463ce0a6b3).(int i); |
| 2801 | void BanPlayercxx . . $ BanPlayer(d4f767463ce0a6b3).(int pnum); |
| 2802 | // Removes a ban for a player, give the ban index # |
| 2803 | void RemoveBanByIndexcxx . . $ RemoveBanByIndex(d4f767463ce0a6b3).(int index); |
| 2804 | void BalanceTeamscxx . . $ BalanceTeams(d4f767463ce0a6b3).(int i); |
| 2805 | void SwitchAutoTeamSelectcxx . . $ SwitchAutoTeamSelect(d4f767463ce0a6b3).(int i); |
| 2806 | void SwitchPlayerInfocxx . . $ SwitchPlayerInfo(d4f767463ce0a6b3).(int pnum); |
| 2807 | void ChangeTeamscxx . . $ ChangeTeams(d4f767463ce0a6b3).(int team); |
| 2808 | void SwitchTeamChangecxx . . $ SwitchTeamChange(d4f767463ce0a6b3).(int i); |
| 2809 | void SwitchHudPlayerNumcxx . . $ SwitchHudPlayerNum(d4f767463ce0a6b3).(int i); |
| 2810 | void SaveStatsToFilecxx . . $ SaveStatsToFile(d4f767463ce0a6b3).(int i); |
| 2811 | void SwitchStatHUDMessagescxx . . $ SwitchStatHUDMessages(d4f767463ce0a6b3).(int i); |
| 2812 | // Turns on/off Observer Mode |
| 2813 | void SwitchObserverModecxx . . $ SwitchObserverMode(d4f767463ce0a6b3).(int i); |
| 2814 | // Turns on/off PiggyBack mode |
| 2815 | void SwitchPiggyBackcxx . . $ SwitchPiggyBack(d4f767463ce0a6b3).(int pnum); |
| 2816 | // Exits the on-screen menu |
| 2817 | void MenuExitMenucxx . . $ MenuExitMenu(d4f767463ce0a6b3).(int i); |
| 2818 | // Switches on/off auto saving of the stats to file on level end |
| 2819 | void SwitchSaveStatsLevelEndcxx . . $ SwitchSaveStatsLevelEnd(d4f767463ce0a6b3).(int i); |
| 2820 | // Switches on/off auto saving of the stats to file on disconnect from the game |
| 2821 | void SwitchSaveStatsDisconnectcxx . . $ SwitchSaveStatsDisconnect(d4f767463ce0a6b3).(int i); |
| 2822 | // Switches on/off displaying the background |
| 2823 | void SwitchMenuBackgroundcxx . . $ SwitchMenuBackground(d4f767463ce0a6b3).(int i); |
| 2824 | // Switches on/off displaying the netgame info |
| 2825 | void SwitchNetGameInfocxx . . $ SwitchNetGameInfo(d4f767463ce0a6b3).(int i); |
| 2826 | // Switch the server's Max HUD Callsign level |
| 2827 | void SwitchServerHudPlayerNamecxx . . $ SwitchServerHudPlayerName(d4f767463ce0a6b3).(int i); |
| 2828 | // Switches the death message filter |
| 2829 | void SwitchDeathMessageFiltercxx . . $ SwitchDeathMessageFilter(d4f767463ce0a6b3).(int i); |
| 2830 | // brings up the team config dialog for the server |
| 2831 | void OnScreenDisplayTeamConfigcxx . . $ OnScreenDisplayTeamConfig(d4f767463ce0a6b3).(int i); |
| 2832 | // Switches turning on/off displaying ship logos |
| 2833 | void SwitchShipLogoEnablecxx . . $ SwitchShipLogoEnable(d4f767463ce0a6b3).(int i); |
| 2834 | // Switches turning on/off audio taunts |
| 2835 | void SwitchAudioTauntsEnablecxx . . $ SwitchAudioTauntsEnable(d4f767463ce0a6b3).(int i); |
| 2836 | // Change the pps for a client |
| 2837 | void DecreasePacketsPerSecondcxx . . $ DecreasePacketsPerSecond(d4f767463ce0a6b3).(int i); |
| 2838 | void IncreasePacketsPerSecondcxx . . $ IncreasePacketsPerSecond(d4f767463ce0a6b3).(int i); |
| 2839 | // Rehashs the hosts.allow/deny lists |
| 2840 | void RehashAllowDenyListscxx . . $ RehashAllowDenyLists(d4f767463ce0a6b3).(int i); |
| 2841 | void SwitchLossPingIndicatorcxx . . $ SwitchLossPingIndicator(d4f767463ce0a6b3).(int i); |
| 2842 | |
| 2843 | /* |
| 2844 | **************************************** |
| 2845 | Remote administration |
| 2846 | **************************************** |
| 2847 | */ |
| 2848 | // Initializes the remote administration system |
| 2849 | void Remote_Initializecxx . . $ Remote_Initialize(49f6e7a06ebc5aa8).(void); |
| 2850 | // Processes remote administration for the frame |
| 2851 | void Remote_ProcessFramecxx . . $ Remote_ProcessFrame(49f6e7a06ebc5aa8).(void); |
| 2852 | // Gets the key for the given player record |
| 2853 | uint8_tcxx . . $ uint8_t# *Remote_GetKeycxx . . $ Remote_GetKey(f18dc31a6ecbac56).(int prec); |
| 2854 | // Enables/Disables remote administration |
| 2855 | void Remote_Enablecxx . . $ Remote_Enable(b45ddcbc8423892c).(bool enable); |
| 2856 | // sets the administration password for the server |
| 2857 | // pass in an unencrypted password |
| 2858 | void Remote_SetPasswordcxx . . $ Remote_SetPassword(fda57c8427c60377).(char *password); |
| 2859 | // Sets a clients key |
| 2860 | void Remote_SetMyKeycxx . . $ Remote_SetMyKey(f25546b61a629de7).(uint8_tcxx . . $ uint8_t# key[8]); |
| 2861 | // handles a remote command (client side) |
| 2862 | void Remote_ClientProcesscxx . . $ Remote_ClientProcess(85c52e162fed56f9).(const char *command); |
| 2863 | // Lists the players logged in |
| 2864 | void Remote_ListLoginscxx . . $ Remote_ListLogins(49f6e7a06ebc5aa8).(void); |
| 2865 | // Logs a player out from being an administrator |
| 2866 | void Remote_Logoutcxx . . $ Remote_Logout(d4f767463ce0a6b3).(int precnum); |
| 2867 | |
| 2868 | #define MAX_RECORD_NAMEcxx . . $ `netgames/dmfc/dmfcinternal.h:2868:9`! 256 |
| 2869 | |
| 2870 | struct tRecordcxx . . $ tRecord# { |
| 2871 | char namecxx . . $ tRecord#name.[MAX_RECORD_NAMEcxx . . $ `netgames/dmfc/dmfcinternal.h:2868:9`!]; |
| 2872 | char typecxx . . $ tRecord#type.; |
| 2873 | void *datacxx . . $ tRecord#data.; |
| 2874 | tRecordcxx . . $ tRecord# *nextcxx . . $ tRecord#next.; |
| 2875 | }; |
| 2876 | |
| 2877 | struct tKeycxx . . $ tKey# { |
| 2878 | char namecxx . . $ tKey#name.[MAX_RECORD_NAMEcxx . . $ `netgames/dmfc/dmfcinternal.h:2868:9`!]; |
| 2879 | tKeycxx . . $ tKey# *nextcxx . . $ tKey#next.; |
| 2880 | tRecordcxx . . $ tRecord# *recordscxx . . $ tKey#records.; |
| 2881 | }; |
| 2882 | |
| 2883 | class CRegistrycxx . . $ CRegistry# { |
| 2884 | public: |
| 2885 | CRegistrycxx . . $ CRegistry#CRegistry(85c52e162fed56f9).(const char *name); |
| 2886 | ~cxx . . $ CRegistry#`~CRegistry`(49f6e7a06ebc5aa8).CRegistrycxx . . $ CRegistry#(); |
| 2887 | void Exportcxx . . $ CRegistry#Export(49f6e7a06ebc5aa8).(); |
| 2888 | bool Importcxx . . $ CRegistry#Import(c9857a73d68e59ba).(); |
| 2889 | void CreateKeycxx . . $ CRegistry#CreateKey(85c52e162fed56f9).(const char *name); |
| 2890 | bool LookupKeycxx . . $ CRegistry#LookupKey(c5f7da30cbc0f4e9).(const char *name); |
| 2891 | bool CreateRecordcxx . . $ CRegistry#CreateRecord(5438c15cf96d2f9c).(const char *name, char type, void *data); |
| 2892 | tRecordcxx . . $ tRecord# *LookupRecordcxx . . $ CRegistry#LookupRecord(f758117682a82874).(const char *record, void *data); |
| 2893 | int GetDataSizecxx . . $ CRegistry#GetDataSize(5c4306d8553b3696).(const char *record); |
| 2894 | |
| 2895 | private: |
| 2896 | void Destroycxx . . $ CRegistry#Destroy(49f6e7a06ebc5aa8).(void); |
| 2897 | void DestroyKeycxx . . $ CRegistry#DestroyKey(75fb02095f21236d).(tKeycxx . . $ tKey# *key); |
| 2898 | void DestroyRecordcxx . . $ CRegistry#DestroyRecord(a197468c659cdcd8).(tRecordcxx . . $ tRecord# *record); |
| 2899 | void ExportKeycxx . . $ CRegistry#ExportKey(92c7fc897522a687).(tKeycxx . . $ tKey# *key, CFILEcxx . . $ CFILE# *file); |
| 2900 | void ExportRecordcxx . . $ CRegistry#ExportRecord(6063bfd1cdb4bc41).(tRecordcxx . . $ tRecord# *record, CFILEcxx . . $ CFILE# *file); |
| 2901 | char *SkipWhitecxx . . $ CRegistry#SkipWhite(7a9722d75b371431).(char *p); |
| 2902 | char *ParseStringcxx . . $ CRegistry#ParseString(16cab7bd68b2d8b0).(char *p, char *buf, int bufsize, char sdelim, char edelim); |
| 2903 | char *ParseTokencxx . . $ CRegistry#ParseToken(4b1661a75e253f1d).(char *p, char *buf, int bufsize); |
| 2904 | char namecxx . . $ CRegistry#name.[MAX_RECORD_NAMEcxx . . $ `netgames/dmfc/dmfcinternal.h:2868:9`!]; |
| 2905 | tKeycxx . . $ tKey# *rootcxx . . $ CRegistry#root.; |
| 2906 | tKeycxx . . $ tKey# *currentkeycxx . . $ CRegistry#currentkey.; |
| 2907 | }; |
| 2908 | |
| 2909 | // Initializes the Player records |
| 2910 | void PRec_Initcxx . . $ PRec_Init(49f6e7a06ebc5aa8).(void); |
| 2911 | // Frees up and closes the Player records |
| 2912 | void PRec_Closecxx . . $ PRec_Close(49f6e7a06ebc5aa8).(void); |
| 2913 | // Sets up the Player records so they can be used for Multiplayer user defined stats |
| 2914 | // sizeof_user_stats : size of the struct for each player's stats |
| 2915 | // pack_callback : callback function called when data from the struct needs to be packed |
| 2916 | // into a packet. It is SUPER important that this function packs the data |
| 2917 | // in little endian format. This function gets a pointer to the struct that |
| 2918 | // needs to be packed (user_info), and a buffer in which to pack it to. This |
| 2919 | // function is to return the number of bytes it has packed. |
| 2920 | // unpack_callback : callback function called when data from the struct needs to be unpacket |
| 2921 | // from a packet. This data will be in little endian format. Returns the number of |
| 2922 | // bytes unpacked. |
| 2923 | // returns: 1 if size given was <=0 (if so all previous user stats will be removed) |
| 2924 | // 0 all went ok |
| 2925 | // -1 out of memory (all user stats memory will be freed) |
| 2926 | // -2 invalid callbacks |
| 2927 | int PRec_SetupUserPReccxx . . $ PRec_SetupUserPRec(7df49e8a00e47932).(int sizeof_user_stats, int (*pack_callback)(void *user_info, uint8_tcxx . . $ uint8_t# *data), |
| 2928 | int (*unpack_callback)(void *user_info, uint8_tcxx . . $ uint8_t# *data)); |
| 2929 | // Given a pnum it will return the PRec slot of that player, or -1 if it's not a valid player |
| 2930 | int PRec_GetPlayerSlotcxx . . $ PRec_GetPlayerSlot(7864480464b09eea).(int pnum); |
| 2931 | // Given a PRec slot, it returns a pointer to the user stats struct, NULL if error, or PRec_SetupUserPRec |
| 2932 | // hasn't been called yet |
| 2933 | void *PRec_GetUserStatscxx . . $ PRec_GetUserStats(d1680a912d714170).(int slot); |
| 2934 | // Returns a pointer to a player_record for the requested slot, NULL if error |
| 2935 | player_recordcxx . . $ player_record# *PRec_GetPRecordcxx . . $ PRec_GetPRecord(6359c6f28dd028ae).(int slot); |
| 2936 | |
| 2937 | // Sets a disconnect time for a player |
| 2938 | void PRec_SetDisconnectTimecxx . . $ PRec_SetDisconnectTime(43c79ee2f1b9aefe).(int slot, float time); |
| 2939 | |
| 2940 | // Returns the PRec slot of a player who matches the given info, -1 if none |
| 2941 | // addr = network address (can be NULL) |
| 2942 | // tracker_id = Mastertracker ID (can be NULL) |
| 2943 | int PRec_FindPlayercxx . . $ PRec_FindPlayer(4f784f6a1e751a10).(const char *callsign, network_addresscxx . . $ network_address# *addr, const char *tracker_id); |
| 2944 | |
| 2945 | // Gets the first available free slot (STATE_EMPTY), if none are available it clears and returns |
| 2946 | // the oldest disconnected player (STATE_DISCONNECTED) |
| 2947 | int PRec_GetFreeSlotcxx . . $ PRec_GetFreeSlot(b126dc7c1de90089).(void); |
| 2948 | // Assigns a player to a specified slot (fills in the info, and prepares the slot for action) |
| 2949 | // Do Not use this for a reconnecting player |
| 2950 | bool PRec_AssignPlayerToSlotcxx . . $ PRec_AssignPlayerToSlot(a983d75b38abae39).(int pnum, int slot, playercxx . . $ player# *players_array, netplayercxx . . $ netplayer# *netplayers_array); |
| 2951 | // Reconnects a player to a STATE_DISCONNECTED slot |
| 2952 | bool PRec_ReconnectPlayerToSlotcxx . . $ PRec_ReconnectPlayerToSlot(a983d75b38abae39).(int pnum, int slot, playercxx . . $ player# *players_array, netplayercxx . . $ netplayer# *netplayers_array); |
| 2953 | // Disconnects a player from the Player records |
| 2954 | bool PRec_DisconnectPlayercxx . . $ PRec_DisconnectPlayer(83c267b20bac841a).(int pnum); |
| 2955 | // Clear all the level volatile (things that reset with the change of levels) things |
| 2956 | void PRec_LevelResetcxx . . $ PRec_LevelReset(49f6e7a06ebc5aa8).(void); |
| 2957 | // Sends the Player records info to the given client |
| 2958 | void PRec_SendPRecToPlayercxx . . $ PRec_SendPRecToPlayer(d4f767463ce0a6b3).(int pnum); |
| 2959 | // Receives the Player records info from the server |
| 2960 | void PRec_ReceivePRecFromServercxx . . $ PRec_ReceivePRecFromServer(f25546b61a629de7).(uint8_tcxx . . $ uint8_t# *data); |
| 2961 | // Sets the team of a player given the pnum |
| 2962 | void PRec_SetPlayerTeamcxx . . $ PRec_SetPlayerTeam(3e454b8ccf442868).(int pnum, int team); |
| 2963 | // Gets the team of a player given the pnum |
| 2964 | int PRec_GetPlayerTeamcxx . . $ PRec_GetPlayerTeam(7864480464b09eea).(int pnum); |
| 2965 | // Returns a pointer to a player_record of a player, NULL if error |
| 2966 | player_recordcxx . . $ player_record# *PRec_GetPRecordByPnumcxx . . $ PRec_GetPRecordByPnum(6359c6f28dd028ae).(int pnum); |
| 2967 | int translate_precptr_to_indexcxx . . $ translate_precptr_to_index(94a7156e227b3396).(player_recordcxx . . $ player_record# *pr); |
| 2968 | |
| 2969 | #endif |