]> git.draconx.ca Git - rrace.git/log
rrace.git
2 years agoUse XPM as icon test output format.
Nick Bowler [Tue, 8 Mar 2022 06:08:29 +0000 (01:08 -0500)]
Use XPM as icon test output format.

The output of this test program is very close to XPM format.
So why not make it actually produce XPM format.  This gives
us a good way to have it output actual colour icons too.

2 years agoAllow compilation without X11.
Nick Bowler [Tue, 8 Mar 2022 04:35:22 +0000 (23:35 -0500)]
Allow compilation without X11.

At the moment this means nothing useful gets installed, but "make check"
is possible.  The icon functions being tested don't _really_ depend on
X11, just the XColor structure for which we can supply a suitable
definition.

2 years agoImplement window icons.
Nick Bowler [Tue, 8 Mar 2022 03:47:18 +0000 (22:47 -0500)]
Implement window icons.

2 years agoClean up redundant/unused declarations.
Nick Bowler [Sat, 5 Mar 2022 21:37:36 +0000 (16:37 -0500)]
Clean up redundant/unused declarations.

2 years agoAdjust X11 include ordering.
Nick Bowler [Sat, 5 Mar 2022 21:35:39 +0000 (16:35 -0500)]
Adjust X11 include ordering.

Some versions of Motif require <X11/Intrinsic.h> to be included before
<Xm/XmStrDefs.h> which results in build failures on HP-UX.

2 years agoFix boardmove testcase typo.
Nick Bowler [Sat, 5 Mar 2022 21:32:48 +0000 (16:32 -0500)]
Fix boardmove testcase typo.

Comparing "if (argv > 0)" is an obvious typo, totally invalid and bogus.
Weirdly GCC fails to complain without "-pedantic", but HP-UX cc is happy
to inform us about the error.

2 years agoFix distribution.
Nick Bowler [Sat, 5 Mar 2022 20:51:40 +0000 (15:51 -0500)]
Fix distribution.

2 years agoPull in gnulib for its portability features.
Nick Bowler [Sat, 5 Mar 2022 20:43:33 +0000 (15:43 -0500)]
Pull in gnulib for its portability features.

2 years agoCheck victory condition so the game is winnable.
Nick Bowler [Sat, 5 Mar 2022 07:58:34 +0000 (02:58 -0500)]
Check victory condition so the game is winnable.

2 years agoAdd a menu bar.
Nick Bowler [Sat, 5 Mar 2022 07:56:20 +0000 (02:56 -0500)]
Add a menu bar.

Including a "new game" option to reset the board.

2 years agoBetter colours
Nick Bowler [Fri, 4 Mar 2022 07:32:01 +0000 (02:32 -0500)]
Better colours

2 years agoImplement some basic gameplay.
Nick Bowler [Fri, 4 Mar 2022 07:17:05 +0000 (02:17 -0500)]
Implement some basic gameplay.

2 years agoInitial commit
Nick Bowler [Thu, 3 Mar 2022 04:37:18 +0000 (23:37 -0500)]
Initial commit