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 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								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 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Murilo Pereira
							
						 
					 | 
					
						
						
						
						
							
						
						
							54b55d8fa9
							
						
					 | 
					
						
						
							
							Initial code for moving blocks of cards implemented.
						
						
						
						
						
						
					 | 
					
						2011-06-04 23:37:48 -03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Murilo Pereira
							
						 
					 | 
					
						
						
						
						
							
						
						
							9ad711daec
							
						
					 | 
					
						
						
							
							More expressive back card.
						
						
						
						
						
						
					 | 
					
						2011-06-04 19:20:05 -03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Murilo Pereira
							
						 
					 | 
					
						
						
						
						
							
						
						
							ce8400740a
							
						
					 | 
					
						
						
							
							Some changes.
						
						
						
						
						
						
					 | 
					
						2011-06-04 17:15:12 -03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Murilo Pereira
							
						 
					 | 
					
						
						
						
						
							
						
						
							802350e051
							
						
					 | 
					
						
						
							
							LDFLAGS go after all objects.
						
						
						
						
						
						
					 | 
					
						2011-06-04 01:42:53 -03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Murilo Pereira
							
						 
					 | 
					
						
						
						
						
							
						
						
							3e46dab2ee
							
						
					 | 
					
						
						
							
							Omg wtf noob.
						
						
						
						
						
						
					 | 
					
						2011-06-03 03:27:53 -03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Murilo Pereira
							
						 
					 | 
					
						
						
						
						
							
						
						
							06782215b2
							
						
					 | 
					
						
						
							
							s/display/draw.
						
						
						
						
						
						
					 | 
					
						2011-06-03 03:22:48 -03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Murilo Pereira
							
						 
					 | 
					
						
						
						
						
							
						
						
							28ce3e07bd
							
						
					 | 
					
						
						
							
							Removed stupid curses files.
						
						
						
						
						
						
					 | 
					
						2011-06-03 03:09:14 -03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Murilo Pereira
							
						 
					 | 
					
						
						
						
						
							
						
						
							261950f133
							
						
					 | 
					
						
						
							
							Small refactorings/cleanups.
						
						
						
						
						
						
					 | 
					
						2011-06-03 02:48:26 -03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Murilo Pereira
							
						 
					 | 
					
						
						
						
						
							
						
						
							b5811c5d6d
							
						
					 | 
					
						
						
							
							Adding some function declarations and removing wtf.
						
						
						
						
						
						
					 | 
					
						2011-06-03 00:18:17 -03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Murilo Pereira
							
						 
					 | 
					
						
						
						
						
							
						
						
							4cdf785130
							
						
					 | 
					
						
						
							
							Not needed anymore.
						
						
						
						
						
						
					 | 
					
						2011-06-03 00:17:11 -03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Murilo Pereira
							
						 
					 | 
					
						
						
						
						
							
						
						
							fefb2ed92f
							
						
					 | 
					
						
						
							
							These are only used here.
						
						
						
						
						
						
					 | 
					
						2011-06-03 00:15:47 -03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Murilo Pereira
							
						 
					 | 
					
						
						
						
						
							
						
						
							548fe23b5d
							
						
					 | 
					
						
						
							
							Don't segfault when moving to/off the invalid spot [2].
						
						
						
						
						
						
					 | 
					
						2011-06-03 00:10:48 -03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Murilo Pereira
							
						 
					 | 
					
						
						
						
						
							
						
						
							9fbd1cbcaf
							
						
					 | 
					
						
						
							
							Only one reference to symbol strings.
						
						
						
						
						
						
					 | 
					
						2011-06-03 00:07:02 -03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Murilo Pereira
							
						 
					 | 
					
						
						
						
						
							
						
						
							51c3b51a8b
							
						
					 | 
					
						
						
							
							Fixed some things.
						
						
						
						
						
						
						
						* Movement to empty maneuvre stacks only accept kings.
