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
↓ 60 callers
Function
observe_object
make the object dknown and mark it as encountered */
src/o_init.c:441
↓ 60 callers
Function
panic
outdated/sys/amiga/txt2iff.c:441
↓ 58 callers
Function
is_lava
src/dbridge.c:61
↓ 58 callers
Function
monstseesu
Monsters in line of sight remember hero resisting effect M_SEEN_foo */
src/mondata.c:1557
↓ 58 callers
Function
setworn
Updated to use the extrinsic and blocked fields. */
src/worn.c:72
↓ 57 callers
Function
Norep
src/pline.c:326
↓ 57 callers
Function
isspace
outdated/sys/wince/celib.c:434
↓ 56 callers
Function
deltrap
src/trap.c:6530
↓ 55 callers
Function
There
src/pline.c:424
↓ 55 callers
Function
error
the Be GUI will define its own error proc */ fatal error */
sys/share/unixtty.c:472
↓ 54 callers
Function
wait_synch
sys/vms/vmsmail.c:551
↓ 53 callers
Function
digit
is 'c' a digit? */
src/hacklib.c:61
↓ 53 callers
Function
fflush
outdated/sys/wince/celib.c:886
↓ 53 callers
Function
map_invisible
* map_invisible() * * Make the hero remember that a square contains an invisible monster. * This is a special case in that the square will continue
src/display.c:377
↓ 53 callers
Function
nh_getenv
# errors: OPTIONS=aaaaaaaaaa[ more than 247 (255 - 8 for 'OPTIONS=') total ]aaaaaaaaaa OPTIONS OPTIONS= MSGTYPE=stop"You swap places with " MSGTYPE=st
src/options.c:6847
↓ 53 callers
Function
selection_getpoint
src/selvar.c:167
↓ 53 callers
Function
strrchr
outdated/sys/wince/celib.c:463
↓ 52 callers
Method
setFont
win/Qt/qt_icon.cpp:135
↓ 52 callers
Function
tty_curs
win/tty/wintty.c:2057
↓ 51 callers
Function
The
src/objnam.c:2233
↓ 51 callers
Function
alloc
sys/amiga/winchar.c:339
↓ 51 callers
Function
get_table_boolean_opt
src/nhlua.c:1106
↓ 51 callers
Function
ledger_no
return a bookkeeping level number for purpose of comparisons and save/restore */
src/dungeon.c:1375
↓ 51 callers
Function
mksobj_at
make a specific object at a specific location */
src/mkobj.c:237
↓ 50 callers
Function
l_selection_check
src/nhlsel.c:57
↓ 50 callers
Function
obj_to_any
src/hack.c:96
↓ 50 callers
Function
splitobj
* Split stack so that its size gets reduced by num. The quantity num is * put in the object structure delivered by this call. The returned object
src/mkobj.c:456
↓ 50 callers
Function
xputs
win/tty/termcap.c:637
↓ 49 callers
Function
Yobjnam2
combine Yname2 and aobjnam eg "Your count cxname(otmp)" */
src/objnam.c:2279
↓ 49 callers
Function
close_nhfile
src/files.c:517
↓ 49 callers
Function
closed_door
src/monmove.c:2180
↓ 49 callers
Function
copynchars
truncating string copy */
src/hacklib.c:286
↓ 49 callers
Function
rloc
place a monster at a random location, typically due to teleport; return TRUE if successful, FALSE if not; rlocflags is RLOC_foo flags */
src/teleport.c:1798
↓ 49 callers
Function
seetrap
src/trap.c:3577
↓ 48 callers
Function
makedefs_exit
util/makedefs.c:219
↓ 48 callers
Function
urgent_pline
if player has dismissed --More-- with ESC to suppress further messages until next input request, tell the interface that it should override that
src/pline.c:314
↓ 47 callers
Function
change_luck
src/attrib.c:410
↓ 47 callers
Function
cmdq_add_key
add a key to the command queue */
src/cmd.c:273
↓ 47 callers
Function
get_table_int_opt
get optional integer value from table */
src/nhlua.c:1028
↓ 47 callers
Function
inhishop
1: shopkeeper is currently in her shop or its boundary; 0: not */
src/shk.c:1038
↓ 47 callers
Function
mungspaces
remove excess whitespace from a string buffer (in place) */
src/hacklib.c:141
↓ 46 callers
Function
Mgender
src/do_name.c:1288
↓ 46 callers
Function
money_cnt
Counts the money in an object chain. */ Intended use is for your or some monster's inventory, */ now that u.gold/m.gold is gone.*/ Counting money in a
src/hack.c:4513
↓ 46 callers
Function
mpickobj
Returns 1 if otmp is free'd, 0 otherwise. */
src/steal.c:617
↓ 46 callers
Function
open
outdated/sys/wince/celib.c:204
↓ 46 callers
Function
place_monster
src/steed.c:897
↓ 46 callers
Function
show_glyph
* Store the glyph in the 3rd screen for later flushing. */
src/display.c:1876
↓ 45 callers
Function
Yname2
capitalized variant of yname() */
src/objnam.c:2377
↓ 45 callers
Function
enexto
* "entity next to" * * Attempt to find a good place for the given monster type in the closest * position to (xx,yy). Do so in successive square ri
src/teleport.c:195
↓ 45 callers
Function
fmt_ptr
format a pointer for display purposes; returns a static buffer */
src/alloc.c:124
↓ 45 callers
Function
mswin_hwnd_from_winid
win/win32/mswproc.c:894
↓ 44 callers
Function
cmd_from_func
return the key bound to extended command */
src/cmd.c:3035
↓ 44 callers
Function
trapname
Return the string name of the trap type passed in, unless the player is hallucinating, in which case return a random or hallucinatory trap name. */
src/trap.c:7099
↓ 44 callers
Function
validrace
src/role.c:777
↓ 43 callers
Function
You_see
src/pline.c:454
↓ 43 callers
Function
attacktype
does monster-type have a particular type of attack */
src/mondata.c:53
↓ 43 callers
Function
nh_terminate
should be called with either EXIT_SUCCESS or EXIT_FAILURE */
src/end.c:1673
↓ 43 callers
Function
yn_function
* Parameter validator for generic yes/no function to prevent * the core from sending too long a prompt string to the * window port causing a b
src/cmd.c:5470
↓ 42 callers
Function
curses_toggle_color_attr
win/curses/cursmisc.c:72
↓ 42 callers
Function
dlb_fgets
src/dlb.c:518
↓ 42 callers
Function
logDebug
win/win32/mswproc.c:46
↓ 42 callers
Function
mswin_get_font
create font based on window type, character attributes and window device context */
win/win32/mhfont.c:60
↓ 42 callers
Function
wake_nearto
src/mon.c:4401
↓ 42 callers
Function
welded
src/wield.c:1050
↓ 41 callers
Function
curse
src/mkobj.c:1782
↓ 41 callers
Function
stackobj
'obj' is being placed on the floor; if it can merge with something that is already there, combine them and discard obj as a separate object */
src/invent.c:4365
↓ 40 callers
Function
can_reach_floor
check whether hero can reach something at ground level */
src/engrave.c:186
↓ 40 callers
Function
distant_name
Give the name of an object seen at a distance. Unlike xname/doname, we usually don't want to set dknown if it's not set already. */
src/objnam.c:346
↓ 40 callers
Function
distmin
distance between two points, in moves */
src/hacklib.c:656
↓ 40 callers
Function
encumber_msg
* prints a message if encumbrance changed since the last check */
src/pickup.c:1977
↓ 40 callers
Function
fread
outdated/sys/wince/celib.c:868
↓ 40 callers
Function
get_obj_location
* Return the object's physical location. This only makes sense for * objects that are currently on the level (i.e. migrating objects * are nowhere)
src/zap.c:653
↓ 40 callers
Function
string_for_opt
src/options.c:6664
↓ 39 callers
Function
close
outdated/sys/wince/celib.c:133
↓ 39 callers
Function
ghack_highlight_widget
Widget changed, so add it to the highlighing list */
outdated/win/gnome/gnstatus.c:875
↓ 39 callers
Function
make_blinded
src/potion.c:260
↓ 39 callers
Function
mcmd_addmenu
src/cmd.c:4420
↓ 39 callers
Function
puts
int __cdecl putchar(int);
outdated/sys/wince/celib.c:848
↓ 38 callers
Function
assign_level
equivalent to dest = source */
src/dungeon.c:1977
↓ 38 callers
Function
flush_screen
* Synch the third screen with the display. */
src/display.c:2207
↓ 38 callers
Function
getlin
src/windows.c:1867
↓ 38 callers
Function
knows_object
src/u_init.c:574
↓ 38 callers
Function
logDebug
outdated/sys/wince/mswproc.c:33
↓ 38 callers
Function
near_capacity
src/hack.c:4384
↓ 38 callers
Function
reset_utrap
src/trap.c:1044
↓ 38 callers
Function
selection_setpoint
src/selvar.c:180
↓ 38 callers
Function
set_malign
Set malign to have the proper effect on player alignment if monster is * killed. Negative numbers mean it's bad to kill this monster; positive * nu
src/makemon.c:2320
↓ 38 callers
Function
sticks
creature sticks other creatures it hits */
src/mondata.c:653
↓ 38 callers
Function
unlink
outdated/sys/wince/celib.c:296
↓ 37 callers
Function
amii_curs
sys/amiga/winfuncs.c:1573
↓ 37 callers
Function
carrying
return inventory object of type 'type' if hero has one, otherwise Null */
src/invent.c:1494
↓ 37 callers
Function
dmgtype
does monster-type deal out a particular type of damage from any attack */
src/mondata.c:711
↓ 37 callers
Function
getobj
* getobj returns: * struct obj *xxx: object to do something with. * (struct obj *) 0 error return: no object. * &hands
src/invent.c:1751
↓ 37 callers
Function
is_art
src/artifact.c:2807
↓ 37 callers
Function
seemimic
NOTE: we must check for mimicry before calling this routine */
src/mon.c:4408
↓ 37 callers
Method
setFont
outdated/win/Qt3/qt3_win.cpp:2121
↓ 37 callers
Function
set_itimeout
set the timeout field of intrinsic `which' */
src/potion.c:74
↓ 37 callers
Function
set_msg_xy
set the coordinate where next message happens */
src/pline.c:92
↓ 37 callers
Function
update_file
update file copying if it does not exist or src is newer then dst */
sys/windows/windmain.c:724
↓ 36 callers
Function
delobj
normal object deletion (if unpaid, it remains on the bill) */
src/invent.c:1429
← previous
next →
101–200 of 8,785, ranked by callers