newsAKFAvatar - News: AKFAvatar 0.20.0

 
 
Latest News
AKFAvatar 0.24.3 posted by akf, Thu 26 Dec 2013 02:22:14 PM UTC
AKFAvatar 0.24.2 posted by akf, Tue 13 Aug 2013 12:03:17 PM UTC
AKFAvatar 0.24.1 posted by akf, Mon 29 Jul 2013 12:45:45 PM UTC
AKFAvatar 0.24.0 posted by akf, Sun 30 Jun 2013 01:04:48 PM UTC
AKFAvatar 0.23.1 posted by akf, Wed 27 Mar 2013 06:48:35 PM UTC

AKFAvatar 0.20.0

Item posted by Andreas K. Förster <akf> on Fri 15 Jul 2011 08:03:22 AM UTC.

AKFAvatar 0.20.0

General changes


  • The program avatarsay was removed - all it could do can be done with lua-akfavatar now
  • documentation now consists of manpages and textfiles which can be displayed in lua-akfavatar directly
  • making demos became simpler again, there is no need to specify the balloon-size anymore, but therefore effectpause/back doesn't work anymore. (And it's not documented, yet. - see example files.)
  • lua-akfavatar can be compiled as module
  • new lua modules available for better UTF-8 support, terminal-emulation and the Ogg Vorbis audio format and a graphic module for drawing images
  • the terminal-emulation has a different, enhanced APC interface


C-API changes:

  • Changed definition of avt_image_t and avt_audio_t
  • New type avt_char:
    • avt_put_char() replaces avt_put_character()
    • avt_is_printable() replaces avt_printable()
    • avt_key() replaces avt_get_key()
  • new functions: avt_add_raw_audio_data, avt_pause_audio,      avt_get_newline_mode, avt_ticks, avt_show_raw_image,      avt_get_background_color, avt_image_max_width, avt_image_max_height, avt_get_font_size, get_font_char
  • avtaddons.h: new functions: avta_load_vorbis_file, avta_load_vorbis_data
  • modified behaviour:
    • avt.navigate: reacts when sound ends
    • deprecated: avt_show_gimp_image - use avt_show_raw_image


Lua-API changes:

  • new functions: avt.colors, avt.pause_audio, avt.directory_entries, avt.entry_type, avt.silent, avt.load_base_audio_file, avt.load_base_audio_string, avt.ticks
  • modified behaviour:
    • avt.menu as alias for avt.long_menu can do more
    • avt.load_audio_file, avt.load_audio_string: return nil on error, can be enhanced
    • playing sounds are protected from the garbage collector
    • avt.navigate: reacts when sound ends



 

Back to the top

Powered by Savane 3.13-3230.
Corresponding source code