+ 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
+ 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
+ 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.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@90 92316355-f0b4-4df1-b90c-862c8a59935f
+ First file in libee, from src/graphics.c.
+ Disable cursor upon initialisation.
+ Added delay code for constant framerate.
* src/common.h:
+ Minor compilation fix for latest ncurses.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@76 92316355-f0b4-4df1-b90c-862c8a59935f
* lots of sanity checks in collide.c.
* moved usleep() to graphics.c.
* added random key generator in the dummy driver.
* cosmetic changes in the energy bars.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@64 92316355-f0b4-4df1-b90c-862c8a59935f
* fixed an overflow in the tunnel update code.
* fragbomb is now 'f', not 'd'.
* added a missing call to init_bonus().
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@52 92316355-f0b4-4df1-b90c-862c8a59935f
* two new types of aliens. only one rules.
* removed gfx_write in favor of gfx_putchar and gfx_putstr.
* added bonuses at alien death. they do nothing yet.
* seeker missiles. 'b' to test.
* weapon resolution is now 16*char. needs to be generalized.
* fixed the supernova bugs. center could collide with the tunnel, and
the last frame was badly displayed.
* lots of cleanups everywhere.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@20 92316355-f0b4-4df1-b90c-862c8a59935f
the nuke is still ugly, almost no collision detection. Nice demo :)
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@12 92316355-f0b4-4df1-b90c-862c8a59935f