MCPcopy Create free account

hub / github.com/NetHack/NetHack / functions

Functions8,785 in github.com/NetHack/NetHack

↓ 36 callersFunctionfreeinv
remove an object from the hero's inventory */
src/invent.c:1402
↓ 36 callersFunctionini_inv
src/u_init.c:1300
↓ 36 callersFunctionis_pool_or_lava
src/dbridge.c:76
↓ 36 callersFunctionmbodypart
src/polyself.c:1971
↓ 36 callersFunctionrnl
0 <= rnl(x) < x; sometimes subtracting Luck; good luck approaches 0, bad luck approaches (x-1) */
src/rnd.c:111
↓ 36 callersFunctionshkname
shopkeeper's name, without any visibility constraint; if hallucinating, will yield some other shopkeeper's name (not necessarily one residing in
src/shknam.c:855
↓ 36 callersFunctiontilename
* file_entry is the position of the tile within the monsters/objects/other set */
win/share/tilemap.c:193
↓ 36 callersFunctionunblock_point
* unblock_point() * * Make the location transparent to light. */
src/vision.c:898
↓ 35 callersFunctionerror
outdated/sys/mac/macerrs.c:18
↓ 35 callersFunctionis_ice
src/dbridge.c:85
↓ 35 callersFunctionmswin_get_font
create font based on window type, charater attributes and window device context */
outdated/sys/wince/mhfont.c:26
↓ 34 callersFunctionadd_tileref
win/share/tilemap.c:1486
↓ 34 callersFunctionadjattrib
adjust an attribute; return TRUE if change is made, FALSE otherwise */
src/attrib.c:116
↓ 34 callersFunctioncreate_des_coder
src/sp_lev.c:6443
↓ 34 callersFunctiongoodpos
* Is (x,y) a good position of mtmp? If mtmp is NULL, then is (x,y) good * for an object? * * This function will only look at mtmp->mdat, so makemo
src/teleport.c:85
↓ 34 callersFunctionok_race
is racenum compatible with any rolenum/gendnum/alignnum constraints? */
src/role.c:1036
↓ 34 callersFunctionwakeup
wake up a monster, possibly making it angry in the process */
src/mon.c:4332
↓ 34 callersFunctionwrite
outdated/sys/wince/celib.c:313
↓ 33 callersFunctionhitmsg
monster hits hero (most callers have been moved to uthim.c) */
src/mhitu.c:28
↓ 33 callersFunctionput_savefield
util/sfexpasc.c:541
↓ 33 callersFunctionvision_recalc
* vision_recalc() * * Do all of the heavy vision work. Recalculate all locations that could * possibly be seen by the hero --- if the location wer
src/vision.c:511
↓ 32 callersFunctionartifact_light
WAC return TRUE if artifact is always lit */
src/artifact.c:2263
↓ 32 callersFunctiondel_engr_at
delete any engraving at location <x,y> */
src/engrave.c:460
↓ 32 callersFunctiondocrt
the main refresh-the-screen routine */
src/display.c:1701
↓ 32 callersFunctionread_u32
Decode an unsigned 32 bit quantity */
win/share/bmptiles.c:545
↓ 32 callersFunctionsee_monsters
* Loop through all of the monsters and update them. Called when: * + going blind & telepathic * + regaining sight & telepathic * +
src/display.c:1486
↓ 32 callersFunctionsensemon
src/display.c:172
↓ 32 callersFunctionvalidalign
src/role.c:906
↓ 32 callersFunctionvalidgend
src/role.c:843
↓ 32 callersFunctionxkilled
the player has killed the monster mtmp */
src/mon.c:3476
↓ 31 callersFunctionclearlocks
src/files.c:732
↓ 31 callersFunctiondestroy_items
target items of specified class in mon's inventory for possible destruction return total amount of damage inflicted, though this is unused if mon i
src/zap.c:5964
↓ 31 callersFunctionget_location_coord
src/sp_lev.c:1336
↓ 31 callersFunctiongetuid
sys/amiga/amidos.c:71
↓ 31 callersFunctionlevel_difficulty
use instead of depth() wherever a degree of difficulty is made * dependent on the location in the dungeon (eg. monster creation). */
src/dungeon.c:2026
↓ 31 callersFunctionnewcham
make a chameleon take on another shape, or a polymorph target (possibly self-inflicted) become a different monster; returns 1 if it actually cha
src/mon.c:5277
↓ 31 callersFunctionok_align
is alignnum compatible with any rolenum/racenum/gendnum constraints? */ alignment and gender are not comparable (and also not constrainable) */
src/role.c:1171
↓ 31 callersFunctionpaniclog
ARGSUSED*/
src/files.c:2800
↓ 31 callersFunctionpoly_when_stoned
does monster-type transform into something else when petrified? */
src/mondata.c:79
↓ 31 callersFunctionrecord_achievement
record an achievement (add at end of list unless already present) */
src/insight.c:2406
↓ 31 callersFunctionremove_worn_item
An object you're wearing has been taken off by a monster (theft or seduction). Also used if a worn item gets transformed (stone to flesh). */
src/steal.c:212
↓ 30 callersMethoddissipateHighlight
win/Qt/qt_icon.cpp:217
↓ 30 callersFunctionget_savefield
util/sfexpasc.c:1099
↓ 30 callersMethodhighlightWhenChanging
win/Qt/qt_icon.cpp:184
↓ 30 callersFunctionincr_itimeout
increment the timeout field of intrinsic `which' */
src/potion.c:82
↓ 30 callersFunctionm_useup
remove one instance of an item from a monster's inventory */
src/mthrowu.c:1161
↓ 30 callersFunctionmake_confused
src/potion.c:88
↓ 30 callersFunctionmongone
monster disappears, not dies */
src/mon.c:3266
↓ 30 callersFunctionnext_shkp
src/shk.c:214
↓ 30 callersMethodsetIcon
win/Qt/qt_icon.cpp:122
↓ 30 callersFunctionstop_timer
* Remove the timer from the current list and free it up. Return the time * remaining until it would have gone off, 0 if not found. */
src/timeout.c:2298
↓ 30 callersFunctiony_monnam
pet name: "your little dog" */
src/do_name.c:1116
↓ 29 callersFunctionAmonnam
src/do_name.c:1158
↓ 29 callersFunctionfuzzymatch
compare two strings for equality, ignoring the presence of specified characters (typically whitespace) and possibly ignoring case */
src/hacklib.c:784
↓ 29 callersFunctionnhl_add_table_entry_bool
src/nhlua.c:317
↓ 29 callersFunctionnote
* display messages using Notification Manager or an alert. * no run-length checking is done. the messages are created to fit * in the allocated spa
outdated/sys/mac/mrecover.c:486
↓ 29 callersFunctionok_gend
is gendnum compatible with any rolenum/racenum/alignnum constraints? */ gender and alignment are not comparable (and also not constrainable) */
src/role.c:1106
↓ 29 callersFunctionqt_pager
src/questpgr.c:629
↓ 29 callersFunctionrecalc_block_point
recalc if point should be blocked or unblocked */
src/vision.c:910
↓ 29 callersFunctionset_ustuck
src/mon.c:3420
↓ 29 callersFunctionstairway_at
src/stairs.c:39
↓ 29 callersFunctionunlock_file
unlock file, which must be currently locked by lock_file */
src/files.c:2415
↓ 28 callersFunctioncurses_get_nhwin
win/curses/curswins.c:282
↓ 28 callersFunctiondefended
is 'mon' (possibly youmonst) protected against damage type 'adtype' via wielded weapon or worn dragon scales? [or by virtue of being a dragon?] */
src/mondata.c:90
↓ 28 callersFunctiondlb_fclose
src/dlb.c:482
↓ 28 callersFunctioninsane_object
src/mkobj.c:3313
↓ 28 callersFunctionm_carrying
check if a monster is carrying an item of a particular type */
src/mthrowu.c:1404
↓ 28 callersFunctionmap_glyphinfo
src/display.c:2593
↓ 28 callersFunctionmar_display_nhwindow
(wind)
outdated/win/gem/wingem1.c:2200
↓ 28 callersFunctionmhitm_mgc_atk_negated
src/uhitm.c:74
↓ 28 callersFunctionmkobj
mkobj(): select a type of item from a class, use mksobj() to create it; result is always non-Null */
src/mkobj.c:269
↓ 28 callersFunctionread
outdated/sys/wince/celib.c:286
↓ 27 callersFunctiona_monnam
src/do_name.c:1151
↓ 27 callersFunctionadd_damage
src/shk.c:4398
↓ 27 callersFunctionceiling
src/dungeon.c:1713
↓ 27 callersFunctioncmdq_clear
clear all commands from the command queue */
src/cmd.c:430
↓ 27 callersFunctioncostly_alteration
possibly bill for an object which the player has just modified */
src/mkobj.c:751
↓ 27 callersFunctionend_burn
* Stop a burn timeout on the given object if timer attached. Darken * light source. */
src/timeout.c:1803
↓ 27 callersFunctionfseek
outdated/sys/wince/celib.c:896
↓ 27 callersFunctionget_table_option
opts[] is a null-terminated list */
src/nhlua.c:1121
↓ 27 callersFunctionlcheck_param_table
src/nhlua.c:220
↓ 27 callersFunctionmintrap
src/trap.c:3732
↓ 27 callersFunctionmonflee
monster begins fleeing for the specified time, 0 means untimed flee * if first, only adds fleetime if monster isn't already fleeing * if fleemsg, pr
src/monmove.c:461
↓ 27 callersFunctionobj_resists
src/zap.c:1457
↓ 27 callersFunctionresist
src/zap.c:6099
↓ 27 callersMethodsetLabel
win/Qt/qt_icon.cpp:80
↓ 27 callersMethodsetLabel
outdated/win/Qt3/qt3_win.cpp:2088
↓ 27 callersFunctionstrkitten
append a character to a string (in place): strcat(s, {c,'\0'}); */
src/hacklib.c:275
↓ 26 callersFunctionamii_putstr
sys/amiga/winstr.c:16
↓ 26 callersFunctionargcheck
* Returns: * 0 = no match * 1 = found and skip past this argument * 2 = found and trigger immediate exit */
src/earlyarg.c:449
↓ 26 callersFunctionbad_negation
src/options.c:6692
↓ 26 callersFunctionbcsign
src/mkobj.c:1856
↓ 26 callersFunctiondismount_steed
Stop riding the current steed */
src/steed.c:575
↓ 26 callersFunctiondlb_fopen
src/dlb.c:455
↓ 26 callersFunctionenlght_out
src/insight.c:117
↓ 26 callersFunctionflooreffects
Used for objects which sometimes do special things when dropped; must be * called with the object not in any chain. Returns TRUE if the object goes
src/do.c:161
↓ 26 callersFunctionfwrite
outdated/sys/wince/celib.c:877
↓ 26 callersFunctionget_artifact
src/artifact.c:2820
↓ 26 callersMethodinsertItem
outdated/win/Qt3/qt3_win.cpp:1879
↓ 26 callersFunctionmake_stunned
src/potion.c:106
← previousnext →201–300 of 8,785, ranked by callers