* Fixed moving to foundation stacks that are not empty.
* Card values go from ACE to KING. 
						
						
					 | 
					
						2011-06-01 11:43:18 -03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Murilo Pereira
							
						 
					 | 
					
						
						
						
						
							
						
						
							2092abc021
							
						
					 | 
					
						
						
							
							Expose covered top cards.
						
						
						
						
						
						
					 | 
					
						2011-06-01 02:24:02 -03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Murilo Pereira
							
						 
					 | 
					
						
						
						
						
							
						
						
							74bdd55bd5
							
						
					 | 
					
						
						
							
							Added actual klondlike solitaire rules for moving cards.
						
						
						
						
						
						
					 | 
					
						2011-06-01 02:18:59 -03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Murilo Pereira
							
						 
					 | 
					
						
						
						
						
							
						
						
							69d3647dae
							
						
					 | 
					
						
						
							
							Do not segfault when moving from/to the invalid spot.
						
						
						
						
						
						
					 | 
					
						2011-06-01 01:08:32 -03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Murilo Pereira
							
						 
					 | 
					
						
						
						
						
							
						
						
							7c28c40ec3
							
						
					 | 
					
						
						
							
							Move cursor down when moving cards to maneuvre stacks.
						
						
						
						
						
						
					 | 
					
						2011-06-01 00:47:58 -03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Murilo Pereira
							
						 
					 | 
					
						
						
						
						
							
						
						
							36bc8e7d8e
							
						
					 | 
					
						
						
							
							Fixed ESC pressing while holding a card.
						
						
						
						
						
						
					 | 
					
						2011-05-31 22:43:22 -03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Murilo Pereira
							
						 
					 | 
					
						
						
						
						
							
						
						
							0739b171c1
							
						
					 | 
					
						
						
							
							Removing stupid hack.
						
						
						
						
						
						
					 | 
					
						2011-05-31 22:39:28 -03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Murilo Pereira
							
						 
					 | 
					
						
						
						
						
							
						
						
							0a100a7b6a
							
						
					 | 
					
						
						
							
							Revert "Oops. cursors showing up again."
						
						
						
						
						
						
						
						This reverts commit 9636828ba5a2915e48e44b865f7bec7857fe7df0. 
						
						
					 | 
					
						2011-05-31 22:37:07 -03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Murilo Pereira
							
						 
					 | 
					
						
						
						
						
							
						
						
							9636828ba5
							
						
					 | 
					
						
						
							
							Oops. cursors showing up again.
						
						
						
						
						
						
					 | 
					
						2011-05-31 16:17:26 -03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Murilo Pereira
							
						 
					 | 
					
						
						
						
						
							
						
						
							8d3e667e86
							
						
					 | 
					
						
						
							
							Actually run it.
						
						
						
						
						
						
					 | 
					
						2011-05-31 03:52:03 -03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Murilo Pereira
							
						 
					 | 
					
						
						
						
						
							
						
						
							e4c342cc12
							
						
					 | 
					
						
						
							
							Ignore the binaries.
						
						
						
						
						
						
					 | 
					
						2011-05-31 03:40:29 -03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Murilo Pereira
							
						 
					 | 
					
						
						
						
						
							
						
						
							ae5ccc75cb
							
						
					 | 
					
						
						
							
							Fixed screen flicker on cursor movement.
						
						
						
						
						
						
					 | 
					
						2011-05-31 03:31:36 -03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Murilo Pereira
							
						 
					 | 
					
						
						
						
						
							
						
						
							1c63b767f6
							
						
					 | 
					
						
						
							
							C-ifying project.
						
						
						
						
						
						
					 | 
					
						2011-05-31 03:03:13 -03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Murilo Pereira
							
						 
					 | 
					
						
						
						
						
							
						
						
							57a38c7152
							
						
					 | 
					
						
						
							
							Fixed card moving issue. Fixes #1.
						
						
						
						
						
						
					 | 
					
						2011-05-31 02:51:17 -03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Murilo Pereira
							
						 
					 | 
					
						
						
						
						
							
						
						
							1b6d79b26c
							
						
					 | 
					
						
						
							
							More thorough test for this scenario.
						
						
						
						
						
						
					 | 
					
						2011-05-31 02:46:43 -03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Murilo Pereira
							
						 
					 | 
					
						
						
						
						
							
						
						
							aa7accb3f1
							
						
					 | 
					
						
						
							
							Added escape key.
						
						
						
						
						
						
					 | 
					
						2011-05-31 02:45:49 -03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Murilo Pereira
							
						 
					 | 
					
						
						
						
						
							
						
						
							7262ac588f
							
						
					 | 
					
						
						
							
							Fixed memory leak.
						
						
						
						
						
						
					 | 
					
						2011-05-31 02:45:11 -03:00 | 
					
					
						
						
							
							
							
						
					 |