Murilo Pereira
|
6a08aad3d3
|
Give cursor its own WINDOW.
|
2011-05-09 02:04:38 -03:00 |
|
Murilo Pereira
|
d2950f95ce
|
s/shape/window
|
2011-05-09 00:50:56 -03:00 |
|
Murilo Pereira
|
9ecf0acec8
|
s/start/begin
|
2011-05-09 00:38:31 -03:00 |
|
Murilo Pereira
|
4802244efa
|
Less mental retardation.
|
2011-05-08 20:20:22 -03:00 |
|
Murilo Pereira
|
ea9ff3cfb5
|
No return on end of void functions.
|
2011-05-08 16:58:18 -03:00 |
|
Murilo Pereira
|
e2554f181e
|
Empty stacks drawn jit.
|
2011-05-08 15:17:16 -03:00 |
|
Murilo Pereira
|
e7706dfa4b
|
Implemented game#valid_move.
|
2011-05-07 23:09:39 -03:00 |
|
Murilo Pereira
|
20d68a6f3d
|
Only traverse maneuvre stacks for drawing.
|
2011-05-01 02:05:35 -03:00 |
|
Murilo Pereira
|
dcab55f853
|
Finished putting stuff where they belong.
|
2011-02-20 18:45:15 -03:00 |
|
Murilo Pereira
|
daf0b4809f
|
Putting functions were they belong.
|
2011-02-16 23:50:29 -02:00 |
|
Murilo Pereira
|
3495e08490
|
Formatting.
|
2011-02-14 00:24:19 -02:00 |
|
Murilo Pereira
|
8d1b2ca7b4
|
Declaring local functions as static.
|
2011-02-06 04:51:49 -02:00 |
|
Murilo Pereira
|
fc82c70b6a
|
Fixing indendation for 'switch'es.
|
2011-02-06 04:14:17 -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
|
87909b5075
|
Passing cards from the stock to the waste pile.
|
2010-04-20 14:11:16 -03:00 |
|
Murilo Soares Pereira
|
a7bcc8e5a7
|
Making room for cursor, DRY'ing up code.
|
2010-04-19 21:58:31 -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
|
73d79dcc92
|
Hack to print the '10' card value correctly.
|
2010-04-11 20:11:40 -03:00 |
|
Murilo Soares Pereira
|
5d7bb4bcb3
|
Draw the first card of the stack above all others.
|
2010-04-11 19:43:41 -03:00 |
|
Murilo Soares Pereira
|
3100da49d6
|
Green background and invisible cursor.
|
2010-04-11 18:14:11 -03:00 |
|
Murilo Soares Pereira
|
6e802c682f
|
Removed references to debug.
|
2010-04-11 17:18:38 -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
|
b94341b70d
|
Added function to fill the deck.
|
2010-04-08 01:11:11 -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
|
11323275a1
|
Deallocating the empty stack's WINDOWs.
|
2010-04-04 22:54:07 -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
|
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
|
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
|
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 |
|