Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crawl/crawl
/ functions
Functions
17,100 in github.com/crawl/crawl
⨍
Functions
17,100
◇
Types & classes
2,250
↳
Endpoints
3
↓ 31 callers
Function
trap_at
crawl-ref/source/traps.cc:778
↓ 30 callers
Method
advance
Return true if we didn't hit a corner, hence if this is a good ray so far.
crawl-ref/source/ray.cc:195
↓ 30 callers
Function
animation_delay
crawl-ref/source/view.cc:196
↓ 30 callers
Method
format
(self)
crawl-ref/source/util/mon-gen.py:213
↓ 30 callers
Function
interrupt_activity
Returns true if any activity was stopped. Not reentrant.
crawl-ref/source/delay.cc:1085
↓ 30 callers
Method
mslot_item
crawl-ref/source/monster.cc:2014
↓ 29 callers
Function
could_harm_enemy
As above, but specifically only returns true if the target is an *enemy that the agent could harm (while always returning false for allies).
crawl-ref/source/mon-util.cc:5851
↓ 29 callers
Method
expose_to_element
crawl-ref/source/player.cc:7312
↓ 29 callers
Method
get_preferred_size
crawl-ref/source/ui.cc:280
↓ 29 callers
Function
is_feat_dangerous
* Check if the given terrain feature is safe for the player to move into. * (Or, at least, not instantly lethal.) * * @param grid The type
crawl-ref/source/player.cc:807
↓ 29 callers
Function
json_find_member
crawl-ref/source/json.cc:499
↓ 29 callers
Function
marshallString
string -- 2 byte length, string data
crawl-ref/source/tags.cc:918
↓ 29 callers
Method
match
crawl-ref/source/catch2-tests/catch_amalgamated.cc:7324
↓ 29 callers
Method
place_cursor
crawl-ref/source/tileweb.cc:2354
↓ 29 callers
Function
player_summon_check
Check whether there is room to summon one of the given types of monsters, within the given placement range, and also whether the player actually wants
crawl-ref/source/spl-summoning.cc:168
↓ 29 callers
Method
read
crawl-ref/source/dlua.cc:91
↓ 29 callers
Function
replace_all_of
Replaces all occurrences of any of the characters in tofind with the replacement string.
crawl-ref/source/stringutil.cc:353
↓ 29 callers
Method
res_poison
crawl-ref/source/player.cc:6982
↓ 29 callers
Method
round
crawl-ref/source/fixedp.h:270
↓ 29 callers
Method
set_duration
crawl-ref/source/player.cc:8341
↓ 29 callers
Function
skill_exp_needed
crawl-ref/source/skills.cc:2545
↓ 29 callers
Function
spell_effect_noise
* Miscellaneous spell casting noise. * * This returns the usual spell noise for the effects of this spell. * Used for various noisy() calls, as wel
crawl-ref/source/spl-util.cc:1131
↓ 29 callers
Method
update_ench
crawl-ref/source/mon-ench.cc:159
↓ 29 callers
Method
visible_igrd
crawl-ref/source/player.cc:5875
↓ 29 callers
Method
willpower
crawl-ref/source/player.cc:7082
↓ 28 callers
Function
_decrement_a_duration
crawl-ref/source/player-reacts.cc:124
↓ 28 callers
Function
calc_mp
crawl-ref/source/player.cc:3867
↓ 28 callers
Function
channel_to_colour
crawl-ref/source/message.cc:1253
↓ 28 callers
Function
find_ray
Find a nonblocked ray from source to target. Return false if no such ray could be found, otherwise return true and fill ray appropriately. if range is
crawl-ref/source/los.cc:624
↓ 28 callers
Function
flush_input_buffer
* Flush the buffer. Later we'll probably want to give the player options * as to when this happens (ex. always before command input, casting failed).
crawl-ref/source/macro.cc:929
↓ 28 callers
Function
get_job_name
crawl-ref/source/jobs.cc:41
↓ 28 callers
Method
has_spell
crawl-ref/source/player.cc:5883
↓ 28 callers
Method
init
(self)
crawl-ref/source/webserver/webtiles/inotify.py:49
↓ 28 callers
Function
mutate
* Try to mutate the player, along with associated bookkeeping. This accepts mutation categories as well as particular mutations. * * In many cases t
crawl-ref/source/mutation.cc:1814
↓ 28 callers
Method
stop_being_constricted
crawl-ref/source/actor.cc:564
↓ 28 callers
Function
temp_change_terrain
crawl-ref/source/terrain.cc:2134
↓ 28 callers
Method
wearing_jewellery
crawl-ref/source/actor.cc:97
↓ 27 callers
Function
AddSamples
crawl-ref/source/worley.cc:197
↓ 27 callers
Function
feat_is_escape_hatch
Is this feature an escape hatch? */
crawl-ref/source/terrain.cc:279
↓ 27 callers
Method
get_crt_font
crawl-ref/source/tilesdl.h:210
↓ 27 callers
Method
get_first_slot_item
Similar to get_slot_items(), but directly returns the first item found. (Used as a shorthand for things like actor::body_armour(), where the behavior
crawl-ref/source/player-equip.cc:1409
↓ 27 callers
Method
get_region
crawl-ref/source/ui.h:297
↓ 27 callers
Function
identify_item
crawl-ref/source/items.cc:972
↓ 27 callers
Function
in_headless_mode
crawl-ref/source/libgui.cc:32
↓ 27 callers
Function
item_colour
* Initialize the randomized appearance of a given item. * * For e.g. wand names, potions colors, helmet tiles... * * XXX: could this be moved into
crawl-ref/source/makeitem.cc:87
↓ 27 callers
Method
lose_energy
crawl-ref/source/monster.cc:5962
↓ 27 callers
Method
neutral
crawl-ref/source/monster.cc:3013
↓ 27 callers
Function
piety_rank
crawl-ref/source/religion.cc:4503
↓ 27 callers
Method
str_field
crawl-ref/source/hiscores.cc:3070
↓ 26 callers
Method
cannot_move
crawl-ref/source/player.cc:7957
↓ 26 callers
Method
get_table
crawl-ref/source/mapmark.cc:244
↓ 26 callers
Function
isaalpha
crawl-ref/source/libutil.h:53
↓ 26 callers
Function
jewellery_is_amulet
crawl-ref/source/item-prop.cc:1520
↓ 26 callers
Function
key_is_escape
crawl-ref/source/libutil.cc:104
↓ 26 callers
Function
mons_class_holiness
crawl-ref/source/mon-util.cc:609
↓ 26 callers
Function
mons_has_attacks
Zero-damage attacks with special effects (constriction, drowning, pure fire, etc.) aren't counted by default, since this is used to decide whether the
crawl-ref/source/mon-util.cc:5251
↓ 26 callers
Method
observable
crawl-ref/source/actor-los.cc:11
↓ 26 callers
Function
stop_delay
crawl-ref/source/delay.cc:338
↓ 26 callers
Method
strip
crawl-ref/source/mapdef.cc:2452
↓ 26 callers
Function
sysfail
crawl-ref/source/errors.cc:29
↓ 26 callers
Method
toString
crawl-ref/source/catch2-tests/catch_amalgamated.cc:369
↓ 25 callers
Function
_write_vcolour
crawl-ref/source/initfile.cc:5442
↓ 25 callers
Method
char_height
* Find the (max) height of a character, in device or logical pixels. * * This will round up if a font uses logically fractional advances! It is * b
crawl-ref/source/fontwrapper-ft.cc:942
↓ 25 callers
Function
f
()
crawl-ref/source/webserver/webtiles/util.py:56
↓ 25 callers
Function
get_armour_slot
crawl-ref/source/item-prop.cc:1502
↓ 25 callers
Function
give_specific_item
crawl-ref/source/mon-gear.cc:42
↓ 25 callers
Method
handle_notification
(self, username, text)
crawl-ref/source/webserver/webtiles/process_handler.py:337
↓ 25 callers
Function
item_for_set
What item for the given set is enabled for generation?
crawl-ref/source/item-prop.cc:3585
↓ 25 callers
Function
read
* Read the provided scroll. * * Check to see if the player can read the provided scroll, and if so, * reads it. If no scroll is provided, prompt fo
crawl-ref/source/item-use.cc:2844
↓ 25 callers
Method
res_elec
crawl-ref/source/player.cc:6969
↓ 25 callers
Function
set_needs_redraw
crawl-ref/source/quiver.cc:3039
↓ 25 callers
Function
strip_number_tag
crawl-ref/source/libutil.cc:213
↓ 24 callers
Function
_set_grd
crawl-ref/source/dungeon.cc:840
↓ 24 callers
Method
abs
crawl-ref/source/fixedp.h:297
↓ 24 callers
Method
active_talisman
crawl-ref/source/player.cc:9498
↓ 24 callers
Function
add_daction
crawl-ref/source/dactions.cc:160
↓ 24 callers
Method
add_entry
crawl-ref/source/menu.cc:1488
↓ 24 callers
Function
all_item_subtypes
All non-removed item subtypes for the specified base type */
crawl-ref/source/items.h:248
↓ 24 callers
Function
calc_spell_power
* Calculate spell power. * * @param spell the spell to check * * @return the resulting spell power. */
crawl-ref/source/spl-cast.cc:550
↓ 24 callers
Method
caught
crawl-ref/source/player.cc:6065
↓ 24 callers
Function
cell_is_invalid_target
Can spells and other abilities target this cell? */
crawl-ref/source/terrain.cc:407
↓ 24 callers
Method
check
crawl-ref/source/json-wrapper.h:22
↓ 24 callers
Method
contains
crawl-ref/source/coord-circle.cc:9
↓ 24 callers
Method
count
crawl-ref/source/catch2-tests/catch_amalgamated.hpp:4659
↓ 24 callers
Function
get_resist
In all cases this will be simplified to a bit field access, so let's let the compiler inline it.
crawl-ref/source/mon-util.h:184
↓ 24 callers
Function
inc_mp
crawl-ref/source/player.cc:4041
↓ 24 callers
Function
is_excluded
crawl-ref/source/exclude.cc:408
↓ 24 callers
Function
list
crawl-ref/source/catch2-tests/catch_amalgamated.cc:4300
↓ 24 callers
Function
lookup
crawl-ref/source/libutil.h:197
↓ 24 callers
Function
marshallBoolean
boolean (to avoid system-dependent bool implementations)
crawl-ref/source/tags.cc:974
↓ 24 callers
Function
player_res_poison
If temp is set to false, temporary sources or resistance won't be counted.
crawl-ref/source/player.cc:1593
↓ 24 callers
Function
set_terrain_changed
crawl-ref/source/terrain.cc:2035
↓ 24 callers
Function
toalower
crawl-ref/source/libutil.h:63
↓ 24 callers
Function
update_more
()
crawl-ref/source/webserver/game_data/static/menu.js:781
↓ 23 callers
Function
_ghost_dprf
show diagnostics following a wizard command, even if not a debug build
crawl-ref/source/files.cc:123
↓ 23 callers
Function
_maybe_populate_form_table
* Possibly add a column of data to the form properties table. * * @param items The list of table entries to append this property to. * @param func
crawl-ref/source/describe.cc:7429
↓ 23 callers
Method
allies_forbidden
crawl-ref/source/player.cc:9492
↓ 23 callers
Method
berserk_or_frenzied
XXX: this function could use a better name
crawl-ref/source/monster.cc:4969
↓ 23 callers
Method
colour
What colour should be used for this feature? * * @returns The colour from the feature option if given, otherwise * the normal colour. *
crawl-ref/source/feature.cc:54
↓ 23 callers
Function
err_exit
(errmsg, exc_info=False)
crawl-ref/source/webserver/webtiles/server.py:110
← previous
next →
401–500 of 17,100, ranked by callers