Commit Graph

18 Commits

Author SHA1 Message Date
Murilo Pereira
daf0b4809f Putting functions were they belong. 2011-02-16 23:50:29 -02:00
Murilo Pereira
8d1b2ca7b4 Declaring local functions as static. 2011-02-06 04:51:49 -02:00
Murilo Pereira
2a9d38116f Declaring headers explicitly. 2011-02-06 04:10:54 -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
8bd7147a8e 'draw_deck' is more consistent. 2011-02-06 00:47:27 -02:00
Murilo Soares Pereira
7b39ec5cc6 Erasing stacks when empty. Also moved some event-related code to the keyboard object. 2010-04-21 04:14:39 -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
65a8b5e0e3 Added functions to draw the game's cards. 2010-04-11 17:14:53 -03:00
Murilo Soares Pereira
d47406f1e4 Added function to set the initial deck's stacks coordinates on screen. 2010-04-09 01:41:38 -03:00
Murilo Soares Pereira
18d6f6e0d8 Added card's stacks coordinates. 2010-04-09 00:58:30 -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
c4c129d115 Drawning the initial empty stacks to the screen. 2010-04-04 22:48:55 -03:00
Murilo Soares Pereira
f01a7c236c display.h now includes the card header. 2010-04-04 21:44:31 -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
0ea190c39f Added initial display code. 2010-04-03 04:11:27 -03:00