source: ttyvaders/trunk/src/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: 631 bytes
Line 
1###############################################################################
2# Automake targets and declarations for ttyvaders
3###############################################################################
4
5AM_CPPFLAGS = -I../libee
6
7if USE_SLANG
8LDFLAGS_slang = -lslang
9endif
10if USE_NCURSES
11LDFLAGS_ncurses = -lncurses
12endif
13
14bin_PROGRAMS = ttyvaders
15
16ttyvaders_SOURCES = \
17        aliens.c \
18        bonus.c \
19        box.c \
20        ceo.c \
21        collide.c \
22        common.h \
23        explosions.c \
24        intro.c \
25        main.c \
26        overlay.c \
27        player.c \
28        starfield.c \
29        tunnel.c \
30        weapons.c \
31        $(NULL)
32ttyvaders_LDADD = ../libee/libee.a $(LDFLAGS_slang) $(LDFLAGS_ncurses) -lm
33
Note: See TracBrowser for help on using the repository browser.