Ignore:
Timestamp:
Nov 12, 2003, 10:18:50 PM (16 years ago)
Author:
Sam Hocevar
Message:
  • 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:
1 edited

Legend:

Unmodified
Added
Removed
  • ttyvaders/trunk/README

    • Property svn:keywords set to Id
    r158 r160  
     1$Id$
    12
    23Building ttyvaders
    3 ==================
    44
    5    Run configure then make. Configure flags are:
     5   o  Run configure then make. Useful configure flags are:
    66
    7     --enable-slang: use the SLang library (default)
    8     --enable-ncurses: use the ncurses library
    9     --enable-conio: use MS-DOS conio.h
     7     --enable-slang: use the SLang library (default)
     8     --enable-ncurses: use the ncurses library
     9     --enable-conio: use MS-DOS conio.h
    1010
    11    Cross-compilation example:
    12     ./configure --enable-conio --host=i386-pc-msdosdjgpp
     11   o  Cross-compilation example:
     12 
     13     ./configure --enable-conio --host=i386-pc-msdosdjgpp
    1314
    1415
    1516History of textmode games
    16 =========================
    1717
    18 http://www.textmodegames.com/
     18   o  http://www.textmodegames.com/
    1919
    2020
    2121Other terminal-based games
    22 ==========================
    2322
    24  * moon-buggy: http://www.mathematik.uni-kl.de/~wwwstoch/voss/comp/moon-buggy.html
    25     extremely simple, extremely addictive
     23   o  moon-buggy: extremely simple, extremely addictive
     24      http://www.mathematik.uni-kl.de/~wwwstoch/voss/comp/moon-buggy.html
    2625
    27  * 0verkill: http://artax.karlin.mff.cuni.cz/~brain/0verkill/
     26   o 0verkill: http://artax.karlin.mff.cuni.cz/~brain/0verkill/
    2827
    29  * nInvaders: http://dettus.dyndns.org/ninvaders/
    30     real space invaders clone
     28   o nInvaders: http://dettus.dyndns.org/ninvaders/
     29      real space invaders clone
    3130
    32  * Stardork: http://www.seekrut.com/rk/stardork.html
    33     more strategy than arcade
     31   o Stardork: http://www.seekrut.com/rk/stardork.html
     32      more strategy than arcade
    3433
    35  * Nethack: http://www.nethack.org/
     34   o Nethack: http://www.nethack.org/
    3635
    37  * Tetrinet: http://www.secret.com.au/games/tetrinet/
     36   o Tetrinet: http://www.secret.com.au/games/tetrinet/
    3837
    39  * MyMan: http://geocities.com/bsittler/
    40     pacman clone
     38   o MyMan: http://geocities.com/bsittler/
     39      pacman clone
    4140
    42  * Tornado: http://home.kcore.de/~kiza/linux/tornado/
     41   o Tornado: http://home.kcore.de/~kiza/linux/tornado/
    4342
    44  * David's Perl games: http://davidsperlgames.sourceforge.net/
     43   o David's Perl games: http://davidsperlgames.sourceforge.net/
    4544
    46  * ascii-invaders: http://www.ip9.org/munro/invaders/index.html
     45   o ascii-invaders: http://www.ip9.org/munro/invaders/index.html
    4746
Note: See TracChangeset for help on using the changeset viewer.