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
↓ 2,935 callers
Method
pos
crawl-ref/source/ray.cc:105
↓ 1,996 callers
Function
mprf
crawl-ref/source/message.cc:1302
↓ 1,872 callers
Method
empty
crawl-ref/source/dlua.cc:208
↓ 1,618 callers
Method
push_back
crawl-ref/source/store.cc:1620
↓ 1,617 callers
Method
size
////////////////////// std::vector style interface
crawl-ref/source/store.cc:1602
↓ 1,369 callers
Function
mpr
crawl-ref/source/message.cc:39
↓ 1,316 callers
Function
make_stringf
crawl-ref/source/stringutil.cc:297
↓ 1,088 callers
Method
name
crawl-ref/source/traps.cc:113
↓ 974 callers
Function
random2
[0, max)
crawl-ref/source/random.cc:211
↓ 840 callers
Method
grid
crawl-ref/source/geom2d.h:92
↓ 633 callers
Function
random_range
[low, high]
crawl-ref/source/random.cc:196
↓ 629 callers
Function
one_chance_in
crawl-ref/source/random.cc:430
↓ 606 callers
Method
exists
crawl-ref/source/store.cc:1265
↓ 601 callers
Method
end
crawl-ref/source/ui.h:595
↓ 562 callers
Method
clear
crawl-ref/source/cio.cc:423
↓ 543 callers
Method
is_player
crawl-ref/source/player.h:653
↓ 528 callers
Method
get_int
crawl-ref/source/store.cc:883
↓ 520 callers
Method
can_see
crawl-ref/source/actor-los.cc:39
↓ 517 callers
Method
begin
crawl-ref/source/ui.h:594
↓ 460 callers
Function
canned_msg
crawl-ref/source/message.cc:1951
↓ 452 callers
Method
has_mutation
* Does the player have mutation `mut` at the moment? */
crawl-ref/source/mutation.cc:491
↓ 441 callers
Method
erase
crawl-ref/source/store.cc:1710
↓ 438 callers
Method
as_monster
crawl-ref/source/player.h:660
↓ 420 callers
Function
div_rand_round
Calculates num/den and randomly adds one based on the remainder. [floor(num/den), ceil(num/den)]
crawl-ref/source/random.cc:313
↓ 416 callers
Method
has_ench
crawl-ref/source/mon-ench.cc:99
↓ 411 callers
Function
monster_at
crawl-ref/source/mon-util.cc:365
↓ 402 callers
Function
simple_monster_message
Note that this function *completely* blocks messaging for monsters distant or invisible to the player ... look elsewhere for a function permitting out
crawl-ref/source/message.cc:2098
↓ 388 callers
Method
alive
crawl-ref/source/monster.cc:4144
↓ 376 callers
Function
dprf
crawl-ref/source/message.cc:1345
↓ 368 callers
Function
x_chance_in_y
crawl-ref/source/random.cc:435
↓ 353 callers
Method
getMinorVersion
crawl-ref/source/tags.cc:229
↓ 353 callers
Function
player_in_branch
crawl-ref/source/player.h:1083
↓ 336 callers
Method
get
(self)
crawl-ref/source/webserver/webtiles/server.py:45
↓ 330 callers
Method
find
crawl-ref/source/mapmark.cc:1136
↓ 311 callers
Function
coinflip
[0, 1]
crawl-ref/source/random.cc:228
↓ 310 callers
Method
see_cell
crawl-ref/source/los-def.cc:88
↓ 308 callers
Function
replace_all
crawl-ref/source/stringutil.cc:317
↓ 304 callers
Method
substr
Returns a substring of [start, start + length). If start + length > size(), then the substring is [start, start + size()). If start > size(), then the
crawl-ref/source/catch2-tests/catch_amalgamated.hpp:157
↓ 292 callers
Function
in_bounds
Returns true if inside the area the player can move and dig (ie exclusive).
crawl-ref/source/coord.h:20
↓ 289 callers
Method
size
crawl-ref/source/catch2-tests/catch_amalgamated.hpp:150
↓ 279 callers
Method
insert
crawl-ref/source/store.cc:1678
↓ 268 callers
Method
add_ench
crawl-ref/source/mon-ench.cc:168
↓ 258 callers
Function
you_worship
crawl-ref/source/religion.h:77
↓ 253 callers
Function
actor_at
crawl-ref/source/terrain.cc:63
↓ 238 callers
Function
grid_distance
crawl-ref/source/coord.cc:11
↓ 228 callers
Method
get_mutation_level
* Get the current player mutation level for `mut`, possibly accounting for * mutation suppression due to transformations or circumstance. * * @para
crawl-ref/source/mutation.cc:473
↓ 225 callers
Function
end
crawl-ref/source/end.cc:146
↓ 208 callers
Function
die
crawl-ref/source/dbg-asrt.cc:851
↓ 205 callers
Method
count
crawl-ref/source/misc.cc:124
↓ 198 callers
Method
set
crawl-ref/source/cio.cc:458
↓ 194 callers
Method
defined
Note: This function is to isolate all the checks to see if an item is valid (often just checking the quantity). It shouldn't be used a a substitute
crawl-ref/source/items.cc:3732
↓ 194 callers
Function
is_artefact
crawl-ref/source/artefact.cc:252
↓ 193 callers
Method
is_monster
crawl-ref/source/actor.h:37
↓ 187 callers
Method
game_is_arena
crawl-ref/source/state.cc:577
↓ 186 callers
Function
unmarshallShort
Unmarshall 2 byte short in network order.
crawl-ref/source/tags.cc:392
↓ 184 callers
Function
unmarshallInt
Unmarshall 4 byte signed int in network order.
crawl-ref/source/tags.cc:422
↓ 183 callers
Method
origin
crawl-ref/source/coord-def.h:175
↓ 183 callers
Method
wont_attack
crawl-ref/source/monster.cc:3024
↓ 176 callers
Function
create_monster
crawl-ref/source/mon-place.cc:3163
↓ 174 callers
Function
have_passive
crawl-ref/source/god-passive.cc:290
↓ 172 callers
Method
empty
named queries
crawl-ref/source/catch2-tests/catch_amalgamated.hpp:147
↓ 169 callers
Function
simple_god_message
yet another wrapper for mpr() {dlb}:
crawl-ref/source/message.cc:2132
↓ 167 callers
Method
append
crawl-ref/source/message.cc:1050
↓ 167 callers
Function
random_choose
crawl-ref/source/random.h:106
↓ 165 callers
Function
update_screen
crawl-ref/source/libgui.cc:225
↓ 162 callers
Method
initKey
(int id)
crawl-ref/source/android-project/app/src/main/java/org/develz/crawl/DCSSKeyboardBase.java:75
↓ 161 callers
Function
is_unrandom_artefact
Is this an unrandart, and if so which one? * * @param item The item to be checked. * @param which The unrand enum to be checked against (default
crawl-ref/source/artefact.cc:270
↓ 161 callers
Function
marshallShort
Marshall 2 byte short in network order.
crawl-ref/source/tags.cc:381
↓ 160 callers
Function
uppercase_first
crawl-ref/source/stringutil.cc:99
↓ 158 callers
Method
reset
crawl-ref/source/cio.cc:448
↓ 154 callers
Method
friendly
crawl-ref/source/monster.cc:3008
↓ 152 callers
Method
skill
* Get the player's skill level for sk. * * @param scale a scale factor to multiply by. * @param real whether to return the real value, or modified
crawl-ref/source/player.cc:6212
↓ 151 callers
Function
god_name
crawl-ref/source/religion.cc:2127
↓ 151 callers
Function
name
* Return the name of the given species. * @param speci the species to be named. * @param spname_type the kind of name to get: adjectiv
crawl-ref/source/species.cc:49
↓ 150 callers
Method
get
crawl-ref/source/colour.cc:57
↓ 150 callers
Function
marshallInt
Marshall 4 byte int in network order.
crawl-ref/source/tags.cc:401
↓ 150 callers
Function
testbits
crawl-ref/source/libutil.h:258
↓ 149 callers
Function
marshallByte
crawl-ref/source/tags.cc:358
↓ 148 callers
Method
add_child
crawl-ref/source/ui.cc:465
↓ 144 callers
Method
is_identified
crawl-ref/source/items.cc:961
↓ 144 callers
Function
take_note
crawl-ref/source/notes.cc:550
↓ 141 callers
Method
get_hit_dice
* Get the monster's "hit dice". * * @return The monster's HD. */
crawl-ref/source/mon-act.cc:86
↓ 139 callers
Function
mons_aligned
Are two actors 'aligned'? (Will they refuse to attack each-other?)
crawl-ref/source/mon-util.cc:3260
↓ 138 callers
Method
init
crawl-ref/source/mapdef.cc:2220
↓ 138 callers
Method
is
crawl-ref/source/mon-info.h:385
↓ 138 callers
Method
push
crawl-ref/source/clua.cc:1425
↓ 134 callers
Function
random_choose_weighted
crawl-ref/source/random.h:151
↓ 132 callers
Function
cell_is_solid
Can you move into this cell in normal play? */
crawl-ref/source/terrain.cc:400
↓ 132 callers
Method
weapon
crawl-ref/source/monster.cc:494
↓ 132 callers
Function
yesno
jmf: general helper (should be used all over in code) -- idea borrowed from Nethack
crawl-ref/source/prompt.cc:130
↓ 130 callers
Method
cprintf
crawl-ref/source/format.cc:559
↓ 130 callers
Function
get_form
crawl-ref/source/transform.cc:1433
↓ 129 callers
Function
unmarshallByte
crawl-ref/source/tags.cc:364
↓ 128 callers
Function
abs
(x)
crawl-ref/source/webserver/static/scripts/client.js:1794
↓ 128 callers
Method
find
crawl-ref/source/rltiles/tool/tile_page.cc:96
↓ 127 callers
Method
get_foe
crawl-ref/source/monster.cc:4916
↓ 127 callers
Method
json_write_string
crawl-ref/source/tileweb.cc:2680
↓ 127 callers
Method
str
crawl-ref/source/fixedp.h:362
↓ 125 callers
Function
summ_dur
Converts a given summon duration category into a duration in aut (with random fuzzing).
crawl-ref/source/mon-ench.cc:2455
↓ 124 callers
Function
monster_die
crawl-ref/source/mon-death.cc:2159
next →
1–100 of 17,100, ranked by callers