Commit Graph

342 Commits

Author SHA1 Message Date
Murilo Soares Pereira
f01a7c236c display.h now includes the card header. 2010-04-04 21:44:31 -03:00
Murilo Soares Pereira
094fff00f0 initialize_frame() isn't needed, newwin() takes care of it. 2010-04-04 21:20:39 -03:00
Murilo Soares Pereira
8173aaa7ff Fixed empty() to use the new initialize_stack(), and pop(). 2010-04-04 21:20:38 -03:00
Murilo Soares Pereira
e72d21f1f0 Fixed malloc() and pop(). 2010-04-04 21:20:38 -03:00
Murilo Soares Pereira
ad737aa765 Fixed push(). 2010-04-04 21:20:38 -03:00
Murilo Soares Pereira
84383a3275 Fixed length(). 2010-04-04 21:20:38 -03:00
Murilo Soares Pereira
f0aa621e69 Added pop() and function prototypes. 2010-04-04 21:20:37 -03:00
Murilo Soares Pereira
1c65ae3672 Added the stack object to the dependencies. 2010-04-04 21:20:37 -03:00
Murilo Soares Pereira
4bb10a54cc Added stack files, with push(). 2010-04-04 21:20:36 -03:00
Murilo Soares Pereira
be38f63822 Wiped common.h out of existence. 2010-04-04 21:19:32 -03:00
Murilo Soares Pereira
155e03e42c We need to malloc() the size of the structure, not the pointer. 2010-04-04 21:00:36 -03:00
Murilo Soares Pereira
abca15d2be common.h isn't needed on card.c. 2010-04-03 20:52:10 -03:00
Murilo Soares Pereira
593d048e88 Added MIT license. 2010-04-03 19:55:58 -03:00
Murilo Soares Pereira
513d8308d0 Added initial draw functions. 2010-04-03 16:34:45 -03:00
Murilo Soares Pereira
c4ce09551e Adding card_value(). 2010-04-03 15:49:57 -03:00
Murilo Soares Pereira
a51e1c8b79 Adding init_curses()' prototype. 2010-04-03 15:48:02 -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
042b45f36a Forgot switch's breaks. 2010-04-03 15:24:10 -03:00
Murilo Soares Pereira
0ea190c39f Added initial display code. 2010-04-03 04:11:27 -03:00
Murilo Soares Pereira
e7763f86c2 Adding the display object to the dependencies. 2010-04-03 01:27:52 -03:00
Murilo Soares Pereira
8960ae7f84 Removed GUI related code from card code. 2010-04-03 01:22:13 -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
d8d42c42b2 delwin() rather than free() on WINDOWs. 2010-04-01 11:14:11 -03:00
Murilo Soares Pereira
adac388f03 Fixed struct card's face type. 2010-04-01 10:18:57 -03:00
Murilo Soares Pereira
7c3c72a0fd Adding irrelevant values to enums. 2010-04-01 10:17:21 -03:00
Murilo Soares Pereira
f57073dc85 Card 'face' enum, rather than 'exposed' boolean. 2010-04-01 09:50:53 -03:00
Murilo Soares Pereira
fc83da462e Cleaned up main file. 2010-04-01 03:07:48 -03:00
Murilo Soares Pereira
44bc60a53b I want the empty bin directory on my repo. 2010-04-01 02:33:02 -03:00
Murilo Soares Pereira
4a84d62d07 Modularization started. 2010-04-01 02:28:00 -03:00
Murilo Soares Pereira
d97099fe4d Ignoring compiled objects on the 'lib' directory. 2010-04-01 02:27:26 -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
e11583f2eb Added gitignore. 2010-03-28 23:29:22 -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
Murilo Soares Pereira
a0e5fac82d First commit. 2010-03-28 16:20:53 -03:00