Murilo Pereira 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							223837b9e0 
							
						 
					 
					
						
						
							
							Merge pull request  #41  from dther/master  
						
						... 
						
						
						
						Redraw card background to prevent visual artefacts 
						
						
					 
					
						2020-05-31 22:40:22 +02:00 
						 
				 
			
				
					
						
							
							
								Rudy Dellomas III 
							
						 
					 
					
						
						
						
						
							
						
						
							56177f4393 
							
						 
					 
					
						
						
							
							Redraw card background to prevent visual artefacts  
						
						... 
						
						
						
						Fixes issue #37 . 
						
						
					 
					
						2020-06-01 01:12:40 +10:00 
						 
				 
			
				
					
						
							
							
								flamin 
							
						 
					 
					
						
						
						
						
							
						
						
							5cd663b589 
							
						 
					 
					
						
						
							
							Fix off by one error inf shuffle_deck()  
						
						
						
						
					 
					
						2019-01-23 14:23:16 -05:00 
						 
				 
			
				
					
						
							
							
								flamin 
							
						 
					 
					
						
						
						
						
							
						
						
							1aa7e560f1 
							
						 
					 
					
						
						
							
							Fix all memory leaks reported by valgrind  
						
						
						
						
					 
					
						2019-01-21 16:02:04 -05: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 Pereira 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							923063a6cc 
							
						 
					 
					
						
						
							
							Merge pull request  #23  from greno4ka/windetect  
						
						... 
						
						
						
						Detect possible win situation 
						
						
					 
					
						2018-08-12 23:17:16 +02:00 
						 
				 
			
				
					
						
							
							
								David Seguin 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b93fe31f7e 
							
						 
					 
					
						
						
							
							Integrate version number into makefile ( fixes   #6 )  
						
						... 
						
						
						
						Running with --version relied on having a VERSION file in current
directory. Having the version number in the makefile ensures it
is built into the binary so that --version works all the time. 
						
						
					 
					
						2018-06-17 21:19:28 -04: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 Pereira 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5fb60cd42c 
							
						 
					 
					
						
						
							
							Merge pull request  #20  from greno4ka/master  
						
						... 
						
						
						
						Closes  #3  
					
						2018-05-07 13:24:52 +02:00 
						 
				 
			
				
					
						
							
							
								Grigory Ustinov 
							
						 
					 
					
						
						
						
						
							
						
						
							33d903165a 
							
						 
					 
					
						
						
							
							Detect possible win situation  
						
						
						
						
					 
					
						2018-02-23 18:40:54 +03:00 
						 
				 
			
				
					
						
							
							
								Grigory Ustinov 
							
						 
					 
					
						
						
						
						
							
						
						
							0981739c86 
							
						 
					 
					
						
						
							
							Replace magic numbers by defined names  
						
						
						
						
					 
					
						2018-02-23 18:52:43 +03:00 
						 
				 
			
				
					
						
							
							
								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 
						 
				 
			
				
					
						
							
							
								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 
							
						 
					 
					
						
						
						
						
							
						
						
							324b9872ab 
							
						 
					 
					
						
						
							
							Only maneuvre stacks are marked.  
						
						
						
						
					 
					
						2017-01-07 20:37:44 -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 
						 
				 
			
				
					
						
							
							
								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 
							
						 
					 
					
						
						
						
						
							
						
						
							eca0819609 
							
						 
					 
					
						
						
							
							Compile and run on OS X.  
						
						
						
						
					 
					
						2013-12-24 14:41:02 -02:00 
						 
				 
			
				
					
						
							
							
								Murilo Pereira 
							
						 
					 
					
						
						
						
						
							
						
						
							9c4ee71eb6 
							
						 
					 
					
						
						
							
							Clear screen before game_init().  
						
						
						
						
					 
					
						2011-07-02 20:20:07 -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 
							
						 
					 
					
						
						
						
						
							
						
						
							e4f07b4692 
							
						 
					 
					
						
						
							
							Move cursor down 1 row when moving to empty maneuvre stacks.  
						
						
						
						
					 
					
						2011-06-10 00:07:13 -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 
							
						 
					 
					
						
						
						
						
							
						
						
							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 
							
						 
					 
					
						
						
						
						
							
						
						
							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 
						 
				 
			
				
					
						
							
							
								Murilo Pereira 
							
						 
					 
					
						
						
						
						
							
						
						
							c8972ab9e8 
							
						 
					 
					
						
						
							
							Fucking invalid spot.  
						
						
						
						
					 
					
						2011-06-04 23:54:16 -03:00 
						 
				 
			
				
					
						
							
							
								Murilo Pereira 
							
						 
					 
					
						
						
						
						
							
						
						
							e585cb5c3b 
							
						 
					 
					
						
						
							
							Don't show box chars on waste pile's cards.  
						
						
						
						
					 
					
						2011-06-04 23:41:07 -03:00