source: ttyvaders/trunk/libee/Makefile.am @ 160

Last change on this file since 160 was 160, checked in by Sam Hocevar, 16 years ago
  • libee/ee.h: + 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.
File size: 383 bytes
Line 
1###############################################################################
2# Automake targets and declarations for libee
3###############################################################################
4
5lib_LIBRARIES = libee.a
6libee_a_SOURCES = \
7        ee.c \
8        ee.h \
9        ee_internals.h \
10        graphics.c \
11        io.c \
12        math.c \
13        line.c \
14        box.c \
15        conic.c \
16        triangle.c \
17        sprite.c \
18        $(NULL)
19
Note: See TracBrowser for help on using the repository browser.