dos33fsprogs/gr-sim/tfv/tfv_help.c

55 lines
1.3 KiB
C
Raw Normal View History

2018-06-25 19:39:19 +00:00
#include <stdio.h>
#include <stdlib.h>
#include "gr-sim.h"
#include "tfv_utils.h"
#include "tfv_zp.h"
void print_help(void) {
clear_top_a(0xa0);
soft_switch(TXTSET);
// htab(1);
// vtab(1);
// move_cursor();
/*
***************************************
* HELP *
* *
* ARROWS - MOVE *
* W/A/S/D - MOVE *
2018-07-13 15:46:27 +00:00
* Z/X - FORWARD/BACK (FLYING) *
2018-06-25 19:39:19 +00:00
* SPACE - STOP *
* RETURN - LAND / ENTER / ACTION *
* I - INVENTORY *
* M - MAP *
2018-07-13 15:46:27 +00:00
* ESC - CANCEL *
2018-06-25 19:39:19 +00:00
* *
***************************************
*/
ram[CV]=1;
ram[CH]=18;
move_and_print("HELP");
ram[CV]=3;
ram[CH]=4; move_and_print("ARROWS - MOVE");
ram[CV]++; move_and_print("W/A/S/D - MOVE");
2018-07-13 15:46:27 +00:00
ram[CV]++; move_and_print("Z/X - FORWARD / BACK (FLYING)");
2018-06-25 19:39:19 +00:00
ram[CV]++; move_and_print("SPACE - STOP");
ram[CV]++; move_and_print("RETURN - LAND / ENTER / ACTION");
ram[CV]++; move_and_print("I - INVENTORY");
ram[CV]++; move_and_print("M - MAP");
2018-07-13 15:46:27 +00:00
ram[CV]++; move_and_print("ESC - CANCEL");
2018-06-25 19:39:19 +00:00
page_flip();
repeat_until_keypressed();
soft_switch(TXTCLR);
}