+ No longer check for ncurses etc., we use caca-config.
* src/*:
+ Updated to new libcaca API, mainly caca_get_event() and caca_set_color()
calls.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@365 92316355-f0b4-4df1-b90c-862c8a59935f
+ Replaced ee_color_names[] with ee_get_color_name().
+ Don't oversleep in ee_refresh().
* libee/graphics.c:
+ Implemented ee_printf().
* test/demo.c:
+ If new keypresses are detected, don't wait for the next screen refresh.
+ Added an fps counter on demos.
+ Added controls for outlines and drawing boundaries.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@182 92316355-f0b4-4df1-b90c-862c8a59935f
+ Correct clipping in ee_putstr() for long strings.
* libee/ee.c:
+ New ee_get_rendertime() call to provide framerate information.
* libee/ee.h:
+ Added const keywords where it was meaningful, despite Slang's blatant
omission of such keywords in its prototypes.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@180 92316355-f0b4-4df1-b90c-862c8a59935f
+ Error checking in ee_init().
+ Pre-generate the empty line for ee_clear().
* libee/sprite.c:
+ Better error checking in ee_sprite_load().
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@168 92316355-f0b4-4df1-b90c-862c8a59935f
+ 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.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@160 92316355-f0b4-4df1-b90c-862c8a59935f
+ Added a note about dos cross-compilation.
* configure.ac:
+ Added a check for ScreenUpdate in <pc.h>.
* libee/graphics.c libee/ee.c:
+ Improved the conio port thanks to ScreenUpdate().
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@158 92316355-f0b4-4df1-b90c-862c8a59935f
+ 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.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@154 92316355-f0b4-4df1-b90c-862c8a59935f
+ Wrote ee_draw_triangle() and ee_draw_thin_triangle().
* libee/box.c:
+ Wrote ee_draw_box(), ee_draw_thin_box() and ee_fill_box().
* libee/conic.c:
+ Wrote ee_fill_ellipse().
+ First attempt at ee_draw_thin_ellipse(), to be reworked.
* test/demo.c:
+ Merged demo_lines() and demo_thin_lines().
+ Merged demo_triangles() and demo_outlined_triangles().
+ Wrote demo_box().
+ Use ee_fill_ellipse() in demo_all().
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@152 92316355-f0b4-4df1-b90c-862c8a59935f
+ Use ee_draw_ellipse() instead of ee_draw_circle() to draw the nuke.
* src/player.c:
+ Use ee_draw_sprite() to draw our ship.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@150 92316355-f0b4-4df1-b90c-862c8a59935f
+ 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().
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@148 92316355-f0b4-4df1-b90c-862c8a59935f
+ 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.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@146 92316355-f0b4-4df1-b90c-862c8a59935f
+ Drew the fragbomb sprite.
+ Use the fragbomb in src/weapons.c.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@144 92316355-f0b4-4df1-b90c-862c8a59935f
+ New bomb sprite.
* src/weapons.c:
+ Switched the bomb drawing to use ee_draw_sprite().
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@142 92316355-f0b4-4df1-b90c-862c8a59935f
+ 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.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@140 92316355-f0b4-4df1-b90c-862c8a59935f
+ Wrote a little sprite demo.
* data/:
+ Added bar_fighter (from ttyvaders) and bar_boss (from shapes.txt).
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@118 92316355-f0b4-4df1-b90c-862c8a59935f
+ Beginning of sprite handling within the library.
+ Added support to load files.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@116 92316355-f0b4-4df1-b90c-862c8a59935f