Ignore:
Timestamp:
Jul 30, 2009, 10:10:57 PM (10 years ago)
Author:
Sam Hocevar
Message:

Add sound(), nosound() and delay() to the conio.h emulation. Even though
they're not actually from that header, they're often used together.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/caca_conio.c

    r3588 r3592  
    107107}
    108108
     109/** \brief DOS conio.h delay() equivalent */
     110void caca_conio_delay(int i)
     111{
     112    conio_init();
     113
     114    /* TODO: implement this function */
     115}
     116
    109117/** \brief DOS conio.h delline() equivalent */
    110118void caca_conio_delline(void)
     
    245253}
    246254
     255/** \brief DOS conio.h nosound() equivalent */
     256void caca_conio_nosound(void)
     257{
     258    conio_init();
     259
     260    /* TODO: implement this function */
     261}
     262
    247263/** \brief DOS stdio.h printf() equivalent */
    248264int caca_conio_printf(const char *format, ...)
     
    285301/** \brief DOS conio.h _setcursortype() equivalent */
    286302void caca_conio__setcursortype(int cur_t)
     303{
     304    conio_init();
     305
     306    /* TODO: implement this function */
     307}
     308
     309/** \brief DOS conio.h sound() equivalent */
     310void caca_conio_sound(int i)
    287311{
    288312    conio_init();
Note: See TracChangeset for help on using the changeset viewer.