should eventually be improved. I also commented out SDL library
dependencies for now. Note that for some reason "make distclean"
destroys the configuration by unexpectedly deleting some necessary
-files.
+files. Ideally it should also not depend on ncurses and use any standard
+implementation.
Removed -lSDL2 -lSDL2_mixer from:
Makefile.am
Makefile.in
+To build with ncurses on my system it's possible to use:
$ ./configure CXXFLAGS='-I/usr/pkg/include -I/usr/pkg/include/ncurses' LDFLAGS='-L/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib -lncurses'
$ make
$ src/curblaster
+However local curses works even better, to build it currently without autoconf
+changes:
+$ ./configure
+Change "curblaster_LDADD = -lncurses" to "curblaster_LDADD = -lcurses" in src/Makefile
+$ make
+
GENERAL CHANGES
===============
+- Use X/Open standard curses.h instead of ncurses.h, ncurses being
+ an implementation of it and also supplying that header file.
+ Use the native curses, no matter if it's ncurses or not, the
+ functionality used by the game is standard needing no ncurses
+ extension.
+
- SDL support was made optional and various fixes were made so it
builds successfully. I often run terminal programs remotely and
there's no point in having SDL on a server. My systerms with
- Added an endwin(3) cleanup handler as well as error check for
initscr(3).
-- Disable the visible cursor in the main input routine, now
- frame_getch().
+- Disable the visible cursor except when necessary.
+
+- Improved key command layout.
BUGS FIXED
uses KEY_* macros while also supporting alternative navigation
keys.
-- The ship's speed was not reset when completing a level.
+- The ship's speed and position were not properly reset when
+ completing a level or playing a new game without quitting.
- The random staging can cause the ship to immediately boom without
action if it appears too close to another object. Either the
TODO AND OTHER BUGS
===================
-- Maybe the ship's position should be reset when a level completes?
-
- The configure script should be regenerated so that it supports
searching for the ncurses prefix or allows to specify it, instead
of having to use custom CXXFLAGS/LDFLAGS. It may also be possible
at the first hit, there is no effect showing that they have been
hit. A few mini-explosion artifacts like * would be nice.
-- Foes could be animated.
+- Foes could be animated like pods are.
- It's still possible that I eventually write my own ASCII shooter,
it'd follow my coding style, be C99, use my libraries and be