| 1 | /* |
| 2 | * Descent 3 |
| 3 | * Copyright (C) 2024 Parallax Software |
| 4 | * |
| 5 | * This program is free software: you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License as published by |
| 7 | * the Free Software Foundation, either version 3 of the License, or |
| 8 | * (at your option) any later version. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU General Public License |
| 16 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 17 | */ |
| 18 | |
| 19 | #ifndef __TELCOM_H_ |
| 20 | #define __TELCOM_H_cxx . . $ `Descent3/TelCom.h:20:9`! |
| 21 | |
| 22 | #include "hotspotmap.h"cxx . . $ `<file>/Descent3/hotspotmap.h`/ |
| 23 | #include "gamefont.h"cxx . . $ `<file>/Descent3/gamefont.h`/ |
| 24 | #include "bitmap.h"cxx . . $ `<file>/lib/bitmap.h`/ |
| 25 | |
| 26 | // TelCom Briefing System Header File |
| 27 | |
| 28 | // TelCom Function Prototypes |
| 29 | // these are the functions that can/should be called outside of TelCom*.cpp |
| 30 | |
| 31 | // inits the Telcom system...needs to be called before anything else, only needs to be called once |
| 32 | void TelComInitcxx . . $ TelComInit(49f6e7a06ebc5aa8).(void); |
| 33 | |
| 34 | // handles input processing, etc |
| 35 | void TelComDefercxx . . $ TelComDefer(49f6e7a06ebc5aa8).(void); |
| 36 | |
| 37 | // Pages in all the necessary bitmaps, textures & sounds for the TelCom so that they are in memory |
| 38 | void TelcomPageAllIncxx . . $ TelcomPageAllIn(49f6e7a06ebc5aa8).(void); |
| 39 | |
| 40 | // Cleanup crew, don't worry about calling this guy, it's an atexit() in the init |
| 41 | void TelComFreecxx . . $ TelComFree(49f6e7a06ebc5aa8).(); |
| 42 | |
| 43 | // actually displays the Telcom system, if you specify a system it will display showing that system, |
| 44 | // else it will display the last used system |
| 45 | // returns true on success |
| 46 | |
| 47 | bool TelComShowcxx . . $ TelComShow(f2cb034b043a1ce9).(bool ingame = true, bool ShipSelect = false); |
| 48 | bool TelComShowcxx . . $ TelComShow(636f4aecd7c651f4).(int system, bool ingame = true, bool ShipSelect = false); |
| 49 | |
| 50 | // deactivates the TelCom system if it is running |
| 51 | void TelComDeactivatecxx . . $ TelComDeactivate(49f6e7a06ebc5aa8).(void); |
| 52 | |
| 53 | #define HOTSPOT_DISPLAYcxx . . $ `Descent3/TelCom.h:53:9`! "TelComon.HSM" // string name for the HotSpot map |
| 54 | |
| 55 | #define TELCOM_DISPLAY_TGAcxx . . $ `Descent3/TelCom.h:55:9`! "TelComOff.TGA" // string name for the TGA file that needs to be converted |
| 56 | #define TELCOM_DISPLAY_OGFcxx . . $ `Descent3/TelCom.h:56:9`! "TelComOff.OGF" // converted OGF filename |
| 57 | #define TELCOM_DISPLAY_OGF_ONcxx . . $ `Descent3/TelCom.h:57:9`! "TelComOn.OGF" // TelCom in the on state file |
| 58 | #define BACKGROUND_COLORcxx . . $ `Descent3/TelCom.h:58:9`! GR_RGB(49, 29, 150) |
| 59 | |
| 60 | /* |
| 61 | $$TABLE_GAMEFILE "TelComon.HSM" |
| 62 | $$TABLE_GAMEFILE "TelComOff.OGF" |
| 63 | $$TABLE_GAMEFILE "TelComOn.OGF" |
| 64 | */ |
| 65 | |
| 66 | extern chunked_bitmapcxx . . $ chunked_bitmap# Telcom_bitmapcxx . . $ Telcom_bitmap.; |
| 67 | extern int TC_cursorcxx . . $ TC_cursor.; |
| 68 | extern float last_frametimecxx . . $ last_frametime.; |
| 69 | |
| 70 | /* |
| 71 | // Note for above: In TelCom.h there is a section of defines which give names to the above files |
| 72 | // for use when calling a function like DisplayStillScreen() |
| 73 | |
| 74 | */ |
| 75 | // NOTE: The following #defines MUST match up with Sean's alpha values |
| 76 | // TelCom Systems |
| 77 | |
| 78 | #define TS_POWERcxx . . $ `Descent3/TelCom.h:78:9`! 1 |
| 79 | #define TS_OFFcxx . . $ `Descent3/TelCom.h:79:9`! -3 // The TelCom is powered on...but nothing selected |
| 80 | |
| 81 | #define POWER_BUTTONcxx . . $ `Descent3/TelCom.h:81:9`! 1 |
| 82 | #define NEON_LIGHTcxx . . $ `Descent3/TelCom.h:82:9`! 2 |
| 83 | |
| 84 | #define NUMBER_OF_SYSTEMScxx . . $ `Descent3/TelCom.h:84:9`! 5 // Total number of systems listed below |
| 85 | #define TS_MAINMENUcxx . . $ `Descent3/TelCom.h:85:9`! TS_OFF |
| 86 | #define TS_MISSIONcxx . . $ `Descent3/TelCom.h:86:9`! 1 // Mission Objective system |
| 87 | #define TS_CARGOcxx . . $ `Descent3/TelCom.h:87:9`! 2 // Inventory system |
| 88 | #define TS_MAPcxx . . $ `Descent3/TelCom.h:88:9`! 3 // Automap system |
| 89 | #define TS_SHIPSELECTcxx . . $ `Descent3/TelCom.h:89:9`! 4 // SinglePlayer Ship Selection |
| 90 | #define TS_GOALScxx . . $ `Descent3/TelCom.h:90:9`! 5 // Goal status |
| 91 | |
| 92 | // Windows (=alpha value-MAX_HOTSPOTS) used internally |
| 93 | #define MAX_TELCOM_SCREENScxx . . $ `Descent3/TelCom.h:93:9`! 20 |
| 94 | #define MAX_TELCOM_EVENTScxx . . $ `Descent3/TelCom.h:94:9`! 10 |
| 95 | #define DUMMY_SCREENcxx . . $ `Descent3/TelCom.h:95:9`! MAX_TELCOM_SCREENScxx . . $ `Descent3/TelCom.h:93:9`! - 1 |
| 96 | |
| 97 | // Monitors |
| 98 | #define MONITOR_MAINcxx . . $ `Descent3/TelCom.h:98:9`! 0 |
| 99 | #define MONITOR_TOPcxx . . $ `Descent3/TelCom.h:99:9`! 1 |
| 100 | #define MAX_MONITORcxx . . $ `Descent3/TelCom.h:100:9`! 2 |
| 101 | |
| 102 | // Telcom keys |
| 103 | #define TCSYS_TABcxx . . $ `Descent3/TelCom.h:103:9`! 0 |
| 104 | #define TCSYS_UPcxx . . $ `Descent3/TelCom.h:104:9`! 1 |
| 105 | #define TCSYS_DOWNcxx . . $ `Descent3/TelCom.h:105:9`! 2 |
| 106 | #define TCSYS_LEFTcxx . . $ `Descent3/TelCom.h:106:9`! 3 |
| 107 | #define TCSYS_RIGHTcxx . . $ `Descent3/TelCom.h:107:9`! 4 |
| 108 | #define TCSYS_ENTERcxx . . $ `Descent3/TelCom.h:108:9`! 5 |
| 109 | #define TCSYS_SPACEcxx . . $ `Descent3/TelCom.h:109:9`! 6 |
| 110 | #define TCSYS_Qcxx . . $ `Descent3/TelCom.h:110:9`! 7 |
| 111 | #define TCSYS_F1cxx . . $ `Descent3/TelCom.h:111:9`! 8 |
| 112 | #define TCSYS_F2cxx . . $ `Descent3/TelCom.h:112:9`! 9 |
| 113 | #define TCSYS_F3cxx . . $ `Descent3/TelCom.h:113:9`! 10 |
| 114 | #define TCSYS_PRINTSCRNcxx . . $ `Descent3/TelCom.h:114:9`! 11 |
| 115 | #define TCSYS_1cxx . . $ `Descent3/TelCom.h:115:9`! 12 |
| 116 | #define TCSYS_2cxx . . $ `Descent3/TelCom.h:116:9`! 13 |
| 117 | #define TCSYS_3cxx . . $ `Descent3/TelCom.h:117:9`! 14 |
| 118 | #define TCSYS_4cxx . . $ `Descent3/TelCom.h:118:9`! 15 |
| 119 | #define TCSYS_5cxx . . $ `Descent3/TelCom.h:119:9`! 16 |
| 120 | #define TCSYS_6cxx . . $ `Descent3/TelCom.h:120:9`! 17 |
| 121 | #define TCSYS_7cxx . . $ `Descent3/TelCom.h:121:9`! 18 |
| 122 | #define TCSYS_8cxx . . $ `Descent3/TelCom.h:122:9`! 19 |
| 123 | #define TCSYS_REVERSETABcxx . . $ `Descent3/TelCom.h:123:9`! 20 |
| 124 | |
| 125 | #define TCSYS_MAXKEYScxx . . $ `Descent3/TelCom.h:125:9`! 21 |
| 126 | // Screen states |
| 127 | #define SS_EMPTYcxx . . $ `Descent3/TelCom.h:127:9`! 0 |
| 128 | #define SS_BEING_MADEcxx . . $ `Descent3/TelCom.h:128:9`! 1 |
| 129 | #define SS_READYcxx . . $ `Descent3/TelCom.h:129:9`! 2 |
| 130 | |
| 131 | // Telcom system states |
| 132 | #define TCS_POWEROFFcxx . . $ `Descent3/TelCom.h:132:9`! 0 |
| 133 | #define TCS_POWERONcxx . . $ `Descent3/TelCom.h:133:9`! 1 |
| 134 | |
| 135 | // A cleanup function, freeing up memory used for the monitor windows |
| 136 | void FreeViewportscxx . . $ FreeViewports(49f6e7a06ebc5aa8).(); |
| 137 | |
| 138 | // Initializes the system buttons for use |
| 139 | void InitSystemscxx . . $ InitSystems(49f6e7a06ebc5aa8).(); |
| 140 | |
| 141 | // This function 'compresses' the on-state background, to save space |
| 142 | void CompressTelComOnImagecxx . . $ CompressTelComOnImage(367ea157a22f9336).(int bitmap, chunked_bitmapcxx . . $ chunked_bitmap# *array); |
| 143 | // frees up on-state bitmaps |
| 144 | void FreeTelComOnBitmapscxx . . $ FreeTelComOnBitmaps(1635f60f4d3c1317).(chunked_bitmapcxx . . $ chunked_bitmap# *array); |
| 145 | |
| 146 | // returns the screen coordinates of a hotspot |
| 147 | int HotSpotWcxx . . $ HotSpotW(7864480464b09eea).(int hotspot); |
| 148 | int HotSpotHcxx . . $ HotSpotH(7864480464b09eea).(int hotspot); |
| 149 | int HotSpotLcxx . . $ HotSpotL(7864480464b09eea).(int hotspot); |
| 150 | int HotSpotRcxx . . $ HotSpotR(7864480464b09eea).(int hotspot); |
| 151 | int HotSpotTcxx . . $ HotSpotT(7864480464b09eea).(int hotspot); |
| 152 | int HotSpotBcxx . . $ HotSpotB(7864480464b09eea).(int hotspot); |
| 153 | /* |
| 154 | void TCStartPowerupSound(void); |
| 155 | void TCStopPowerupSound(void); |
| 156 | void TCStartPowerDownSound(void); |
| 157 | void TCStopPowerDownSound(void); |
| 158 | void TCStartRunningSound(void); |
| 159 | void TCStopRunningSound(void); |
| 160 | void TCStartStaticSound(float amp); |
| 161 | */ |
| 162 | void TCStartBulbSoundcxx . . $ TCStartBulbSound(49f6e7a06ebc5aa8).(void); |
| 163 | void DoCursorcxx . . $ DoCursor(49f6e7a06ebc5aa8).(void); |
| 164 | |
| 165 | extern hotspotmap_tcxx . . $ hotspotmap_t# hotspotmapcxx . . $ hotspotmap.; |
| 166 | extern windowmap_tcxx . . $ windowmap_t# windowmapcxx . . $ windowmap.; |
| 167 | extern bool TelCom_runningcxx . . $ TelCom_running.; // Used within TelComMain(), when POWER button is pressed become false |
| 168 | |
| 169 | // structure for a bounding box (used when getting a hotspot bounding box) |
| 170 | struct boxcxx . . $ box# { |
| 171 | int topcxx . . $ box#top., bottomcxx . . $ box#bottom., leftcxx . . $ box#left., rightcxx . . $ box#right.; |
| 172 | }; |
| 173 | |
| 174 | struct tTCEventcxx . . $ tTCEvent# { |
| 175 | int idcxx . . $ tTCEvent#id.; |
| 176 | int parmscxx . . $ tTCEvent#parms.[2]; |
| 177 | }; |
| 178 | |
| 179 | struct tTelComInfocxx . . $ tTelComInfo# { |
| 180 | boxcxx . . $ box# Monitor_coordscxx . . $ tTelComInfo#Monitor_coords.[MAX_MONITORcxx . . $ `Descent3/TelCom.h:100:9`!]; |
| 181 | uint8_tcxx . . $ uint8_t# Screen_statecxx . . $ tTelComInfo#Screen_state.[MAX_TELCOM_SCREENScxx . . $ `Descent3/TelCom.h:93:9`!]; |
| 182 | tTCEventcxx . . $ tTCEvent# Telcom_event_queuecxx . . $ tTelComInfo#Telcom_event_queue.[MAX_TELCOM_EVENTScxx . . $ `Descent3/TelCom.h:94:9`!]; // Event queue for TelCom System |
| 183 | int TranslateSysKeycxx . . $ tTelComInfo#TranslateSysKey.[TCSYS_MAXKEYScxx . . $ `Descent3/TelCom.h:125:9`!]; |
| 184 | int current_statuscxx . . $ tTelComInfo#current_status.; |
| 185 | bool Telcom_systemkey_statescxx . . $ tTelComInfo#Telcom_systemkey_states.[TCSYS_MAXKEYScxx . . $ `Descent3/TelCom.h:125:9`!]; |
| 186 | float Telcom_mouse_downtimecxx . . $ tTelComInfo#Telcom_mouse_downtime.; |
| 187 | uint8_tcxx . . $ uint8_t# statecxx . . $ tTelComInfo#state.; |
| 188 | int TelComSysKeyEnablecxx . . $ tTelComInfo#TelComSysKeyEnable.; |
| 189 | }; |
| 190 | extern tTelComInfocxx . . $ tTelComInfo# Telcom_systemcxx . . $ Telcom_system.; |
| 191 | |
| 192 | // This is the function called by TelCom to choose a ship |
| 193 | void TelComSingleShipSelectcxx . . $ TelComSingleShipSelect(9b1dcfbcd79f78bb).(tTelComInfocxx . . $ tTelComInfo# *tcs); |
| 194 | |
| 195 | //********************************************** |
| 196 | // TelCom Rendering Functions |
| 197 | //********************************************** |
| 198 | // Initializes the Telcom rendering engine |
| 199 | void TelcomRenderInitcxx . . $ TelcomRenderInit(49f6e7a06ebc5aa8).(void); |
| 200 | // Closes down the Telcom rendering engine |
| 201 | void TelcomRenderClosecxx . . $ TelcomRenderClose(49f6e7a06ebc5aa8).(void); |
| 202 | // Renders the current screen for 1 frame |
| 203 | void TelcomRenderScreencxx . . $ TelcomRenderScreen(22445115de651e24).(bool poweron = true, bool powerup = false, uint8_tcxx . . $ uint8_t# power_effect = 1); |
| 204 | // Sets what screen should be drawn by the Telcom |
| 205 | void TelcomRenderSetScreencxx . . $ TelcomRenderSetScreen(d4f767463ce0a6b3).(int screen); |
| 206 | // Sets the callback of the Render. This will get called after Effects are drawn, before the screen overlays |
| 207 | void TelcomRenderSetCallbackcxx . . $ TelcomRenderSetCallback(964b12a25712bdc3).(void (*callback)()); |
| 208 | // Creates a placeholder screen that can be used if no screens are available |
| 209 | void TelcomCreateDummyScreencxx . . $ TelcomCreateDummyScreen(49f6e7a06ebc5aa8).(void); |
| 210 | // Creates a placeholder screen that can be used for startup |
| 211 | void TelcomCreateStartupScreencxx . . $ TelcomCreateStartupScreen(49f6e7a06ebc5aa8).(void); |
| 212 | // Creates a placeholder screen that can be used for shutdown |
| 213 | void TelcomCreateShutdownScreencxx . . $ TelcomCreateShutdownScreen(49f6e7a06ebc5aa8).(void); |
| 214 | // Enables Static on the Telcom main screen, setting is the probability of static happening |
| 215 | void TelcomEnableStaticcxx . . $ TelcomEnableStatic(9364e6e7bff7660).(float setting); |
| 216 | // Disables static on the Telcom main screen |
| 217 | void TelcomDisableStaticcxx . . $ TelcomDisableStatic(49f6e7a06ebc5aa8).(void); |
| 218 | // Enables glitching on the Telcom main screen |
| 219 | void TelcomEnableGlitchcxx . . $ TelcomEnableGlitch(9364e6e7bff7660).(float setting); |
| 220 | // Disables glitching on the TelCom |
| 221 | void TelcomDisableGlitchcxx . . $ TelcomDisableGlitch(49f6e7a06ebc5aa8).(void); |
| 222 | |
| 223 | /*************************************************** |
| 224 | * TelCom Screen Control |
| 225 | *************************************************** |
| 226 | * |
| 227 | */ |
| 228 | // Initializes the TelCom Screens so they're ready for input |
| 229 | void InitAllScreenscxx . . $ InitAllScreens(49f6e7a06ebc5aa8).(void); |
| 230 | // Destroys and clears all screens of the TelCom |
| 231 | void DestroyAllScreenscxx . . $ DestroyAllScreens(b45ddcbc8423892c).(bool remove_dummy = false); |
| 232 | // Starts a TelCom screen so it can be created |
| 233 | void TelcomStartScreencxx . . $ TelcomStartScreen(d4f767463ce0a6b3).(int screen); |
| 234 | // Ends a TelCom screen. Calling this enables the screen to be displayed |
| 235 | void TelcomEndScreencxx . . $ TelcomEndScreen(49f6e7a06ebc5aa8).(void); |
| 236 | // Advances to the next screen |
| 237 | // returns true is there is no screen (it's not being made, nor ready) |
| 238 | bool TelcomAdvanceScreencxx . . $ TelcomAdvanceScreen(c9857a73d68e59ba).(void); |
| 239 | // Backs up a screen |
| 240 | // returns true is there is no screen (it's not being made, nor ready) |
| 241 | bool TelcomBackupScreencxx . . $ TelcomBackupScreen(c9857a73d68e59ba).(void); |
| 242 | // Jumps to a screen |
| 243 | // returns true if there is no screen (not being made, nor ready) |
| 244 | bool TelComJumpScreencxx . . $ TelComJumpScreen(83c267b20bac841a).(int screen); |
| 245 | |
| 246 | /*************************************************** |
| 247 | * TelCom Event Handling |
| 248 | *************************************************** |
| 249 | */ |
| 250 | |
| 251 | // Prototypes |
| 252 | /* |
| 253 | * Initializes the TelCom Event manager system |
| 254 | * Call this as soon as possible |
| 255 | * You can call it whenever the events need to be flushed |
| 256 | */ |
| 257 | void TelComInitEventManagercxx . . $ TelComInitEventManager(49f6e7a06ebc5aa8).(void); |
| 258 | /* |
| 259 | * Calling this sends an event message to the TelCom, adding it to it's event queue |
| 260 | * |
| 261 | */ |
| 262 | void TelComSendEventcxx . . $ TelComSendEvent(b1146eedae1e1d0b).(int event_num, int parm1 = 0, int parm2 = 0); |
| 263 | /* |
| 264 | * Call this when handling the TelCom system events, returns true if there is an event waiting, it will then fill |
| 265 | * in the passed struct. You should call this repeatedly until a value of false is returned, signaling no more |
| 266 | * events in the queue |
| 267 | */ |
| 268 | bool TelComPopEventcxx . . $ TelComPopEvent(2cd38c003880a92c).(tTCEventcxx . . $ tTCEvent# *evt); |
| 269 | |
| 270 | // Similar to the TelCom's main system event queue, these are for use by individual systems |
| 271 | void TelCom_ClearSystemQueuecxx . . $ TelCom_ClearSystemQueue(49f6e7a06ebc5aa8).(void); |
| 272 | void TelCom_SendSystemEventcxx . . $ TelCom_SendSystemEvent(b1146eedae1e1d0b).(int event_num, int parm1 = -1, int parm2 = -1); |
| 273 | bool TelCom_PopSystemEventcxx . . $ TelCom_PopSystemEvent(2cd38c003880a92c).(tTCEventcxx . . $ tTCEvent# *evt); |
| 274 | |
| 275 | /* |
| 276 | Handles a possible custom key event |
| 277 | */ |
| 278 | void TelCom_ProcessCustomKeyEventcxx . . $ TelCom_ProcessCustomKeyEvent(d4f767463ce0a6b3).(int key_id); |
| 279 | /* |
| 280 | Removes any custom key event translation masks |
| 281 | */ |
| 282 | void TelCom_ClearCustomKeyEventscxx . . $ TelCom_ClearCustomKeyEvents(49f6e7a06ebc5aa8).(void); |
| 283 | /* |
| 284 | Adds a custom key event translation mask |
| 285 | */ |
| 286 | void TelCom_AddCustomKeyEventcxx . . $ TelCom_AddCustomKeyEvent(3e454b8ccf442868).(int key_id, int event_id); |
| 287 | |
| 288 | /* |
| 289 | * This should be called once a frame, it will handle all events in the TelCom system and send off any system |
| 290 | * events to the effects/buttons |
| 291 | */ |
| 292 | void TelComHandleAllEventscxx . . $ TelComHandleAllEvents(9b1dcfbcd79f78bb).(tTelComInfocxx . . $ tTelComInfo# *tcs); |
| 293 | /* |
| 294 | * Given the key that has been pressed, or being held down, it processes the event depending on what key |
| 295 | * it is. |
| 296 | * |
| 297 | */ |
| 298 | void TelComHandleKeyPresscxx . . $ TelComHandleKeyPress(46dd98b1bd92177a).(int key, bool click, int screen_id); |
| 299 | /* |
| 300 | * Enables/Disables a TelCom system key, pass in TCSYS_MAXKEYS to enable/disable all keys |
| 301 | * |
| 302 | */ |
| 303 | void TelComEnableSystemKeycxx . . $ TelComEnableSystemKey(918ebd27a9ddbad3).(int key, bool enable); |
| 304 | |
| 305 | /* |
| 306 | * Forces an effect to have focus (if is allowed to have focus) |
| 307 | * |
| 308 | */ |
| 309 | void TelComSetFocusOnEffectcxx . . $ TelComSetFocusOnEffect(d4f767463ce0a6b3).(int efxnum); |
| 310 | |
| 311 | /* |
| 312 | **************************************************************** |
| 313 | * TelCom Sound Functions * |
| 314 | **************************************************************** |
| 315 | * |
| 316 | */ |
| 317 | |
| 318 | #define TCSND_STARTUPcxx . . $ `Descent3/TelCom.h:318:9`! 0 |
| 319 | #define TCSND_STATICcxx . . $ `Descent3/TelCom.h:319:9`! 1 |
| 320 | #define TCSND_SHUTDOWNcxx . . $ `Descent3/TelCom.h:320:9`! 2 |
| 321 | #define TCSND_RUNNINGcxx . . $ `Descent3/TelCom.h:321:9`! 3 |
| 322 | #define TCSND_LIGHTBULBcxx . . $ `Descent3/TelCom.h:322:9`! 4 |
| 323 | #define TCSND_TYPINGcxx . . $ `Descent3/TelCom.h:323:9`! 5 |
| 324 | #define TCSND_CLICKcxx . . $ `Descent3/TelCom.h:324:9`! 6 |
| 325 | #define TCSND_SOUNDCOUNTcxx . . $ `Descent3/TelCom.h:325:9`! 7 |
| 326 | |
| 327 | // Initalizes the Telcom sound sytem |
| 328 | void TelcomInitSoundscxx . . $ TelcomInitSounds(49f6e7a06ebc5aa8).(void); |
| 329 | // Closes down the Telcom sound system |
| 330 | void TelcomCloseSoundscxx . . $ TelcomCloseSounds(49f6e7a06ebc5aa8).(void); |
| 331 | // Starts a sound playing (if it isn't already) |
| 332 | void TelcomStartSoundcxx . . $ TelcomStartSound(d4f767463ce0a6b3).(int sid); |
| 333 | // Stops a sound playing |
| 334 | void TelcomStopSoundcxx . . $ TelcomStopSound(d4f767463ce0a6b3).(int sid); |
| 335 | |
| 336 | extern bool Telcom_called_from_gamecxx . . $ Telcom_called_from_game.; |
| 337 | |
| 338 | #endif |