| 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/TelComEffects.h $ |
| 21 | * $Revision: 27 $ |
| 22 | * $Date: 4/20/99 12:46p $ |
| 23 | * $Author: Jeff $ |
| 24 | * |
| 25 | * TelCom Effect class defines |
| 26 | * |
| 27 | * $Log: /DescentIII/main/TelComEffects.h $ |
| 28 | * |
| 29 | * 27 4/20/99 12:46p Jeff |
| 30 | * telcom main menu, mouse over button sets focus. if you go into telcom |
| 31 | * main menu, when you leave a system it will return you to main menu. |
| 32 | * |
| 33 | * 26 4/17/99 6:15p Samir |
| 34 | * replaced gr.h with grdefs.h and fixed resulting compile bugs. |
| 35 | * |
| 36 | * 25 4/14/99 3:57a Jeff |
| 37 | * fixed case mismatch in #includes |
| 38 | * |
| 39 | * 24 4/02/99 8:32p Jeff |
| 40 | * added system event queue. Arrow keys work in main menu and ship |
| 41 | * selection |
| 42 | * |
| 43 | * 23 2/17/99 6:55p Jeff |
| 44 | * added jump button type. Added no early render flag for bitmaps. Fixed |
| 45 | * color bug for type text |
| 46 | * |
| 47 | * 22 2/03/99 12:14a Jeff |
| 48 | * updated single player ship selection to full functional...needs effects |
| 49 | * added in. Had to add flag to buttons for gain focus to register as a |
| 50 | * click |
| 51 | * |
| 52 | * 21 2/01/99 4:52p Jeff |
| 53 | * screenshots work in telcom |
| 54 | * |
| 55 | * 20 10/12/98 8:32p Jeff |
| 56 | * changed the way focus is handled |
| 57 | * |
| 58 | * 19 9/17/98 2:29p Jeff |
| 59 | * added focus filenames to button effect |
| 60 | * |
| 61 | * 18 8/27/98 2:51p Jeff |
| 62 | * New TelCom finally checked in |
| 63 | * |
| 64 | * 17 7/11/98 9:17p Jeff |
| 65 | * moved wordwrap functions out so they can be used externally |
| 66 | * |
| 67 | * 16 6/17/98 4:15p Jeff |
| 68 | * adjusted scroll button positions |
| 69 | * |
| 70 | * 15 5/19/98 3:40p Jeff |
| 71 | * poly models functional |
| 72 | * |
| 73 | * 14 5/15/98 5:16p Jeff |
| 74 | * use regular draw chunk bitmap |
| 75 | * |
| 76 | * 13 5/11/98 6:21p Jeff |
| 77 | * fixed setting glitch offsets |
| 78 | * |
| 79 | * 12 5/07/98 3:31p Jeff |
| 80 | * various optimizations, removed Copy and similar functions |
| 81 | * |
| 82 | * 11 5/05/98 6:50p Jeff |
| 83 | * Telcom doesn't use rend_DrawLFBitmap anymore...more speed! |
| 84 | * |
| 85 | * 10 5/04/98 5:29p Jeff |
| 86 | * Added sounds to TelCom events |
| 87 | * |
| 88 | * 9 5/04/98 1:35p Jeff |
| 89 | * Changes made for mouse handling |
| 90 | * |
| 91 | * 8 5/04/98 11:01a Jeff |
| 92 | * added scroll parameter to text |
| 93 | * |
| 94 | * 7 5/03/98 7:57p Jeff |
| 95 | * Got scrolling textboxes working |
| 96 | * |
| 97 | * 6 5/01/98 2:17p Jeff |
| 98 | * Added sound effect support |
| 99 | * |
| 100 | * 5 4/29/98 4:36p Jeff |
| 101 | * added auto word wrap |
| 102 | * |
| 103 | * 4 4/28/98 6:58p Jeff |
| 104 | * Added new poly model effect driver |
| 105 | * |
| 106 | * 3 4/26/98 7:20p Jeff |
| 107 | * Added the rest of the effect drivers except for scrolling text. Added |
| 108 | * invert bitmaps and stretch bitmaps |
| 109 | * |
| 110 | * 2 4/26/98 2:54a Jeff |
| 111 | * Initial Creation |
| 112 | * |
| 113 | * 1 4/25/98 4:23p Jeff |
| 114 | * |
| 115 | * $NoKeywords: $ |
| 116 | */ |
| 117 | |
| 118 | #ifndef __TELCOM_EFFECTS_H_ |
| 119 | #define __TELCOM_EFFECTS_H_cxx . . $ `Descent3/TelComEffects.h:119:9`! |
| 120 | |
| 121 | #include "pstypes.h"cxx . . $ `<file>/lib/pstypes.h`/ |
| 122 | #include "renderer.h"cxx . . $ `<file>/lib/renderer.h`/ |
| 123 | #include "grdefs.h"cxx . . $ `<file>/lib/grdefs.h`/ |
| 124 | #include "cinematics.h"cxx . . $ `<file>/Descent3/cinematics.h`/ |
| 125 | #include "TelComEfxStructs.h"cxx . . $ `<file>/Descent3/TelComEfxStructs.h`/ |
| 126 | #include "TelCom.h"cxx . . $ `<file>/Descent3/TelCom.h`/ |
| 127 | #include "vecmat_external.h"cxx . . $ `<file>/lib/vecmat_external.h`/ |
| 128 | |
| 129 | /* |
| 130 | *************************************************************************************** |
| 131 | Start of New TelCom |
| 132 | *************************************************************************************** |
| 133 | */ |
| 134 | |
| 135 | #define MAX_TCEFFECTScxx . . $ `Descent3/TelComEffects.h:135:9`! 256 |
| 136 | #define MAX_EFFECT_EVENTScxx . . $ `Descent3/TelComEffects.h:136:9`! 5 |
| 137 | #define INVALID_EFFECT_HANDLEcxx . . $ `Descent3/TelComEffects.h:137:9`! 0xFFFFFFFF |
| 138 | |
| 139 | // Effect types |
| 140 | #define EFX_NONEcxx . . $ `Descent3/TelComEffects.h:140:9`! 0 |
| 141 | #define EFX_TEXT_STATICcxx . . $ `Descent3/TelComEffects.h:141:9`! 1 |
| 142 | #define EFX_TEXT_TYPEcxx . . $ `Descent3/TelComEffects.h:142:9`! 2 |
| 143 | #define EFX_TEXT_FADEcxx . . $ `Descent3/TelComEffects.h:143:9`! 3 |
| 144 | #define EFX_BMP_STATICcxx . . $ `Descent3/TelComEffects.h:144:9`! 4 |
| 145 | #define EFX_BMP_BLURcxx . . $ `Descent3/TelComEffects.h:145:9`! 5 |
| 146 | #define EFX_BMP_SCANLINEcxx . . $ `Descent3/TelComEffects.h:146:9`! 6 |
| 147 | #define EFX_BMP_INVERTcxx . . $ `Descent3/TelComEffects.h:147:9`! 7 |
| 148 | #define EFX_BMP_STRETCHcxx . . $ `Descent3/TelComEffects.h:148:9`! 8 |
| 149 | #define EFX_BACKGROUNDcxx . . $ `Descent3/TelComEffects.h:149:9`! 9 |
| 150 | #define EFX_MOVIEcxx . . $ `Descent3/TelComEffects.h:150:9`! 10 |
| 151 | #define EFX_POLYMODELcxx . . $ `Descent3/TelComEffects.h:151:9`! 11 |
| 152 | #define EFX_SOUNDcxx . . $ `Descent3/TelComEffects.h:152:9`! 12 |
| 153 | #define EFX_BUTTONcxx . . $ `Descent3/TelComEffects.h:153:9`! 13 |
| 154 | |
| 155 | // Events |
| 156 | #define TEVT_GAINFOCUScxx . . $ `Descent3/TelComEffects.h:156:9`! 0 |
| 157 | #define TEVT_LOSTFOCUScxx . . $ `Descent3/TelComEffects.h:157:9`! 1 |
| 158 | #define TEVT_MOUSEOVERcxx . . $ `Descent3/TelComEffects.h:158:9`! 2 |
| 159 | #define TEVT_MOUSECLICKcxx . . $ `Descent3/TelComEffects.h:159:9`! 3 |
| 160 | #define TEVT_MOUSEDOWNcxx . . $ `Descent3/TelComEffects.h:160:9`! 4 |
| 161 | #define TEVT_MOUSEUPcxx . . $ `Descent3/TelComEffects.h:161:9`! 5 |
| 162 | #define TEVT_TCQUITcxx . . $ `Descent3/TelComEffects.h:162:9`! 6 |
| 163 | #define TEVT_TCNEXTcxx . . $ `Descent3/TelComEffects.h:163:9`! 7 |
| 164 | #define TEVT_TCPREVcxx . . $ `Descent3/TelComEffects.h:164:9`! 8 |
| 165 | #define TEVT_TCJUMPcxx . . $ `Descent3/TelComEffects.h:165:9`! 9 |
| 166 | #define TEVT_SCROLLDOWNcxx . . $ `Descent3/TelComEffects.h:166:9`! 10 |
| 167 | #define TEVT_SCROLLUPcxx . . $ `Descent3/TelComEffects.h:167:9`! 11 |
| 168 | #define TEVT_SCREENSHOTcxx . . $ `Descent3/TelComEffects.h:168:9`! 12 |
| 169 | #define TEVT_FAKEKEYPRESScxx . . $ `Descent3/TelComEffects.h:169:9`! 13 |
| 170 | #define TEVT_MOUSEENTERcxx . . $ `Descent3/TelComEffects.h:170:9`! 14 |
| 171 | |
| 172 | // others |
| 173 | #define BLUR_STAGE_MULTIPLEcxx . . $ `Descent3/TelComEffects.h:173:9`! 0.12f |
| 174 | #define BLUR_STAGEScxx . . $ `Descent3/TelComEffects.h:174:9`! 5 |
| 175 | #define INVALID_EFFECT_IDcxx . . $ `Descent3/TelComEffects.h:175:9`! 0x6FEFCD01 |
| 176 | |
| 177 | // Button types |
| 178 | #define BUTT_UPARROWcxx . . $ `Descent3/TelComEffects.h:178:9`! 0 |
| 179 | #define BUTT_DOWNARROWcxx . . $ `Descent3/TelComEffects.h:179:9`! 1 |
| 180 | #define BUTT_NEXTPAGEcxx . . $ `Descent3/TelComEffects.h:180:9`! 2 |
| 181 | #define BUTT_PREVPAGEcxx . . $ `Descent3/TelComEffects.h:181:9`! 3 |
| 182 | #define BUTT_QUITcxx . . $ `Descent3/TelComEffects.h:182:9`! 4 |
| 183 | #define BUTT_INTERNALcxx . . $ `Descent3/TelComEffects.h:183:9`! 5 |
| 184 | #define BUTT_JUMPcxx . . $ `Descent3/TelComEffects.h:184:9`! 6 |
| 185 | |
| 186 | // Button Click types |
| 187 | #define CLICKTYPE_CLICKDOWNcxx . . $ `Descent3/TelComEffects.h:187:9`! 0 |
| 188 | #define CLICKTYPE_CLICKUPcxx . . $ `Descent3/TelComEffects.h:188:9`! 1 |
| 189 | #define CLICKTYPE_DOWNcxx . . $ `Descent3/TelComEffects.h:189:9`! 2 |
| 190 | |
| 191 | struct tTextInfocxx . . $ tTextInfo# { |
| 192 | float last_lettercxx . . $ tTextInfo#last_letter.; // Last letter printed |
| 193 | int sound_indexcxx . . $ tTextInfo#sound_index.; // handle to sound for action |
| 194 | int font_indexcxx . . $ tTextInfo#font_index.; // Font index |
| 195 | int line_indexcxx . . $ tTextInfo#line_index.; // index of first text line (scrolling purposes) |
| 196 | bool scroll_ucxx . . $ tTextInfo#scroll_u., scroll_dcxx . . $ tTextInfo#scroll_d.; // if the scrollup down buttons are appearing |
| 197 | bool scrollcxx . . $ tTextInfo#scroll.; // set to true if it should be allowed to scroll |
| 198 | }; |
| 199 | |
| 200 | struct tBitmapInfocxx . . $ tBitmapInfo# { |
| 201 | int temp_bmhandlecxx . . $ tBitmapInfo#temp_bmhandle.; // handle of temporary bitmap |
| 202 | float stagecxx . . $ tBitmapInfo#stage.; // stage that bitmap effect is in |
| 203 | int *bitmapscxx . . $ tBitmapInfo#bitmaps.; // array of bitmaps (for scale effect) |
| 204 | int bm_countcxx . . $ tBitmapInfo#bm_count.; // how many bitmaps (for scale effect) |
| 205 | int bm_handlecxx . . $ tBitmapInfo#bm_handle.; // handle to the bitmap |
| 206 | chunked_bitmapcxx . . $ chunked_bitmap# chunk_bmpcxx . . $ tBitmapInfo#chunk_bmp.; // the chunk bitmap |
| 207 | }; |
| 208 | |
| 209 | struct tPolyInfocxx . . $ tPolyInfo# { |
| 210 | vectorcxx . . $ vector# m_Rotcxx . . $ tPolyInfo#m_Rot.; // current rotation |
| 211 | vectorcxx . . $ vector# m_Poscxx . . $ tPolyInfo#m_Pos.; // current position |
| 212 | vectorcxx . . $ vector# m_Oricxx . . $ tPolyInfo#m_Ori.; // current orientation |
| 213 | matrixcxx . . $ matrix# m_mOrientcxx . . $ tPolyInfo#m_mOrient.; // orientation |
| 214 | int handlecxx . . $ tPolyInfo#handle.; // handle to polymodel |
| 215 | }; |
| 216 | |
| 217 | struct tMovieInfocxx . . $ tMovieInfo# { |
| 218 | tCinematiccxx . . $ tCinematic# *handlecxx . . $ tMovieInfo#handle.; // handle to the movie |
| 219 | char *filenamecxx . . $ tMovieInfo#filename.; // filename of the movie |
| 220 | float fpscxx . . $ tMovieInfo#fps.; // fps |
| 221 | }; |
| 222 | |
| 223 | struct tSoundInfocxx . . $ tSoundInfo# { |
| 224 | bool startedcxx . . $ tSoundInfo#started.; // has the sound started? |
| 225 | int handlecxx . . $ tSoundInfo#handle.; // handle of the sound |
| 226 | }; |
| 227 | |
| 228 | struct tButtonInfocxx . . $ tButtonInfo# { |
| 229 | bool flash_statecxx . . $ tButtonInfo#flash_state.; // Is the button glowing? |
| 230 | uint8_tcxx . . $ uint8_t# click_typecxx . . $ tButtonInfo#click_type.; // CLICKTYPE_DOWN or CLICKTYPE_CLICK (what the button responds to) |
| 231 | uint8_tcxx . . $ uint8_t# button_typecxx . . $ tButtonInfo#button_type.; |
| 232 | int siblingcxx . . $ tButtonInfo#sibling.; // Sibling effect (for down/up arrows), -1 if none |
| 233 | int parentcxx . . $ tButtonInfo#parent.; // Parent effect (text for down/up arrows), -1 if it works with TelCom System |
| 234 | int bm_handlecxx . . $ tButtonInfo#bm_handle.; |
| 235 | int bmfocus_handlecxx . . $ tButtonInfo#bmfocus_handle.; |
| 236 | int flash_handlecxx . . $ tButtonInfo#flash_handle.; |
| 237 | int flashfocus_handlecxx . . $ tButtonInfo#flashfocus_handle.; |
| 238 | int real_xcxx . . $ tButtonInfo#real_x., real_ycxx . . $ tButtonInfo#real_y.; |
| 239 | int jump_pagecxx . . $ tButtonInfo#jump_page.; |
| 240 | float flash_timecxx . . $ tButtonInfo#flash_time.; |
| 241 | void (*internalcxx . . $ tButtonInfo#internal.)(int); |
| 242 | chunked_bitmapcxx . . $ chunked_bitmap# chunk_bmpcxx . . $ tButtonInfo#chunk_bmp.; |
| 243 | chunked_bitmapcxx . . $ chunked_bitmap# chunkfocus_bmpcxx . . $ tButtonInfo#chunkfocus_bmp.; |
| 244 | chunked_bitmapcxx . . $ chunked_bitmap# flash_chunkcxx . . $ tButtonInfo#flash_chunk.; |
| 245 | chunked_bitmapcxx . . $ chunked_bitmap# flashfocus_chunkcxx . . $ tButtonInfo#flashfocus_chunk.; |
| 246 | }; |
| 247 | |
| 248 | struct tceffectcxx . . $ tceffect# { |
| 249 | uint8_tcxx . . $ uint8_t# typecxx . . $ tceffect#type.; // Type of effect |
| 250 | uint8_tcxx . . $ uint8_t# monitorcxx . . $ tceffect#monitor.; // Which monitor it belongs to |
| 251 | uint8_tcxx . . $ uint8_t# screencxx . . $ tceffect#screen.; // What screen the effect belongs to |
| 252 | bool tab_stopcxx . . $ tceffect#tab_stop.; // This effect can have focus |
| 253 | bool has_focuscxx . . $ tceffect#has_focus.; // The effect currently has focus |
| 254 | |
| 255 | int idcxx . . $ tceffect#id.; // user given ID of effect (should be unique) |
| 256 | |
| 257 | char *text_buffercxx . . $ tceffect#text_buffer.; // Pointer to allocated memory for text string |
| 258 | |
| 259 | int flagscxx . . $ tceffect#flags.; // flags for effect |
| 260 | |
| 261 | int pos_xcxx . . $ tceffect#pos_x., pos_ycxx . . $ tceffect#pos_y.; // Position of upper left corner |
| 262 | int wcxx . . $ tceffect#w., hcxx . . $ tceffect#h.; // width and height |
| 263 | ddgr_colorcxx . . $ ddgr_color# colorcxx . . $ tceffect#color.; // Color of effect |
| 264 | |
| 265 | float speedcxx . . $ tceffect#speed.; // speed of effect |
| 266 | float alphacxx . . $ tceffect#alpha.; // alpha of effect |
| 267 | float agecxx . . $ tceffect#age.; // current age of effect |
| 268 | float start_timecxx . . $ tceffect#start_time.; // how long until the effect starts |
| 269 | |
| 270 | unioncxx . . $ tceffect#$anonymous_type_0# { |
| 271 | tTextInfocxx . . $ tTextInfo# textinfocxx . . $ tceffect#$anonymous_type_0#textinfo.; |
| 272 | tBitmapInfocxx . . $ tBitmapInfo# bmpinfocxx . . $ tceffect#$anonymous_type_0#bmpinfo.; |
| 273 | tPolyInfocxx . . $ tPolyInfo# polyinfocxx . . $ tceffect#$anonymous_type_0#polyinfo.; |
| 274 | tMovieInfocxx . . $ tMovieInfo# movieinfocxx . . $ tceffect#$anonymous_type_0#movieinfo.; |
| 275 | tSoundInfocxx . . $ tSoundInfo# soundinfocxx . . $ tceffect#$anonymous_type_0#soundinfo.; |
| 276 | tButtonInfocxx . . $ tButtonInfo# buttoninfocxx . . $ tceffect#$anonymous_type_0#buttoninfo.; |
| 277 | }; |
| 278 | |
| 279 | tTCEventcxx . . $ tTCEvent# event_queuecxx . . $ tceffect#event_queue.[MAX_EFFECT_EVENTScxx . . $ `Descent3/TelComEffects.h:136:9`!]; // event queue for an effect |
| 280 | |
| 281 | int prevcxx . . $ tceffect#prev., nextcxx . . $ tceffect#next.; // Links to previous and next effect |
| 282 | }; |
| 283 | |
| 284 | extern int glitch_dxcxx . . $ glitch_dx., glitch_dycxx . . $ glitch_dy.; |
| 285 | |
| 286 | extern tceffectcxx . . $ tceffect# TCEffectscxx . . $ TCEffects.[MAX_TCEFFECTScxx . . $ `Descent3/TelComEffects.h:135:9`!]; |
| 287 | extern int Screen_rootscxx . . $ Screen_roots.[MAX_TELCOM_SCREENScxx . . $ `Descent3/TelCom.h:93:9`!]; |
| 288 | |
| 289 | ///////////////////////////////////////////////// |
| 290 | // Prototypes |
| 291 | |
| 292 | // Initializes the effects |
| 293 | void EfxInitcxx . . $ EfxInit(49f6e7a06ebc5aa8).(void); |
| 294 | |
| 295 | // Shutdown of effects |
| 296 | void EfxClosecxx . . $ EfxClose(49f6e7a06ebc5aa8).(void); |
| 297 | |
| 298 | // Creates an instance of an Effect |
| 299 | int EfxCreatecxx . . $ EfxCreate(74f64f8596f35e6e).(int type, int monitor, int screen, int id = INVALID_EFFECT_IDcxx . . $ `Descent3/TelComEffects.h:175:9`!, bool is_tab_stop = false); |
| 300 | |
| 301 | // Destroys all the screens |
| 302 | void EfxDestroyAllScreenscxx . . $ EfxDestroyAllScreens(49f6e7a06ebc5aa8).(void); |
| 303 | |
| 304 | // Destroys the screens within a monitor |
| 305 | void EfxDestroyScreencxx . . $ EfxDestroyScreen(d4f767463ce0a6b3).(int screen); |
| 306 | |
| 307 | // Frees up any memory allocated for effect, sets type to EFX_NONE |
| 308 | void EfxFreeEffectcxx . . $ EfxFreeEffect(81d02e5e28eb5e61).(tceffectcxx . . $ tceffect# *tce); |
| 309 | |
| 310 | // Initializes an effect based on it's type |
| 311 | void EfxInitcxx . . $ EfxInit(67e45776e5bc3bc1).(tceffectcxx . . $ tceffect# *tce, bool tab_stop, bool gets_focus); |
| 312 | |
| 313 | // Renders a Monitor |
| 314 | void RenderScreencxx . . $ RenderScreen(b1f405cd48763783).(int screen, tTelComInfocxx . . $ tTelComInfo# *tsys, float Frametime); |
| 315 | |
| 316 | // Renders an effect |
| 317 | void RenderEffectcxx . . $ RenderEffect(cedd11bfcbfae79).(tceffectcxx . . $ tceffect# *tce, float frametime, int xoff, int yoff, bool ok_to_render); |
| 318 | |
| 319 | // Sends an event to an effect |
| 320 | void SendEventToEffectcxx . . $ SendEventToEffect(748afa4755bc9595).(int effect, int event, int parm1 = 0, int parm2 = 0); |
| 321 | |
| 322 | // returns the efxnum of the button that contains the X,Y on the given monitor/screen, -1 if none |
| 323 | int FindButtonEffectByXYcxx . . $ FindButtonEffectByXY(2326284602b0bb2d).(int x, int y, int screen); |
| 324 | |
| 325 | // Returns the efxnum given an id & screen, -1 if not found |
| 326 | int GetEfxNumFromIDcxx . . $ GetEfxNumFromID(9b79fb6aee4c0440).(int id, int screen); |
| 327 | |
| 328 | // Pops off an event for processesing, returns -1 if no event available |
| 329 | bool PopEventcxx . . $ PopEvent(6a9d2426593e3e3).(tceffectcxx . . $ tceffect# *tce, tTCEventcxx . . $ tTCEvent# *event); |
| 330 | void RenderTextStaticcxx . . $ RenderTextStatic(cedd11bfcbfae79).(tceffectcxx . . $ tceffect# *tce, float frametime, int xoff, int yoff, bool ok_to_render); |
| 331 | void RenderTextTypecxx . . $ RenderTextType(cedd11bfcbfae79).(tceffectcxx . . $ tceffect# *tce, float frametime, int xoff, int yoff, bool ok_to_render); |
| 332 | void RenderTextFadecxx . . $ RenderTextFade(cedd11bfcbfae79).(tceffectcxx . . $ tceffect# *tce, float frametime, int xoff, int yoff, bool ok_to_render); |
| 333 | void RenderBmpStaticcxx . . $ RenderBmpStatic(cedd11bfcbfae79).(tceffectcxx . . $ tceffect# *tce, float frametime, int xoff, int yoff, bool ok_to_render); |
| 334 | void RenderBmpBlurcxx . . $ RenderBmpBlur(cedd11bfcbfae79).(tceffectcxx . . $ tceffect# *tce, float frametime, int xoff, int yoff, bool ok_to_render); |
| 335 | void RenderBmpScanlinecxx . . $ RenderBmpScanline(cedd11bfcbfae79).(tceffectcxx . . $ tceffect# *tce, float frametime, int xoff, int yoff, bool ok_to_render); |
| 336 | void RenderBmpInvertcxx . . $ RenderBmpInvert(cedd11bfcbfae79).(tceffectcxx . . $ tceffect# *tce, float frametime, int xoff, int yoff, bool ok_to_render); |
| 337 | void RenderBmpStretchcxx . . $ RenderBmpStretch(cedd11bfcbfae79).(tceffectcxx . . $ tceffect# *tce, float frametime, int xoff, int yoff, bool ok_to_render); |
| 338 | void RenderBackgroundcxx . . $ RenderBackground(cedd11bfcbfae79).(tceffectcxx . . $ tceffect# *tce, float frametime, int xoff, int yoff, bool ok_to_render); |
| 339 | void RenderMoviecxx . . $ RenderMovie(cedd11bfcbfae79).(tceffectcxx . . $ tceffect# *tce, float frametime, int xoff, int yoff, bool ok_to_render); |
| 340 | void RenderPolyModelcxx . . $ RenderPolyModel(cedd11bfcbfae79).(tceffectcxx . . $ tceffect# *tce, float frametime, int xoff, int yoff, bool ok_to_render); |
| 341 | void RenderSoundcxx . . $ RenderSound(cedd11bfcbfae79).(tceffectcxx . . $ tceffect# *tce, float frametime, int xoff, int yoff, bool ok_to_render); |
| 342 | void RenderButtoncxx . . $ RenderButton(cedd11bfcbfae79).(tceffectcxx . . $ tceffect# *tce, float frametime, int xoff, int yoff, bool ok_to_render); |
| 343 | |
| 344 | bool CreateTextEffectcxx . . $ CreateTextEffect(b73a9a5c42deb467).(TCTEXTDESCcxx . . $ TCTEXTDESC#* desc, const char *text, int monitor, int screen, int id = INVALID_EFFECT_IDcxx . . $ `Descent3/TelComEffects.h:175:9`!); |
| 345 | bool CreateBitmapEffectcxx . . $ CreateBitmapEffect(a6e53fec506ced4b).(TCBMPDESCcxx . . $ TCBMPDESC#* desc, int monitor, int screen, int id = INVALID_EFFECT_IDcxx . . $ `Descent3/TelComEffects.h:175:9`!); |
| 346 | bool CreateMovieEffectcxx . . $ CreateMovieEffect(8c6beb65af861305).(TCMOVIEDESCcxx . . $ TCMOVIEDESC#* desc, int monitor, int screen, int id = INVALID_EFFECT_IDcxx . . $ `Descent3/TelComEffects.h:175:9`!); |
| 347 | bool CreateBackgroundEffectcxx . . $ CreateBackgroundEffect(36995d1e7af252ca).(TCBKGDESCcxx . . $ TCBKGDESC#* desc, int monitor, int screen, int id = INVALID_EFFECT_IDcxx . . $ `Descent3/TelComEffects.h:175:9`!); |
| 348 | bool CreatePolyModelEffectcxx . . $ CreatePolyModelEffect(be6c0a3ab1323a8d).(TCPOLYDESCcxx . . $ TCPOLYDESC#* desc, int monitor, int screen, int id = INVALID_EFFECT_IDcxx . . $ `Descent3/TelComEffects.h:175:9`!); |
| 349 | bool CreateSoundEffectcxx . . $ CreateSoundEffect(ab0b0cfe910b3644).(TCSNDDESCcxx . . $ TCSNDDESC#* desc, int monitor, int screen, int id = INVALID_EFFECT_IDcxx . . $ `Descent3/TelComEffects.h:175:9`!); |
| 350 | int CreateButtonEffectcxx . . $ CreateButtonEffect(41aa3ad94772acea).(TCBUTTONDESCcxx . . $ TCBUTTONDESC#* desc, int monitor, int screen, int id = INVALID_EFFECT_IDcxx . . $ `Descent3/TelComEffects.h:175:9`!); |
| 351 | bool CreateTextStaticcxx . . $ CreateTextStatic(51ee7deabd7da03d).(tceffectcxx . . $ tceffect# *tce, const char *text); |
| 352 | bool CreateTextFadecxx . . $ CreateTextFade(51ee7deabd7da03d).(tceffectcxx . . $ tceffect# *tce, const char *text); |
| 353 | bool CreateTextTypecxx . . $ CreateTextType(51ee7deabd7da03d).(tceffectcxx . . $ tceffect# *tce, const char *text); |
| 354 | bool CreateBmpStaticcxx . . $ CreateBmpStatic(51ee7deabd7da03d).(tceffectcxx . . $ tceffect# *tce, const char *filename); |
| 355 | bool CreateBmpBlurcxx . . $ CreateBmpBlur(51ee7deabd7da03d).(tceffectcxx . . $ tceffect# *tce, const char *filename); |
| 356 | bool CreateBmpScanlinecxx . . $ CreateBmpScanline(51ee7deabd7da03d).(tceffectcxx . . $ tceffect# *tce, const char *filename); |
| 357 | bool CreateBmpInvertcxx . . $ CreateBmpInvert(51ee7deabd7da03d).(tceffectcxx . . $ tceffect# *tce, const char *filename); |
| 358 | bool CreateBmpStretchcxx . . $ CreateBmpStretch(51ee7deabd7da03d).(tceffectcxx . . $ tceffect# *tce, const char *filename); |
| 359 | bool CreateMoviecxx . . $ CreateMovie(51ee7deabd7da03d).(tceffectcxx . . $ tceffect# *tce, const char *filename); |
| 360 | bool CreateBackgroundcxx . . $ CreateBackground(cd24ba14dc1954b5).(tceffectcxx . . $ tceffect# *tce); |
| 361 | bool CreateSoundcxx . . $ CreateSound(51ee7deabd7da03d).(tceffectcxx . . $ tceffect# *tce, const char *filename); |
| 362 | |
| 363 | void BltBmpToScreencxx . . $ BltBmpToScreen(df47d900db23a9c5).(int dx, int dy, chunked_bitmapcxx . . $ chunked_bitmap# *src_bmp); |
| 364 | void BltBmpToScreencxx . . $ BltBmpToScreen(19947dc49169eac1).(int dx, int dy, chunked_bitmapcxx . . $ chunked_bitmap# *src_bmp, int sx, int sy, int sw, int sh); |
| 365 | // forces a chunk bitmap to be uploaded |
| 366 | void UploadChunkcxx . . $ UploadChunk(1635f60f4d3c1317).(chunked_bitmapcxx . . $ chunked_bitmap# *bmp); |
| 367 | |
| 368 | char *formatcxx . . $ format(a849077ff1b8d812).(const char *format, ...); |
| 369 | |
| 370 | #endif |