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
↓ 10 callers
Function
plselAdjustSelections
win/win32/mhdlg.c:837
↓ 10 callers
Function
poly_obj
* Polymorph the object to the given object ID. If the ID is STRANGE_OBJECT * then pick random object from the source's class (this is the standard
src/zap.c:1701
↓ 10 callers
Function
positionpopup
position popup window under the cursor */
win/X11/dialogs.c:307
↓ 10 callers
Function
quest_info
src/questpgr.c:30
↓ 10 callers
Function
refresh
sys/msdos/pckeys.c:117
↓ 10 callers
Function
rnz
rnz: everyone's favorite! */
src/rnd.c:213
↓ 10 callers
Function
set_savefile_name
set savefile name in OS-dependent manner from pre-existing svp.plname, * avoiding troublesome characters */
src/files.c:1019
↓ 10 callers
Function
set_uinwater
set or clear u.uinwater */
src/hack.c:3220
↓ 10 callers
Function
ship_object
NOTE: ship_object assumes otmp was FREED from fobj or invent. * <x,y> is the point of drop. otmp is _not_ an <x,y> resident: * otmp is either a kic
src/dokick.c:1638
↓ 10 callers
Function
somex
src/mkroom.c:665
↓ 10 callers
Function
somey
src/mkroom.c:671
↓ 10 callers
Function
spot_stop_timers
* Stop all timers of index func_index at this spot. * */
src/timeout.c:2415
↓ 10 callers
Function
suit_simple_name
src/objnam.c:5470
↓ 10 callers
Function
tty_doprev_message
win/tty/topl.c:19
↓ 10 callers
Function
txt_gotoxy
sys/msdos/vidtxt.c:473
↓ 10 callers
Function
unmap_object
* unmap_object() * * Remove something from the map when the hero realizes it's not there * anymore. Replace it with background or known trap, but
src/display.c:408
↓ 10 callers
Function
unmul
called when a non-movement, multi-turn action has completed */
src/hack.c:4176
↓ 10 callers
Function
unplacebc
src/ball.c:211
↓ 10 callers
Function
vesa_SetWindow
Set the memory window and return the offset */
sys/msdos/vidvesa.c:272
↓ 10 callers
Function
worn_item_removal
during theft of a worn item: remove_worn_item(), prefaced by a message */
src/steal.c:293
↓ 9 callers
Function
Doname2
capitalized variant of doname() */
src/objnam.c:2302
↓ 9 callers
Function
Invocation_lev
src/dungeon.c:2016
↓ 9 callers
Function
On_W_tower_level
is `lev' a level containing the Wizard's tower? */
src/dungeon.c:1913
↓ 9 callers
Method
Put
win/Qt/qt_key.cpp:58
↓ 9 callers
Function
RetrievePosition
outdated/sys/mac/maccurs.c:84
↓ 9 callers
Function
SetBorder
Put a 3-D motif border around the gadget. String gadgets or those * which do not have highlighting are rendered down. Boolean gadgets * are render
sys/amiga/winami.c:1199
↓ 9 callers
Function
Shk_Your
src/shk.c:5876
↓ 9 callers
Function
WindowGetchar
sys/amiga/amiwind.c:570
↓ 9 callers
Function
adjust_prefix
src/cfgfiles.c:440
↓ 9 callers
Function
amii_cl_end
sys/amiga/winfuncs.c:1788
↓ 9 callers
Function
browse_map
use getpos()'s 'autodescribe' to view whatever is currently shown on map */
src/detect.c:105
↓ 9 callers
Function
burnarmor
called when you're hit by fire (dofiretrap,buzz,zapyourself,explode); returns TRUE if hit on torso */
src/trap.c:87
↓ 9 callers
Function
calc_std_winplace
outdated/win/gem/wingem1.c:2135
↓ 9 callers
Function
can_saddle
Can this monster wear a saddle? */
src/steed.c:25
↓ 9 callers
Function
choose_windows
src/windows.c:266
↓ 9 callers
Function
clear_bypass
clear bypass bits for an object chain, plus contents if applicable */
src/worn.c:1054
↓ 9 callers
Function
del_engr
src/engrave.c:1642
↓ 9 callers
Function
dlb_init
src/dlb.c:428
↓ 9 callers
Function
dogfood
returns the quality of an item of food; the lower the better; fungi and ghouls will eat even tainted food */
src/dog.c:994
↓ 9 callers
Function
early_init
ARGSUSED*/
src/allmain.c:32
↓ 9 callers
Function
end_glyphout
win/tty/wintty.c:3723
↓ 9 callers
Function
error
util/sfctool.c:709
↓ 9 callers
Function
failed_grab
can't hold an unsolid target (ghosts, lights, vortices, most elementals) or a long worm tail */
src/mhitm.c:596
↓ 9 callers
Function
fracture_rock
fractured by pick-axe or wand of striking or by vault guard or shopkeeper */
src/zap.c:5536
↓ 9 callers
Function
fscanf
outdated/sys/wince/celib.c:541
↓ 9 callers
Function
get_nhcolor
win/X11/winX.c:294
↓ 9 callers
Function
getlt
src/calendar.c:40
↓ 9 callers
Function
getpos_sethilite
src/getpos.c:40
↓ 9 callers
Function
glyphid_cache_status
src/glyphs.c:451
↓ 9 callers
Function
isupper
outdated/sys/wince/celib.c:412
↓ 9 callers
Function
just_an
pick "", "a ", or "an " as article for 'str'; used by an() and doname() */
src/objnam.c:2108
↓ 9 callers
Function
l_obj_push
src/nhlobj.c:72
↓ 9 callers
Function
lcase
convert a string into all lowercase */
src/hacklib.c:89
↓ 9 callers
Function
letter
is 'c' a letter? note: '@' classed as letter */
src/hacklib.c:68
↓ 9 callers
Function
losexp
e.g., hit by drain life attack */
src/exper.c:206
↓ 9 callers
Function
m_dowear_type
src/worn.c:798
↓ 9 callers
Function
m_into_limbo
drop monster into "limbo" - that is, migrate to the current level */
src/mon.c:3833
↓ 9 callers
Function
m_lose_armor
remove an item of armor and then drop it */
src/worn.c:1039
↓ 9 callers
Function
map_background
* map_background() * * Make the real background part of our map. This routine assumes that * the hero can physically see the location. Update the
src/display.c:278
↓ 9 callers
Function
mayberem
'mon' tries to remove a piece of hero's armor */
src/mhitu.c:2308
↓ 9 callers
Function
mhitm_ad_phys
src/uhitm.c:3980
↓ 9 callers
Function
mon_in_region
* Check if a monster is inside the region. * It's probably quicker to check with the region internal list * than to check for coordinates. */
src/region.c:209
↓ 9 callers
Function
monster_census
count the number of monsters on the level */
src/minion.c:39
↓ 9 callers
Function
mquaffmsg
src/muse.c:292
↓ 9 callers
Function
my_close_dialog
outdated/win/gem/wingem1.c:961
↓ 9 callers
Function
new_nhfile
src/files.c:495
↓ 9 callers
Function
newuexp
src/exper.c:13
↓ 9 callers
Function
nhl_done
src/nhlua.c:2365
↓ 9 callers
Function
nhl_get_xy_params
src/nhlua.c:494
↓ 9 callers
Function
oselect
src/weapon.c:475
↓ 9 callers
Function
paralyze_monst
src/mhitm.c:1209
↓ 9 callers
Function
plnamesuffix
src/role.c:1664
↓ 9 callers
Function
read_text_tile
win/share/tiletext.c:439
↓ 9 callers
Function
readchar
get a character */
src/cmd.c:5275
↓ 9 callers
Function
relative_time_to_moves
src/restore.c:1327
↓ 9 callers
Function
rne
1 <= rne(x) <= max(u.ulevel/3,5) */
src/rnd.c:191
↓ 9 callers
Function
safe_oname
safe_oname() always returns a valid pointer to * a string, either the pointer to an object's name * if it has one, or a pointer to an empty string
src/do_name.c:94
↓ 9 callers
Function
schedule_goto
change levels at the end of this turn, after monsters finish moving */
src/do.c:2056
↓ 9 callers
Function
set_fgetline_context
util/makedefs.c:1693
↓ 9 callers
Function
set_wc_option_mod_status
* You can set several wc_options in one call to * set_wc_option_mod_status() by setting * the appropriate bits for each option that you * are setti
src/options.c:9880
↓ 9 callers
Function
sleep_monst
`mon' is hit by a sleep attack; return 1 if it's affected, 0 otherwise */
src/mhitm.c:1222
↓ 9 callers
Function
stagger
src/mondata.c:1394
↓ 9 callers
Function
strip_newline
remove \n from end of line; remove \r too if one is there */
src/hacklib.c:179
↓ 9 callers
Function
switch_terrain
moving onto different terrain; might be going into solid rock, inhibiting levitation or flight, or coming back out of such, reinstating levitati
src/hack.c:3177
↓ 9 callers
Function
target_on
src/wizard.c:235
↓ 9 callers
Function
term_clear_screen
win/tty/termcap.c:666
↓ 9 callers
Function
thitu
hero is hit by something other than a monster (though it could be a missile thrown or shot by a monster) */
src/mthrowu.c:74
↓ 9 callers
Function
tty_putstr
win/tty/wintty.c:2225
↓ 9 callers
Function
unconstrain_map
bring hero out from underwater or underground or being engulfed; return True iff any change occurred */
src/detect.c:69
↓ 9 callers
Function
untwoweapon
src/wield.c:905
↓ 9 callers
Function
use_up_tin
finish consume_tin(); also potentially used by cprefx() and cpostfx() */
src/eat.c:1515
↓ 9 callers
Method
verticalScrollBar
outdated/win/Qt3/qt3tableview.cpp:1439
↓ 9 callers
Function
water_damage_chain
src/trap.c:4854
↓ 9 callers
Function
weapon_descr
weapon's skill category name for use as generalized description of weapon; mostly used to shorten "you drop your <weapon>" messages when slippery
src/weapon.c:89
↓ 9 callers
Function
wearing_iron_shoes
return TRUE if mtmp is wearing shoes made of iron (iron/kicking) */
src/trap.c:1097
↓ 9 callers
Function
yobjnam
combine yname and aobjnam eg "your count cxname(otmp)" */
src/objnam.c:2261
↓ 8 callers
Function
Abort
sys/amiga/amiwind.c:711
↓ 8 callers
Function
Cloak_off
src/do_wear.c:382
↓ 8 callers
Function
CreateDialog
Create a dialog widget. It is just a form widget with * a label prompt * a text response * an okay button * an optional cance
win/X11/dialogs.c:102
↓ 8 callers
Method
GetAscii
outdated/win/Qt3/qt3_win.cpp:824
← previous
next →
801–900 of 8,785, ranked by callers