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
↓ 3 callers
Function
mswin_cliparound
cliparound(x, y)-- Make sure that the user is more-or-less centered on the screen if the playing area is larger than the screen.
win/win32/mswproc.c:1312
↓ 3 callers
Function
mswin_getlin_window
win/win32/mhdlg.c:30
↓ 3 callers
Function
mswin_have_input
check for input */
outdated/sys/wince/mhinput.c:36
↓ 3 callers
Function
mswin_map_layout
win/win32/mhmap.c:145
↓ 3 callers
Function
mswin_map_mode
set map mode */
outdated/sys/wince/mhmap.c:197
↓ 3 callers
Function
mswin_map_stretch
outdated/sys/wince/mhmap.c:81
↓ 3 callers
Function
mswin_nhbell
nhbell() -- Beep at user. [This will exist at least until sounds are redone, since sounds aren't attributable to windows an
outdated/sys/wince/mswproc.c:1326
↓ 3 callers
Function
mswin_putstr
putstr(window, attr, str) -- Print str on the window with the given attribute. Only printable ASCII characters (04
outdated/sys/wince/mswproc.c:930
↓ 3 callers
Function
mswin_render_text
----------------------------------------------------------------*/
outdated/sys/wince/mhtxtbuf.c:151
↓ 3 callers
Function
mswings_verb
strike types P|S|B: Pierce (pointed: stab) => "thrusts", Slash (edged: slice) or whack (blunt: Bash) => "swings" */
src/mhitu.c:104
↓ 3 callers
Function
mtrapped_in_pit
return TRUE iff monster or hero is trapped in a (spiked) pit */
src/mhitu.c:466
↓ 3 callers
Function
muse_unslime
mon uses an item--selected by caller--to burn away incipient slime */
src/muse.c:3103
↓ 3 callers
Function
mv_bubble
* The player, the portal and all other objects and monsters * float along with their associated bubbles. Bubbles may overlap * freely, and the cont
src/mkmaze.c:1951
↓ 3 callers
Function
my_color_area
outdated/win/gem/wingem1.c:575
↓ 3 callers
Function
name_from_player
get a name for a monster or an object from player; truncate if longer than PL_PSIZ, then return it */
src/do_name.c:104
↓ 3 callers
Function
name_to_monplus
figure out what type of monster a user-supplied string is specifying; return a pointer to whatever is past the monster name--necessary if caller
src/mondata.c:892
↓ 3 callers
Function
nearest
sys/amiga/bmp2iff_host.c:81
↓ 3 callers
Function
new_angle
* new_angle() * * Return the new angle seen by the hero for this location. The angle * bit is given in the value pointed at by sv. * * For T wal
src/vision.c:413
↓ 3 callers
Function
new_dirty_rect
outdated/win/gem/gr_rect.c:11
↓ 3 callers
Function
new_mgivenname
allocate space for a monster's name; removes old name if there is one */
src/do_name.c:30
↓ 3 callers
Function
new_omailcmd
src/mkobj.c:156
↓ 3 callers
Function
new_oname
allocate space for an object's name; removes old name if there is one */
src/do_name.c:60
↓ 3 callers
Function
newebones
src/bones.c:817
↓ 3 callers
Function
newegd
src/vault.c:22
↓ 3 callers
Function
newepri
src/priest.c:15
↓ 3 callers
Function
newhp
called when gaining a level (before u.ulevel gets incremented); also called with u.ulevel==0 during hero initialization or for re-init if hero t
src/attrib.c:1079
↓ 3 callers
Function
newmail
Deliver a scroll of mail. */ ARGSUSED*/
src/mail.c:398
↓ 3 callers
Function
newomonst
src/mkobj.c:113
↓ 3 callers
Function
newpw
calculate spell power/energy points for new level */
src/exper.c:44
↓ 3 callers
Function
nextmbuf
manage a pool of BUFSZ buffers, so callers don't have to */
src/do_name.c:19
↓ 3 callers
Function
nhApproxColor
* Find a color that approximates the color named in "str". * The "str" color may be a color name ("red") or number ("#7f0000"). * If str is Null, th
win/X11/winX.c:423
↓ 3 callers
Function
nh_basename
return a file's name without its path and optionally trailing 'type' */
src/files.c:198
↓ 3 callers
Function
nh_sfconvert
convert file */
src/files.c:2071
↓ 3 callers
Function
nhattr2curses
convert tty attributes to curses attributes; despite similar names, the mask fields have different values */
win/curses/cursstat.c:1410
↓ 3 callers
Function
nhcmdset_destroy
-------------------------------------------------------------------------*/
outdated/sys/wince/mhcmd.c:1301
↓ 3 callers
Function
nhl_add_table_entry_char
src/nhlua.c:300
↓ 3 callers
Function
nhl_getmeminuse
src/nhlua.c:2099
↓ 3 callers
Function
nhl_push_obj
src/nhlobj.c:88
↓ 3 callers
Function
nocmov
win/tty/termcap.c:558
↓ 3 callers
Function
noises
src/mhitm.c:26
↓ 3 callers
Function
nokiller
clear stale reason for death and both 'entities' before returning */
src/dbridge.c:762
↓ 3 callers
Function
noveltitle
src/do_name.c:1610
↓ 3 callers
Function
num_spells
number of spells hero knows */
src/spell.c:2416
↓ 3 callers
Function
nxt_unbypassed_obj
return the first object without its bypass bit set; set that bit before returning so that successive calls will find further objects */
src/worn.c:1141
↓ 3 callers
Function
obj_absorb
* Causes one object to absorb another, increasing weight * accordingly. Frees obj2; obj1 remains and is returned. */
src/mkobj.c:3701
↓ 3 callers
Function
obj_delivery
src/dokick.c:1768
↓ 3 callers
Function
obj_is_local
src/timeout.c:2553
↓ 3 callers
Function
obj_shuffle_range
retrieve the range of objects that otyp shares descriptions with */
src/o_init.c:268
↓ 3 callers
Function
object_detect
* Used for scrolls, potions, spells, and crystal balls. Returns: * * 1 - nothing was detected * 0 - something was detected */
src/detect.c:602
↓ 3 callers
Function
observe_quantum_cat
used for #loot/apply, #tip, and final disclosure */
src/pickup.c:2825
↓ 3 callers
Function
obstructed
src/lock.c:925
↓ 3 callers
Function
offer_negative_valued
src/pray.c:1591
↓ 3 callers
Function
ohitmon
an object launched by someone/thing other than player attacks a monster; return 1 if the object has stopped moving (hit or its range used up); c
src/mthrowu.c:320
↓ 3 callers
Function
oinit
level dependent initialization */
src/o_init.c:368
↓ 3 callers
Function
okdoor
see whether it is allowable to create a door at [x,y] */
src/mklev.c:1778
↓ 3 callers
Function
omon_adj
an object may hit a monster; various factors adjust chance of hitting */
src/dothrow.c:1912
↓ 3 callers
Function
onListChar
outdated/sys/wince/mhmenu.c:1066
↓ 3 callers
Function
open_levelfile
outdated/sys/mac/mrecover.c:1114
↓ 3 callers
Function
open_levelfile
util/recover.c:182
↓ 3 callers
Function
open_savefile
open savefile for reading */
src/files.c:1216
↓ 3 callers
Function
opt2roleopt
role => 0, race => 1, gender => 2, alignment =>3 */
src/options.c:714
↓ 3 callers
Function
opt_usage
src/earlyarg.c:375
↓ 3 callers
Function
others_check
src/rumors.c:307
↓ 3 callers
Function
outrumor
src/rumors.c:528
↓ 3 callers
Function
overexertion
combat increases metabolism */
src/hack.c:3050
↓ 3 callers
Function
padline
util/makedefs.c:999
↓ 3 callers
Function
params_sel_2coords
internal function to get a selection and 4 integer values from lua stack. removes the integers from the stack. returns TRUE if params are good.
src/nhlsel.c:475
↓ 3 callers
Function
parkguard
move guard--dead to alive--to <0,0> until temporary corridor is removed */
src/vault.c:154
↓ 3 callers
Function
parse_conf_file
parse_conf_file * * Read from file fp, calling parse_conf_buf for each line. */
src/cfgfiles.c:1843
↓ 3 callers
Function
parse_id
src/glyphs.c:823
↓ 3 callers
Function
parseautocomplete
src/cmd.c:3243
↓ 3 callers
Function
parsesymbols
Parse the value of a SYMBOLS line from a config file */
src/symbols.c:772
↓ 3 callers
Function
paydoname
doname() for itemized buying of 'obj' from a shop */
src/objnam.c:2312
↓ 3 callers
Function
peace_minded
* Alignment vs. yours determines monster's attitude to you. * (Some "animal" types are co-aligned, but also hungry.) */
src/makemon.c:2267
↓ 3 callers
Function
petname_optfn
common to optfn_catname(), optfn_dogname(), optfn_horsename() */
src/options.c:847
↓ 3 callers
Function
pick_lock
player is applying a key, lock pick, or credit card */
src/lock.c:357
↓ 3 callers
Function
pick_nasty
also used by newcham() */
src/wizard.c:537
↓ 3 callers
Function
picking_at
src/lock.c:29
↓ 3 callers
Function
pickvampshape
src/mon.c:4940
↓ 3 callers
Function
place_wsegs
* place_wsegs() * * Place the segments of the given worm. Called from restore.c * and from replmon() in mon.c. * If oldworm is not NULL, assu
src/worm.c:614
↓ 3 callers
Function
play_sound_for_message
src/sounds.c:1641
↓ 3 callers
Function
pline_dir
src/pline.c:113
↓ 3 callers
Function
plname_from_file
src/files.c:1356
↓ 3 callers
Function
plselRandomize
win/win32/mhdlg.c:909
↓ 3 callers
Function
plsel_dialog_acceptvalues
win/X11/winmisc.c:341
↓ 3 callers
Function
pmatch
case-sensitive wildcard match */
src/strutil.c:144
↓ 3 callers
Function
positionbar
sys/msdos/vidvga.c:1200
↓ 3 callers
Function
precheck
Any preliminary checks which may result in the monster being unable to use * the item. Returns 0 if nothing happened, 2 if the monster can't do * a
src/muse.c:58
↓ 3 callers
Function
prepare_perminvent
src/invent.c:5548
↓ 3 callers
Function
privon
sys/vms/vmsunix.c:377
↓ 3 callers
Function
probe_monster
src/zap.c:625
↓ 3 callers
Function
propagate
* Propagate a species * * Once a certain number of monsters are created, don't create any more * at random (i.e. make them extinct). The previous
src/makemon.c:957
↓ 3 callers
Function
pudding_merge_message
give a message if hero notices two globs merging [used to be in pline.c] */
src/mkobj.c:3817
↓ 3 callers
Function
punish
src/read.c:3018
↓ 3 callers
Function
query_color
src/coloratt.c:474
↓ 3 callers
Function
racial_exception
* Exceptions to things based on race. * Correctly checks polymorphed player race. * Returns: * 0 No exception, normal rules apply. * 1
src/worn.c:1359
↓ 3 callers
Function
random_engraving
src/engrave.c:50
↓ 3 callers
Function
rank_to_xlev
convert rank index (0..8) to experience level (1..30) */
src/botl.c:314
↓ 3 callers
Function
read_planar_tile
sys/msdos/vidvga.c:656
↓ 3 callers
Function
readentry
src/topten.c:219
← previous
next →
2,401–2,500 of 8,785, ranked by callers