Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cataclysmbn/Cataclysm-BN
/ functions
Functions
19,830 in github.com/cataclysmbn/Cataclysm-BN
⨍
Functions
19,830
◇
Types & classes
5,585
↓ 187 callers
Function
assign
src/item_factory.cpp:114
↓ 185 callers
Method
charges_to_use
src/itype.cpp:116
↓ 183 callers
Method
getID
src/character.cpp:667
↓ 180 callers
Method
get_id
src/mission.cpp:581
↓ 178 callers
Method
append
src/catacharset.cpp:621
↓ 178 callers
Function
find
src/fmtlib_format.h:3353
↓ 176 callers
Function
x_in_y
src/rng.cpp:75
↓ 172 callers
Method
end_object
src/json.cpp:1559
↓ 172 callers
Method
start_object
src/json.cpp:1543
↓ 172 callers
Function
writestr
Write the string to POT.
lang/extract_json_strings.py:921
↓ 171 callers
Method
add
src/init.cpp:221
↓ 169 callers
Method
assign_activity
src/character.cpp:10307
↓ 169 callers
Method
set_to_null
src/player_activity.cpp:99
↓ 167 callers
Method
get_desc
src/input.cpp:805
↓ 167 callers
Method
str
tests/catch/catch.hpp:12083
↓ 166 callers
Method
abs_to_bub
src/map.h:1872
↓ 165 callers
Function
mandatory
src/generic_factory.h:609
↓ 163 callers
Method
reset
@} * cleanup */
src/ui.cpp:1008
↓ 163 callers
Method
setpos
src/npc.cpp:748
↓ 159 callers
Method
is_mounted
src/character.cpp:1426
↓ 157 callers
Method
at
src/catacharset.cpp:598
↓ 155 callers
Method
made_of
src/item.cpp:7381
↓ 155 callers
Method
part_index
TODO: remove this, add a vpart_reference class instead
src/vpart_position.h:50
↓ 154 callers
Method
set_var
src/item.h:1569
↓ 152 callers
Method
volume
src/item.cpp:5640
↓ 151 callers
Method
spawn_item
src/map.cpp:5475
↓ 151 callers
Function
vgettext
src/translations.cpp:35
↓ 150 callers
Method
get_field_intensity
src/map.cpp:6684
↓ 148 callers
Method
get_name
src/color.cpp:161
↓ 148 callers
Function
luaL_error
** Again, the use of 'lua_pushvfstring' ensures this function does ** not need reserved stack space when called. (At worst, it generates ** an error w
src/lua/lauxlib.c:223
↓ 146 callers
Method
part_with_feature
src/vehicle.cpp:2953
↓ 145 callers
Method
what
src/sol/sol.hpp:4597
↓ 144 callers
Function
clamp
src/cata_utility.h:149
↓ 144 callers
Function
enumerate_as_string
src/output.h:663
↓ 143 callers
Method
get_var
src/item.h:1564
↓ 142 callers
Method
idx
Flat index for tile-coordinate arrays: vec[x * cache_y + y]. Uses the runtime cache_y stride (= SEEY * mapsize) so that all vector accesses correctly
src/map.h:326
↓ 140 callers
Function
fold_and_print
src/output.h:249
↓ 140 callers
Function
wprintz
src/output.h:353
↓ 139 callers
Function
Approx
tests/catch/catch.hpp:3754
↓ 138 callers
Method
deal_damage
src/creature.cpp:1193
↓ 137 callers
Method
create_table
src/sol/sol.hpp:28044
↓ 137 callers
Method
remove_effect
src/creature.cpp:1497
↓ 134 callers
Function
print
src/fmtlib_core.h:2339
↓ 134 callers
Method
size
tests/catch/catch.hpp:651
↓ 133 callers
Method
add_item_or_charges
src/map.cpp:5517
↓ 132 callers
Method
allow_omitted_members
src/json.cpp:151
↓ 132 callers
Method
ident
src/material.cpp:152
↓ 131 callers
Function
redraw
src/ui_manager.cpp:470
↓ 125 callers
Method
ammo_capacity
src/item.cpp:8409
↓ 124 callers
Method
get
src/mapgen.cpp:896
↓ 124 callers
Method
length
src/catacharset.h:135
↓ 123 callers
Method
has_object
src/json.cpp:503
↓ 123 callers
Function
make_xyz
This more general version of this function gives correct values for larger values.
src/line.cpp:428
↓ 122 callers
Method
abs_omt_pos
src/character.cpp:7193
↓ 122 callers
Method
critter_at
src/game.cpp:6233
↓ 122 callers
Function
random_entry
src/rng.h:100
↓ 121 callers
Method
display_name
src/item.cpp:5329
↓ 120 callers
Function
is_ot_match
src/overmap.cpp:634
↓ 119 callers
Method
get_bool
src/json.cpp:344
↓ 119 callers
Method
is_npc
src/npc.h:755
↓ 118 callers
Method
is_gun
src/item.cpp:7444
↓ 118 callers
Function
lua_gettop
src/lua/lapi.c:167
↓ 117 callers
Method
set
src/map.cpp:2045
↓ 117 callers
Function
sort
src/lua/ltablib.c:411
↓ 117 callers
Method
stack_index
src/sol/sol.hpp:26936
↓ 116 callers
Function
extract_effect
src/effect.cpp:226
↓ 115 callers
Method
add_field
src/map.cpp:6724
↓ 115 callers
Function
dice
src/rng.cpp:85
↓ 115 callers
Function
trim_and_print
src/output.h:301
↓ 114 callers
Method
add_item
src/map.cpp:5626
↓ 113 callers
Method
count
src/trap.cpp:96
↓ 109 callers
Function
nname
src/item.cpp:2302
↓ 105 callers
Method
add_vehicle
src/mapgen.cpp:6015
↓ 105 callers
Method
success
src/ret_val.h:68
↓ 104 callers
Method
is_player
src/npc.h:752
↓ 102 callers
Method
nname
src/item.cpp:11272
↓ 100 callers
Method
count
tests/catch/catch.hpp:8913
↓ 100 callers
Method
get_float
src/json.cpp:376
↓ 100 callers
Method
on_screen_resize
src/ui_manager.cpp:134
↓ 99 callers
Method
data
src/iuse_actor.cpp:4206
↓ 99 callers
Method
on_redraw
src/ui_manager.cpp:129
↓ 99 callers
Method
set_flag
src/npc.cpp:3632
↓ 98 callers
Method
get_dimension
empty = primary dimension
src/vehicle.h:1765
↓ 97 callers
Method
push
src/monexamine.cpp:680
↓ 96 callers
Function
print_colored_text
src/output.cpp:194
↓ 95 callers
Method
detach
src/locations.cpp:38
↓ 95 callers
Method
mark_resize
src/ui_manager.cpp:199
↓ 94 callers
Method
ammo_set
src/item.cpp:698
↓ 94 callers
Method
get_level
src/magic.cpp:1239
↓ 94 callers
Method
get_use
src/item.cpp:8983
↓ 93 callers
Method
damage
src/item.cpp:803
↓ 93 callers
Method
weight
TODO: MATERIALS add a density field to materials.json
src/item.cpp:5491
↓ 92 callers
Function
swap
Swaps this optional with the other. If neither optionals have a value, nothing happens. If both have a value, the values are swapped. If one has a va
src/sol/sol.hpp:5872
↓ 90 callers
Method
load
src/map.cpp:7974
↓ 90 callers
Function
reset
Destroys the stored value if one exists, making the optional empty
src/sol/sol.hpp:6004
↓ 88 callers
Method
count_by_charges
src/item.cpp:6915
↓ 88 callers
Method
total_damage
This returns the damage from this damage_instance. The damage done to the target will be reduced by their armor.
src/damage.cpp:115
↓ 88 callers
Method
use
src/sol/sol.hpp:11487
↓ 87 callers
Method
get_items
src/vehicle.cpp:6322
↓ 86 callers
Function
has_value
\returns whether or not the optional has a value \group has_value
src/sol/sol.hpp:5931
← previous
next →
101–200 of 19,830, ranked by callers