Removing useless method and expliciting headers.
This commit is contained in:
parent
a5ee9230df
commit
83df7ba92f
@ -1,10 +1,8 @@
|
||||
#include "card.h"
|
||||
#include "stack.h"
|
||||
#include "display.h"
|
||||
#include "keyboard.h"
|
||||
|
||||
void mark_origin(struct cursor *cursor) {
|
||||
return;
|
||||
}
|
||||
|
||||
struct stack *cursor_stack(struct cursor *cursor) {
|
||||
struct stack *cursor_stack = NULL;
|
||||
|
||||
@ -60,7 +58,6 @@ void handle_card_movement(struct cursor *cursor) {
|
||||
struct stack *destination = NULL;
|
||||
int option;
|
||||
|
||||
mark_origin(cursor);
|
||||
origin = cursor_stack(cursor);
|
||||
|
||||
/* trying to move cards from the space between the waste pile and the
|
||||
|
@ -9,7 +9,6 @@
|
||||
extern struct deck *deck;
|
||||
extern struct cursor *cursor;
|
||||
|
||||
void mark_origin(struct cursor *);
|
||||
struct stack *cursor_stack(struct cursor *);
|
||||
bool cursor_on_stack(struct cursor *, struct stack *);
|
||||
bool cursor_on_invalid_spot(struct cursor *);
|
||||
|
Loading…
Reference in New Issue
Block a user