Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NetHack/NetHack
/ functions
Functions
8,785 in github.com/NetHack/NetHack
⨍
Functions
8,785
◇
Types & classes
2,379
↓ 13 callers
Function
m_initthrow
src/makemon.c:147
↓ 13 callers
Function
m_monnam
monster's own name -- overrides hallucination and [in]visibility so shouldn't be used in ordinary messages (mainly for disclosure) */
src/do_name.c:1109
↓ 13 callers
Function
minstapetrify
src/trap.c:3857
↓ 13 callers
Function
mon_learns_traps
monster mtmp learns all traps of type ttyp */
src/mondata.c:1628
↓ 13 callers
Function
morehungry
called after vomiting and after performing feats of magic */
src/eat.c:3280
↓ 13 callers
Function
mswin_layout_main_window
adjust windows to fit main window layout --------------------------- | Status | +-------------------------+ |
outdated/sys/wince/mhmain.c:550
↓ 13 callers
Function
mswin_update_window_placement
win/win32/mswproc.c:2806
↓ 13 callers
Function
newuhs
compute and comment on your (new?) hunger status */
src/eat.c:3361
↓ 13 callers
Function
nhclose
src/files.c:582
↓ 13 callers
Function
nhl_add_table_entry_str
src/nhlua.c:310
↓ 13 callers
Function
obj_to_instr
src/music.c:901
↓ 13 callers
Function
obj_to_let
should of course only be called for things in invent */
src/invent.c:2860
↓ 13 callers
Function
objdescr_is
Return TRUE if the provided string matches the unidentified description of * the provided object. */
src/o_init.c:351
↓ 13 callers
Function
poly_gender
src/polyself.c:2148
↓ 13 callers
Function
rigid_role_checks
src/role.c:1234
↓ 13 callers
Function
rn2_on_display_rng
0 <= rn2(x) < x, but on a different sequence from the "main" rn2; used in cases where the answer doesn't affect gameplay and we don't want to gi
src/rnd.c:69
↓ 13 callers
Function
scroll_window
Scroll lines upward in given window, or clear window if only one line. */
win/curses/cursmesg.c:875
↓ 13 callers
Function
selftouch
src/trap.c:3882
↓ 13 callers
Function
set_apparxy
decide where the monster thinks you are standing */
src/monmove.c:2197
↓ 13 callers
Function
set_utrap
src/trap.c:1029
↓ 13 callers
Function
shared_menu_optfn
all the key assignment options for menu_* commands are identical but optlist.h treats them as distinct rather than sharing one */
src/options.c:2051
↓ 13 callers
Function
strange_feeling
src/potion.c:1460
↓ 13 callers
Function
swap_fg_bg
Swap the foreground and background colors of the given widget */
win/X11/winval.c:160
↓ 13 callers
Function
tele
teleport the hero via some method other than scroll of teleport */
src/teleport.c:841
↓ 13 callers
Function
time
outdated/sys/wince/celib.c:54
↓ 13 callers
Function
unmap_invisible
src/display.c:387
↓ 13 callers
Function
update_tty
* Update the screen to match the current bitmap, after adding stuff * with add_tty_char etc. */
outdated/sys/mac/mactty.c:713
↓ 13 callers
Function
wc_supported
src/options.c:9911
↓ 12 callers
Function
In_hell
are you in one of the Hell levels? */
src/dungeon.c:1941
↓ 12 callers
Function
angry_guards
anger the Minetown watch */
src/mon.c:5710
↓ 12 callers
Function
can_advance
return true if this skill can be advanced */
src/weapon.c:1155
↓ 12 callers
Function
check_special_room
possibly deliver a one-time room entry message */
src/hack.c:3625
↓ 12 callers
Function
cmdq_pop
pop off the topmost command from the command queue. * caller is responsible for freeing the returned _cmd_queue. */
src/cmd.c:409
↓ 12 callers
Function
creat
outdated/sys/wince/celib.c:144
↓ 12 callers
Function
curses_break_str
win/curses/cursmisc.c:285
↓ 12 callers
Function
curses_count_window
win/curses/cursmesg.c:561
↓ 12 callers
Function
cursor_off
sys/amiga/winfuncs.c:1805
↓ 12 callers
Function
cvt_sdoor_to_door
convert a secret door into a normal door; it might be trapped */
src/detect.c:1588
↓ 12 callers
Function
cxname
xname doesn't include monster type for "corpse"; cxname does */
src/objnam.c:1923
↓ 12 callers
Function
detect_obj_traps
check a list of objects for chest traps; return 1 if found at <ux,uy>, 2 if found at some other spot, 3 if both, 0 otherwise; optionally update
src/detect.c:906
↓ 12 callers
Function
disintegrate_arm
hit by destroy armor scroll/black dragon breath */
src/do_wear.c:3200
↓ 12 callers
Function
do_mkroom
make and stock a room of a given type */
src/mkroom.c:51
↓ 12 callers
Function
donning
check whether the target object is currently being put on (or taken off-- also checks for doffing--[why?]) */
src/do_wear.c:1573
↓ 12 callers
Function
ecname_from_fn
src/cmd.c:3091
↓ 12 callers
Function
endRecover
no messages from here (since we might be quitting) */
outdated/sys/mac/mrecover.c:1005
↓ 12 callers
Function
food_xname
``[the(] singular(food, xname) [)]'' */
src/eat.c:216
↓ 12 callers
Function
g_at
src/invent.c:1612
↓ 12 callers
Function
has_ceiling
src/dungeon.c:1689
↓ 12 callers
Function
i2xtp
Bad Hack alert. Using integers instead of XtPointers */
win/X11/winmisc.c:127
↓ 12 callers
Function
initoptions
process options, possibly including SYSCF */
src/options.c:7078
↓ 12 callers
Function
is_db_wall
* Use is_db_wall where you want to verify that a * drawbridge "wall" is UP in the location x, y * (instead of UP or DOWN, as with is_drawbridge_wall
src/dbridge.c:169
↓ 12 callers
Function
iter_mons
iterate all living monsters on current level, calling vfunc for each. */
src/mon.c:4526
↓ 12 callers
Function
learnwand
wand discovery gets special handling when hero is blinded */
src/zap.c:122
↓ 12 callers
Function
m_in_air
return TRUE if monster is up in the air/on the ceiling */
src/mon.c:2129
↓ 12 callers
Function
merged
merge obj with otmp and delete obj if types agree */
src/invent.c:813
↓ 12 callers
Function
minliquid
check mtmp and water/lava for compatibility, 0 (survived), 1 (died) */
src/mon.c:946
↓ 12 callers
Function
mkobj_at
make a random object of class 'let' at a specific location; 'let' might be random class; place_object() will validate <x,y> */
src/mkobj.c:226
↓ 12 callers
Function
mon_reflects
src/muse.c:2794
↓ 12 callers
Function
mondead
monster 'mtmp' has died; maybe life-save, otherwise unshapeshift and update vanquished stats and update map */
src/mon.c:3080
↓ 12 callers
Function
next_to_u
src/apply.c:918
↓ 12 callers
Function
night
src/calendar.c:214
↓ 12 callers
Function
off_msg
src/do_wear.c:67
↓ 12 callers
Function
passive
Special (passive) attacks on you by monsters done here. */
src/uhitm.c:5864
↓ 12 callers
Function
pay_for_damage
src/shk.c:5173
↓ 12 callers
Function
query_objlist
* Put up a menu using the given object list. Only those objects on the * list that meet the approval of the allow function are displayed. Return *
src/pickup.c:1024
↓ 12 callers
Function
randomkey
choose a random character, biased towards movement commands, primarily for debug-fuzzer testing */
src/cmd.c:3516
↓ 12 callers
Function
regex_free
sys/share/cppregex.cpp:80
↓ 12 callers
Function
reset_menu_count
outdated/sys/wince/mhmenu.c:1438
↓ 12 callers
Method
selectedItemNumber
outdated/win/Qt3/qt3_win.cpp:980
↓ 12 callers
Function
set_wounded_legs
src/do.c:2425
↓ 12 callers
Function
spell_skilltype
src/spell.c:855
↓ 12 callers
Function
split_mon
clone a gremlin or mold (2nd arg non-null implies heat as the trigger); hit points are cut in half (odd HP stays with original) */
src/potion.c:2872
↓ 12 callers
Function
str_start_is
determine whether 'str' starts with 'chkstr', possibly ignoring case; * panics on huge strings */
src/hacklib.c:212
↓ 12 callers
Function
swapbits
swapbits(val, bita, bitb) swaps bit a with bit b in val */
src/hacklib.c:831
↓ 12 callers
Function
tamedog
* tamedog() used to return the monster, which might have changed address * if a new one was created in order to allocate the edog extension. * With
src/dog.c:1142
↓ 12 callers
Function
thitm
Monster is hit by trap. */
src/trap.c:6710
↓ 12 callers
Function
throwit_return
src/dothrow.c:1459
↓ 12 callers
Function
touch_artifact
* creature (usually hero) tries to touch (pick up or wield) an artifact obj. * Returns 0 if the object refuses to be touched. * This routine does no
src/artifact.c:907
↓ 12 callers
Function
validrole
src/role.c:712
↓ 11 callers
Function
C2P
outdated/sys/mac/macfile.c:163
↓ 11 callers
Function
Can_fall_thru
* Like Can_dig_down (above), but also allows falling through on the * stronghold level. Normally, the bottom level of a dungeon resists * both digg
src/dungeon.c:1661
↓ 11 callers
Function
In_mines
are you in the mines dungeon? */
src/dungeon.c:1855
↓ 11 callers
Function
_mt_set_colors
outdated/sys/mac/mttymain.c:390
↓ 11 callers
Function
accessory_has_effect
src/eat.c:2257
↓ 11 callers
Function
addinv
add obj to the hero's inventory in the default fashion */
src/invent.c:1151
↓ 11 callers
Function
aggravate
src/wizard.c:493
↓ 11 callers
Function
amii_clear_nhwindow
sys/amiga/winfuncs.c:1389
↓ 11 callers
Function
append_str
Append " or "+new_str to the end of buf if new_str doesn't already exist as a substring of buf. Return 1 if the string was appended, 0 otherwise.
src/pager.c:81
↓ 11 callers
Function
breaktest
* Check to see if obj (which has just hit hard something at speed, e.g. * thrown or dropped from height) is going to break, but don't actually * bre
src/dothrow.c:2581
↓ 11 callers
Function
can_blnd
True iff monster can be blinded by the given attack; note: may return True when mdef is blind (e.g. new cream-pie attack) magr can be NULL. */
src/mondata.c:304
↓ 11 callers
Function
canletgo
some common tests when trying to drop or throw items */
src/do.c:664
↓ 11 callers
Function
check_unpaid
src/shk.c:5735
↓ 11 callers
Method
count
convert text count to numeric for final result
win/Qt/qt_menu.cpp:911
↓ 11 callers
Function
count_unpaid
* Returns the number of unpaid items within the given list. This includes * contained objects. */
src/invent.c:3525
↓ 11 callers
Function
count_wsegs
count_wsegs() * returns the number of segments that a worm has. */
src/worm.c:835
↓ 11 callers
Function
curses_is_menu
win/curses/cursmisc.c:429
↓ 11 callers
Function
curses_is_text
win/curses/cursmisc.c:442
↓ 11 callers
Function
dead_species
decide whether an egg of the indicated monster type is viable; also used to determine whether an egg or tin can be created... */
src/mon.c:5586
↓ 11 callers
Function
del_light_source
Find and delete a light source. Assumes at most one light source is attached to an object at a time. */
src/light.c:98
↓ 11 callers
Function
dropp
dropx() jacket for break_armor() */
src/polyself.c:1122
← previous
next →
601–700 of 8,785, ranked by callers