Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

src/prompt.c File Reference


Detailed Description

Ask the user to answer a question.

Definition in file prompt.c.

#include "crogue.h"

Go to the source code of this file.

Functions

int prompt (const char *msg)
int prompt_letter (const char *msg)
void prompt_dir (const char *msg, direction *dir)


Function Documentation

int prompt const char *  msg  ) 
 

Todo:
Handle different prompt keys

Definition at line 28 of file prompt.c.

References draw(), KEY_ACKNOWLEDGE, message(), and read_char().

Referenced by auto_follow_connection(), do_drop_item(), fix_rust(), follow_connection(), pickup(), plr_move(), and plr_walk().

void prompt_dir const char *  msg,
direction dir
 

Definition at line 67 of file prompt.c.

References dir, draw(), facing(), player::facing, player::facing_forced, message(), world::plr, read_char(), and w.

Referenced by manip_door(), and throw_item().

int prompt_letter const char *  msg  ) 
 

Definition at line 47 of file prompt.c.

References draw(), message(), and read_char().


Generated on Thu May 20 13:12:13 2004 for CalcRogue by doxygen 1.3.6