forked from zwickethomas/Photonics-Helfer
Compare commits
2
Commits
main
...
erste-version
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6ce134acd1 | ||
|
|
f84eff9aa5 |
No files matched your search
@@ -1,7 +1,7 @@
|
||||
CC = gcc
|
||||
CPPFLAGS = -Iinclude -Isrc
|
||||
CFLAGS = -Wall -pthread
|
||||
LDLIBS = -lm -lpthread
|
||||
CFLAGS = -Wall
|
||||
LDLIBS = -lm
|
||||
|
||||
SRC = src
|
||||
OBJ = obj
|
||||
|
||||
+2
-2
@@ -297,7 +297,7 @@ int main(int argc, char **argv){
|
||||
bool run = true;
|
||||
bool *used = (bool[6]){0};
|
||||
int start_time = time(0);
|
||||
bool arrows = false;
|
||||
bool arrows = true;
|
||||
if (argc >= 2 && strcmp(argv[1], "--ich-benutze-windows-und-bin-auf-die-pfeiltasten-angewiesen") == 0){
|
||||
arrows = true;
|
||||
}
|
||||
@@ -333,7 +333,7 @@ int main(int argc, char **argv){
|
||||
int last_input = time(0);
|
||||
|
||||
while (!kbhit()){
|
||||
if (last_input + 30 <= time(0)){
|
||||
if (last_input + 60 <= time(0)){
|
||||
pipes_2(width, height);
|
||||
last_input = time(0);
|
||||
print_menu(width, height, line);
|
||||
|
||||
Reference in new issue
Block a user