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
really_done
separated from done() in order to specify the __noreturn__ attribute */
src/end.c:1129
↓ 2 callers
Function
recalc_wt
modify victual.piece->owt depending on time spent consuming it */
src/eat.c:291
↓ 2 callers
Function
redraw_cmd
decide whether character (user input keystroke) requests screen repaint */
src/cmd.c:3910
↓ 2 callers
Function
redraw_worm
src/worm.c:989
↓ 2 callers
Function
regularize
normalize file name */
sys/vms/vmsunix.c:167
↓ 2 callers
Function
regularize
sys/share/pcunix.c:203
↓ 2 callers
Function
reject_purchase
called if an item on shop bill is partly used up and partly intact and player tries to buy the intact portion before paying for used up portion
src/shk.c:2418
↓ 2 callers
Function
rejectcasting
return True if spellcasting is inhibited; only covers a small subset of reasons why casting won't work */
src/spell.c:686
↓ 2 callers
Function
release_camera_demon
src/dothrow.c:2456
↓ 2 callers
Function
release_extended_cmds
win/X11/winmisc.c:1588
↓ 2 callers
Function
release_hero
ungrab/expel held/swallowed hero */
src/monmove.c:361
↓ 2 callers
Function
release_runtime_info
src/mdlib.c:863
↓ 2 callers
Function
relink_light_sources
src/light.c:513
↓ 2 callers
Function
relink_timers
src/timeout.c:2747
↓ 2 callers
Function
remdun_mapseen
src/dungeon.c:2803
↓ 2 callers
Function
remove_boundary_syms
src/sp_lev.c:1015
↓ 2 callers
Function
removetopl
win/tty/topl.c:353
↓ 2 callers
Function
removetopl
sys/amiga/winfuncs.c:1974
↓ 2 callers
Function
repad_with_dashes
used when rendering hitpointbar; inoutbuf[] has been padded with trailing spaces; replace pairs of spaces with pairs of space+dash */
src/botl.c:2169
↓ 2 callers
Function
repair_damage
* 0: repair postponed, 1: silent repair (no messages), 2: normal repair * 3: untrap */
src/shk.c:4731
↓ 2 callers
Function
repairable_damage
is damage dam repairable by shopkeeper shkp? */
src/shk.c:4451
↓ 2 callers
Function
replace_resource
outdated/sys/mac/macfile.c:185
↓ 2 callers
Function
reset_decoder
win/share/giftiles.c:334
↓ 2 callers
Function
reset_duplicate_opt_detection
src/options.c:6772
↓ 2 callers
Function
resize_tty
query the system for tty size (vis getwindowsz()), and adapt the game's windows to match */
win/tty/wintty.c:391
↓ 2 callers
Function
responsive_mon_at
src/sounds.c:1412
↓ 2 callers
Function
rest_adjust_levelflags
src/restore.c:1313
↓ 2 callers
Function
restartcham
let chameleons change and mimics hide again; called when taking off ring of protection from shape changers */
src/mon.c:4639
↓ 2 callers
Function
restcemetery
src/restore.c:987
↓ 2 callers
Function
restgamestate
src/restore.c:524
↓ 2 callers
Function
restlevelfile
after getlev(), put current level into a level/lock file; essential when splitting a save file into individual level files */ ARGSUSED*/
src/restore.c:754
↓ 2 callers
Function
restlevelstate
update game state pointers to those valid for the current level (so we don't dereference a wild u.ustuck when saving game state, for instance) */
src/restore.c:741
↓ 2 callers
Function
restmon
restore one monster */
src/restore.c:306
↓ 2 callers
Function
restmonchn
src/restore.c:375
↓ 2 callers
Function
restore_light_sources
* Pull in the structures from disk, but don't recalculate the object * pointers. */
src/light.c:478
↓ 2 callers
Function
restore_timers
* Pull in the structures from disk, but don't recalculate the object and * monster pointers. */
src/timeout.c:2706
↓ 2 callers
Function
restrict_name
returns 1 if name is restricted for otmp->otyp */
src/artifact.c:574
↓ 2 callers
Function
resurrect
Let's resurrect the Wizard, for some unexpected fun. */
src/wizard.c:714
↓ 2 callers
Function
return_throw_to_inv
src/dothrow.c:1854
↓ 2 callers
Function
reveal_terrain_getglyph
src/detect.c:2166
↓ 2 callers
Function
reveal_trap
when a monster deliberately enters a trap, make sure the spot becomes accessible (trap doors and teleporters inside niches are located at secret
src/muse.c:756
↓ 2 callers
Function
revive_egg
src/zap.c:1142
↓ 2 callers
Function
rgbstr_to_int32
src/coloratt.c:812
↓ 2 callers
Function
rider_corpse_revival
attempting to manipulate a Rider's corpse triggers its revival */
src/pickup.c:302
↓ 2 callers
Function
rider_revival_time
Return the number of turns after which a Rider corpse revives */
src/mkobj.c:1370
↓ 2 callers
Function
right_side
* Mark positions as visible on one quadrant of the right side. The * quadrant is determined by the value of the global variable step. * * Argument
src/vision.c:1665
↓ 2 callers
Function
rloc_engr
randomly relocate an engraving */
src/engrave.c:1666
↓ 2 callers
Function
rloc_to_flag
src/teleport.c:1776
↓ 2 callers
Function
rnd_defensive_item
src/muse.c:1221
↓ 2 callers
Function
rnd_hallublast
Return a random hallucinatory blast. */
src/mthrowu.c:51
↓ 2 callers
Function
rnd_misc_item
src/muse.c:2653
↓ 2 callers
Function
rnd_nextto_goodpos
pick a random goodpos() next to x,y for monster mtmp. mtmp could be &gy.youmonst, uses then crawl_destination(). returns TRUE if any good positi
src/trap.c:4946
↓ 2 callers
Function
rnd_offensive_item
src/muse.c:2034
↓ 2 callers
Function
rnd_otyp_by_wpnskill
src/objnam.c:3431
↓ 2 callers
Function
rndexp
compute a random amount of experience points suitable for the hero's experience level: base number of points needed to reach the current level
src/exper.c:377
↓ 2 callers
Function
rndorcname
src/do_name.c:1537
↓ 2 callers
Function
rndtrap
* Select a random trap */
src/sp_lev.c:1158
↓ 2 callers
Function
rob_shop
shop merchandise has been taken; pay for it with any credit available; return false if the debt is fully covered by credit, true otherwise */
src/shk.c:686
↓ 2 callers
Function
roguecorr
src/extralev.c:44
↓ 2 callers
Function
roguejoin
src/extralev.c:20
↓ 2 callers
Function
roguename
name of a Rogue player */
src/do_name.c:1423
↓ 2 callers
Function
role_abil
src/attrib.c:788
↓ 2 callers
Function
role_init
* Special setup modifications here: * * Unfortunately, this is going to have to be done * on each newgame or restore, because you lo
src/role.c:1979
↓ 2 callers
Function
room_discovered
room entry message has just been delivered so learn room even if blind */
src/dungeon.c:3281
↓ 2 callers
Function
rustm
src/mhitm.c:1259
↓ 2 callers
Function
s_to_anything
src/botl.c:1929
↓ 2 callers
Function
sanity_check_single_mon
src/mon.c:72
↓ 2 callers
Function
save_dungeon
Save the dungeon structures. */
src/dungeon.c:148
↓ 2 callers
Function
save_light_sources
Save all light sources of the given range. */
src/light.c:420
↓ 2 callers
Function
save_timers
* Save part of the timer list. The parameter 'range' specifies either * global or level timers to save. The timer ID is saved with the global * ti
src/timeout.c:2667
↓ 2 callers
Function
savefruitchn
save all the fruit names and ID's; this is used only in saving whole games * (not levels) and in saving bones levels. When saving a bones level, *
src/save.c:950
↓ 2 callers
Function
savegamestate
src/save.c:264
↓ 2 callers
Function
savelevchn
src/save.c:973
↓ 2 callers
Function
savemon
src/save.c:825
↓ 2 callers
Function
savemonchn
src/save.c:883
↓ 2 callers
Function
savestateinlock
src/save.c:350
↓ 2 callers
Function
sco_mapon
sys/share/unixtty.c:362
↓ 2 callers
Function
score_wanted
src/topten.c:1111
↓ 2 callers
Function
scroll_top_dialog
outdated/win/gem/wingem1.c:1803
↓ 2 callers
Function
scroll_tty
outdated/sys/mac/mactty.c:1007
↓ 2 callers
Function
scrolltele
teleport the hero; usually discover scroll of teleportation if via scroll */
src/teleport.c:848
↓ 2 callers
Function
search_cmap
search colormap for best match to given color */
sys/amiga/amirip.c:320
↓ 2 callers
Function
search_door
* Search for a door in a room on a specified wall. */
src/sp_lev.c:2491
↓ 2 callers
Function
search_menu
common to menu_search and menu_key */
win/X11/winmenu.c:473
↓ 2 callers
Function
see_objects
* Loop through all of the object *locations* and update them. Called when * + hallucinating. */
src/display.c:1557
↓ 2 callers
Function
see_traps
* Update hallucinated traps. */
src/display.c:1610
↓ 2 callers
Function
sel_set_ter
change map location terrain type during level creation */
src/sp_lev.c:4608
↓ 2 callers
Function
select_all
win/X11/winmenu.c:505
↓ 2 callers
Function
select_hwep
select a hand to hand weapon for the monster */
src/weapon.c:704
↓ 2 callers
Function
select_newcham_form
src/mon.c:5156
↓ 2 callers
Function
select_off
src/do_wear.c:2694
↓ 2 callers
Function
selection_do_ellipse
McIlroy's Ellipse Algorithm */
src/selvar.c:455
↓ 2 callers
Function
selection_do_grow
src/selvar.c:320
↓ 2 callers
Function
setMsgTextColor
win/win32/mhmsgwnd.c:575
↓ 2 callers
Function
setMsgTextColor
outdated/sys/wince/mhmsgwnd.c:463
↓ 2 callers
Function
set_all_on_page
select all [ignores pending count, if any] */
win/tty/wintty.c:1197
↓ 2 callers
Function
set_all_on_page
(start, page)
outdated/win/gem/wingem1.c:1740
↓ 2 callers
Function
set_bonestemp_name
set up temporary file name for writing bones, to avoid another game's * trying to read from an uncompleted bones file. we want an uncontentious * n
src/files.c:817
↓ 2 callers
Function
set_colors
outdated/sys/atari/tos.c:316
↓ 2 callers
Function
set_condition_length
caller must set cond_shrinklvl (0..2) before calling us */
win/tty/wintty.c:4843
← previous
next →
3,601–3,700 of 8,785, ranked by callers