MCPcopy Create free account

hub / github.com/NetHack/NetHack / functions

Functions8,785 in github.com/NetHack/NetHack

↓ 6 callersFunctionpm_to_cham
return monster index if chameleon, or NON_PM if not */
src/mon.c:534
↓ 6 callersFunctionpmatchi
case-insensitive wildcard match */
src/strutil.c:151
↓ 6 callersFunctionpoof
src/potion.c:2407
↓ 6 callersFunctionpooleffects
extracted from spoteffects; called by spoteffects to check for entering or leaving a pool of water/lava, and by moveloop to check for staying on on
src/hack.c:3232
↓ 6 callersFunctionpossibly_unwield
Called after polymorphing a monster, robbing it, etc.... Monsters * otherwise never unwield stuff on their own. Might print message. */
src/weapon.c:746
↓ 6 callersFunctionpostmov
src/monmove.c:1454
↓ 6 callersFunctionpotionbreathe
vapors are inhaled or get in your eyes */
src/potion.c:1931
↓ 6 callersFunctionread_u16
Decode an unsigned 16 bit quantity */
win/share/giftiles.c:449
↓ 6 callersFunctionreally_move_cursor
sys/windows/consoletty.c:1157
↓ 6 callersFunctionrearrange_windows
outdated/win/gem/wingem1.c:527
↓ 6 callersFunctionregion_danger
for checking troubles during prayer; is hero at risk? */
src/region.c:1340
↓ 6 callersFunctionreseed_random
Reshuffles the random number generator. */
src/rnd.c:288
↓ 6 callersFunctionreset_cmd_vars
src/cmd.c:3606
↓ 6 callersFunctionreset_glyphmap
src/display.c:2738
↓ 6 callersFunctionresetobjs
src/bones.c:50
↓ 6 callersFunctionretouch_equipment
check all items currently in use (mostly worn) for touchability */
src/artifact.c:2639
↓ 6 callersFunctionretouch_object
called when hero is wielding/applying/invoking a carried item, or after undergoing a transformation (alignment change, lycanthropy, polymorph) w
src/artifact.c:2507
↓ 6 callersFunctionrile_shk
add aggravation surcharge to all billed items */
src/shk.c:1361
↓ 6 callersFunctionrloco
place object randomly, returns False if it's gone (eg broken) */
src/teleport.c:2101
↓ 6 callersFunctionrnd_otyp_by_namedesc
src/objnam.c:3454
↓ 6 callersFunctionrndmonst
select a random monster type */
src/makemon.c:1651
↓ 6 callersFunctionrounddiv
calculate x/y, rounding as appropriate */
src/hack.c:4550
↓ 6 callersFunctionsanitize_name
while loading bones, strip out text possibly supplied by old player that might accidentally or maliciously disrupt new player's display */
src/bones.c:197
↓ 6 callersFunctionsaveoptstr
to track some unparsed option settings in case #saveoptions needs them */
src/options.c:757
↓ 6 callersFunctionsearch_special
* Search for a special room given its type (zoo, court, etc...) * Special values : * - ANY_SHOP * - ANY_TYPE */
src/mkroom.c:764
↓ 6 callersFunctionselection_do_line
bresenham line algo */
src/selvar.c:625
↓ 6 callersFunctionsellobj
src/shk.c:3926
↓ 6 callersFunctionset_artifact_intrinsic
* a potential artifact has just been worn/wielded/picked-up or * unworn/unwielded/dropped. Pickup/drop only set/reset the W_ART mask. */
src/artifact.c:715
↓ 6 callersFunctionset_mimic_sym
src/makemon.c:2392
↓ 6 callersFunctionset_moreluck
there has just been an inventory change affecting a luck-granting item */
src/attrib.c:440
↓ 6 callersFunctionset_value
win/X11/winval.c:116
↓ 6 callersFunctionseteuid
sys/share/pcunix.c:223
↓ 6 callersFunctionsethanguphandler
sys/vms/vmsmain.c:453
↓ 6 callersFunctionsetpaid
either you paid or left the shop or the shopkeeper died */
src/shk.c:399
↓ 6 callersFunctionsf_log
src/sfbase.c:376
↓ 6 callersFunctionshould_query_disclose_option
src/end.c:475
↓ 6 callersFunctionsingle_level_branch
is 'lev' the only level in its branch? affects level teleporters */
src/dungeon.c:1966
↓ 6 callersFunctionslept_monst
sleeping grabber releases, engulfer doesn't; don't use for paralysis! */
src/mhitm.c:1249
↓ 6 callersFunctionsnuff_lit
called when lit lamp is hit by water or put into a container or you've been swallowed by a monster; obj might be in transit while being thrown o
src/apply.c:1496
↓ 6 callersFunctionsomexy
return a coord c inside mkroom croom, but not in a subroom. returns TRUE if any such space found. can return a non-accessible location, eg. insi
src/mkroom.c:693
↓ 6 callersFunctionspelleffects
hero casts a spell of type spell_otyp, eg. SPE_SLEEP. hero must know the spell (unless force is TRUE). */
src/spell.c:1384
↓ 6 callersFunctionstairway_add
src/stairs.c:7
↓ 6 callersFunctionstart_glob_timeout
schedule a timer that will shrink the target glob by 1 unit of weight */
src/mkobj.c:1472
↓ 6 callersFunctionstatus_hilite_linestr_countfield
src/botl.c:3461
↓ 6 callersFunctionstatus_hilite_linestr_done
src/botl.c:3447
↓ 6 callersFunctionstatus_initialize
src/botl.c:1682
↓ 6 callersFunctionstripspe
src/read.c:651
↓ 6 callersFunctionstumble_onto_mimic
src/uhitm.c:6278
↓ 6 callersFunctionsummon_minion
src/minion.c:197
↓ 6 callersFunctionsuppress_map_output
map or status window might not be ready for output during level creation or game restoration (something like u.usteed which affects display of t
src/display.c:714
↓ 6 callersFunctiont_missile
src/trap.c:1017
↓ 6 callersFunctionteleok
src/teleport.c:419
↓ 6 callersFunctiontemple_occupied
src/priest.c:141
↓ 6 callersFunctiontimet_delta
calculate the difference in seconds between two time_t values */
src/allmain.c:995
↓ 6 callersFunctiontmiss
thrown object misses target monster */
src/dothrow.c:1950
↓ 6 callersFunctiontoggle_stealth
putting on or taking off an item which confers stealth; give feedback and discover it iff stealth state is changing; stealth is blocked by ridin
src/do_wear.c:105
↓ 6 callersFunctiontopl_resp_rect
outdated/sys/mac/macwin.c:985
↓ 6 callersFunctionuescaped_shaft
* Returns TRUE if you didn't fall through a hole or didn't * release a trap door */
src/trap.c:6659
↓ 6 callersFunctionunrestrict_weapon_skill
* Change from restricted to unrestricted, allowing P_BASIC as max. This * function may be called with with P_NONE. Used in pray.c as well as below.
src/weapon.c:1413
↓ 6 callersFunctionunsortloot
sortloot() callers should use this to free up memory it allocates */
src/invent.c:646
↓ 6 callersFunctionupdate_croom
src/sp_lev.c:6321
↓ 6 callersFunctionupdate_mon_extrinsics
armor put on or taken off; might be magical variety */
src/worn.c:578
↓ 6 callersFunctionuwep_skill_type
src/weapon.c:1531
↓ 6 callersFunctionuwepgone
Functions to empty a given slot ***/ These should be used only when the item can't be put back in * the slot by life saving. Proper usage includes:
src/wield.c:872
↓ 6 callersFunctionvesa_FindMode
sys/msdos/vidvesa.c:1531
↓ 6 callersFunctionvga_WriteChar
* Write character 'ch', at (x,y) and * do it using the colour 'colour'. * */
sys/msdos/vidvga.c:957
↓ 6 callersFunctionviable_nhfile
src/files.c:548
↓ 6 callersFunctionvision_reset
* vision_reset() * * This must be called *after* the levl[][] structure is set with the new * level and the level monsters and objects are in place
src/vision.c:210
↓ 6 callersFunctionvms_define
vms_define() - assign a value to a logical name */
sys/vms/vmsunix.c:215
↓ 6 callersFunctionwallification
src/mkmaze.c:289
↓ 6 callersFunctionweldmsg
src/wield.c:1060
↓ 6 callersFunctionwield_tool
used for #rub and for applying pick-axe, whip, grappling hook or polearm */
src/wield.c:682
↓ 6 callersFunctionwielding_corpse
check for wielding cockatrice corpse after taking off gloves or yellow dragon scales/mail or having temporary stoning resistance time out */
src/do_wear.c:607
↓ 6 callersFunctionwill_feel_cockatrice
src/invent.c:4333
↓ 6 callersFunctionworm_move
* worm_move() * * Check for mon->wormno before calling this function! * * Move the worm. Maybe grow. */
src/worm.c:195
↓ 6 callersFunctionyelp
the sounds of mistreated pets */
src/sounds.c:426
↓ 6 callersFunctionzaptype
convert monster zap/spell/breath value to hero zap/spell/breath value */
src/zap.c:88
↓ 6 callersFunctionzombie_form
Return monster index of zombie monster which this monster could be turned into, or NON_PM if it doesn't have a direct counterpart. Sort of the z
src/mon.c:385
↓ 5 callersFunctionDelay
sys/windows/windsys.c:278
↓ 5 callersMethodEmpty
win/Qt/qt_key.cpp:48
↓ 5 callersMethodGet
outdated/win/Qt3/qt3_win.cpp:879
↓ 5 callersMethodGetMessageWindow
win/Qt/qt_main.cpp:1134
↓ 5 callersFunctionGloves_off
src/do_wear.c:645
↓ 5 callersFunctionLayoutMenu
-----------------------------------------------------------------------------*/
win/win32/mhmenu.c:735
↓ 5 callersFunctionNHSPhoneDialogSetup
outdated/sys/wince/mswproc.c:1860
↓ 5 callersFunctionNHSPhoneSetKeypadFromString
-------------------------------------------------------------------------*/
outdated/sys/wince/mhcmd.c:1405
↓ 5 callersFunctionRND
src/rnd.c:60
↓ 5 callersFunctionRing_on
src/do_wear.c:1241
↓ 5 callersFunctionShield_off
src/do_wear.c:732
↓ 5 callersFunctionTextSpaces
sys/amiga/winstr.c:404
↓ 5 callersFunctionTextUpdate
outdated/sys/mac/macwin.c:2826
↓ 5 callersFunctionabuse_dog
src/dog.c:1361
↓ 5 callersFunctionaddinv_core0
src/invent.c:1055
↓ 5 callersFunctionallow_category
src/pickup.c:522
↓ 5 callersFunctionaltar_wrath
src/pray.c:2651
↓ 5 callersFunctionamii_destroy_nhwindow
sys/amiga/winfuncs.c:156
↓ 5 callersFunctionamii_msgborder
sys/amiga/winstr.c:312
↓ 5 callersFunctionangrygods
src/pray.c:703
↓ 5 callersFunctionapply_customizations
src/glyphs.c:530
↓ 5 callersFunctionartifact_name
* Returns the full name (with articles and correct capitalization) of an * artifact named "name" if one exists, or NULL, it not. * The given name mu
src/artifact.c:328
← previousnext →1,301–1,400 of 8,785, ranked by callers