Commit Graph

266 Commits

Author SHA1 Message Date
Grigory Ustinov
464615fdaa Add possibility of deselecting full stack by shift+N 2018-02-09 16:21:29 +03:00
Grigory Ustinov
e540b13a5d Add possibility of selecting full stack by shift+M 2018-02-09 15:43:05 +03:00
greno4ka
2f110e9cc3
Merge pull request #1 from mpereira/fix-alt-linux-unused-result-warning
Fix compilation warning.
2017-11-03 19:19:37 +03:00
Murilo Pereira
9df1e4b175 Fix compilation warning. 2017-11-02 18:58:46 +01:00
Grigory Ustinov
f43152c420 Fix non-critical warning: unused result 2017-11-01 21:28:38 +03:00
Murilo Pereira
b234e7f116 v1.0.0 2017-01-07 20:39:19 -02:00
Murilo Pereira
324b9872ab Only maneuvre stacks are marked. 2017-01-07 20:37:44 -02:00
Murilo Pereira
08c40b452f Merge pull request #11 from saimen/fix-escape-error
Fix putting card stacks into invalid state
2017-01-07 20:26:09 -02:00
Simon Barth
fe0b60a799 Fix putting card stacks into invalid state
Bug: When the cursor is on a foundation stack or on the wastepile stack,
	it is possible to put this stack into an invalid state.

Reason: unmark_cards() should only be called on maneuver stacks since it
	alters the y position of cards.

Fix: Only redraw maneuver stacks on ESC-key action.
2016-11-18 01:05:09 +01:00
Murilo Pereira
76f0154632 Bump version to 0.2.1. 2015-11-30 09:40:51 -02:00
Murilo Pereira
a2a3c84f3b Merge pull request #10 from phijor/master
Fix segfault when launching with unkown option
2015-11-30 09:38:36 -02:00
Philipp Joram
7473c59d05 Fix segfault when launching with unkown option
Bug:    When launching with an unkown option, ttysolitaire crashes with a
        segfault.

Reason: This is due to getopt_long() not knowing where to terminate the search
        for matching options in options[].

Fix:    Append an additional Element to options[] containing only zeroes. This
        is in compliance with the GNU docs. See `man getopt_long` for reference.
2015-11-25 20:47:33 +01:00
Murilo Pereira
343a55ca1b Bump version to 0.2.0. 2015-05-10 20:42:00 -03:00
Murilo Pereira
1311fcf6da Merge pull request #9 from mistydemeo/install
Makefile: remove usage of GNU install-specific flag
2015-05-10 20:40:32 -03:00
Misty De Meo
abbdb68acb Makefile: remove usage of GNU install-specific flag
The -D flag, though useful, is a GNU extension. Instead explicitly
create the directory using `install -d` before moving the executable.
2015-05-10 15:46:57 -07:00
Murilo Pereira
fc7f569992 Update OS X's install instructions. 2015-05-10 19:32:34 -03:00
Murilo Pereira
b7daef5885 Merge pull request #8 from mistydemeo/makefile
Makefile: support OS X system ncurses
2015-05-10 19:31:39 -03:00
Misty De Meo
0502f0f225 Makefile: support OS X system ncurses 2015-05-10 14:48:16 -07:00
Murilo Pereira
7b127c94f8 Merge pull request #7 from HalosGhost/master
Significant Makefile cleanup
2014-08-24 22:17:09 -03:00
HalosGhost
40347b8e9a install and uninstall targets are PHONY 2014-08-21 00:51:52 -05:00
HalosGhost
f9b537e8f3 Fix braces for shell expansion in clean target; use install for install target; obey DESTDIR 2014-08-21 00:50:24 -05:00
HalosGhost
d17e596cd7 Use parens instead of braces 2014-08-21 00:46:46 -05:00
Murilo Pereira
1ebbf06ec4 Typo. 2013-12-24 15:41:46 -02:00
Murilo Pereira
1c017536fa Correct Ubuntu installation instructions. 2013-12-24 15:36:03 -02:00
Murilo Pereira
2c1996bcf1 Add gameplay GIF. 2013-12-24 15:30:33 -02:00
Murilo Pereira
ef4386f2fc Only update this pattern at root. 2013-12-24 15:30:20 -02:00
Murilo Pereira
cb2f3f7ff3 Update README. 2013-12-24 14:46:37 -02:00
Murilo Pereira
eca0819609 Compile and run on OS X. 2013-12-24 14:41:02 -02:00
Murilo Pereira
fac0750a2c Fix test run. 2013-05-04 16:40:33 -04:00
Murilo Pereira
c3e1736d3b Add uninstall target. 2013-03-16 12:59:55 -04:00
Murilo Pereira
b1b2c039be Add install target. 2013-03-16 12:55:17 -04:00
Murilo Pereira
9c4ee71eb6 Clear screen before game_init(). 2011-07-02 20:20:07 -03:00
Murilo Pereira
014b4d6e98 Updated TODO. 2011-06-19 19:40:24 -03:00
Murilo Pereira
893f18a7e0 Resizing works. 2011-06-19 19:36:29 -03:00
Murilo Pereira
561b4ba599 Pass program name as argument to usage(). 2011-06-12 21:39:11 -03:00
Murilo Pereira
0325778de4 Put usage in the README. 2011-06-12 21:37:03 -03:00
Murilo Pereira
7db3251195 Moar specific. 2011-06-12 20:31:29 -03:00
Murilo Pereira
e379b28468 Some systems need explicit wide character support when compiling. 2011-06-12 20:17:06 -03:00
Murilo Pereira
e4f07b4692 Move cursor down 1 row when moving to empty maneuvre stacks. 2011-06-10 00:07:13 -03:00
Murilo Pereira
e54c385a78 Updated README. 2011-06-10 00:02:19 -03:00
Murilo Pereira
99ae6e954a Renamed the 'draw' module to 'gui'. 2011-06-08 22:55:44 -03:00
Murilo Pereira
27f53f57ce Cards are supposed to be covered when starting a new cycle. 2011-06-08 22:19:47 -03:00
Murilo Pereira
9a866dd011 Fixing card front rendering on waste pile. 2011-06-08 22:18:11 -03:00
Murilo Pereira
e40a999620 Update TODO. 2011-06-08 12:33:06 -03:00
Murilo Pereira
b5a93fc871 Update usage. 2011-06-08 12:01:29 -03:00
Murilo Pereira
2744533d96 Decrease noobishness. 2011-06-08 11:51:22 -03:00
Murilo Pereira
7aaa0c82cb Added option to control the number of passes through the deck. 2011-06-08 02:36:46 -03:00
Murilo Pereira
a213bfec55 Added initial opt handling and VERSION file. 2011-06-08 01:02:05 -03:00
Murilo Pereira
0780ab75fb Unmodularizing stupidity. 2011-06-07 00:27:43 -03:00
Murilo Pereira
cba0615b24 Moved functions to the cursor module. 2011-06-06 22:19:08 -03:00