MCPcopy Create free account

hub / github.com/crawl/crawl / functions

Functions17,100 in github.com/crawl/crawl

↓ 2,935 callersMethodpos
crawl-ref/source/ray.cc:105
↓ 1,996 callersFunctionmprf
crawl-ref/source/message.cc:1302
↓ 1,872 callersMethodempty
crawl-ref/source/dlua.cc:208
↓ 1,618 callersMethodpush_back
crawl-ref/source/store.cc:1620
↓ 1,617 callersMethodsize
////////////////////// std::vector style interface
crawl-ref/source/store.cc:1602
↓ 1,369 callersFunctionmpr
crawl-ref/source/message.cc:39
↓ 1,316 callersFunctionmake_stringf
crawl-ref/source/stringutil.cc:297
↓ 1,088 callersMethodname
crawl-ref/source/traps.cc:113
↓ 974 callersFunctionrandom2
[0, max)
crawl-ref/source/random.cc:211
↓ 840 callersMethodgrid
crawl-ref/source/geom2d.h:92
↓ 633 callersFunctionrandom_range
[low, high]
crawl-ref/source/random.cc:196
↓ 629 callersFunctionone_chance_in
crawl-ref/source/random.cc:430
↓ 606 callersMethodexists
crawl-ref/source/store.cc:1265
↓ 601 callersMethodend
crawl-ref/source/ui.h:595
↓ 562 callersMethodclear
crawl-ref/source/cio.cc:423
↓ 543 callersMethodis_player
crawl-ref/source/player.h:653
↓ 528 callersMethodget_int
crawl-ref/source/store.cc:883
↓ 520 callersMethodcan_see
crawl-ref/source/actor-los.cc:39
↓ 517 callersMethodbegin
crawl-ref/source/ui.h:594
↓ 460 callersFunctioncanned_msg
crawl-ref/source/message.cc:1951
↓ 452 callersMethodhas_mutation
* Does the player have mutation `mut` at the moment? */
crawl-ref/source/mutation.cc:491
↓ 441 callersMethoderase
crawl-ref/source/store.cc:1710
↓ 438 callersMethodas_monster
crawl-ref/source/player.h:660
↓ 420 callersFunctiondiv_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 callersMethodhas_ench
crawl-ref/source/mon-ench.cc:99
↓ 411 callersFunctionmonster_at
crawl-ref/source/mon-util.cc:365
↓ 402 callersFunctionsimple_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 callersMethodalive
crawl-ref/source/monster.cc:4144
↓ 376 callersFunctiondprf
crawl-ref/source/message.cc:1345
↓ 368 callersFunctionx_chance_in_y
crawl-ref/source/random.cc:435
↓ 353 callersMethodgetMinorVersion
crawl-ref/source/tags.cc:229
↓ 353 callersFunctionplayer_in_branch
crawl-ref/source/player.h:1083
↓ 336 callersMethodget
(self)
crawl-ref/source/webserver/webtiles/server.py:45
↓ 330 callersMethodfind
crawl-ref/source/mapmark.cc:1136
↓ 311 callersFunctioncoinflip
[0, 1]
crawl-ref/source/random.cc:228
↓ 310 callersMethodsee_cell
crawl-ref/source/los-def.cc:88
↓ 308 callersFunctionreplace_all
crawl-ref/source/stringutil.cc:317
↓ 304 callersMethodsubstr
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 callersFunctionin_bounds
Returns true if inside the area the player can move and dig (ie exclusive).
crawl-ref/source/coord.h:20
↓ 289 callersMethodsize
crawl-ref/source/catch2-tests/catch_amalgamated.hpp:150
↓ 279 callersMethodinsert
crawl-ref/source/store.cc:1678
↓ 268 callersMethodadd_ench
crawl-ref/source/mon-ench.cc:168
↓ 258 callersFunctionyou_worship
crawl-ref/source/religion.h:77
↓ 253 callersFunctionactor_at
crawl-ref/source/terrain.cc:63
↓ 238 callersFunctiongrid_distance
crawl-ref/source/coord.cc:11
↓ 228 callersMethodget_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 callersFunctionend
crawl-ref/source/end.cc:146
↓ 208 callersFunctiondie
crawl-ref/source/dbg-asrt.cc:851
↓ 205 callersMethodcount
crawl-ref/source/misc.cc:124
↓ 198 callersMethodset
crawl-ref/source/cio.cc:458
↓ 194 callersMethoddefined
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 callersFunctionis_artefact
crawl-ref/source/artefact.cc:252
↓ 193 callersMethodis_monster
crawl-ref/source/actor.h:37
↓ 187 callersMethodgame_is_arena
crawl-ref/source/state.cc:577
↓ 186 callersFunctionunmarshallShort
Unmarshall 2 byte short in network order.
crawl-ref/source/tags.cc:392
↓ 184 callersFunctionunmarshallInt
Unmarshall 4 byte signed int in network order.
crawl-ref/source/tags.cc:422
↓ 183 callersMethodorigin
crawl-ref/source/coord-def.h:175
↓ 183 callersMethodwont_attack
crawl-ref/source/monster.cc:3024
↓ 176 callersFunctioncreate_monster
crawl-ref/source/mon-place.cc:3163
↓ 174 callersFunctionhave_passive
crawl-ref/source/god-passive.cc:290
↓ 172 callersMethodempty
named queries
crawl-ref/source/catch2-tests/catch_amalgamated.hpp:147
↓ 169 callersFunctionsimple_god_message
yet another wrapper for mpr() {dlb}:
crawl-ref/source/message.cc:2132
↓ 167 callersMethodappend
crawl-ref/source/message.cc:1050
↓ 167 callersFunctionrandom_choose
crawl-ref/source/random.h:106
↓ 165 callersFunctionupdate_screen
crawl-ref/source/libgui.cc:225
↓ 162 callersMethodinitKey
(int id)
crawl-ref/source/android-project/app/src/main/java/org/develz/crawl/DCSSKeyboardBase.java:75
↓ 161 callersFunctionis_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 callersFunctionmarshallShort
Marshall 2 byte short in network order.
crawl-ref/source/tags.cc:381
↓ 160 callersFunctionuppercase_first
crawl-ref/source/stringutil.cc:99
↓ 158 callersMethodreset
crawl-ref/source/cio.cc:448
↓ 154 callersMethodfriendly
crawl-ref/source/monster.cc:3008
↓ 152 callersMethodskill
* 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 callersFunctiongod_name
crawl-ref/source/religion.cc:2127
↓ 151 callersFunctionname
* 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 callersMethodget
crawl-ref/source/colour.cc:57
↓ 150 callersFunctionmarshallInt
Marshall 4 byte int in network order.
crawl-ref/source/tags.cc:401
↓ 150 callersFunctiontestbits
crawl-ref/source/libutil.h:258
↓ 149 callersFunctionmarshallByte
crawl-ref/source/tags.cc:358
↓ 148 callersMethodadd_child
crawl-ref/source/ui.cc:465
↓ 144 callersMethodis_identified
crawl-ref/source/items.cc:961
↓ 144 callersFunctiontake_note
crawl-ref/source/notes.cc:550
↓ 141 callersMethodget_hit_dice
* Get the monster's "hit dice". * * @return The monster's HD. */
crawl-ref/source/mon-act.cc:86
↓ 139 callersFunctionmons_aligned
Are two actors 'aligned'? (Will they refuse to attack each-other?)
crawl-ref/source/mon-util.cc:3260
↓ 138 callersMethodinit
crawl-ref/source/mapdef.cc:2220
↓ 138 callersMethodis
crawl-ref/source/mon-info.h:385
↓ 138 callersMethodpush
crawl-ref/source/clua.cc:1425
↓ 134 callersFunctionrandom_choose_weighted
crawl-ref/source/random.h:151
↓ 132 callersFunctioncell_is_solid
Can you move into this cell in normal play? */
crawl-ref/source/terrain.cc:400
↓ 132 callersMethodweapon
crawl-ref/source/monster.cc:494
↓ 132 callersFunctionyesno
jmf: general helper (should be used all over in code) -- idea borrowed from Nethack
crawl-ref/source/prompt.cc:130
↓ 130 callersMethodcprintf
crawl-ref/source/format.cc:559
↓ 130 callersFunctionget_form
crawl-ref/source/transform.cc:1433
↓ 129 callersFunctionunmarshallByte
crawl-ref/source/tags.cc:364
↓ 128 callersFunctionabs
(x)
crawl-ref/source/webserver/static/scripts/client.js:1794
↓ 128 callersMethodfind
crawl-ref/source/rltiles/tool/tile_page.cc:96
↓ 127 callersMethodget_foe
crawl-ref/source/monster.cc:4916
↓ 127 callersMethodjson_write_string
crawl-ref/source/tileweb.cc:2680
↓ 127 callersMethodstr
crawl-ref/source/fixedp.h:362
↓ 125 callersFunctionsumm_dur
Converts a given summon duration category into a duration in aut (with random fuzzing).
crawl-ref/source/mon-ench.cc:2455
↓ 124 callersFunctionmonster_die
crawl-ref/source/mon-death.cc:2159
next →1–100 of 17,100, ranked by callers