Commit Graph

79 Commits

Author SHA1 Message Date
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