#include "draw_wins.h" /* for draw_keys_win(), draw_map_win(), draw_info_win(),
* draw_log_win()
*/
-#include "keybindings.h" /* for init_keybindings(), get_action_key() */
+#include "keybindings.h" /* for init_keybindings(), get_keycode_to_action() */
#include "readwrite.h" /* for [read/write]_uint[8/16/32][_bigendian](),
- * try_fopen(), try_fclose(), try_fclose_unlink_renmae()
+ * try_fopen(), try_fclose(), try_fclose_unlink_rename()
*/
#include "map_objects.h" /* for structs Monster, Item, Player,
* init_map_object_defs(), read_map_objects(),
/* For non-interactive mode, try to load world state from record file. */
else
{
- err_r = "Trouble reading from 'record' file (read_uint32_bigendian() in "
- "main()).";
+ err_r = "Trouble reading from 'record' file (read_uint32_bigendian() "
+ "in main()).";
if (0 == world.interactive)
{
file = try_fopen(recordfile, "r", &world, f_name);
draw_all_wins(world.wmeta);
key = getch();
if ( EOF != action
- && key == get_action_key(world.keybindings, "wait"))
+ && key == get_keycode_to_action(world.keybindings, "wait"))
{
action = getc(file);
if (EOF != action)