MCPcopy Create free account

hub / github.com/NetHack/NetHack / functions

Functions8,785 in github.com/NetHack/NetHack

↓ 19 callersFunctioncurses_set_wid_colors
win/curses/curswins.c:177
↓ 19 callersFunctiondunlev
return the level number for lev in *this* dungeon */
src/dungeon.c:1324
↓ 19 callersFunctionlocomotion
src/mondata.c:1379
↓ 19 callersFunctionmore_experienced
src/exper.c:168
↓ 19 callersFunctionok_role
is rolenum compatible with any racenum/gendnum/alignnum constraints? */
src/role.c:970
↓ 19 callersFunctionrank_of
src/botl.c:331
↓ 19 callersFunctionuncurse
src/mkobj.c:1821
↓ 19 callersFunctionuseupf
* uses up an object that's on the floor, charging for it as necessary */
src/invent.c:4762
↓ 18 callersFunctionE_phrase
* Generates capitalized entity name, makes 2nd -> 3rd person conversion on * verb, where necessary. */
src/dbridge.c:360
↓ 18 callersFunctionSelectMenuItem
outdated/sys/wince/mhmenu.c:1417
↓ 18 callersMethodWidget
win/Qt/qt_map.cpp:629
↓ 18 callersFunctionadd_to_container
* Add obj to container, make sure obj is "free". Returns (merged) obj. * The input obj may be deleted in the process. * * Caveat: this does not u
src/mkobj.c:2675
↓ 18 callersFunctionchdir
sys/amiga/amidos.c:452
↓ 18 callersFunctionchristen_monst
historical note: this returns a monster pointer because it used to allocate a new bigger block of memory to hold the monster and its name */
src/do_name.c:132
↓ 18 callersFunctionextract_nobj
Extract the given object from the chain, following nobj chain. */
src/mkobj.c:2595
↓ 18 callersFunctionfindgold
* Find the first (and hopefully only) gold object in a chain. * Used when leprechaun (or you as leprechaun) looks for * someone else's gold. Return
src/steal.c:44
↓ 18 callersFunctionftell
outdated/sys/wince/celib.c:901
↓ 18 callersFunctionget_table_int
src/nhlua.c:1013
↓ 18 callersFunctiongetpos
have the player use movement keystrokes to position the cursor at a particular map location, then use one of [.,:;] to pick the spot */
src/getpos.c:770
↓ 18 callersFunctionhideunder
monster/hero tries to hide under something at the current location; if used by monster creation, should only happen during level creation, other
src/mon.c:4725
↓ 18 callersFunctionkey2txt
returns the text for a one-byte encoding; * must be shorter than a tab for proper formatting */
src/cmd.c:3224
↓ 18 callersFunctionmsmsg
outdated/sys/mac/mttymain.c:497
↓ 18 callersFunctionmswin_get_color
outdated/sys/wince/mhcolor.c:167
↓ 18 callersFunctiononame
src/do_name.c:371
↓ 18 callersFunctionrandalign
src/role.c:915
↓ 18 callersFunctionrandrace
src/role.c:786
↓ 18 callersFunctionrloc_to
src/teleport.c:1770
↓ 18 callersFunctionset_corpsenm
* Several areas of the code made direct reassignments * to obj->corpsenm. Because some special handling is * required in certain cases, place that
src/mkobj.c:1317
↓ 18 callersFunctionsetuwep
Functions that place a given item in a slot ***/ Proper usage includes: * 1. Initializing the slot during character generation or a * restore.
src/wield.c:99
↓ 18 callersFunctionsomexyspace
like somexy(), but returns an accessible location */
src/mkroom.c:743
↓ 18 callersFunctionstrNsubst
substitute the Nth occurrence of a substring within a string (in place); if N is 0, substitute all occurrences; returns the number of substitutions
src/hacklib.c:556
↓ 18 callersFunctionvesa_WritePixel
sys/msdos/vidvesa.c:452
↓ 18 callersFunctionweapon_type
src/weapon.c:1516
↓ 17 callersMethodEmpty
outdated/win/Qt3/qt3_win.cpp:795
↓ 17 callersFunctionSelectMenuItem
-----------------------------------------------------------------------------*/
win/win32/mhmenu.c:1618
↓ 17 callersFunctionbare_artifactname
artifact's name without any object type or known/dknown/&c feedback */
src/objnam.c:2501
↓ 17 callersFunctionbegin_burn
* Start a burn timeout on the given object. If not "already lit" then * create a light source for the vision system. There had better not * be a bu
src/timeout.c:1711
↓ 17 callersFunctionbind_key
src/cmd.c:2661
↓ 17 callersFunctionblessorcurse
src/mkobj.c:1840
↓ 17 callersFunctionblock_point
* block_point() * * Make the location opaque to light. */
src/vision.c:864
↓ 17 callersFunctiondelete_savefile
delete savefile */
src/files.c:1258
↓ 17 callersFunctiondprintf
outdated/sys/mac/dprintf.c:17
↓ 17 callersFunctionexplode
Note: I had to choose one of three possible kinds of "type" when writing * this function: a wand type (like in zap.c), an adtyp, or an object type.
src/explode.c:198
↓ 17 callersFunctionfloat_vs_flight
Levitation overrides Flying; set or clear BFlying|I_SPECIAL */
src/polyself.c:130
↓ 17 callersFunctionignite_items
Ignite ignitable items (limited to light sources) in the given object chain, due to some external source of fire. The object chain should be so
src/trap.c:7160
↓ 17 callersFunctionl_obj_check
src/nhlobj.c:34
↓ 17 callersFunctionmake_sick
Sick is overloaded with both fatal illness and food poisoning (via u.usick_type bit mask), but delayed killer can only support one or the other
src/potion.c:136
↓ 17 callersFunctionmakesingular
* Singularize a string the user typed in; this helps reduce the complexity * of readobjnam, and is also used in pager.c to singularize the string *
src/objnam.c:3036
↓ 17 callersFunctionmigrate_to_level
src/dog.c:886
↓ 17 callersFunctionmon_adjust_speed
src/worn.c:487
↓ 17 callersFunctionmonnear
Is the square close enough for the monster to move or attack into? */
src/mon.c:2475
↓ 17 callersFunctionpick_role
pick a random role subject to any racenum/gendnum/alignnum constraints */ If pickhow == PICK_RIGID a role is returned only if there is */ a single po
src/role.c:1014
↓ 17 callersFunctionprecheck
win/share/tilemap.c:1478
↓ 17 callersFunctionqsort
(base, count, size, compare)
sys/vms/oldcrtl.c:174
↓ 17 callersFunctionrandgend
src/role.c:852
↓ 17 callersFunctionrndmonnam
return a random monster name, for hallucination */
src/do_name.c:1388
↓ 17 callersFunctionroot_plselection_prompt
src/role.c:1430
↓ 17 callersFunctionselection_getbounds
get boundary rect of selection sel into b */
src/selvar.c:76
↓ 17 callersFunctionset_levelfile_name
Construct a file name for a level-type file, which is of the form * something.level (with any old level stripped off). * This assumes there is space
src/files.c:605
↓ 17 callersFunctionset_occupation
If a time is given, use it to timeout this function, otherwise the * function times out by its own means. */
src/cmd.c:205
↓ 17 callersFunctionsetmangry
Called whenever the player attacks mtmp; also called in other situations where mtmp gets annoyed at the player. Handles mtmp getting annoyed at the
src/mon.c:4264
↓ 17 callersFunctionsingular
* Used if only one of a collection of objects is named (e.g. in eat.c). */
src/objnam.c:2090
↓ 17 callersFunctionstart_timer
* Start a timer. Return TRUE if successful. */
src/timeout.c:2246
↓ 17 callersFunctionstr2race
src/role.c:812
↓ 17 callersFunctionstring_for_env_opt
src/options.c:6682
↓ 17 callersFunctionu_gname
returns the name of the hero's deity */
src/pray.c:2523
↓ 17 callersFunctionu_on_newpos
src/dungeon.c:1567
↓ 17 callersFunctionunpunish
remove the ball and chain */
src/read.c:3065
↓ 17 callersFunctionwake_nearby
Wake up nearby monsters without angering them. */
src/mon.c:4366
↓ 17 callersFunctionxcrypt
trivial text encryption routine (see makedefs) */
src/hacklib.c:399
↓ 16 callersFunctionYMonnam
y_monnam() for start of sentence */
src/do_name.c:1132
↓ 16 callersFunctionaccessible
src/monmove.c:2187
↓ 16 callersFunctionaddtobill
src/shk.c:3489
↓ 16 callersFunctionansimpleoname
"a scroll" or "scrolls"; "a silver bell" or "the Bell of Opening" */
src/objnam.c:2445
↓ 16 callersFunctionbless
src/mkobj.c:1744
↓ 16 callersFunctioncmdbind_get
src/cmd.c:2109
↓ 16 callersFunctioncolortable_to_bgr_int32
GDI typically represents color as BGR (Blue-Green-Red) in memory */
sys/windows/consoletty.c:361
↓ 16 callersFunctionconsume_obj_charge
use one charge from an item and possibly incur shop debt for it */
src/invent.c:1336
↓ 16 callersFunctioncursed
Check if something worn is cursed _and_ unremovable. */
src/do_wear.c:1892
↓ 16 callersFunctionflash_str
Fills buf with the appropriate string for this ray. * In the hallucination case, insert "blast of <silly thing>". * Assumes that the caller will spe
src/zap.c:6428
↓ 16 callersFunctionformatkiller
"killed by",&c ["an"] 'svk.killer.name' */
src/topten.c:89
↓ 16 callersFunctionget_table_xy_or_coord
Get x and y values from a table (which the caller has already checked for * the existence of), handling both a table with x= and y= specified and a
src/sp_lev.c:3187
↓ 16 callersFunctiongetnow
src/calendar.c:31
↓ 16 callersFunctiongolemeffects
src/mon.c:5679
↓ 16 callersFunctionmenu_class_present
check valid_menu_classes[] for an entry; also used by askchain() */
src/pickup.c:468
↓ 16 callersFunctionmkzoo
src/mkroom.c:243
↓ 16 callersFunctionmswin_putstr_ex
win/win32/mswproc.c:1011
↓ 16 callersFunctionnextobuf
src/objnam.c:141
↓ 16 callersFunctionnoit_mon_nam
print the name as if mon_nam() (y_monnam() if tame) was called, but assume that the player can always see the monster--used for probing and for
src/do_name.c:1053
↓ 16 callersFunctiononscary
src/monmove.c:240
↓ 16 callersFunctionparanoid_query
for paranoid_confirm:quit,die,attack,&c prompting; allows yes or n|no; result is True for yes; n|no and ESC yield False */
src/cmd.c:5654
↓ 16 callersFunctionputsyms
win/tty/topl.c:346
↓ 16 callersMethodsetCompareMode
set comp_mode to one of NoCompare or {Bigger,Smaller,Neither}IsBetter
win/Qt/qt_icon.cpp:190
↓ 16 callersFunctionsetuhpmax
update u.uhpmax or u.mhmax and values of other things that depend upon whichever of them is relevant */
src/attrib.c:1156
↓ 16 callersFunctionsetuswapwep
src/wield.c:284
↓ 16 callersFunctiontomb_text
sys/amiga/amirip.c:285
↓ 16 callersFunctionu_locomotion
return an appropriate locomotion word for hero */
src/hack.c:1816
↓ 16 callersFunctionuseupall
src/invent.c:1308
↓ 16 callersFunctionvpline
src/pline.c:152
↓ 16 callersFunctionxtp2i
win/X11/winmisc.c:133
← previousnext →401–500 of 8,785, ranked by callers