Commit Graph

15 Commits

Author SHA1 Message Date
Murilo Pereira
417a8ca2b7 s/delete/free/g 2011-02-14 00:10:47 -02:00
Murilo Pereira
8d1b2ca7b4 Declaring local functions as static. 2011-02-06 04:51:49 -02:00
Murilo Pereira
5adba921f9 Moving stack-related constants to the stack header file. 2011-02-06 04:03:40 -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 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
0c798f3d56 When a card is moved between stacks, its coordinates are refreshed. 2010-04-11 17:15:33 -03:00
Murilo Soares Pereira
18cf795914 Added function to move cards between stacks. 2010-04-09 00:49:17 -03:00
Murilo Soares Pereira
90c7ce6280 delete() for all structures. 2010-04-08 01:11:10 -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
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
f0aa621e69 Added pop() and function prototypes. 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