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
↓ 11 callers
Function
dumplogmsg
keep the most recent DUMPLOG_MSG_COUNT messages */
src/pline.c:21
↓ 11 callers
Function
fclose_text_file
win/share/tiletext.c:452
↓ 11 callers
Function
fgetline
Read one line from input, up to and including the next newline * character. Returns a pointer to the heap-allocated string, or a * null pointer if
util/makedefs.c:1596
↓ 11 callers
Function
find_drawbridge
* Return true with x,y pointing to the drawbridge if x,y initially indicate * a drawbridge or drawbridge wall. */
src/dbridge.c:179
↓ 11 callers
Function
finish_meating
src/dogmove.c:1447
↓ 11 callers
Function
fopen_text_file
win/share/tiletext.c:383
↓ 11 callers
Function
free_mgivenname
release a monster's name; retains mextra even if all fields are now null */
src/do_name.c:50
↓ 11 callers
Function
get_coord
src/sp_lev.c:5318
↓ 11 callers
Function
get_iter_mons
iterate all living monsters on current level, calling bfunc for each. if bfunc returns TRUE, stop and return that monster. */
src/mon.c:4543
↓ 11 callers
Function
hit
src/zap.c:3555
↓ 11 callers
Function
hitfloor
Object hits floor at hero's feet. Called from drop(), throwit(), hold_another_object(), litter(). */
src/dothrow.c:605
↓ 11 callers
Function
hot_pursuit
src/shk.c:1448
↓ 11 callers
Function
inv_weight
returns how far beyond the normal capacity the player is currently. */ inv_weight() is negative if the player is below normal capacity. */
src/hack.c:4350
↓ 11 callers
Function
knows_class
Know ordinary (non-magical) objects of a certain class, like all gems except the loadstone and luckstone. */
src/u_init.c:585
↓ 11 callers
Function
lelong
win/share/tile2bmp.c:52
↓ 11 callers
Function
make_stoned
start or stop petrification */
src/potion.c:221
↓ 11 callers
Function
make_vomiting
src/potion.c:242
↓ 11 callers
Function
mattackm
* mattackm() -- a monster attacks another monster. * * --------- aggressor died * / ------- defender died * / / ----- d
src/mhitm.c:292
↓ 11 callers
Function
may_dig
intended to be called only on ROCKs or TREEs */
src/hack.c:922
↓ 11 callers
Function
memcmp
int memcmp(const void *, const void *, size_t) -- compare two chunks. */
sys/vms/oldcrtl.c:90
↓ 11 callers
Function
mkcorpstat
mkcorpstat: make a corpse or statue; never returns Null. * * OEXTRA note: Passing mtmp causes mtraits to be saved * even if ptr passed as well, but
src/mkobj.c:2066
↓ 11 callers
Function
mkgold
create a stack of N gold pieces; never returns Null */
src/mkobj.c:2002
↓ 11 callers
Function
mlifesaver
find the worn amulet of life saving which will save a monster */
src/mon.c:2826
↓ 11 callers
Function
mon_pmname
mons[]->pmname for a monster */
src/do_name.c:1312
↓ 11 callers
Function
move_bc
* move_bc() * * Move the ball and chain. This is called twice for every move. The first * time to pick up the ball and chain before the move,
src/ball.c:436
↓ 11 callers
Function
mswin_select_map_mode
win/win32/mhmain.c:1186
↓ 11 callers
Function
mswin_select_map_mode
Set map display mode */
outdated/sys/wince/mhmain.c:1000
↓ 11 callers
Function
mzapwand
when a monster zaps a wand give a message, deduct a charge, and if it isn't directly seen, remove hero's memory of the number of charges */
src/muse.c:164
↓ 11 callers
Function
nhcmdlayout_create
-------------------------------------------------------------------------*/ ------------------- keyboard keys layout functions ----------------------*
outdated/sys/wince/mhcmd.c:1223
↓ 11 callers
Function
nhcmdlayout_init
-------------------------------------------------------------------------*/
outdated/sys/wince/mhcmd.c:1244
↓ 11 callers
Function
nhcmdset_add
-------------------------------------------------------------------------*/
outdated/sys/wince/mhcmd.c:1291
↓ 11 callers
Function
nhcmdset_get
-------------------------------------------------------------------------*/
outdated/sys/wince/mhcmd.c:1275
↓ 11 callers
Function
nmcpy
copy up to maxlen-1 characters; 'dest' must be able to hold maxlen; treat comma as alternate end of 'src' */
src/options.c:6860
↓ 11 callers
Function
obj_is_pname
src/objnam.c:332
↓ 11 callers
Function
p_coaligned
src/priest.c:369
↓ 11 callers
Function
rndmonnum
select a random, common monster type */
src/mkobj.c:387
↓ 11 callers
Function
set_console_cursor
sys/windows/consoletty.c:1148
↓ 11 callers
Function
set_twoweap
src/wield.c:833
↓ 11 callers
Function
term_end_color
win/tty/termcap.c:1473
↓ 11 callers
Function
the_unique_pm
should monster type be prefixed with "the"? (mostly used for corpses) */
src/objnam.c:1120
↓ 11 callers
Function
topten_print
src/topten.c:164
↓ 11 callers
Function
tty_putstatusfield
* This is what places a field on the tty display. */
win/tty/wintty.c:4802
↓ 11 callers
Function
unsplitobj
try to find the stack obj was split from, then merge them back together; returns the combined object if unsplit is successful, null otherwise */
src/mkobj.c:555
↓ 11 callers
Function
ysimple_name
returns "your minimal_xname(obj)" * or "Foobar's minimal_xname(obj)" * or "the minimal_xname(obj)" */
src/objnam.c:2390
↓ 10 callers
Function
GetMenuControl
-----------------------------------------------------------------------------*/
win/win32/mhmenu.c:946
↓ 10 callers
Function
HighlightCell
-------------------------------------------------------------------------*/
outdated/sys/wince/mhcmd.c:1183
↓ 10 callers
Function
IsHandleFile
outdated/sys/mac/macfile.c:53
↓ 10 callers
Function
Is_botlevel
src/dungeon.c:1642
↓ 10 callers
Function
Is_branchlev
* Is this a multi-dungeon branch level? If so, return a pointer to the * branch. Otherwise, return null. */
src/dungeon.c:1463
↓ 10 callers
Function
SetCmdWindowLayout
-------------------------------------------------------------------------*/
outdated/sys/wince/mhcmd.c:911
↓ 10 callers
Method
Widget
outdated/win/Qt3/qt3_win.cpp:1579
↓ 10 callers
Function
alter_cost
called when an item's value has been enhanced; if it happens to be on any shop bill, update that bill to reflect the new higher price [if the ne
src/shk.c:3236
↓ 10 callers
Function
amii_addtopl
sys/amiga/winstr.c:391
↓ 10 callers
Function
aobjnam
returns "count cxname(otmp)" or just cxname(otmp) if count == 1 */
src/objnam.c:2243
↓ 10 callers
Function
arti_light_radius
light emitting artifact's range depends upon its curse/bless state */
src/light.c:880
↓ 10 callers
Function
b_trapped
used for doors (also tins). can be used for anything else that opens. */
src/trap.c:6693
↓ 10 callers
Function
bypass_obj
src/worn.c:1118
↓ 10 callers
Function
cancel_don
despite their names, cancel_don() and cancel_doff() both apply to both donning and doffing... */
src/do_wear.c:1663
↓ 10 callers
Function
could_seduce
returns 0 if seduction impossible, * 1 if fine, * 2 if wrong gender for nymph */
src/mhitu.c:1933
↓ 10 callers
Function
curs_on_u
* Put the cursor on the hero. Flush all accumulated glyphs before doing it. */
src/display.c:1686
↓ 10 callers
Function
custompline
src/pline.c:293
↓ 10 callers
Function
discover_object
src/o_init.c:453
↓ 10 callers
Function
dump_forward_putstr
src/windows.c:1275
↓ 10 callers
Function
fall_asleep
src/timeout.c:950
↓ 10 callers
Function
file_exists
sys/windows/windsys.c:1019
↓ 10 callers
Function
find_objowner
find the shopkeeper who owns 'obj'; needed to handle shared shop walls */
src/shk.c:1083
↓ 10 callers
Function
finddpos
find a valid door position at room edge. dir is the preferred edge of the room. if found, returns TRUE and the coordinate in cc */
src/mklev.c:146
↓ 10 callers
Function
flash_glyph_at
* flash_glyph_at(x, y, glyph, repeatcount) * * Briefly flash between the passed glyph and the glyph that's * meant to be at the location. */
src/display.c:1304
↓ 10 callers
Function
freehand
* freehand - returns true if player has a free hand */
src/engrave.c:472
↓ 10 callers
Function
get_cost
calculate the value that the shk will charge for [one of] an object */
src/shk.c:2876
↓ 10 callers
Function
get_level
* It is expected that the second argument of get_level is a depth value, * either supplied by the user (teleport control) or randomly generated. * B
src/dungeon.c:1801
↓ 10 callers
Function
get_pricing_units
src/shk.c:2845
↓ 10 callers
Function
getpid
sys/amiga/amidos.c:30
↓ 10 callers
Function
getversionstring
fill and return the given buffer with the long nethack version string */
src/version.c:34
↓ 10 callers
Function
goto_level
src/do.c:1478
↓ 10 callers
Function
heal_legs
src/do.c:2448
↓ 10 callers
Function
healup
src/potion.c:1427
↓ 10 callers
Method
horizontalScrollBar
outdated/win/Qt3/qt3tableview.cpp:1470
↓ 10 callers
Function
hurtle
* The player moves through the air for a few squares as a result of * throwing or kicking something. * * dx and dy should be the direction of the h
src/dothrow.c:1077
↓ 10 callers
Function
is_flammable
src/mkobj.c:2269
↓ 10 callers
Function
launch_drop_spot
src/trap.c:3221
↓ 10 callers
Function
learnring
handle ring discovery; comparable to learnwand() */
src/do_wear.c:1192
↓ 10 callers
Function
let_to_name
src/invent.c:4797
↓ 10 callers
Method
mainWidget
win/Qt/qt_bind.h:97
↓ 10 callers
Function
mar_set_font
outdated/win/gem/wingem1.c:506
↓ 10 callers
Function
match_str2clr
src/coloratt.c:348
↓ 10 callers
Function
mazexy
find random point in generated corridors, so we don't create items in moats, bunkers, or walls */
src/mkmaze.c:1315
↓ 10 callers
Function
mon_visible
src/display.c:186
↓ 10 callers
Function
mon_wield_item
Let a monster try to wield a weapon, based on mon->weapon_check. * Returns 1 if the monster took time to do it, 0 if it did not. */
src/weapon.c:800
↓ 10 callers
Function
money2mon
* Transfer money from inventory to monster when paying * shopkeepers, priests, oracle, succubus, and other demons. * Simple with only gold coins.
src/shk.c:156
↓ 10 callers
Function
mwelded
test whether monster's wielded weapon is stuck to hand/paw/whatever */
src/wield.c:1077
↓ 10 callers
Function
ndemon
src/minion.c:443
↓ 10 callers
Function
newmextra
src/makemon.c:1065
↓ 10 callers
Function
nxtobj
sobj_at(&c) traversal -- find next object of specified type */
src/invent.c:1478
↓ 10 callers
Function
obj_stop_timers
* Stop all timers attached to this object. We can get away with this because * all object pointers are unique. */
src/timeout.c:2376
↓ 10 callers
Function
p_glow2
src/read.c:672
↓ 10 callers
Function
pfxfn_font
src/options.c:5038
↓ 10 callers
Function
pgetchar
src/cmd.c:444
↓ 10 callers
Function
pickup
* Have the hero pick things from the ground * or a monster's inventory if swallowed. * * Arg what: * >0 autopickup * =0 interactive
src/pickup.c:671
↓ 10 callers
Function
placebc
src/ball.c:192
← previous
next →
701–800 of 8,785, ranked by callers