+ Added caca_get_dithering_name().
* src/bitmap.c:
+ Created a new dithering method with an 8x8 ordered matrix.
+ Replaced the char list with a string for better readability.
+ Dithering functions now return a value between 0 and 255.
* examples/demo.c examples/view.c:
+ Adapted to use caca_get_dithering_name().
+ Default to ncurses, not slang, because slang only has 128 colour pairs.
* src/caca.c:
+ Disable scrolling to avoid hashmap scrolling optimization code.
* src/graphics.c:
+ Swap fg and bg in the colour pair indexing, so that bg is always
right.
+ Disable alt charset support to exploit my patched slang.
+ Dither chroma outside of rgb2hsv_default().
+ Clip fromx and fromy values.
* NOTES:
+ Link to the XTerm control sequences.
* examples/view.c:
+ Draw status bar.
+ Move with 'h' 'j' 'k' 'l', à la vi.
+ '?' toggles a help menu.
+ Moved graphics stuff from caca.c to graphics.c.
+ Added a few kludges: if gnome-terminal or konsole are detected, switch
to TERM=xterm-16color to benefit from extended colour palette.
+ Added setab/setaf quotes from the XTerm terminfo.
+ Proposed a workaround for bright colours on any terminal.
* src/caca.c:
+ 16 colour support for ncurses and conio.
* src/graphics.c:
+ Ported to 16 colour support.
+ Added a missing <stdio.h> for BUFSIZ.
+ Disabled vsnprintf under DOS (only vsprintf exists).
* examples/:
+ Don't abort if the caca.txt sprite was not found.
+ Ported to 16 colour support.
+ A few updates.
* src/blit.c:
+ Split blit() into caca_create_bitmap() and caca_draw_bitmap().
+ Started removing hardcoded bitmask and pitch values.
* examples/demo.c:
+ Do something with mouse clicks.
+ Changed section to libs/libdevel instead of games/games.
+ Changed package name to libcaca-dev.
* debian/rules:
+ Use debian/compat instead of DH_COMPAT.
+ Install README, BUGS and TODO into /usr/share/doc.
* caca-config.in:
+ First version of the config script.
* configure.ac src/Makefile.am:
+ Build a static PIC library as well.
* README TODO:
+ Various updates.
+ Interpret escape sequences for F1, F2, left, right, etc.
* src/Makefile.am examples/Makefile.am:
+ Install caca.h in /usr/include.
+ Do not install example programs.
* src/blit.c:
+ Minor improvements to grayscale colors.
+ Added ee_color_names[] containing our 16 color names.
* libee/ee.c:
+ Extended our color set to the full 16 instead of 10.
+ Precalculate ncurses attributes.
* libee/graphics.c:
+ Clip color value in ee_set_color().
+ Clip characters in ee_putchar().
+ Partially clip characters in ee_putstr(), overflows aren't checked yet.
* libee/ee_internals.h:
+ New file to share extern variables within libee.
* test/demo.c:
+ Added a simple demo_color() to output all colors.
+ Replaced four ee_draw_line() with ee_draw_thin_box().
+ Replaced x1, y1, x2 etc. with xa, ya, xb etc. because <math.h> already
defines y1.
+ Randomized colours from 0 to 15 instead of 1 to 10.
* src/Makefiles.am:
+ Added -lm to the ttyvaders linking flags because of the intro.
* README BUGS TODO:
+ Updated.
+ Renamed ee_color() to ee_set_color(), wrote ee_get_color().
* libee/line.c:
+ Implemented draw_polyline() and draw_thin_polyline().
* libee/sprite.c:
+ Removed the f member of struct ee_sprite.
+ Implemented ee_get_sprite_{width|height|dx|dy}().
+ Restore the color fater ee_draw_sprite() is called.
* libee/box.c:
+ Fixed a bug causing improper box clipping at the right and the bottom.
* data/foo_fighter:
+ Fixed bugs in the sprite.
* src/intro.c:
+ Test effects for the future game's intro.
* test/spritedit.c:
+ Added stuff to the sprite editor. We can now navigate through frames.
+ Moved ee_putstr() and ee_putchar() in here.
* libee/ee.h:
+ Got rid of ee_goto().
+ Moved <slang.h> or <curses.h> into libee.
* Replaced ee_goto()/ee_putstr() pairs with ee_putstr().
* Ditto for ee_putchar().
+ Placeholder for our upcoming sprite editor.
* src/Makefile.am data/Makefile.am:
+ Use AM_CPPFLAGS, not target_CPPFLAGS, so that automake-1.5 can be used.
+ Made sprite loading more robust.
* src/explosions.c:
+ No longer use ee_putchar etc. to draw our sprites, but use
ee_draw_sprite().
* data/:
+ Drew explosion_medium and explosion_small sprites.
+ More robust sprite loader.
+ Added ee_set_sprite_frame() and ee_get_sprite_frame().
+ Free all structures in ee_free_sprite().
* src/aliens.c src/bonus.c:
+ Use ee_draw_sprite() instead of our manual sprite rendering.
* src/box.c:
+ Use ee_draw_line() instead of the manual equivalent.
* data/:
+ Added foo_fighter, baz_fighter, item_gem and item_heart sprites.
+ Moved ee_get_key() here.
* libee/math.c:
+ Moved r00t() here and renamed it to ee_sqrt().
+ Moved GET_RAND() here and renamed it to ee_rand().
* src/math.c:
+ Removed this deprecated file.