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
↓ 2 callers
Function
next_opt
* prints the next boolean option, on the same line if possible, on a new * line if not. End with next_opt(""). */
src/options.c:9754
↓ 2 callers
Function
nextoid
when splitting a stack that has o_id-based shop prices, pick an o_id value for the new stack that will maintain the same price */
src/mkobj.c:535
↓ 2 callers
Function
nexttodoor
src/mkroom.c:622
↓ 2 callers
Function
nh340_processkeystroke
sys/windows/consoletty.c:3740
↓ 2 callers
Function
nhFontHeight
[ALI] Utility function to ask Xaw for font height, since the previous * assumption of ascent + descent is not always valid. */
win/X11/winX.c:749
↓ 2 callers
Function
nh_compose_ascii_screenshot
returns strdup() created pointer - callee assumes the ownership
win/win32/mhmain.c:1322
↓ 2 callers
Function
nh_compose_unicode_screenshot
returns malloc() created pointer - callee assumes the ownership
win/win32/mhmain.c:1359
↓ 2 callers
Function
nhapply_image_transparent
apply bitmap pointed by sourceDc transparently over bitmap pointed by hDC */
outdated/sys/wince/mhmap.c:948
↓ 2 callers
Function
nhcmdset_create
-------------------------------------------------------------------------*/ ----------------- keyboard keys layout set functions --------------------*
outdated/sys/wince/mhcmd.c:1259
↓ 2 callers
Function
nhl_alloc
src/nhlua.c:2968
↓ 2 callers
Function
nhl_pcall
lua_pcall with our traceback handler and memory and instruction step * limiting. * On error, traceback will be on top of stack */
src/nhlua.c:2108
↓ 2 callers
Function
nhusage
sys/windows/windmain.c:660
↓ 2 callers
Function
nhusage
sys/share/pcmain.c:632
↓ 2 callers
Function
no_bones_level
src/bones.c:17
↓ 2 callers
Function
no_x
util/sftags.c:2085
↓ 2 callers
Function
noarmor
caller is responsible for checking !wearing_armor() */
src/invent.c:4577
↓ 2 callers
Function
normal_shape
[taken out of rescham() in order to be shared by restore_cham()] */
src/mon.c:4430
↓ 2 callers
Function
noteErrorMessage
* handle errors inside of note(). the error message is appended to the * given message but on a separate line and must fit within nmBufSize. */
outdated/sys/mac/mrecover.c:469
↓ 2 callers
Function
notice_mon
src/hack.c:1707
↓ 2 callers
Function
nsb_mung_line
Lattice scanf isn't up to reading the scorefile. What */ follows deals with that; I admit it's ugly. (KL) */ Now generally available (KL) */
src/topten.c:1470
↓ 2 callers
Function
num_horns
number of horns this type of monster has on its head */
src/mondata.c:677
↓ 2 callers
Function
obj_meld
* Causes the heavier object to absorb the lighter object in * most cases, but if one object is OBJ_FREE and the other is * on the floor, the floor o
src/mkobj.c:3767
↓ 2 callers
Function
obj_merge_light_sources
light source `src' has been folded into light source `dest'; used for merging lit candles and adding candle(s) to lit candelabrum */
src/light.c:807
↓ 2 callers
Function
obj_nexto_xy
* looks for objects of a particular type next to x, y * skips over oid if found (lets us avoid ourselves if * we're looking for a second type of an
src/mkobj.c:3660
↓ 2 callers
Function
obj_unpolyable
Returns TRUE if obj resists polymorphing */
src/zap.c:1677
↓ 2 callers
Function
objtyp_is_callable
src/do_name.c:428
↓ 2 callers
Function
observable_depth
src/topten.c:182
↓ 2 callers
Function
oclass_to_name
lower case let_to_name() output, which differs from def_oc_syms[].name */
src/o_init.c:876
↓ 2 callers
Function
offer_too_soon
feedback when attempting to offer the Amulet on a "low altar" (not one of the high altars in the temples on the Astral Plane or Moloch's Sanctum) *
src/pray.c:1479
↓ 2 callers
Function
ok_to_throw
common to dothrow() and dofire() */
src/dothrow.c:296
↓ 2 callers
Function
okay
src/mkmaze.c:296
↓ 2 callers
Function
on_ground
src/wizard.c:201
↓ 2 callers
Function
open_bonesfile
src/files.c:939
↓ 2 callers
Function
opencheckpat
src/nhlua.c:2689
↓ 2 callers
Function
openit
returns number of things found and opened */
src/detect.c:1901
↓ 2 callers
Function
option_help
src/options.c:9461
↓ 2 callers
Function
outheader
src/topten.c:928
↓ 2 callers
Function
overexert_hp
HP loss or passing out from overexerting yourself */
src/hack.c:3034
↓ 2 callers
Function
pacify_guards
src/mon.c:5769
↓ 2 callers
Function
parent_dnum
src/dungeon.c:345
↓ 2 callers
Function
parse_conf_buf
* Parse config buffer, handling comments, empty lines, config sections, * CHOOSE, and line continuation, calling proc for every valid line. * * Con
src/cfgfiles.c:1692
↓ 2 callers
Function
parse_hexstr
win/curses/curswins.c:294
↓ 2 callers
Function
parse_next_broadcast
fetch the text of a captured broadcast, then mangle and decipher it */
sys/vms/vmsmail.c:343
↓ 2 callers
Function
parse_status_hl1
* This is the parser for the hilite options. * * parse_status_hl1() separates each hilite entry into * a set of field threshold/action component st
src/botl.c:2592
↓ 2 callers
Function
parse_status_hl2
src/botl.c:2813
↓ 2 callers
Function
passes_bars
True iff the type of monster pass through iron bars */
src/mondata.c:553
↓ 2 callers
Function
pcmain
sys/share/pcmain.c:79
↓ 2 callers
Function
peaked_skill
return true if this skill has reached its maximum and there's been enough practice to become eligible for the next step if that had been possible *
src/weapon.c:1186
↓ 2 callers
Function
percent_success
src/spell.c:2172
↓ 2 callers
Function
percentage
integer percentage is 100 * bl->a / maxbl->a */
src/botl.c:1976
↓ 2 callers
Function
pet_ranged_attk
Pet considers and maybe executes a ranged attack */
src/dogmove.c:888
↓ 2 callers
Function
pet_type
src/dog.c:90
↓ 2 callers
Function
pi_article_skip
check 'str' for an article prefix and return length of that */
win/curses/cursinvt.c:263
↓ 2 callers
Function
pick_can_reach
called when attempting to break a statue or boulder with a pick */
src/dig.c:140
↓ 2 callers
Function
pick_room
src/mkroom.c:219
↓ 2 callers
Function
pick_vibrasquare_location
src/mkmaze.c:1041
↓ 2 callers
Function
pickup_prinv
pickup_object()/out_container() helper; print an added-to-invent message for current object, limiting feedback about encumbrance to the first it
src/pickup.c:1947
↓ 2 callers
Function
piousness
used for self-probing */
src/insight.c:3234
↓ 2 callers
Function
pleased
src/pray.c:1070
↓ 2 callers
Function
pm_to_humidity
src/sp_lev.c:1883
↓ 2 callers
Function
pmatch_internal
guts of pmatch(), pmatchi(), and pmatchz(); match a string against a pattern */
src/strutil.c:104
↓ 2 callers
Function
polyman
src/polyself.c:199
↓ 2 callers
Function
polymorph_sink
Transforms the sink at the player's position into a fountain, throne, altar or grave. */
src/do.c:403
↓ 2 callers
Function
positionbar
sys/msdos/vidvesa.c:2075
↓ 2 callers
Function
pot_acid_damage
src/trap.c:4656
↓ 2 callers
Function
potion_dip
called by dodip() or dip_into() after obj and potion have been chosen */
src/potion.c:2441
↓ 2 callers
Function
pre_mm_attack
src/mhitm.c:40
↓ 2 callers
Function
premap_detect
Pre-map (the sokoban) levels */
src/detect.c:2133
↓ 2 callers
Function
priestini
exclusively for mktemple() */
src/priest.c:219
↓ 2 callers
Function
print_branch
Print all child branches between the lower and upper bounds. */
src/dungeon.c:2262
↓ 2 callers
Function
print_dungeon
Print available dungeon information. */
src/dungeon.c:2289
↓ 2 callers
Function
print_level_annotation
print the annotation for the current level, if it exists */
src/dungeon.c:2488
↓ 2 callers
Function
probe_objchain
src/zap.c:611
↓ 2 callers
Function
process_openfile
outdated/sys/mac/macmain.c:193
↓ 2 callers
Function
process_options
sys/share/pcmain.c:512
↓ 2 callers
Function
process_savefile
util/sfctool.c:296
↓ 2 callers
Function
prompt_for_player_selection
outdated/sys/wince/mswproc.c:276
↓ 2 callers
Function
pronoun_gender
Like gender(), but unseen humanoids are "it" rather than "he" or "she" and lower animals and such are "it" even when seen; hallucination might y
src/mondata.c:1190
↓ 2 callers
Function
property_by_index
src/timeout.c:116
↓ 2 callers
Function
purge_custom_entries
src/glyphs.c:760
↓ 2 callers
Function
put_lregion_here
src/mkmaze.c:412
↓ 2 callers
Function
query_annotation
ask user to annotate level lev. if lev is NULL, uses current level. */
src/dungeon.c:2499
↓ 2 callers
Function
query_classes
* For menustyle:Traditional and menustyle:Combination. * * Suppose some '?' and '!' objects are present, but '/' objects aren't: * "a" picks a
src/pickup.c:140
↓ 2 callers
Function
quest_talk
src/quest.c:494
↓ 2 callers
Function
random_wdir
Choose a single random W_* direction. */
src/sp_lev.c:4577
↓ 2 callers
Function
randrole_filtered
src/role.c:730
↓ 2 callers
Function
ranged_attk_available
* This would be equivalent to: * ranged_attk_assessed(mtmp, mon_avoiding_this_attack) * but without the added assessment function call overhead.
src/mhitu.c:2412
↓ 2 callers
Function
rank
src/botl.c:360
↓ 2 callers
Function
raw_clear_screen
sys/windows/consoletty.c:1473
↓ 2 callers
Function
rcfile
src/cfgfiles.c:1893
↓ 2 callers
Function
re_alloc
realloc() call that might get substituted by nhrealloc(p,n,file,line) */
src/alloc.c:84
↓ 2 callers
Function
read_data_block
win/share/giftiles.c:456
↓ 2 callers
Function
read_planar_tile_O
sys/msdos/vidvga.c:680
↓ 2 callers
Function
read_rumors_file
common code for do_rumors(). Return 0 on error. */
util/makedefs.c:1035
↓ 2 callers
Function
read_simplemail
src/mail.c:588
↓ 2 callers
Function
read_tile_indexes
sys/msdos/vidvga.c:702
↓ 2 callers
Function
read_tiles
win/share/tileset.c:22
↓ 2 callers
Function
read_tribute
Returns True if you were able to read something. */
src/files.c:3473
↓ 2 callers
Function
readchar_core
src/cmd.c:5212
↓ 2 callers
Function
readchar_poskey
used by getpos() to accept mouse input as well as keyboard input */
src/cmd.c:5287
← previous
next →
3,501–3,600 of 8,785, ranked by callers