MCPcopy Create free account

hub / github.com/NetHack/NetHack / functions

Functions8,785 in github.com/NetHack/NetHack

↓ 2 callersFunctionmgender_from_permonst
shapechanger might take on a shape that forces gender change */
src/mon.c:5255
↓ 2 callersFunctionmhitm_ad_blnd
src/uhitm.c:2957
↓ 2 callersFunctionmhitm_ad_dise
disease */
src/uhitm.c:4592
↓ 2 callersFunctionmhitm_ad_drli
src/uhitm.c:2444
↓ 2 callersFunctionmhitm_really_poison
Helper for mhitm_ad_drst(), containing some code that is also called from * mhitm_ad_phys (for poisoned weapons) and shouldn't be subject to magic *
src/uhitm.c:3103
↓ 2 callersFunctionmhurtle_to_doom
joust or martial arts punch is knocking the target back; that might kill 'mon' (via trap) before known_hitum() has a chance to do so; return Tru
src/uhitm.c:1941
↓ 2 callersFunctionmigrate_orc
src/mkmaze.c:716
↓ 2 callersFunctionmimic_obj_name
src/objnam.c:5605
↓ 2 callersFunctionmineralize
* Place deposits of minerals (gold and misc gems) in the stone * surrounding the rooms on the map. * Also place kelp in water. *
src/mklev.c:1448
↓ 2 callersFunctionmissmm
feedback for when a monster-vs-monster attack misses */
src/mhitm.c:75
↓ 2 callersFunctionmixed_to_utf8
helper routine if a window port wants to embed any UTF-8 sequences for the glyph representation in the string in place of the \GNNNNNNNN referen
src/utf8map.c:85
↓ 2 callersFunctionmixtype
returns the potion type when o1 is dipped in o2 */
src/potion.c:2121
↓ 2 callersFunctionmk_mplayer
src/mplayer.c:117
↓ 2 callersFunctionmk_named_object
make a new corpse or statue, uninitialized if a statue (i.e. no books); never returns Null */
src/mkobj.c:2252
↓ 2 callersFunctionmkcavearea
src/dig.c:87
↓ 2 callersFunctionmkclass_aligned
mkclass() with alignment restrictions; used by ndemon() */
src/makemon.c:1879
↓ 2 callersFunctionmkclass_poly
like mkclass(), but excludes difficulty considerations; used when player with polycontrol picks a class instead of a specific type; genocided ty
src/makemon.c:1982
↓ 2 callersFunctionmkswamp
src/mkroom.c:529
↓ 2 callersFunctionmktemple
src/mkroom.c:597
↓ 2 callersFunctionmkundead
make a swarm of undead around mm */
src/mkroom.c:455
↓ 2 callersFunctionmm_2way_aggression
Part of mm_aggression that represents two-way aggression. To avoid having to code each case twice, this function contains those cases that ough
src/mon.c:2387
↓ 2 callersFunctionmon_break_armor
src/worn.c:1176
↓ 2 callersFunctionmon_consume_unstone
src/muse.c:2905
↓ 2 callersFunctionmon_escape
Monsters without the Amulet escape the dungeon and * are gone for good when they leave up the up stairs. * A monster with the Amulet would leave it
src/muse.c:779
↓ 2 callersFunctionmon_give_prop
give monster property prop */
src/mon.c:1725
↓ 2 callersFunctionmon_givit
Maybe give an intrinsic to monster from eating corpse that confers it. */
src/mon.c:1777
↓ 2 callersFunctionmon_has_arti
* If "otyp" is zero, it triggers a check for the quest_artifact, * since bell, book, candle, and amulet are all objects, not really *
src/wizard.c:164
↓ 2 callersFunctionmon_invent_chain
src/wizcmds.c:1176
↓ 2 callersFunctionmon_leave
bookkeeping when mtmp is about to leave the current level; common to keepdogs() and migrate_to_level() */
src/dog.c:728
↓ 2 callersFunctionmon_track_add
push coordinate x,y to mtrack, making monster remember where it was */
src/monmove.c:77
↓ 2 callersFunctionmoney2u
* Transfer money from monster to inventory. * Used when the shopkeeper pay for items, and when * the priest gives you money for an ale. */
src/shk.c:185
↓ 2 callersFunctionmongrantswish
monp grants a wish and then leaves the game */
src/potion.c:2795
↓ 2 callersFunctionmonhaskey
check whether a monster is carrying a locking/unlocking tool */
src/monmove.c:95
↓ 2 callersFunctionmonhealthdescr
format a description of 'mon's health for look_at_monster(), done_in_by(); result isn't Healer-specific (not trained for arbitrary creatures) */
src/pager.c:137
↓ 2 callersFunctionmons_see_trap
monsters see a trap trigger, and remember it */
src/mondata.c:1640
↓ 2 callersFunctionmonshoot
mtmp throws otmp, or shoots otmp with mwep, at hero or at monster mtarg */
src/mthrowu.c:261
↓ 2 callersFunctionmontraits
used by revive() and animate_statue() */
src/zap.c:712
↓ 2 callersFunctionmore_than_one
src/display.c:3146
↓ 2 callersFunctionmorguemon
src/mkroom.c:477
↓ 2 callersFunctionmove_menu
win/X11/winmenu.c:1409
↓ 2 callersFunctionmove_special
* Move for priests and shopkeepers. Called from shk_move() and pri_move(). * Valid returns are 1: moved 0: didn't -1: let m_move do it -2: died.
src/priest.c:41
↓ 2 callersFunctionmove_win
outdated/win/gem/wingem1.c:301
↓ 2 callersFunctionmovebubbles
augment the Planes of Water (for bubbles) and Air (for clouds); called from goto_level() when arriving and moveloop_core() when on the level */
src/mkmaze.c:1538
↓ 2 callersFunctionmplayhorn
similar to mzapwand() but for magical horns (only instrument mons play) */
src/muse.c:194
↓ 2 callersFunctionmread
src/sfstruct.c:548
↓ 2 callersFunctionmsghistory_snapshot
collect currently available message history data into a sequential array; optionally, purge that data from the active circular buffer set as we go
win/tty/topl.c:558
↓ 2 callersFunctionmsgtype2name
src/options.c:7689
↓ 2 callersFunctionmsgtype_add
src/options.c:7730
↓ 2 callersFunctionmsgtype_count
src/options.c:7830
↓ 2 callersFunctionmsgtype_parse_add
src/options.c:7843
↓ 2 callersFunctionmsleep
sleep for specified number of milliseconds (note: the timer used generally only has 10-millisecond resolution at the hardware level...) */
sys/vms/vmstty.c:548
↓ 2 callersFunctionmswin_add_text
----------------------------------------------------------------*/
outdated/sys/wince/mhtxtbuf.c:67
↓ 2 callersFunctionmswin_apply_window_style_all
win/win32/mhmain.c:1308
↓ 2 callersFunctionmswin_clear_nhwindow
Clear the given window, when asked to. */
win/win32/mswproc.c:827
↓ 2 callersFunctionmswin_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.
outdated/sys/wince/mswproc.c:1187
↓ 2 callersFunctionmswin_create_nhwindow
Create a window of type "type" which can be NHW_MESSAGE (top line) NHW_STATUS (bottom lines) NHW_MAP (main du
outdated/sys/wince/mswproc.c:704
↓ 2 callersFunctionmswin_destroy_nhwindow
Destroy will dismiss the window if the window has not * already been dismissed. */
outdated/sys/wince/mswproc.c:865
↓ 2 callersFunctionmswin_destroy_reg
win/win32/mswproc.c:2599
↓ 2 callersFunctionmswin_display_splash_window
win/win32/mhsplash.c:117
↓ 2 callersFunctionmswin_display_text_window
outdated/sys/wince/mhtext.c:47
↓ 2 callersFunctionmswin_free_text_buffer
----------------------------------------------------------------*/
outdated/sys/wince/mhtxtbuf.c:52
↓ 2 callersFunctionmswin_get_text_wrap
----------------------------------------------------------------*/
outdated/sys/wince/mhtxtbuf.c:118
↓ 2 callersFunctionmswin_getlin
getlin(const char *ques, char *input) -- Prints ques as a prompt and reads a single line of text, up to a newline. The str
outdated/sys/wince/mswproc.c:1476
↓ 2 callersFunctionmswin_getlin_window
outdated/sys/wince/mhdlg.c:26
↓ 2 callersFunctionmswin_init_menu_window
-----------------------------------------------------------------------------*/
win/win32/mhmenu.c:102
↓ 2 callersFunctionmswin_init_menu_window
outdated/sys/wince/mhmenu.c:88
↓ 2 callersFunctionmswin_init_text_buffer
----------------------------------------------------------------*/
outdated/sys/wince/mhtxtbuf.c:37
↓ 2 callersFunctionmswin_init_text_window
outdated/sys/wince/mhtext.c:25
↓ 2 callersFunctionmswin_input_pop
get event from the queue and delete it */
win/win32/mhinput.c:65
↓ 2 callersFunctionmswin_main_loop
win/win32/mswproc.c:2151
↓ 2 callersFunctionmswin_main_loop
outdated/sys/wince/mswproc.c:1682
↓ 2 callersFunctionmswin_map_update
win/win32/mhmap.c:498
↓ 2 callersFunctionmswin_menu_check_intf_mode
win/win32/mhmain.c:1175
↓ 2 callersFunctionmswin_menu_window_select_menu
-----------------------------------------------------------------------------*/
win/win32/mhmenu.c:137
↓ 2 callersFunctionmswin_menu_window_select_menu
outdated/sys/wince/mhmenu.c:103
↓ 2 callersFunctionmswin_message_window_size
win/win32/mhmsgwnd.c:739
↓ 2 callersFunctionmswin_nhgetch
int nhgetch() -- Returns a single character input from the user. -- In the tty window-port, nhgetch() assumes that tgetch()
outdated/sys/wince/mswproc.c:1269
↓ 2 callersFunctionmswin_popup_destroy
win/win32/mswproc.c:2311
↓ 2 callersFunctionmswin_popup_destroy
outdated/sys/wince/mswproc.c:1805
↓ 2 callersFunctionmswin_popup_display
win/win32/mswproc.c:2254
↓ 2 callersFunctionmswin_popup_display
outdated/sys/wince/mswproc.c:1762
↓ 2 callersFunctionmswin_putstr
putstr(window, attr, str) -- Print str on the window with the given attribute. Only printable ASCII characters (04
win/win32/mswproc.c:1003
↓ 2 callersFunctionmswin_putstr_ex
outdated/sys/wince/mswproc.c:938
↓ 2 callersFunctionmswin_raw_print_accumulate
win/win32/mswproc.c:1370
↓ 2 callersFunctionmswin_raw_print_flush
* mswin_raw_print_flush() - display any text found in raw_print_strbuf in a * dialog box and clear raw_print_strbuf. */
win/win32/mswproc.c:1383
↓ 2 callersFunctionmswin_set_fullscreen
outdated/sys/wince/mswproc.c:1835
↓ 2 callersFunctionmswin_set_splash_data
win/win32/mhsplash.c:54
↓ 2 callersFunctionmswin_update_inventory
-- Indicate to the window port that the inventory has been changed. -- Merely calls repopulate_perminvent() for window-ports that leave the
win/win32/mswproc.c:1252
↓ 2 callersFunctionmu_maybe_destroy_web
monster or you go through and possibly destroy a web. return TRUE if could go through. */
src/trap.c:971
↓ 2 callersFunctionmultishot_class_bonus
src/dothrow.c:38
↓ 2 callersFunctionmunslime
TRUE if monster does something to avoid turning into green slime */
src/muse.c:3030
↓ 2 callersFunctionmuse_newcham_mon
src/muse.c:2249
↓ 2 callersFunctionmwepgone
force monster to stop wielding current weapon, if any */
src/weapon.c:937
↓ 2 callersFunctionname_file
util/makedefs.c:444
↓ 2 callersFunctionnasty
create some nasty monsters, aligned with the caster or neutral; chaotic and unaligned are treated as equivalent; if summoner is Null, this is fo
src/wizard.c:590
↓ 2 callersFunctionnew_light_core
Create a new light source and return it. Only used within this file. */
src/light.c:68
↓ 2 callersFunctionnew_status_window
destroy and recreate status window; extracted from winch_handler() and augmented for use by tty_preference_update() */
win/tty/wintty.c:490
↓ 2 callersFunctionnewclipping
win/tty/wintty.c:470
↓ 2 callersFunctionnewman
src/polyself.c:335
↓ 2 callersFunctionnewmonhp
set up a new monster's initial level and hit points; used by newcham() as well as by makemon() */
src/makemon.c:1011
← previousnext →3,401–3,500 of 8,785, ranked by callers