MCPcopy Create free account

hub / github.com/NetHack/NetHack / functions

Functions8,785 in github.com/NetHack/NetHack

↓ 4 callersFunctionbreaks
* The object is going to break for a reason other than the hero doing * something to it. * Return 0 if the object doesn't break, 1 if the object bro
src/dothrow.c:2443
↓ 4 callersFunctionbroken_wand_explode
src/apply.c:3887
↓ 4 callersFunctionbufoff
src/sfstruct.c:435
↓ 4 callersFunctionbuild_known_folder_path
sys/windows/windsys.c:960
↓ 4 callersFunctioncan_be_hatched
* Determine if the given monster number can be hatched from an egg. * Return the monster number to use as the egg's corpsenm. Return * NON_PM if th
src/mon.c:5545
↓ 4 callersFunctioncan_be_strangled
True if mon is vulnerable to strangulation */
src/mondata.c:590
↓ 4 callersFunctioncan_fog
monster can change form into a fog if necessary */
src/monmove.c:2364
↓ 4 callersFunctioncan_ride
Can we ride this monster? Caller should also check can_saddle() */
src/steed.c:168
↓ 4 callersFunctioncan_set_perm_invent
test whether 'perm_invent' can be toggled On */
src/options.c:5487
↓ 4 callersFunctioncan_touch_safely
can monster touch object safely? */
src/mon.c:1957
↓ 4 callersFunctioncancel_monst
* cancel a monster (possibly the hero). inventory is cancelled only * if the monster is zapping itself directly, since otherwise the * effect is to
src/zap.c:3149
↓ 4 callersFunctioncandle_light_range
Candlelight is proportional to the number of candles; minimum range is 2 rather than 1 for playability. */
src/light.c:842
↓ 4 callersFunctioncant_revive
some creatures have special data structures that only make sense in their * normal locations -- if the player tries to create one elsewhere, or to *
src/read.c:3111
↓ 4 callersFunctioncap_spe
max spe is +99, min is -99 */
src/read.c:79
↓ 4 callersFunctioncenter
src/rip.c:75
↓ 4 callersFunctioncheck_glob
called when 'obj->globby' is set so we don't recheck it here */
src/mkobj.c:3419
↓ 4 callersFunctioncheck_restriction
src/ball.c:179
↓ 4 callersFunctioncheck_room
src/sp_lev.c:1406
↓ 4 callersFunctioncheckfile
* Look in the "data" file for more info. Called if the user typed in the * whole name (user_typed_name == TRUE), or we've found a possible match *
src/pager.c:829
↓ 4 callersFunctionchoke
Created by GAN 01/28/87 * Amended by AKP 09/22/87: if not hard, don't choke, just vomit. * Amended by 3. 06/12/89: if not hard, sometimes choke any
src/eat.c:244
↓ 4 callersFunctionclassify_terrain
for status: set up iflags.terrain_typ, an index into terrain_descrp[]; some types need fixing up */
src/hack.c:3089
↓ 4 callersMethodclear
outdated/win/Qt3/qt3_clust.cpp:38
↓ 4 callersFunctionclear_unpaid_obj
clear the unpaid bit on a single object and its contents */
src/shk.c:308
↓ 4 callersFunctionclone_mon
Note: for long worms, always call cutworm (cutworm calls clone_mon) */
src/makemon.c:836
↓ 4 callersFunctionclose_file
outdated/sys/mac/mrecover.c:1318
↓ 4 callersFunctionclose_library
src/dlb.c:217
↓ 4 callersFunctioncmdbind_remove
src/cmd.c:2157
↓ 4 callersFunctioncollect_coords
make a list of coordinates in expanding distance from <cx,cy>; return value is number of coordinates inserted into ccc[] */
src/teleport.c:577
↓ 4 callersFunctioncomplain_about_duplicate
src/options.c:6789
↓ 4 callersFunctioncorpse_chance
TRUE if corpse might be dropped, magr may die if mon was swallowed */
src/mon.c:3180
↓ 4 callersFunctioncount_achievements
used to decide whether there are any achievements to display */
src/insight.c:2493
↓ 4 callersFunctioncount_justpicked
src/pickup.c:634
↓ 4 callersFunctioncritically_low_hp
critically low hit points if hp <= 5 or hp <= maxhp/N for some N */
src/pray.c:115
↓ 4 callersFunctioncursed_object_at
src/dogmove.c:144
↓ 4 callersFunctioncurses_add_nhwin
win/curses/curswins.c:358
↓ 4 callersFunctioncurses_alert_win_border
Change colour of window border to alert player to something */
win/curses/curswins.c:723
↓ 4 callersFunctioncurses_character_dialog
Prompt user for character race, role, alignment, or gender */
win/curses/cursinit.c:688
↓ 4 callersFunctioncurses_clear_unhighlight_message_window
win/curses/cursmesg.c:382
↓ 4 callersFunctioncurses_convert_attr
win/curses/cursmisc.c:739
↓ 4 callersFunctioncurses_copy_of
win/curses/cursmisc.c:236
↓ 4 callersFunctioncurses_destroy_nhwindow
Destroy will dismiss the window if the window has not * already been dismissed. */
win/curses/cursmain.c:516
↓ 4 callersFunctioncurses_end_menu
end_menu(window, prompt) -- Stop adding entries to the menu and flushes the window to the screen (brings to front?)
win/curses/cursmain.c:730
↓ 4 callersFunctioncurses_get_wid
win/curses/cursmisc.c:187
↓ 4 callersFunctioncurses_message_win_puts
win/curses/cursmesg.c:78
↓ 4 callersFunctioncurses_read_char
win/curses/cursmisc.c:47
↓ 4 callersFunctioncurses_refresh_nethack_windows
win/curses/curswins.c:238
↓ 4 callersFunctioncurses_select_menu
int select_menu(winid window, int how, menu_item **selected) -- Return the number of items selected; 0 if none were chosen,
win/curses/cursmain.c:764
↓ 4 callersFunctiondatamodel
src/hacklib.c:981
↓ 4 callersFunctiondbon
damage bonus for strength */
src/weapon.c:992
↓ 4 callersFunctiondbterrainmesg
message common to several wizterrainwish() results */
src/objnam.c:3919
↓ 4 callersFunctiondeepest_lev_reached
return the lowest level explored in the game*/
src/dungeon.c:1338
↓ 4 callersFunctiondestroy_menu_entry_widgets
win/X11/winmenu.c:1385
↓ 4 callersFunctiondigactualhole
src/dig.c:639
↓ 4 callersFunctiondismiss_nhwindow
sys/amiga/winfuncs.c:1480
↓ 4 callersFunctiondisplay_message_window
Redraw message window if new lines have been added. */
win/X11/winmesg.c:228
↓ 4 callersFunctiondispmap_sanity
don't use dispmap unless x & y are 8,16,24,32,48 and equal */
sys/amiga/winchar.c:1095
↓ 4 callersFunctiondlb_fread
src/dlb.c:498
↓ 4 callersFunctiondo_attack
try to attack; return False if monster evaded; u.dx and u.dy must be set */
src/uhitm.c:447
↓ 4 callersFunctiondo_boh_explosion
Scatter most of Bag of holding contents around. Some items will be destroyed with the same chance as looting a cursed bag. */
src/pickup.c:2517
↓ 4 callersFunctiondobjsfree
free all the objects marked for deletion */
src/mkobj.c:2830
↓ 4 callersFunctiondobuzz
* type == 0 to 9 : you zapping a wand * type == 10 to 19 : you casting a spell * type == 20 to 29 : you breathing as a monster * type == -1
src/zap.c:4779
↓ 4 callersFunctiondocrt_flags
docrt() with finer control */
src/display.c:1708
↓ 4 callersFunctiondoextlist
here after #? - now list all full-word commands and provide some navigation capability through the long list */
src/cmd.c:561
↓ 4 callersFunctiondoffing
check whether the target object is currently being taken off, so that stop_donning() and steal() can vary messages and doname() can vary "(being
src/do_wear.c:1602
↓ 4 callersFunctiondog_eat
returns 2 if pet dies, otherwise 1 */
src/dogmove.c:217
↓ 4 callersFunctiondomove
src/hack.c:2694
↓ 4 callersFunctiondoname_base
core of doname() */
src/objnam.c:1222
↓ 4 callersFunctiondoname_with_price
Name of object including price. */
src/objnam.c:1760
↓ 4 callersFunctiondone_timeout
when a status timeout is fatal, keep the status line indicator shown during end of game rundown (and potential dumplog); timeout has already cou
src/timeout.c:574
↓ 4 callersFunctiondospellmenu
shows menu of known spells, with options to sort them. return FALSE on cancel, TRUE otherwise. spell_no is set to the internal spl_book index, i
src/spell.c:2074
↓ 4 callersFunctiondotele
src/teleport.c:1033
↓ 4 callersFunctiondown_gate
migration destination for objects which fall down to next level */
src/dokick.c:1942
↓ 4 callersFunctiondraft_message
draft refers to air currents, but can be a pun on "draft" as conscription for military service (probably not a good pun if it has to be explained)
src/dig.c:1503
↓ 4 callersFunctiondrag_ball
return TRUE if the caller needs to place the ball and chain down again */
src/ball.c:559
↓ 4 callersFunctiondump_fmtstr
src/windows.c:1125
↓ 4 callersFunctionenlght_combatinc
format increased chance to hit or damage or defense (Protection) */
src/insight.c:159
↓ 4 callersFunctionequip_ok
not a getobj callback - unifies code among the other 4 getobj callbacks */
src/do_wear.c:3403
↓ 4 callersFunctionextend_spine
* Return 1 (not TRUE - we're doing bit vectors here) if we want to extend * a wall spine in the (dx,dy) direction. Return 0 otherwise. * * To exte
src/mkmaze.c:165
↓ 4 callersMethodfadeHighlighting
win/Qt/qt_stat.cpp:547
↓ 4 callersFunctionfill_glyphid_cache
src/glyphs.c:302
↓ 4 callersFunctionfind_free_window
* Find a free window slot for use. */
win/X11/winX.c:277
↓ 4 callersFunctionfind_menu_item
sys/amiga/winamenu.c:192
↓ 4 callersFunctionfind_montype
src/sp_lev.c:3142
↓ 4 callersFunctionfind_objtype
find object otyp by text s (optionally considering oclass) */
src/sp_lev.c:3467
↓ 4 callersFunctionfind_okay_roompos
src/mklev.c:2302
↓ 4 callersFunctionfix_petrification
src/eat.c:866
↓ 4 callersFunctionfix_wall_spines
Correct wall types so they extend and connect to each other */
src/mkmaze.c:228
↓ 4 callersFunctionfix_worst_trouble
src/pray.c:372
↓ 4 callersFunctionfn
util/sftags.c:2066
↓ 4 callersFunctionfree_font
sys/msdos/font.c:140
↓ 4 callersFunctionfree_menu
win/X11/winmenu.c:1431
↓ 4 callersFunctionfree_omonst
src/mkobj.c:127
↓ 4 callersFunctionfree_window_info
win/tty/wintty.c:986
↓ 4 callersFunctionfreedynamicdata
free a lot of allocated memory which is ordinarily freed during save */
src/save.c:1076
↓ 4 callersFunctionfruitadd
Returns the fid of the fruit type; if that type already exists, it * returns the fid of that one; if it does not exist, it adds a new fruit * type t
src/options.c:8169
↓ 4 callersFunctiong_putch
win/tty/wintty.c:3739
↓ 4 callersFunctiongc_touch
outdated/win/gem/gr_rect.c:175
↓ 4 callersFunctiongenl_outrip
src/rip.c:85
↓ 4 callersFunctiongenl_player_setup
guts of tty's player_selection() */
src/role.c:2205
↓ 4 callersFunctionget_adjacent_loc
* uses getdir() but unlike getdir() it specifically * produces coordinates using the direction from getdir() * and verifies that those coordinates a
src/cmd.c:3930
← previousnext →1,701–1,800 of 8,785, ranked by callers