From b56afeb1340d04008bbf47182b1c4f32d39bf0e8 Mon Sep 17 00:00:00 2001 From: Matthew Mondor Date: Tue, 11 Apr 2023 05:01:38 +0000 Subject: [PATCH] Update MATT-README.txt --- MATT-README.txt | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/MATT-README.txt b/MATT-README.txt index 1a74558..3c749e6 100644 --- a/MATT-README.txt +++ b/MATT-README.txt @@ -30,20 +30,34 @@ The configure system couldn't locate my ncurses package. This 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 @@ -58,8 +72,9 @@ GENERAL CHANGES - 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 @@ -103,7 +118,8 @@ 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 @@ -115,8 +131,6 @@ BUGS FIXED 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 @@ -151,7 +165,7 @@ TODO AND OTHER BUGS 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 -- 2.9.0