Commit Graph

11 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 Soares Pereira
e65e4e2875 Moved code into 'game' and 'util', removed unnecessary headers. 2010-04-12 23:42:21 -03:00
Murilo Soares Pereira
d7f349a82c Added functions to cover and expose cards. 2010-04-11 17:15:34 -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
3889a40850 Fixing header's dependencies. 2010-04-04 21:54:22 -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
8960ae7f84 Removed GUI related code from card code. 2010-04-03 01:22:13 -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
4a84d62d07 Modularization started. 2010-04-01 02:28:00 -03:00