diff options
author | reaverb <reaverb.Crawl@gmail.com> | 2014-06-22 16:11:58 -0400 |
---|---|---|
committer | reaverb <reaverb.Crawl@gmail.com> | 2014-06-22 16:12:23 -0400 |
commit | ceae2edba1c5a3aa3872228cafafc8556e814f5b (patch) | |
tree | 74f1b3c293a104ef8ab56713ecfb06b603ecfdf3 /crawl-ref/source/l_crawl.cc | |
parent | 7a751d0484cc0c48d826fec47ce16367f9871ecb (diff) | |
download | crawl-ref-ceae2edba1c5a3aa3872228cafafc8556e814f5b.tar.gz crawl-ref-ceae2edba1c5a3aa3872228cafafc8556e814f5b.zip |
Rename 'mesclr()' to 'clear_messages()'
Diffstat (limited to 'crawl-ref/source/l_crawl.cc')
-rw-r--r-- | crawl-ref/source/l_crawl.cc | 127 |
1 files changed, 64 insertions, 63 deletions
diff --git a/crawl-ref/source/l_crawl.cc b/crawl-ref/source/l_crawl.cc index b362d33a76..cbdf6bce15 100644 --- a/crawl-ref/source/l_crawl.cc +++ b/crawl-ref/source/l_crawl.cc @@ -152,8 +152,9 @@ function flush_prev_message() */ LUAWRAP(crawl_flush_prev_message, flush_prev_message()) /* --- -function mesclr(force) */ -LUAWRAP(crawl_mesclr, mesclr(lua_isboolean(ls, 1) ? lua_toboolean(ls, 1) : false)) +function clear_messages(force) */ +LUAWRAP(crawl_clear_messages, +clear_messages(lua_isboolean(ls, 1) ? lua_toboolean(ls, 1) : false)) /* --- function redraw_screen() */ @@ -986,69 +987,69 @@ static int crawl_call_dlua(lua_State *ls) static const struct luaL_reg crawl_clib[] = { - { "mpr", crawl_mpr }, - { "formatted_mpr", crawl_formatted_mpr }, - { "dpr", crawl_dpr }, - { "stderr", crawl_stderr }, - { "more", crawl_more }, - { "more_autoclear", crawl_set_more_autoclear }, - { "enable_more", crawl_enable_more }, + { "mpr", crawl_mpr }, + { "formatted_mpr", crawl_formatted_mpr }, + { "dpr", crawl_dpr }, + { "stderr", crawl_stderr }, + { "more", crawl_more }, + { "more_autoclear", crawl_set_more_autoclear }, + { "enable_more", crawl_enable_more }, { "flush_prev_message", crawl_flush_prev_message }, - { "mesclr", crawl_mesclr }, - { "delay", crawl_delay }, - { "random2", crawl_random2 }, - { "one_chance_in", crawl_one_chance_in }, - { "random2avg", crawl_random2avg }, - { "coinflip", crawl_coinflip }, - { "roll_dice", crawl_roll_dice }, - { "x_chance_in_y", crawl_x_chance_in_y }, - { "random_range", crawl_random_range }, - { "random_element", crawl_random_element }, - { "div_rand_round", crawl_div_rand_round }, - { "random_real", crawl_random_real }, - { "worley", crawl_worley }, - { "worley_diff", crawl_worley_diff }, - { "split_bytes", crawl_split_bytes }, - { "simplex", crawl_simplex }, - - { "redraw_screen", crawl_redraw_screen }, - { "c_input_line", crawl_c_input_line}, - { "getch", crawl_getch }, - { "yesno", crawl_yesno }, - { "yesnoquit", crawl_yesnoquit }, - { "kbhit", crawl_kbhit }, - { "flush_input", crawl_flush_input }, - { "sendkeys", crawl_sendkeys }, - { "process_command", crawl_process_command }, - { "process_keys", crawl_process_keys }, - { "playsound", crawl_playsound }, - { "runmacro", crawl_runmacro }, - { "bindkey", crawl_bindkey }, - { "setopt", crawl_setopt }, - { "read_options", crawl_read_options }, - { "msgch_num", crawl_msgch_num }, - { "msgch_name", crawl_msgch_name }, - { "take_note", crawl_take_note }, - { "messages", crawl_messages }, - - { "regex", crawl_regex }, - { "message_filter", crawl_message_filter }, - { "trim", crawl_trim }, - { "split", crawl_split }, - { "grammar", _crawl_grammar }, - { "article_a", crawl_article_a }, - { "game_started", crawl_game_started }, - { "stat_gain_prompt", crawl_stat_gain_prompt }, - { "is_tiles", crawl_is_tiles }, - { "is_webtiles", crawl_is_webtiles }, - { "is_touch_ui", crawl_is_touch_ui }, - { "err_trace", crawl_err_trace }, - { "get_command", crawl_get_command }, - { "endgame", crawl_endgame }, - { "tutorial_msg", crawl_tutorial_msg }, - { "dump_char", crawl_dump_char }, + { "clear_messages", crawl_clear_messages }, + { "delay", crawl_delay }, + { "random2", crawl_random2 }, + { "one_chance_in", crawl_one_chance_in }, + { "random2avg", crawl_random2avg }, + { "coinflip", crawl_coinflip }, + { "roll_dice", crawl_roll_dice }, + { "x_chance_in_y", crawl_x_chance_in_y }, + { "random_range", crawl_random_range }, + { "random_element", crawl_random_element }, + { "div_rand_round", crawl_div_rand_round }, + { "random_real", crawl_random_real }, + { "worley", crawl_worley }, + { "worley_diff", crawl_worley_diff }, + { "split_bytes", crawl_split_bytes }, + { "simplex", crawl_simplex }, + + { "redraw_screen", crawl_redraw_screen }, + { "c_input_line", crawl_c_input_line}, + { "getch", crawl_getch }, + { "yesno", crawl_yesno }, + { "yesnoquit", crawl_yesnoquit }, + { "kbhit", crawl_kbhit }, + { "flush_input", crawl_flush_input }, + { "sendkeys", crawl_sendkeys }, + { "process_command", crawl_process_command }, + { "process_keys", crawl_process_keys }, + { "playsound", crawl_playsound }, + { "runmacro", crawl_runmacro }, + { "bindkey", crawl_bindkey }, + { "setopt", crawl_setopt }, + { "read_options", crawl_read_options }, + { "msgch_num", crawl_msgch_num }, + { "msgch_name", crawl_msgch_name }, + { "take_note", crawl_take_note }, + { "messages", crawl_messages }, + + { "regex", crawl_regex }, + { "message_filter", crawl_message_filter }, + { "trim", crawl_trim }, + { "split", crawl_split }, + { "grammar", _crawl_grammar }, + { "article_a", crawl_article_a }, + { "game_started", crawl_game_started }, + { "stat_gain_prompt", crawl_stat_gain_prompt }, + { "is_tiles", crawl_is_tiles }, + { "is_webtiles", crawl_is_webtiles }, + { "is_touch_ui", crawl_is_touch_ui }, + { "err_trace", crawl_err_trace }, + { "get_command", crawl_get_command }, + { "endgame", crawl_endgame }, + { "tutorial_msg", crawl_tutorial_msg }, + { "dump_char", crawl_dump_char }, #ifdef WIZARD - { "call_dlua", crawl_call_dlua }, + { "call_dlua", crawl_call_dlua }, #endif { NULL, NULL }, |