diff options
Diffstat (limited to 'engines/glk/alan3/exe.cpp')
-rw-r--r-- | engines/glk/alan3/exe.cpp | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/engines/glk/alan3/exe.cpp b/engines/glk/alan3/exe.cpp index 39cec13c60..f30ebc2c6b 100644 --- a/engines/glk/alan3/exe.cpp +++ b/engines/glk/alan3/exe.cpp @@ -67,28 +67,6 @@ bool printFlag; // Printing already? #define WIDTH 80 - -/*======================================================================*/ -void setStyle(int style) { - switch (style) { - case NORMAL_STYLE: - g_vm->glk_set_style(style_Normal); - break; - case EMPHASIZED_STYLE: - g_vm->glk_set_style(style_Emphasized); - break; - case PREFORMATTED_STYLE: - g_vm->glk_set_style(style_Preformatted); - break; - case ALERT_STYLE: - g_vm->glk_set_style(style_Alert); - break; - case QUOTE_STYLE: - g_vm->glk_set_style(style_BlockQuote); - break; - } -} - /*======================================================================*/ void print(Aword fpos, Aword len) { char str[2 * WIDTH]; /* String buffer */ @@ -546,37 +524,6 @@ int getContainerMember(int container, int index, bool directly) { /*======================================================================*/ -void showImage(int image, int align) { - uint ecode; - - if ((g_vm->glk_gestalt(gestalt_Graphics, 0) == 1) && - (g_vm->glk_gestalt(gestalt_DrawImage, wintype_TextBuffer) == 1)) { - g_vm->glk_window_flow_break(glkMainWin); - printf("\n"); - ecode = g_vm->glk_image_draw(glkMainWin, image, imagealign_MarginLeft, 0); - (void)ecode; - } -} - - -/*======================================================================*/ -void playSound(int sound) { -#ifdef GLK_MODULE_SOUND - static schanid_t soundChannel = NULL; - - if (g_vm->glk_gestalt(gestalt_Sound, 0) == 1) { - if (soundChannel == NULL) - soundChannel = g_vm->glk_schannel_create(0); - if (soundChannel != NULL) { - g_vm->glk_schannel_stop(soundChannel); - (void)g_vm->glk_schannel_play(soundChannel, sound); - } - } -#endif -} - - -/*======================================================================*/ void empty(CONTEXT, int cnt, int whr) { uint i; |