Compare commits
2 Commits
b1256014e3
...
2855b64f03
Author | SHA1 | Date | |
---|---|---|---|
2855b64f03 | |||
9c45259962 |
@ -39,7 +39,7 @@ $(shell mkdir -p $(RLS_DIR))
|
|||||||
$(shell mkdir -p $(BUILD_DIR))
|
$(shell mkdir -p $(BUILD_DIR))
|
||||||
|
|
||||||
# phony rules
|
# phony rules
|
||||||
.PHONY := all debug release clean install uninstall
|
.PHONY = all debug release clean install uninstall
|
||||||
|
|
||||||
all: release
|
all: release
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ $(shell if not exist $(RLS_DIR) mkdir $(RLS_DIR))
|
|||||||
$(shell if not exist $(BUILD_DIR) mkdir $(BUILD_DIR))
|
$(shell if not exist $(BUILD_DIR) mkdir $(BUILD_DIR))
|
||||||
|
|
||||||
# phony rules
|
# phony rules
|
||||||
.PHONY := all debug release clean libraries_debug libraries_release both
|
.PHONY = all debug release clean libraries_debug libraries_release both
|
||||||
|
|
||||||
all: release
|
all: release
|
||||||
|
|
||||||
|
@ -178,10 +178,10 @@ void startGame(Board &board)
|
|||||||
cursorX = (cursorX < boardSize.x - 1) ? cursorX + 1 : 0;
|
cursorX = (cursorX < boardSize.x - 1) ? cursorX + 1 : 0;
|
||||||
break;
|
break;
|
||||||
case 'q':
|
case 'q':
|
||||||
exit(0);
|
|
||||||
echo();
|
echo();
|
||||||
cbreak();
|
cbreak();
|
||||||
endwin();
|
endwin();
|
||||||
|
exit(0);
|
||||||
break;
|
break;
|
||||||
case 'z':
|
case 'z':
|
||||||
if (!somethingHasBeenDone)
|
if (!somethingHasBeenDone)
|
||||||
@ -286,10 +286,10 @@ void startGame(Board &board)
|
|||||||
}
|
}
|
||||||
else if (c == 'q')
|
else if (c == 'q')
|
||||||
{
|
{
|
||||||
exit(0);
|
|
||||||
echo();
|
echo();
|
||||||
cbreak();
|
cbreak();
|
||||||
endwin();
|
endwin();
|
||||||
|
exit(0);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -318,10 +318,10 @@ void startGame(Board &board)
|
|||||||
}
|
}
|
||||||
else if (c == 'q')
|
else if (c == 'q')
|
||||||
{
|
{
|
||||||
exit(0);
|
|
||||||
echo();
|
echo();
|
||||||
cbreak();
|
cbreak();
|
||||||
endwin();
|
endwin();
|
||||||
|
exit(0);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user