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
|
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 9636828ba5 .
|
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
|
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
|
64a278ca99
|
Makefile refactoring and introducing the 'test' rule.
* Moved the main source file to the lib directory
* ttysolitaire rather than tty-solitaire
|
2011-02-06 21:41:06 -02:00 |
|
Murilo Pereira
|
fc82c70b6a
|
Fixing indendation for 'switch'es.
|
2011-02-06 04:14:17 -02:00 |
|
Murilo Pereira
|
75d1e5f23b
|
Pessimistic memory allocation.
* Added/removed headers as necessary
* Removed 'key_event' function from keyboard
|
2011-02-06 03:45:58 -02:00 |
|
Murilo Pereira
|
a12a972daa
|
Clearing build warnings.
|
2011-02-06 00:47:27 -02:00 |
|
Murilo Pereira
|
196a11d1fe
|
Moving responsibility off from main file.
|
2011-02-06 00:47:27 -02:00 |
|
Murilo Pereira
|
8bd7147a8e
|
'draw_deck' is more consistent.
|
2011-02-06 00:47:27 -02:00 |
|
Murilo Pereira
|
a8c98d4756
|
Moving cursor declaration to the game file.
* Also moving some functions around.
|
2011-02-06 00:47:27 -02:00 |
|
Murilo Pereira
|
58fff35a20
|
WIP.
|
2011-02-05 23:42:14 -02:00 |
|
Murilo Soares Pereira
|
202b316719
|
Moving cards through stacks.
|
2010-04-22 01:50:19 -03:00 |
|
Murilo Soares Pereira
|
87909b5075
|
Passing cards from the stock to the waste pile.
|
2010-04-20 14:11:16 -03:00 |
|
Murilo Soares Pereira
|
4c9336f944
|
Created the cursor object, and it moves!
|
2010-04-20 01:11:42 -03:00 |
|
Murilo Soares Pereira
|
67f4775dc4
|
Broke some functions into smaller pieces, added the initial keyboard interface.
|
2010-04-13 01:07:06 -03:00 |
|
Murilo Soares Pereira
|
e65e4e2875
|
Moved code into 'game' and 'util', removed unnecessary headers.
|
2010-04-12 23:42:21 -03:00 |
|
Murilo Soares Pereira
|
ed52f72ff0
|
Fixed functions to initialize the game and now initializing it from main.
|
2010-04-12 02:56:28 -03:00 |
|
Murilo Soares Pereira
|
ecaa2a4c68
|
Created the 'deck' structure, allocate() and initialize() for all structures.
|
2010-04-08 01:11:10 -03:00 |
|
Murilo Soares Pereira
|
f01a7c236c
|
display.h now includes the card header.
|
2010-04-04 21:44:31 -03:00 |
|
Murilo Soares Pereira
|
be38f63822
|
Wiped common.h out of existence.
|
2010-04-04 21:19:32 -03:00 |
|
Murilo Soares Pereira
|
1910bfe868
|
Moved curses initialization related stuff to display.c.
|
2010-04-03 15:26:21 -03:00 |
|
Murilo Soares Pereira
|
7c4c16e705
|
Adding the locale, so that unicode characters are shown.
|
2010-04-03 00:32:19 -03:00 |
|
Murilo Soares Pereira
|
fc83da462e
|
Cleaned up main file.
|
2010-04-01 03:07:48 -03:00 |
|
Murilo Soares Pereira
|
4a84d62d07
|
Modularization started.
|
2010-04-01 02:28:00 -03:00 |
|
Murilo Soares Pereira
|
a7020e3a3f
|
Added common.h.
|
2010-03-31 17:39:28 -03:00 |
|
Murilo Soares Pereira
|
259f5ce2df
|
Fixed function's prototypes.
|
2010-03-31 13:04:45 -03:00 |
|
Murilo Soares Pereira
|
4f97968dbc
|
Start code on the main file. Modularizing is on sight.
|
2010-03-31 02:31:41 -03:00 |
|
Murilo Soares Pereira
|
232408f640
|
The main header isn't needed ATM.
|
2010-03-31 02:31:29 -03:00 |
|
Murilo Soares Pereira
|
06e292bc07
|
Added the header file to tty-solitaire.c.
|
2010-03-28 21:12:53 -03:00 |
|
Murilo Soares Pereira
|
40e0db770c
|
tty-solitaire rather than hatneck.
|
2010-03-28 21:12:15 -03:00 |
|
Murilo Soares Pereira
|
e83ea125a9
|
Fixed makefile and put it on the root dir.
|
2010-03-28 21:11:29 -03:00 |
|
Murilo Soares Pereira
|
9610d35611
|
Added LDFLAGS to makefile.
|
2010-03-28 20:51:16 -03:00 |
|
Murilo Soares Pereira
|
828848425c
|
Created hatneck.c.
|
2010-03-28 20:42:05 -03:00 |
|
Murilo Soares Pereira
|
bb48c52a76
|
Added makefile.
|
2010-03-28 20:41:36 -03:00 |
|