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
↓ 1 callers
Function
sfstruct_read_error
src/sfstruct.c:596
↓ 1 callers
Function
shared_with_room
is x,y right next to room droom? */
src/sp_lev.c:1088
↓ 1 callers
Function
shim_graphics_set_callback
win/shim/winshim.c:38
↓ 1 callers
Function
shiny_obj
src/objnam.c:3531
↓ 1 callers
Function
shk_chat
src/shk.c:5520
↓ 1 callers
Function
shk_embellish
src/shk.c:5467
↓ 1 callers
Function
shk_fixes_damage
Shopkeeper tries to repair damage belonging to them */
src/shk.c:4555
↓ 1 callers
Function
shk_move
* shk_move: return 1: moved 0: didn't -1: let m_move do it -2: died */
src/shk.c:4879
↓ 1 callers
Function
shk_owns
src/shk.c:5884
↓ 1 callers
Function
shkcatch
shk catches thrown pick-axe */
src/shk.c:4361
↓ 1 callers
Function
shkgone
called in mon.c */
src/shk.c:234
↓ 1 callers
Function
shkinit
create a new shopkeeper in the given room */
src/shknam.c:627
↓ 1 callers
Function
shkname_is_pname
src/shknam.c:899
↓ 1 callers
Function
shkveg
src/shknam.c:407
↓ 1 callers
Function
shop_object
called by dotalk(sounds.c) when #chatting; returns obj if location contains shop goods and shopkeeper is willing & able to speak */
src/shk.c:5385
↓ 1 callers
Function
shop_string
short shop description */
src/dungeon.c:3440
↓ 1 callers
Function
shopper_financial_report
called in response to the `$' command */
src/shk.c:1002
↓ 1 callers
Function
show_achievements
src/insight.c:2242
↓ 1 callers
Function
show_borlandc_stats
(win)
outdated/sys/msdos/ovlinit.c:118
↓ 1 callers
Function
show_region
src/region.c:731
↓ 1 callers
Function
show_skills
Displays a skill list for dumplog purposes. */
src/weapon.c:1305
↓ 1 callers
Function
show_spells
src/spell.c:2055
↓ 1 callers
Function
show_topl
for use by tty_putstr() */
win/tty/topl.c:144
↓ 1 callers
Function
showerror
outdated/sys/mac/macerrs.c:43
↓ 1 callers
Function
showthem
util/sftags.c:710
↓ 1 callers
Function
shrine_pos
src/mkroom.c:576
↓ 1 callers
Function
shuffle_all
randomize object descriptions */
src/o_init.c:321
↓ 1 callers
Function
shuffle_customizations
src/glyphs.c:590
↓ 1 callers
Function
shuffle_int_array
randomize the given list of numbers 0 <= i < count */
src/rnd.c:298
↓ 1 callers
Function
sickness_dialogue
src/timeout.c:322
↓ 1 callers
Function
simple_look
BUG: this lets you look at cockatrice corpses while blind without touching them */ much simpler version of the look-here code; used by query_classe
src/pickup.c:75
↓ 1 callers
Function
sink_into_lava
called each turn when trapped in lava */
src/trap.c:6990
↓ 1 callers
Method
sizeHint
win/Qt/qt_main.cpp:523
↓ 1 callers
Function
size_dialog
size the dialog such that it has the given client rect size */
win/win32/mhdlg.c:538
↓ 1 callers
Function
size_obj
src/wizcmds.c:1116
↓ 1 callers
Function
size_str
src/insight.c:3202
↓ 1 callers
Function
size_wseg
for size_monst(cmd.c) to support #stats */
src/worm.c:826
↓ 1 callers
Function
skill_advance
src/weapon.c:1197
↓ 1 callers
Function
skill_init
* Initialize weapon skill array for the game. Start by setting all * skills to restricted, then set the skill for every weapon the * hero is holdin
src/weapon.c:1737
↓ 1 callers
Function
skip_cond_val
win/X11/winstat.c:1746
↓ 1 callers
Function
skip_pager
src/questpgr.c:458
↓ 1 callers
Function
skip_premap_detect
skip premap detection of areas outside Sokoban map */
src/detect.c:2123
↓ 1 callers
Function
sleep_dialogue
src/timeout.c:267
↓ 1 callers
Function
slime_dialogue
src/timeout.c:388
↓ 1 callers
Function
slimed_to_death
countdown timer for turning into green slime has run out; kill our hero */
src/timeout.c:456
↓ 1 callers
Function
slip_or_trip
give a fumble message */
src/timeout.c:1221
↓ 1 callers
Function
slippery_ice_fumbling
src/hack.c:2395
↓ 1 callers
Function
slot_to_invlet
win/tty/wintty.c:3181
↓ 1 callers
Function
snickersnee_used_dist_attk
was Snickersnee used to attack at distance this turn already? */
src/apply.c:3415
↓ 1 callers
Function
soko_allow_web
reject webs which interfere with solving Sokoban */
src/monmove.c:1251
↓ 1 callers
Function
sort_rooms
Sort rooms on the level so they're ordered from left to right on the map. makecorridors() by default links rooms N and N+1 */
src/mklev.c:209
↓ 1 callers
Function
sort_valuables
* Sort collected valuables, most frequent to least. We could just * as easily use qsort, but we don't care about efficiency here. */
src/end.c:797
↓ 1 callers
Function
sortloot_cmp
src/invent.c:402
↓ 1 callers
Function
sortspells
sort the index used for display order of the "view known spells" list (sortmode == SORTBY_xxx), or sort the spellbook itself to make the current
src/spell.c:1926
↓ 1 callers
Function
soundlib_id_from_opt
src/sounds.c:1882
↓ 1 callers
Function
sp_level_coder_init
src/sp_lev.c:6335
↓ 1 callers
Function
special_stock
src/shk.c:3102
↓ 1 callers
Function
special_throne_effect
special throne in Vlad's tower: effect is 1 to 13 inclusive */
src/sit.c:237
↓ 1 callers
Function
spell_backfire
attempting to cast a forgotten spell will cause disorientation */
src/spell.c:1180
↓ 1 callers
Function
spell_hit_bonus
* Generate the to-hit bonus for a spell. Based on the hero's skill in * spell class and dexterity. */
src/zap.c:3508
↓ 1 callers
Function
spell_idx
return index for spell otyp, or UNKNOWN_SPELL if not found */
src/spell.c:2378
↓ 1 callers
Function
spelleffects_check
src/spell.c:1219
↓ 1 callers
Function
spellretention
src/spell.c:2294
↓ 1 callers
Function
spellsortmenu
called if the [sort spells] entry in the view spells menu gets chosen */
src/spell.c:1975
↓ 1 callers
Function
spelltypemnemonic
src/spell.c:831
↓ 1 callers
Function
spitmu
monster spits substance at you */
src/mthrowu.c:1267
↓ 1 callers
Function
spkey_name
src/cmd.c:3207
↓ 1 callers
Function
splatter_burning_oil
* Splatter burning oil from x,y to the surrounding area. * * This routine should really take a how and direction parameters. * The how is how it wa
src/explode.c:961
↓ 1 callers
Function
splev_initlev
src/sp_lev.c:2981
↓ 1 callers
Function
splev_typ2chr
src/nhlua.c:400
↓ 1 callers
Function
split
* Make sure the given string is shorter than the given pixel width. If * not, back up from the end by words until we find a place to split. */
win/X11/winmesg.c:359
↓ 1 callers
Function
split_rects
src/rect.c:181
↓ 1 callers
Function
split_tiles
win/share/tileset.c:281
↓ 1 callers
Function
splitbill
src/shk.c:3622
↓ 1 callers
Function
spo_end_moninvent
ARGUSED*/
src/sp_lev.c:3030
↓ 1 callers
Function
spo_pop_container
ARGUSED*/
src/sp_lev.c:3039
↓ 1 callers
Function
squadmon
src/mkroom.c:816
↓ 1 callers
Function
stairs_description
describe staircase 'sway' based on whether hero knows the destination */
src/stairs.c:186
↓ 1 callers
Function
stairway_find
src/stairs.c:49
↓ 1 callers
Function
standoutbeg
sys/msdos/video.c:335
↓ 1 callers
Function
standoutend
sys/msdos/video.c:341
↓ 1 callers
Function
start_engulf
src/uhitm.c:4930
↓ 1 callers
Function
start_luapat
src/nhlua.c:2658
↓ 1 callers
Function
startup
outdated/sys/msdos/ovlinit.c:98
↓ 1 callers
Function
stat_cap_indx
callback so that interface can get capacity index rather than trying to reconstruct that from the encumbrance string or asking the general core
src/botl.c:2130
↓ 1 callers
Function
stat_update_time
update just the status lines' 'time' field */
src/botl.c:1284
↓ 1 callers
Function
status_enlightenment
status: selected obvious capabilities, assorted troubles */
src/insight.c:939
↓ 1 callers
Function
status_eval_next_unhilite
called from moveloop(); sets context.botl if temp hilites have timed out */
src/botl.c:2278
↓ 1 callers
Function
status_finish
src/botl.c:1722
↓ 1 callers
Function
status_hilite_linestr_gather_conditions
src/botl.c:3487
↓ 1 callers
Function
status_hilite_menu
src/botl.c:4497
↓ 1 callers
Function
status_hilite_menu_choose_behavior
src/botl.c:3706
↓ 1 callers
Function
status_hilite_menu_choose_field
src/botl.c:3671
↓ 1 callers
Function
status_hilite_menu_fld
src/botl.c:4356
↓ 1 callers
Function
status_hilite_remove
src/botl.c:4304
↓ 1 callers
Function
status_hilites_viewall
src/botl.c:4455
↓ 1 callers
Function
status_sanity_check
win/tty/wintty.c:4746
↓ 1 callers
Function
stdio_raw_print
Add to your code: windowprocs.win_raw_print = stdio_raw_print; */
sys/windows/windmain.c:1349
↓ 1 callers
Function
steal
Returns 1 when something was stolen (or at least, when N should flee now), * returns -1 if the monster died in the attempt. * Avoid stealing the obj
src/steal.c:342
↓ 1 callers
Function
steal_it
* Player uses theft attack against monster. * * If the target is wearing body armor, take all of its possessions; * otherwise, take one object. [I
src/uhitm.c:2173
← previous
next →
5,901–6,000 of 8,785, ranked by callers