MCPcopy Create free account

hub / github.com/NetHack/NetHack / functions

Functions8,785 in github.com/NetHack/NetHack

↓ 11 callersFunctiondumplogmsg
keep the most recent DUMPLOG_MSG_COUNT messages */
src/pline.c:21
↓ 11 callersFunctionfclose_text_file
win/share/tiletext.c:452
↓ 11 callersFunctionfgetline
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 callersFunctionfind_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 callersFunctionfinish_meating
src/dogmove.c:1447
↓ 11 callersFunctionfopen_text_file
win/share/tiletext.c:383
↓ 11 callersFunctionfree_mgivenname
release a monster's name; retains mextra even if all fields are now null */
src/do_name.c:50
↓ 11 callersFunctionget_coord
src/sp_lev.c:5318
↓ 11 callersFunctionget_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 callersFunctionhit
src/zap.c:3555
↓ 11 callersFunctionhitfloor
Object hits floor at hero's feet. Called from drop(), throwit(), hold_another_object(), litter(). */
src/dothrow.c:605
↓ 11 callersFunctionhot_pursuit
src/shk.c:1448
↓ 11 callersFunctioninv_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 callersFunctionknows_class
Know ordinary (non-magical) objects of a certain class, like all gems except the loadstone and luckstone. */
src/u_init.c:585
↓ 11 callersFunctionlelong
win/share/tile2bmp.c:52
↓ 11 callersFunctionmake_stoned
start or stop petrification */
src/potion.c:221
↓ 11 callersFunctionmake_vomiting
src/potion.c:242
↓ 11 callersFunctionmattackm
* mattackm() -- a monster attacks another monster. * * --------- aggressor died * / ------- defender died * / / ----- d
src/mhitm.c:292
↓ 11 callersFunctionmay_dig
intended to be called only on ROCKs or TREEs */
src/hack.c:922
↓ 11 callersFunctionmemcmp
int memcmp(const void *, const void *, size_t) -- compare two chunks. */
sys/vms/oldcrtl.c:90
↓ 11 callersFunctionmkcorpstat
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 callersFunctionmkgold
create a stack of N gold pieces; never returns Null */
src/mkobj.c:2002
↓ 11 callersFunctionmlifesaver
find the worn amulet of life saving which will save a monster */
src/mon.c:2826
↓ 11 callersFunctionmon_pmname
mons[]->pmname for a monster */
src/do_name.c:1312
↓ 11 callersFunctionmove_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 callersFunctionmswin_select_map_mode
win/win32/mhmain.c:1186
↓ 11 callersFunctionmswin_select_map_mode
Set map display mode */
outdated/sys/wince/mhmain.c:1000
↓ 11 callersFunctionmzapwand
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 callersFunctionnhcmdlayout_create
-------------------------------------------------------------------------*/ ------------------- keyboard keys layout functions ----------------------*
outdated/sys/wince/mhcmd.c:1223
↓ 11 callersFunctionnhcmdlayout_init
-------------------------------------------------------------------------*/
outdated/sys/wince/mhcmd.c:1244
↓ 11 callersFunctionnhcmdset_add
-------------------------------------------------------------------------*/
outdated/sys/wince/mhcmd.c:1291
↓ 11 callersFunctionnhcmdset_get
-------------------------------------------------------------------------*/
outdated/sys/wince/mhcmd.c:1275
↓ 11 callersFunctionnmcpy
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 callersFunctionobj_is_pname
src/objnam.c:332
↓ 11 callersFunctionp_coaligned
src/priest.c:369
↓ 11 callersFunctionrndmonnum
select a random, common monster type */
src/mkobj.c:387
↓ 11 callersFunctionset_console_cursor
sys/windows/consoletty.c:1148
↓ 11 callersFunctionset_twoweap
src/wield.c:833
↓ 11 callersFunctionterm_end_color
win/tty/termcap.c:1473
↓ 11 callersFunctionthe_unique_pm
should monster type be prefixed with "the"? (mostly used for corpses) */
src/objnam.c:1120
↓ 11 callersFunctiontopten_print
src/topten.c:164
↓ 11 callersFunctiontty_putstatusfield
* This is what places a field on the tty display. */
win/tty/wintty.c:4802
↓ 11 callersFunctionunsplitobj
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 callersFunctionysimple_name
returns "your minimal_xname(obj)" * or "Foobar's minimal_xname(obj)" * or "the minimal_xname(obj)" */
src/objnam.c:2390
↓ 10 callersFunctionGetMenuControl
-----------------------------------------------------------------------------*/
win/win32/mhmenu.c:946
↓ 10 callersFunctionHighlightCell
-------------------------------------------------------------------------*/
outdated/sys/wince/mhcmd.c:1183
↓ 10 callersFunctionIsHandleFile
outdated/sys/mac/macfile.c:53
↓ 10 callersFunctionIs_botlevel
src/dungeon.c:1642
↓ 10 callersFunctionIs_branchlev
* Is this a multi-dungeon branch level? If so, return a pointer to the * branch. Otherwise, return null. */
src/dungeon.c:1463
↓ 10 callersFunctionSetCmdWindowLayout
-------------------------------------------------------------------------*/
outdated/sys/wince/mhcmd.c:911
↓ 10 callersMethodWidget
outdated/win/Qt3/qt3_win.cpp:1579
↓ 10 callersFunctionalter_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 callersFunctionamii_addtopl
sys/amiga/winstr.c:391
↓ 10 callersFunctionaobjnam
returns "count cxname(otmp)" or just cxname(otmp) if count == 1 */
src/objnam.c:2243
↓ 10 callersFunctionarti_light_radius
light emitting artifact's range depends upon its curse/bless state */
src/light.c:880
↓ 10 callersFunctionb_trapped
used for doors (also tins). can be used for anything else that opens. */
src/trap.c:6693
↓ 10 callersFunctionbypass_obj
src/worn.c:1118
↓ 10 callersFunctioncancel_don
despite their names, cancel_don() and cancel_doff() both apply to both donning and doffing... */
src/do_wear.c:1663
↓ 10 callersFunctioncould_seduce
returns 0 if seduction impossible, * 1 if fine, * 2 if wrong gender for nymph */
src/mhitu.c:1933
↓ 10 callersFunctioncurs_on_u
* Put the cursor on the hero. Flush all accumulated glyphs before doing it. */
src/display.c:1686
↓ 10 callersFunctioncustompline
src/pline.c:293
↓ 10 callersFunctiondiscover_object
src/o_init.c:453
↓ 10 callersFunctiondump_forward_putstr
src/windows.c:1275
↓ 10 callersFunctionfall_asleep
src/timeout.c:950
↓ 10 callersFunctionfile_exists
sys/windows/windsys.c:1019
↓ 10 callersFunctionfind_objowner
find the shopkeeper who owns 'obj'; needed to handle shared shop walls */
src/shk.c:1083
↓ 10 callersFunctionfinddpos
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 callersFunctionflash_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 callersFunctionfreehand
* freehand - returns true if player has a free hand */
src/engrave.c:472
↓ 10 callersFunctionget_cost
calculate the value that the shk will charge for [one of] an object */
src/shk.c:2876
↓ 10 callersFunctionget_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 callersFunctionget_pricing_units
src/shk.c:2845
↓ 10 callersFunctiongetpid
sys/amiga/amidos.c:30
↓ 10 callersFunctiongetversionstring
fill and return the given buffer with the long nethack version string */
src/version.c:34
↓ 10 callersFunctiongoto_level
src/do.c:1478
↓ 10 callersFunctionheal_legs
src/do.c:2448
↓ 10 callersFunctionhealup
src/potion.c:1427
↓ 10 callersMethodhorizontalScrollBar
outdated/win/Qt3/qt3tableview.cpp:1470
↓ 10 callersFunctionhurtle
* 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 callersFunctionis_flammable
src/mkobj.c:2269
↓ 10 callersFunctionlaunch_drop_spot
src/trap.c:3221
↓ 10 callersFunctionlearnring
handle ring discovery; comparable to learnwand() */
src/do_wear.c:1192
↓ 10 callersFunctionlet_to_name
src/invent.c:4797
↓ 10 callersMethodmainWidget
win/Qt/qt_bind.h:97
↓ 10 callersFunctionmar_set_font
outdated/win/gem/wingem1.c:506
↓ 10 callersFunctionmatch_str2clr
src/coloratt.c:348
↓ 10 callersFunctionmazexy
find random point in generated corridors, so we don't create items in moats, bunkers, or walls */
src/mkmaze.c:1315
↓ 10 callersFunctionmon_visible
src/display.c:186
↓ 10 callersFunctionmon_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 callersFunctionmoney2mon
* 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 callersFunctionmwelded
test whether monster's wielded weapon is stuck to hand/paw/whatever */
src/wield.c:1077
↓ 10 callersFunctionndemon
src/minion.c:443
↓ 10 callersFunctionnewmextra
src/makemon.c:1065
↓ 10 callersFunctionnxtobj
sobj_at(&c) traversal -- find next object of specified type */
src/invent.c:1478
↓ 10 callersFunctionobj_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 callersFunctionp_glow2
src/read.c:672
↓ 10 callersFunctionpfxfn_font
src/options.c:5038
↓ 10 callersFunctionpgetchar
src/cmd.c:444
↓ 10 callersFunctionpickup
* 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 callersFunctionplacebc
src/ball.c:192
← previousnext →701–800 of 8,785, ranked by callers