Commit Graph
100 Commits
Author SHA1 Message Date
Murilo Pereira 14cd5e61bb Drop GCC -fcommon so that the new default -fno-common is used
Thanks to @greno4ka for the tip in
 https://github.com/mpereira/tty-solitaire/pull/58
2021-11-03 13:56:31 +01:00
Murilo Pereira 7958cea858 Move cursor and deck variable definitions to game.c 2021-11-03 13:56:03 +01:00
Murilo PereiraandGitHub 4cc3d9c070 Merge pull request #58 from greno4ka/fix-for-gcc10
Make gcc10 happy
2021-11-03 13:54:51 +01:00
Murilo PereiraandGitHub acc75d4224 Merge pull request #61 from trofi/master
src/gui.c: always use "%s"-style format for printf()-style functions
2021-11-03 10:43:24 +01:00
Murilo Pereira 4875f34e6b Release 1.3.1 2021-09-03 17:03:20 +01:00
Murilo PereiraandGitHub 9d32aae34f Merge pull request #60 from vaporup/master
change the usage output to not include the full contents of argv[0]
2021-09-03 17:59:35 +02:00
Murilo Pereira 9561b23652 Add Debian testing to installation options 2021-08-31 14:09:55 +02:00
Murilo PereiraandGitHub 452bae128e Merge pull request #54 from MimmyJau/fix-greeting
Modified language of greeting and included <Shift+M> command
2020-11-21 11:06:30 +01:00
Murilo PereiraandGitHub b236fa46ae Merge pull request #51 from MimmyJau/fix-grammar
Fixed grammar in comments
2020-11-21 10:25:08 +01:00
Murilo Pereira b937ec599a Add Nix to installation options. 2020-11-11 10:26:55 +01:00
Murilo Pereira 56f788e293 Add Repology badge. 2020-11-11 10:26:55 +01:00
Murilo Pereira ff368bc980 Release 1.3.0. 2020-06-01 17:03:35 +02:00
Murilo PereiraandGitHub e74df8d067 Merge pull request #43 from mpereira/four-color-deck
Four-color deck mode
2020-06-01 16:55:46 +02:00
Murilo Pereira 2fe7075946 Make "--colors" be "four-color-deck".
Also, some automatic file formatting with LSP via LLVM.
2020-06-01 16:51:26 +02:00
Murilo Pereira 87619ed80a Merge branch 'master' into four-color-deck 2020-06-01 16:27:29 +02:00
Murilo Pereira da9a59649f Change "color" int option to "no-background-color" bool option. 2020-06-01 16:23:20 +02:00
Murilo Pereira 0ce1526c81 Automatically format file with LSP via LLVM. 2020-06-01 15:44:10 +02:00
Murilo PereiraandGitHub 456b66d008 Merge pull request #31 from Siborgium/master
Option to use default terminal colors for color pair 0.
2020-06-01 15:42:31 +02:00
Murilo PereiraandGitHub 5bbaafde79 Merge pull request #42 from dther/master
Add C flag to allow tentative definitions
2020-06-01 15:39:24 +02:00
Murilo Pereira 3ac90c806a Release 1.2.0. 2020-05-31 23:04:47 +02:00
Murilo PereiraandGitHub 223837b9e0 Merge pull request #41 from dther/master
Redraw card background to prevent visual artefacts
2020-05-31 22:40:22 +02:00
Murilo PereiraandGitHub 379ef4322c Merge pull request #35 from yoyoma2/master
Fix make test (Issue #14)
2020-05-31 22:37:23 +02:00
Murilo Pereira 975c778683 Add Ncurses references to development README section. 2020-05-31 22:02:58 +02:00
Murilo Pereira ca3acc8251 Add package manager install instructions to README.
And small cleanup.
2020-05-31 21:57:08 +02:00
Murilo PereiraandGitHub 0268d6df09 Merge pull request #36 from porridge/clean
Make the clean target actually work
2019-05-15 23:06:08 +02:00
Murilo Pereira 57c481f506 Bump version to 1.1.1. 2018-11-10 06:00:46 +01:00
Murilo Pereira 03b9cdf9c1 Forgot this. 2018-09-02 21:41:28 +02:00
Murilo Pereira a17894cb87 Drop README file extension. 2018-09-02 17:56:22 +02:00
Murilo Pereira 53719dafbb Drop CHANGELOG file extension. 2018-09-02 17:54:57 +02:00
Murilo Pereira e08cb0ffdd Org mode README. 2018-09-02 17:20:08 +02:00
Murilo Pereira 9cbfc95694 Since 2010. 2018-08-17 14:36:00 +02:00
Murilo Pereira 3295098fa4 Add LICENSE. 2018-08-17 14:05:02 +02:00
Murilo Pereira 182b80dfd7 Add CHANGELOG. 2018-08-13 00:05:12 +02:00
Murilo Pereira f206b57db2 Bump version to 1.1.0. 2018-08-12 23:50:31 +02:00
Murilo Pereira d299c066cd Make code style more consistent with the rest of the codebase. 2018-08-12 23:40:03 +02:00
Murilo Pereira 5dce7eb912 Rename version macro definition. 2018-08-12 23:29:45 +02:00
Murilo PereiraandGitHub 5056ae89b7 Merge pull request #15 from AMDmi3/respect-flags
Respect user-set compiler and linker flags
2018-08-12 23:28:16 +02:00
Murilo PereiraandGitHub c45969623a Merge branch 'master' into respect-flags 2018-08-12 23:27:20 +02:00
Murilo PereiraandGitHub 923063a6cc Merge pull request #23 from greno4ka/windetect
Detect possible win situation
2018-08-12 23:17:16 +02:00
Murilo PereiraandGitHub c60f1bb11f Merge pull request #26 from dseguin/integrate-version-in-makefile
Integrate version number into makefile (fixes #6)
2018-07-27 16:04:28 +02:00
Murilo PereiraandGitHub 92e8b7b8bf Merge pull request #16 from AMDmi3/all-target
Add `all` makefile target
2018-05-07 13:56:19 +02:00
Murilo PereiraandGitHub ed25d56aa0 Merge pull request #21 from greno4ka/workontests
Work on tests
2018-05-07 13:36:15 +02:00
Murilo Pereira c26a6f4178 This doesn't need to be a while.
We're already iterating.
2018-05-07 13:26:20 +02:00
Murilo PereiraandGitHub 5fb60cd42c Merge pull request #20 from greno4ka/master
Closes #3
2018-05-07 13:24:52 +02:00
Murilo PereiraandGitHub 3dcc314361 Merge pull request #24 from greno4ka/refactoring
Replace magic numbers by defined names
2018-02-23 14:37:45 +01:00
Murilo PereiraandGitHub 1d1005a2bf Merge pull request #13 from greno4ka/master
Fix non-critical warning: unused result
2017-11-03 17:23:32 +01:00
Murilo Pereira 9df1e4b175 Fix compilation warning. 2017-11-02 18:58:46 +01: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 PereiraandGitHub 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
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
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
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
Murilo Pereira 7b127c94f8 Merge pull request #7 from HalosGhost/master
Significant Makefile cleanup
2014-08-24 22:17:09 -03: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
Murilo Pereira 6588525e8e Encapsulated behaviour into cursor_direction(). 2011-06-06 22:06:10 -03:00
Murilo Pereira 977c80b91e Updated README with screenshots. 2011-06-06 03:15:44 -03:00
Murilo Pereira 6b709f047a Name-spaced functions for cursor. 2011-06-06 02:21:50 -03:00
Murilo Pereira 955f2fbc90 Name-spaced functions for frame. 2011-06-06 02:16:54 -03:00
Murilo Pereira bc6b04eb36 Name-spaced functions for deck. 2011-06-06 02:04:03 -03:00
Murilo Pereira 95a1c77a25 Name-spaced functions for card and stack. 2011-06-06 01:57:52 -03:00
Murilo Pereira c3f6e16dc8 Name-spaced defines. 2011-06-06 01:33:49 -03:00
Murilo Pereira b35a3105e3 Checking TODO in. 2011-06-06 01:15:46 -03:00
Murilo Pereira 2d27a53d95 Added game_won(). 2011-06-06 00:42:23 -03:00
Murilo Pereira 4d3892101d Encapsulated function to move blocks and removed compiler warnings. 2011-06-05 23:08:08 -03:00
Murilo Pereira 656f8e6190 Fix invalid spot's segfaults added with the new code. 2011-06-05 18:41:09 -03:00
Murilo Pereira ff0dd068be Updated instructions. 2011-06-05 18:00:03 -03:00
Murilo Pereira 4c529f0ab7 No need to move the cursor on waste pile. 2011-06-05 17:39:57 -03:00
Murilo Pereira 3b1dd0bcf6 Implemented logic for moving blocks of cards. 2011-06-05 17:34:02 -03:00
Murilo Pereira b7cce35315 Only add cards to a block if they are exposed. 2011-06-05 00:16:07 -03:00