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
mgender_from_permonst
shapechanger might take on a shape that forces gender change */
src/mon.c:5255
↓ 2 callers
Function
mhitm_ad_blnd
src/uhitm.c:2957
↓ 2 callers
Function
mhitm_ad_dise
disease */
src/uhitm.c:4592
↓ 2 callers
Function
mhitm_ad_drli
src/uhitm.c:2444
↓ 2 callers
Function
mhitm_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 callers
Function
mhurtle_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 callers
Function
migrate_orc
src/mkmaze.c:716
↓ 2 callers
Function
mimic_obj_name
src/objnam.c:5605
↓ 2 callers
Function
mineralize
* 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 callers
Function
missmm
feedback for when a monster-vs-monster attack misses */
src/mhitm.c:75
↓ 2 callers
Function
mixed_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 callers
Function
mixtype
returns the potion type when o1 is dipped in o2 */
src/potion.c:2121
↓ 2 callers
Function
mk_mplayer
src/mplayer.c:117
↓ 2 callers
Function
mk_named_object
make a new corpse or statue, uninitialized if a statue (i.e. no books); never returns Null */
src/mkobj.c:2252
↓ 2 callers
Function
mkcavearea
src/dig.c:87
↓ 2 callers
Function
mkclass_aligned
mkclass() with alignment restrictions; used by ndemon() */
src/makemon.c:1879
↓ 2 callers
Function
mkclass_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 callers
Function
mkswamp
src/mkroom.c:529
↓ 2 callers
Function
mktemple
src/mkroom.c:597
↓ 2 callers
Function
mkundead
make a swarm of undead around mm */
src/mkroom.c:455
↓ 2 callers
Function
mm_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 callers
Function
mon_break_armor
src/worn.c:1176
↓ 2 callers
Function
mon_consume_unstone
src/muse.c:2905
↓ 2 callers
Function
mon_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 callers
Function
mon_give_prop
give monster property prop */
src/mon.c:1725
↓ 2 callers
Function
mon_givit
Maybe give an intrinsic to monster from eating corpse that confers it. */
src/mon.c:1777
↓ 2 callers
Function
mon_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 callers
Function
mon_invent_chain
src/wizcmds.c:1176
↓ 2 callers
Function
mon_leave
bookkeeping when mtmp is about to leave the current level; common to keepdogs() and migrate_to_level() */
src/dog.c:728
↓ 2 callers
Function
mon_track_add
push coordinate x,y to mtrack, making monster remember where it was */
src/monmove.c:77
↓ 2 callers
Function
money2u
* 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 callers
Function
mongrantswish
monp grants a wish and then leaves the game */
src/potion.c:2795
↓ 2 callers
Function
monhaskey
check whether a monster is carrying a locking/unlocking tool */
src/monmove.c:95
↓ 2 callers
Function
monhealthdescr
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 callers
Function
mons_see_trap
monsters see a trap trigger, and remember it */
src/mondata.c:1640
↓ 2 callers
Function
monshoot
mtmp throws otmp, or shoots otmp with mwep, at hero or at monster mtarg */
src/mthrowu.c:261
↓ 2 callers
Function
montraits
used by revive() and animate_statue() */
src/zap.c:712
↓ 2 callers
Function
more_than_one
src/display.c:3146
↓ 2 callers
Function
morguemon
src/mkroom.c:477
↓ 2 callers
Function
move_menu
win/X11/winmenu.c:1409
↓ 2 callers
Function
move_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 callers
Function
move_win
outdated/win/gem/wingem1.c:301
↓ 2 callers
Function
movebubbles
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 callers
Function
mplayhorn
similar to mzapwand() but for magical horns (only instrument mons play) */
src/muse.c:194
↓ 2 callers
Function
mread
src/sfstruct.c:548
↓ 2 callers
Function
msghistory_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 callers
Function
msgtype2name
src/options.c:7689
↓ 2 callers
Function
msgtype_add
src/options.c:7730
↓ 2 callers
Function
msgtype_count
src/options.c:7830
↓ 2 callers
Function
msgtype_parse_add
src/options.c:7843
↓ 2 callers
Function
msleep
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 callers
Function
mswin_add_text
----------------------------------------------------------------*/
outdated/sys/wince/mhtxtbuf.c:67
↓ 2 callers
Function
mswin_apply_window_style_all
win/win32/mhmain.c:1308
↓ 2 callers
Function
mswin_clear_nhwindow
Clear the given window, when asked to. */
win/win32/mswproc.c:827
↓ 2 callers
Function
mswin_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 callers
Function
mswin_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 callers
Function
mswin_destroy_nhwindow
Destroy will dismiss the window if the window has not * already been dismissed. */
outdated/sys/wince/mswproc.c:865
↓ 2 callers
Function
mswin_destroy_reg
win/win32/mswproc.c:2599
↓ 2 callers
Function
mswin_display_splash_window
win/win32/mhsplash.c:117
↓ 2 callers
Function
mswin_display_text_window
outdated/sys/wince/mhtext.c:47
↓ 2 callers
Function
mswin_free_text_buffer
----------------------------------------------------------------*/
outdated/sys/wince/mhtxtbuf.c:52
↓ 2 callers
Function
mswin_get_text_wrap
----------------------------------------------------------------*/
outdated/sys/wince/mhtxtbuf.c:118
↓ 2 callers
Function
mswin_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 callers
Function
mswin_getlin_window
outdated/sys/wince/mhdlg.c:26
↓ 2 callers
Function
mswin_init_menu_window
-----------------------------------------------------------------------------*/
win/win32/mhmenu.c:102
↓ 2 callers
Function
mswin_init_menu_window
outdated/sys/wince/mhmenu.c:88
↓ 2 callers
Function
mswin_init_text_buffer
----------------------------------------------------------------*/
outdated/sys/wince/mhtxtbuf.c:37
↓ 2 callers
Function
mswin_init_text_window
outdated/sys/wince/mhtext.c:25
↓ 2 callers
Function
mswin_input_pop
get event from the queue and delete it */
win/win32/mhinput.c:65
↓ 2 callers
Function
mswin_main_loop
win/win32/mswproc.c:2151
↓ 2 callers
Function
mswin_main_loop
outdated/sys/wince/mswproc.c:1682
↓ 2 callers
Function
mswin_map_update
win/win32/mhmap.c:498
↓ 2 callers
Function
mswin_menu_check_intf_mode
win/win32/mhmain.c:1175
↓ 2 callers
Function
mswin_menu_window_select_menu
-----------------------------------------------------------------------------*/
win/win32/mhmenu.c:137
↓ 2 callers
Function
mswin_menu_window_select_menu
outdated/sys/wince/mhmenu.c:103
↓ 2 callers
Function
mswin_message_window_size
win/win32/mhmsgwnd.c:739
↓ 2 callers
Function
mswin_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 callers
Function
mswin_popup_destroy
win/win32/mswproc.c:2311
↓ 2 callers
Function
mswin_popup_destroy
outdated/sys/wince/mswproc.c:1805
↓ 2 callers
Function
mswin_popup_display
win/win32/mswproc.c:2254
↓ 2 callers
Function
mswin_popup_display
outdated/sys/wince/mswproc.c:1762
↓ 2 callers
Function
mswin_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 callers
Function
mswin_putstr_ex
outdated/sys/wince/mswproc.c:938
↓ 2 callers
Function
mswin_raw_print_accumulate
win/win32/mswproc.c:1370
↓ 2 callers
Function
mswin_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 callers
Function
mswin_set_fullscreen
outdated/sys/wince/mswproc.c:1835
↓ 2 callers
Function
mswin_set_splash_data
win/win32/mhsplash.c:54
↓ 2 callers
Function
mswin_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 callers
Function
mu_maybe_destroy_web
monster or you go through and possibly destroy a web. return TRUE if could go through. */
src/trap.c:971
↓ 2 callers
Function
multishot_class_bonus
src/dothrow.c:38
↓ 2 callers
Function
munslime
TRUE if monster does something to avoid turning into green slime */
src/muse.c:3030
↓ 2 callers
Function
muse_newcham_mon
src/muse.c:2249
↓ 2 callers
Function
mwepgone
force monster to stop wielding current weapon, if any */
src/weapon.c:937
↓ 2 callers
Function
name_file
util/makedefs.c:444
↓ 2 callers
Function
nasty
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 callers
Function
new_light_core
Create a new light source and return it. Only used within this file. */
src/light.c:68
↓ 2 callers
Function
new_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 callers
Function
newclipping
win/tty/wintty.c:470
↓ 2 callers
Function
newman
src/polyself.c:335
↓ 2 callers
Function
newmonhp
set up a new monster's initial level and hit points; used by newcham() as well as by makemon() */
src/makemon.c:1011
← previous
next →
3,401–3,500 of 8,785, ranked by callers