wip
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include <vector>
|
||||
#include "globals.hpp"
|
||||
|
||||
static int _score = 0;
|
||||
|
||||
struct Point {
|
||||
int m_row;
|
||||
@@ -18,6 +19,7 @@ struct Point {
|
||||
};
|
||||
|
||||
void get_new_pos(Point* (*board)[COL], Point** segments);
|
||||
void check_new_tail(Point** segments);
|
||||
|
||||
struct Head {
|
||||
Head() : m_direction(2) {};
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
struct Input {
|
||||
int m_current_key = 0;
|
||||
int m_getch = 0;
|
||||
void get_input(int &d, bool &r);
|
||||
void get_input(int &d, bool &r, int &s);
|
||||
};
|
||||
|
||||
#endif // INPUT_HPP
|
||||
|
||||
Reference in New Issue
Block a user