Created
February 18, 2015 10:41
-
-
Save Pipeliner/bd83c0bdad604ca5ee7c to your computer and use it in GitHub Desktop.
DCSS crawl 0.16 functions available in clua (clualistfuncs output)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Crawl version 0.16-a0-4008-gc88e425 | |
Save file version 34.133 | |
Compiled with GCC 4.8.2 on Feb 17 2015 at 20:26:40 | |
Build platform: x86_64-linux-gnu | |
Platform: x86_64-linux-gnu | |
CFLAGS: -O2 -pipe -Wall -Wformat-security -Wundef -Wno-array-bounds -Wno-format-zero-length -Wmissing-declarations -Wredundant-decls -Wno-parentheses -Wwrite-strings -Wshadow -pedantic -Wuninitialized -Iutil -I. -isystem /usr/include/lua5.1 -Irltiles -isystem /usr/include/ncursesw -DWIZARD -DASSERTS -DCLUA_BINDINGS | |
LDFLAGS: -rdynamic -fuse-ld=gold -O2 | |
cluautil.cc defines global | |
cluautil.cc defines nullptr | |
kills.cc defines kills | |
static const struct luaL_reg kill_lib[] = | |
{ | |
{ "nkills", kill_lualc_nkills }, | |
{ "exp" , kill_lualc_exp }, | |
{ "base_name", kill_lualc_base_name }, | |
{ "desc", kill_lualc_desc }, | |
{ "monnum", kill_lualc_monnum }, | |
{ "modifier", kill_lualc_modifier }, | |
{ "holiness", kill_lualc_holiness }, | |
{ "symbol", kill_lualc_symbol }, | |
{ "isghost", kill_lualc_isghost }, | |
{ "ispandemon", kill_lualc_ispandemon }, | |
{ "isunique", kill_lualc_isunique }, | |
{ "rawwrite", kill_lualc_rawwrite }, | |
{ "write", kill_lualc_write }, | |
{ "summary", kill_lualc_summary }, | |
{ nullptr, nullptr } | |
}; | |
l_colour.cc defines colour | |
static const struct luaL_reg colour_lib[] = | |
{ | |
{ "add_colour", l_add_colour }, | |
{ nullptr, nullptr } | |
}; | |
l_crawl.cc defines crawl | |
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 }, | |
{ "flush_prev_message", crawl_flush_prev_message }, | |
{ "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 }, | |
#ifdef USE_SOUND | |
{ "playsound", crawl_playsound }, | |
#endif | |
{ "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 }, | |
#endif | |
{ "version", crawl_version }, | |
{ nullptr, nullptr }, | |
}; | |
l_file.cc defines file | |
static const struct luaL_reg file_clib[] = | |
{ | |
{ "write", CLua::file_write }, | |
{ nullptr, nullptr }, | |
}; | |
l_food.cc defines food | |
static const struct luaL_reg food_lib[] = | |
{ | |
{ "do_eat", food_do_eat }, | |
{ "prompt_eat_chunks", food_prompt_eat_chunks }, | |
{ "prompt_floor", food_prompt_floor }, | |
{ "prompt_inventory", food_prompt_inventory }, | |
{ "prompt_inv_menu", food_prompt_inventory_menu }, | |
{ "can_eat", food_can_eat }, | |
{ "eat", food_eat }, | |
{ "dangerous", food_dangerous }, | |
{ "ischunk", food_ischunk }, | |
{ "isfruit", food_isfruit }, | |
{ "ismeaty", food_ismeaty }, | |
{ "isveggie", food_isveggie }, | |
{ "bottleable", food_bottleable }, | |
{ "edible", food_edible }, | |
{ nullptr, nullptr }, | |
}; | |
l_item.cc defines items | |
static const struct luaL_reg item_lib[] = | |
{ | |
{ "inventory", l_item_inventory }, | |
{ "letter_to_index", l_item_letter_to_index }, | |
{ "index_to_letter", l_item_index_to_letter }, | |
{ "swap_slots", l_item_swap_slots }, | |
{ "pickup", l_item_pickup }, | |
{ "equipped_at", l_item_equipped_at }, | |
{ "fired_item", l_item_fired_item }, | |
{ "inslot", l_item_inslot }, | |
{ "get_items_at", l_item_get_items_at }, | |
{ nullptr, nullptr }, | |
}; | |
l_moninf.cc defines monster | |
static const struct luaL_reg mon_lib[] = | |
{ | |
{ "get_monster_at", mi_get_monster_at }, | |
{ nullptr, nullptr } | |
}; | |
l_spells.cc defines spells | |
static const struct luaL_reg spells_clib[] = | |
{ | |
{ "memorised" , l_spells_memorised }, | |
{ "letter" , l_spells_letter }, | |
{ "level" , l_spells_level }, | |
{ "mana_cost" , l_spells_mana_cost }, | |
{ "range" , l_spells_range }, | |
{ "max_range" , l_spells_max_range }, | |
{ "min_range" , l_spells_min_range }, | |
{ "fail" , l_spells_fail }, | |
{ "fail_severity" , l_spells_fail_severity }, | |
{ "hunger" , l_spells_hunger }, | |
{ "power" , l_spells_power }, | |
{ "max_power" , l_spells_max_power }, | |
{ "dir_or_target" , l_spells_dir_or_target }, | |
{ "target" , l_spells_target }, | |
{ "grid" , l_spells_grid }, | |
{ "dir" , l_spells_dir }, | |
{ "targ_obj" , l_spells_targ_obj }, | |
{ "god_likes" , l_spells_god_likes }, | |
{ "god_hates" , l_spells_god_hates }, | |
{ "god_loathes" , l_spells_god_loathes }, | |
{ nullptr, nullptr } | |
}; | |
l_travel.cc defines travel | |
static const struct luaL_reg travel_lib[] = | |
{ | |
{ "set_exclude", l_set_exclude }, | |
{ "del_exclude", l_del_exclude }, | |
{ "feature_traversable", l_feature_is_traversable }, | |
{ "feature_solid", l_feature_is_solid }, | |
{ "find_deepest_explored", l_find_deepest_explored }, | |
{ nullptr, nullptr } | |
}; | |
l_view.cc defines view | |
static const struct luaL_reg view_lib[] = | |
{ | |
{ "feature_at", view_feature_at }, | |
{ "cloud_at", view_cloud_at }, | |
{ "is_safe_square", view_is_safe_square }, | |
{ "can_reach", view_can_reach }, | |
{ "withheld", view_withheld }, | |
{ "invisible_monster", view_invisible_monster }, | |
{ "update_monsters", view_update_monsters }, | |
{ nullptr, nullptr } | |
}; | |
l_you.cc defines you | |
static const struct luaL_reg you_clib[] = | |
{ | |
{ "turn_is_over", you_turn_is_over }, | |
{ "turns" , you_turns }, | |
{ "time" , you_time }, | |
{ "spells" , l_you_spells }, | |
{ "spell_letters", l_you_spell_letters }, | |
{ "spell_table" , l_you_spell_table }, | |
{ "spell_levels", you_spell_levels }, | |
{ "mem_spells", l_you_mem_spells }, | |
{ "abilities" , l_you_abils }, | |
{ "ability_letters", l_you_abil_letters }, | |
{ "ability_table", l_you_abil_table }, | |
{ "name" , you_name }, | |
{ "race" , you_race }, | |
{ "class" , you_class }, | |
{ "genus" , l_you_genus }, | |
{ "wizard" , you_wizard }, | |
{ "god" , you_god }, | |
{ "gold" , you_gold }, | |
{ "good_god" , you_good_god }, | |
{ "evil_god" , you_evil_god }, | |
{ "hp" , you_hp }, | |
{ "mp" , you_mp }, | |
{ "base_mp" , you_base_mp }, | |
{ "rot" , you_rot }, | |
{ "hunger" , you_hunger }, | |
{ "hunger_name" , you_hunger_name }, | |
{ "strength" , you_strength }, | |
{ "intelligence", you_intelligence }, | |
{ "dexterity" , you_dexterity }, | |
{ "skill" , you_skill }, | |
{ "base_skill" , you_base_skill }, | |
{ "skill_progress", you_skill_progress }, | |
{ "can_train_skill", you_can_train_skill }, | |
{ "best_skill", you_best_skill }, | |
{ "train_skill", you_train_skill }, | |
{ "xl" , you_xl }, | |
{ "xl_progress" , you_xl_progress }, | |
{ "res_poison" , you_res_poison }, | |
{ "res_fire" , you_res_fire }, | |
{ "res_cold" , you_res_cold }, | |
{ "res_draining", you_res_draining }, | |
{ "res_shock" , you_res_shock }, | |
{ "res_statdrain", you_res_statdrain }, | |
{ "res_mutation", you_res_mutation }, | |
{ "see_invisible", you_see_invisible }, | |
{ "spirit_shield", you_spirit_shield }, | |
{ "like_chunks", you_like_chunks }, | |
{ "gourmand", you_gourmand }, | |
{ "res_corr", you_res_corr }, | |
{ "flying", you_flying }, | |
{ "transform", you_transform }, | |
{ "berserk", you_berserk }, | |
{ "confused", you_confused }, | |
{ "paralysed", you_paralysed }, | |
{ "shrouded", you_shrouded }, | |
{ "phase_shifted", you_phase_shifted }, | |
{ "swift", you_swift }, | |
{ "caught", you_caught }, | |
{ "asleep", you_asleep }, | |
{ "hasted", you_hasted }, | |
{ "slowed", you_slowed }, | |
{ "exhausted", you_exhausted }, | |
{ "teleporting", you_teleporting }, | |
{ "anchored", you_anchored }, | |
{ "rooted", you_rooted }, | |
{ "poisoned", you_poisoned }, | |
{ "poison_survival", you_poison_survival }, | |
{ "corrosion", you_corrosion }, | |
{ "invisible", you_invisible }, | |
{ "mesmerised", you_mesmerised }, | |
{ "on_fire", you_on_fire }, | |
{ "petrifying", you_petrifying }, | |
{ "silencing", you_silencing }, | |
{ "regenerating", you_regenerating }, | |
{ "breath_timeout", you_breath_timeout }, | |
{ "extra_resistant", you_extra_resistant }, | |
{ "mighty", you_mighty }, | |
{ "agile", you_agile }, | |
{ "brilliant", you_brilliant }, | |
{ "rotting", you_rotting }, | |
{ "silenced", you_silenced }, | |
{ "sick", you_sick }, | |
{ "contaminated", you_contaminated }, | |
{ "feel_safe", you_feel_safe }, | |
{ "deaths", you_deaths }, | |
{ "lives", you_lives }, | |
{ "piety_rank", you_piety_rank }, | |
{ "constricted", you_constricted }, | |
{ "constricting", you_constricting }, | |
{ "antimagic", you_antimagic }, | |
{ "status", you_status }, | |
{ "god_likes_fresh_corpses", you_god_likes_fresh_corpses }, | |
{ "can_consume_corpses", you_can_consume_corpses }, | |
{ "stop_activity", you_stop_activity }, | |
{ "taking_stairs", you_taking_stairs }, | |
{ "floor_items", you_floor_items }, | |
{ "where", you_where }, | |
{ "branch", you_branch }, | |
{ "depth", you_depth }, | |
{ "depth_fraction", you_depth_fraction }, | |
{ "absdepth", you_absdepth }, | |
{ "is_level_on_stack", you_is_level_on_stack }, | |
{ "can_smell", you_can_smell }, | |
{ "has_claws", you_has_claws }, | |
{ "see_cell", you_see_cell_rel }, | |
{ "see_cell_no_trans", you_see_cell_no_trans_rel }, | |
{ "mutation", you_mutation }, | |
{ "num_runes", you_num_runes }, | |
{ "have_rune", _you_have_rune }, | |
{ "have_orb", you_have_orb}, | |
{ nullptr, nullptr }, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment