MCPcopy Create free account

hub / github.com/NetHack/NetHack / functions

Functions8,785 in github.com/NetHack/NetHack

↓ 5 callersFunctioninventory_resistance_check
Rolls to see whether an object in inventory resists damage from the given damage type, due to an equipped item protecting it. Use u_adtyp_resist
src/zap.c:5709
↓ 5 callersFunctionis_moat
src/dbridge.c:99
↓ 5 callersFunctioniswall
used to determine if wall spines can join this location */
src/mkmaze.c:44
↓ 5 callersFunctionitem_resistance_message
src/insight.c:1467
↓ 5 callersFunctionkill_eggs
kill off any eggs of genocided monsters */
src/mon.c:5608
↓ 5 callersFunctionl_nhcore_call
src/nhlua.c:168
↓ 5 callersFunctionl_selection_push_new
src/nhlsel.c:93
↓ 5 callersFunctionlearnscroll
also called from teleport.c for scroll of teleportation */
src/read.c:69
↓ 5 callersFunctionlightdamage
light damages hero in gremlin form */
src/zap.c:3025
↓ 5 callersFunctionlined_up
is mtmp in position to use ranged attack on hero? */
src/mthrowu.c:1397
↓ 5 callersFunctionlinedup
src/mthrowu.c:1329
↓ 5 callersFunctionlist_genocided
show genocided and extinct monster types for final disclosure/dumplog or for the #genocided command */
src/insight.c:3006
↓ 5 callersFunctionlock_action
produce an occupation string appropriate for the current activity */
src/lock.c:37
↓ 5 callersFunctionm_consume_obj
Monster mtmp consumes an object. Monster may die, polymorph, grow up, heal, etc; meating is not changed. Object is extracted from any linked lis
src/mon.c:1391
↓ 5 callersFunctionm_in_out_region
* check whether a monster enters/leaves one or more regions. */
src/region.c:532
↓ 5 callersFunctionmac_destroy_nhwindow
outdated/sys/mac/macwin.c:1348
↓ 5 callersFunctionmacopen
outdated/sys/mac/macfile.c:208
↓ 5 callersFunctionmagic_map_background
* magic_map_background() * * This function is similar to map_background (see below) except we pay * attention to and correct unexplored, lit ROOM a
src/display.c:232
↓ 5 callersFunctionmake_happy_shk
src/shk.c:1394
↓ 5 callersFunctionmake_menu
* Create a popup widget of the following form: * * popup_label * ----------- ------------ * |left_nam
win/X11/winmisc.c:1961
↓ 5 callersFunctionmakemaz
src/mkmaze.c:1126
↓ 5 callersFunctionmar_add_message
(str)
outdated/win/gem/wingem1.c:1621
↓ 5 callersFunctionmar_curs
(x, y)
outdated/win/gem/wingem1.c:1243
↓ 5 callersFunctionmar_get_font
(type, p_fname, psize)
outdated/win/gem/wingem.c:1100
↓ 5 callersFunctionmar_hol_win_type
(window)
outdated/win/gem/wingem1.c:2440
↓ 5 callersFunctionmar_ob_mapcenter
outdated/win/gem/wingem1.c:345
↓ 5 callersFunctionmaybe_preinsert_directory
sound/windsound/windsound.c:299
↓ 5 callersFunctionmelt_ice
src/zap.c:5039
↓ 5 callersFunctionmergable
returns TRUE if obj & otmp can be merged; used in invent.c and mkobj.c */
src/invent.c:4378
↓ 5 callersFunctionmerge_choice
scan a list of objects to see whether another object will merge with one of them; used in pickup.c when all 52 inventory slots are in use, to fi
src/invent.c:774
↓ 5 callersFunctionmhidden_description
describe a hidden monster; used for look_at during extended monster detection and for probing; also when looking at self and camera feedback */
src/pager.c:185
↓ 5 callersFunctionmidnight
src/calendar.c:222
↓ 5 callersFunctionmigr_booty_item
src/mkmaze.c:779
↓ 5 callersFunctionminimal_monnam
for debugging messages, where data might be suspect and we aren't taking what the hero does or doesn't know into consideration */
src/do_name.c:1253
↓ 5 callersFunctionmk_artifact
Make an artifact. If a specific alignment is specified, then an object of the appropriate alignment is created from scratch, or 0 is returned if
src/artifact.c:171
↓ 5 callersFunctionmk_tt_object
make an object named after someone listed in the scoreboard file; never returns Null */
src/mkobj.c:2226
↓ 5 callersFunctionmkinvk_check_wall
reduces clutter in mkinvokearea() while avoiding potential static analyzer confusion about using isok(x,y) to control access to levl[x][y] */
src/mklev.c:2602
↓ 5 callersFunctionmkinvpos
Change level topology. Boulders in the vicinity are eliminated. * Temporarily overrides vision in the name of a nice effect. */
src/mklev.c:2502
↓ 5 callersFunctionmkmonmoney
create a new stack of gold in monster's inventory */
src/makemon.c:575
↓ 5 callersFunctionmon_in_room
this easily could be a macro, but it might overtax dumb compilers */
src/sounds.c:19
↓ 5 callersFunctionmon_nam_too
returns mon_nam(mon) relative to other_mon; normal name unless they're the same, in which case the reference is to {him|her|it} self */
src/do_name.c:1190
↓ 5 callersFunctionmon_spell_hits_spot
monster has cast flames or frost at target on <x,y>; called by mcastu() */
src/zap.c:5500
↓ 5 callersFunctionmon_warning
src/display.c:179
↓ 5 callersFunctionmon_yells
src/monmove.c:105
↓ 5 callersFunctionmonhp_per_lvl
amount of HP to lose from level drain (or gain from Stormbringer) */
src/makemon.c:985
↓ 5 callersFunctionmonstinroom
src/hack.c:3465
↓ 5 callersFunctionmoves_to_relative_time
src/restore.c:1319
↓ 5 callersFunctionmreadmsg
see or hear a monster reading a scroll; when scroll hasn't been seen, its label is revealed unless hero is deaf */
src/muse.c:237
↓ 5 callersFunctionmselftouch
src/trap.c:3912
↓ 5 callersFunctionmsummon
mon summons a monster */
src/minion.c:58
↓ 5 callersFunctionmswin_charset
win/win32/mhfont.c:219
↓ 5 callersFunctionmswin_charset
outdated/sys/wince/mhfont.c:173
↓ 5 callersFunctionmswin_get_brush
outdated/sys/wince/mhcolor.c:157
↓ 5 callersFunctionmswin_nhgetch
int nhgetch() -- Returns a single character input from the user. -- In the tty window-port, nhgetch() assumes that tgetch()
win/win32/mswproc.c:1453
↓ 5 callersFunctionmunstone
TRUE if the monster ate something */
src/muse.c:2883
↓ 5 callersFunctionnh_uncompress
uncompress file if it exists */
src/files.c:1795
↓ 5 callersFunctionnhcolor_to_RGB
map nethack color to RGB */
outdated/sys/wince/mhmap.c:905
↓ 5 callersFunctiono_unleash
otmp is about to be destroyed or stolen */
src/apply.c:710
↓ 5 callersFunctionobj_chain
src/wizcmds.c:1155
↓ 5 callersFunctionobj_has_timer
* Check whether object has a timer of type timer_type. */
src/timeout.c:2403
↓ 5 callersFunctionobj_here
src/invent.c:1601
↓ 5 callersFunctionobj_nutrition
base nutrition of a food-class object; this used to include a variation of the code that is now in adj_victual_nutrition() and was moved due to
src/eat.c:324
↓ 5 callersFunctionobj_sheds_light
Return TRUE if object sheds any light at all. */
src/light.c:762
↓ 5 callersFunctionobjects_globals_init
src/objects.c:31
↓ 5 callersFunctionoid_price_adjustment
decide whether to apply a surcharge (or hypothetically, a discount) to obj if it had ID number 'oid'; returns 1: increase, 0: normal, -1: decrease
src/shk.c:2863
↓ 5 callersFunctionopenholdingtrap
for magic unlocking; returns true if targeted monster (which might be hero) gets untrapped; the trap remains intact */
src/trap.c:6100
↓ 5 callersFunctionoutsubstr
sys/amiga/winstr.c:358
↓ 5 callersFunctionp_glow1
src/read.c:666
↓ 5 callersFunctionpacify_shk
remove previously applied surcharge from all billed items */
src/shk.c:1343
↓ 5 callersFunctionpeek_at_iced_corpse_age
* Returns an obj->age for a corpse object on ice, that would be the * actual obj->age if the corpse had just been lifted from the ice. * This is use
src/mkobj.c:2422
↓ 5 callersFunctionpeek_timer
* Find the timeout of specified timer; return 0 if none. */
src/timeout.c:2323
↓ 5 callersFunctionpickup_object
* Pick up <count> of obj from the ground and add it to the hero's inventory. * Returns -1 if caller should break out of its loop, 0 if nothing picked
src/pickup.c:1802
↓ 5 callersFunctionplace_branch
If given a branch, randomly place a special stair or portal. */
src/mklev.c:1690
↓ 5 callersFunctionplace_lregion
pick a location in area (lx, ly, hx, hy) but not in (nlx, nly, nhx, nhy) and place something (based on rtype) in that region */
src/mkmaze.c:355
↓ 5 callersFunctionplselAdjustLists
adjust role/race/alignment/gender list - filter out invalid combinations changed_sel points to the list where selection occurred (-1 if unkno
outdated/sys/wince/mhdlg.c:537
↓ 5 callersFunctionplsel_set_play_button
enable or disable the Play button */
win/X11/winmisc.c:412
↓ 5 callersFunctionplsel_startmenu
start a menu; show role aspects specified so far as a header line */
src/role.c:2805
↓ 5 callersFunctionprscore
* print selected parts of score list. * argc >= 2, with argv[0] untrustworthy (directory names, et al.), * and argv[1] starting with "-s". * caveat
src/topten.c:1193
↓ 5 callersFunctionput_saddle_on_mon
src/steed.c:141
↓ 5 callersFunctionrandom_teleport_level
Returns an absolute depth */
src/teleport.c:2190
↓ 5 callersFunctionread_config_file
src/cfgfiles.c:1623
↓ 5 callersFunctionread_levelfile
outdated/sys/mac/mrecover.c:1289
↓ 5 callersFunctionrecalc_mapseen
recalculate mapseen for the current level */
src/dungeon.c:3074
↓ 5 callersFunctionrecord_price_quote
Remembers that a shopkeeper has quoted a particular price for a particular type of object. */
src/shk.c:438
↓ 5 callersFunctionredotoplin
win/tty/topl.c:121
↓ 5 callersFunctionreg_damg
per-turn damage inflicted by visible region; hides details from caller */
src/region.c:650
↓ 5 callersFunctionregex_compile
sys/share/cppregex.cpp:34
↓ 5 callersFunctionregex_error_desc
sys/share/cppregex.cpp:52
↓ 5 callersFunctionregex_init
sys/share/cppregex.cpp:28
↓ 5 callersFunctionremember_topl
used by update_topl(); also by tty_putstr() */
win/tty/topl.c:169
↓ 5 callersFunctionrepopulate_perminvent
src/invent.c:3455
↓ 5 callersFunctionreset_justpicked
reset last-picked-up flags */
src/pickup.c:615
↓ 5 callersFunctionrevive
* Attempt to revive the given corpse, return the revived monster if * successful. Note: this does NOT use up the corpse if it fails. * If corpse->q
src/zap.c:883
↓ 5 callersFunctionrndcurse
curse a few inventory items at random! */
src/sit.c:568
↓ 5 callersFunctionsaleable
does shkp's shop stock this item type? */
src/shknam.c:804
↓ 5 callersFunctionsame_race
determine whether two monster types are from the same species */
src/mondata.c:770
↓ 5 callersFunctionsave_currentstate
src/do.c:1374
↓ 5 callersFunctionseffects
scroll effects; return 1 if we use up the scroll and possibly make it become discovered, 0 if caller should take care of those side-effects */
src/read.c:2193
↓ 5 callersFunctionself_invis_message
src/potion.c:470
↓ 5 callersFunctionsend_key
outdated/win/gem/wingem1.c:1321
← previousnext →1,501–1,600 of 8,785, ranked by callers