Changeset 66 for ttyvaders


Ignore:
Timestamp:
Dec 23, 2002, 5:44:28 PM (17 years ago)
Author:
Sam Hocevar
Message:
  • fixed the ncurses build.
  • replaced '�' with ':' in the fragbomb tail because it's not ASCII.
Location:
ttyvaders/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • ttyvaders/trunk/README

    r28 r66  
     1
     2Building ttyvaders
     3==================
     4
     5   Run configure then make. Configure flags are:
     6
     7    --enable-slang: use the SLang library (default)
     8    --enable-ncurses: use the ncurses library
    19
    210
  • ttyvaders/trunk/TODO

    r56 r66  
    33 * let the ship pick up bonuses
    44
    5  * handle life
     5 DONE 23 Dec 2002: handle life
    66
    77 * alien swarms, programmed behaviour
  • ttyvaders/trunk/configure.ac

    r64 r66  
    1919  [  --enable-ncurses        ncurses graphics support (default disabled)])
    2020
     21USE_SLANG=false
     22USE_NCURSES=false
    2123if test "${enable_ncurses}" = "yes"
    2224then
    2325  AC_CHECK_HEADER(ncurses.h,:,AC_MSG_ERROR([cannot find ncurses headers]))
    2426  AC_CHECK_LIB(ncurses,initscr,:,AC_MSG_ERROR([cannot find ncurses library]))
     27  USE_NCURSES=:
    2528else
    2629  if test "${enable_slang}" != "no"
     
    2831    AC_CHECK_HEADER(slang.h,:,AC_MSG_ERROR([cannot find slang headers]))
    2932    AC_CHECK_LIB(slang,SLkp_init,:,AC_MSG_ERROR([cannot find slang library]))
     33    USE_SLANG=:
    3034  else
    3135    :
     
    3337fi
    3438
    35 AM_CONDITIONAL(USE_SLANG, test "${enable_slang}" != "no")
    36 AM_CONDITIONAL(USE_NCURSES, test "${enable_ncurses}" = "yes")
     39AM_CONDITIONAL(USE_SLANG, ${USE_SLANG})
     40AM_CONDITIONAL(USE_NCURSES, ${USE_NCURSES})
    3741
    3842AC_OUTPUT([
  • ttyvaders/trunk/src/weapons.c

    r50 r66  
    44 *                 All Rights Reserved
    55 *
    6  *   $Id: weapons.c,v 1.12 2002/12/23 09:28:37 sam Exp $
     6 *   $Id: weapons.c,v 1.13 2002/12/23 16:44:28 sam Exp $
    77 *
    88 *   This program is free software; you can redistribute it and/or modify
     
    494494        gfx_color( GRAY );
    495495        gfx_goto( x - 1, y + 3 );
    496         gfx_putchar( '°' );
     496        gfx_putchar( ':' );
    497497        gfx_goto( x + 2, y + 4 );
    498         gfx_putchar( '°' );
     498        gfx_putchar( ':' );
    499499        gfx_goto( x, y + 4 );
    500500        gfx_putchar( '.' );
     
    512512        gfx_color( GRAY );
    513513        gfx_goto( x + 2, y + 3 );
    514         gfx_putchar( '°' );
     514        gfx_putchar( ':' );
    515515        gfx_goto( x + 1, y + 4 );
    516         gfx_putchar( '°' );
     516        gfx_putchar( ':' );
    517517        gfx_goto( x - 1, y + 4 );
    518518        gfx_putchar( '.' );
     
    532532        gfx_color( GRAY );
    533533        gfx_goto( x, y + 4 );
    534         gfx_putchar( '°' );
     534        gfx_putchar( ':' );
    535535        gfx_goto( x + 2, y + 4 );
    536536        gfx_putchar( '.' );
     
    550550        gfx_color( GRAY );
    551551        gfx_goto( x, y + 3 );
    552         gfx_putchar( '°' );
     552        gfx_putchar( ':' );
    553553        gfx_goto( x + 1, y + 4 );
    554         gfx_putchar( '°' );
     554        gfx_putchar( ':' );
    555555        gfx_goto( x, y + 5 );
    556556        gfx_putchar( '.' );
Note: See TracChangeset for help on using the changeset viewer.