1
0

Blocks: changed keys, cleaned up code

This commit is contained in:
Anna Christina Naß 2020-03-13 17:36:12 +01:00
parent 8163c92e01
commit 13a6c4fb85
4 changed files with 32 additions and 32 deletions

Binary file not shown.

View File

@ -23,7 +23,7 @@ Move the cursor using the numpad keys:
|
2
Then select a blocks using ``W`` and remove the blocks using ``R``.
Then select a blocks using ``7`` and remove the blocks using ``9``.
You can select just one block, or a group of blocks of the same type

View File

@ -68,8 +68,8 @@
#define K_LEFT '4' /* Key left */
#define K_RIGHT '6' /* Key right */
#define K_EXIT 'Q' /* Key exit */
#define K_SELECT 'W' /* Key select */
#define K_KILL 'R' /* Key kill */
#define K_SELECT '7' /* Key select */
#define K_KILL '9' /* Key kill */
#define K_GRAV_UP 'E' /* Key gravity up */
#define K_GRAV_LEFT 'S' /* Key gravity left */
#define K_GRAV_RIGHT 'D' /* Key gravity right */
@ -156,16 +156,16 @@ Menu()
ScrClr(); ScrCurOff();
sprintf(str, "%sB%sl%so%sc%sk%ss%s", RED, GREEN, BLUE, CYAN, MAGENTA, WHITE, RESET); ScrOutStrRC(0, 37, str);
ScrTitle(1, "v1.1");
ScrTitle(3, "(c) 2012 Floppy Software");
ScrTitle(4, "VT-100 version (c) 2020 by acn@acn.wtf");
sprintf(str, "%sB%sl%so%sc%sk%ss%s", RED, GREEN, BLUE, CYAN, MAGENTA, WHITE, RESET); ScrOutStrRC(1, 37, str);
ScrTitle(3, "v1.1");
ScrTitle(5, "(c) 2012 Floppy Software");
ScrTitle(6, "VT-100 version (c) 2020 acn128");
ScrOutStrRC( 8, 25, "1 : Play game in normal mode");
ScrOutStrRC(10, 25, "2 : Play game in automatic mode");
ScrOutStrRC(12, 25, "3 : Show help");
ScrOutStrRC(10, 25, "1 : Play game in normal mode");
ScrOutStrRC(12, 25, "2 : Play game in automatic mode");
ScrOutStrRC(14, 25, "3 : Show help");
ScrOutStrRC(16, 25, "Q : Quit game");
ScrOutStrRC(18, 25, "Q : Quit game");
ScrTitle(SCR_ROWS-2, "Select your choice");