Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DFHack/dfhack
/ functions
Functions
8,799 in github.com/DFHack/dfhack
⨍
Functions
8,799
◇
Types & classes
1,320
↓ 9 callers
Function
HasSuffixString
---------------------------------------------------------------------- HasSuffixString() Return true if str ends in suffix. StripSuffixString() Given
depends/protobuf/google/protobuf/stubs/strutil.h:102
↓ 9 callers
Function
IsSuccess
* Check if the status is a success, i.e. LUA_OK or LUA_YIELD. */
library/include/LuaTools.h:203
↓ 9 callers
Method
ListFields
depends/protobuf/google/protobuf/generated_message_reflection.cc:638
↓ 9 callers
Function
PrintConstant
depends/lua/src/luac.c:254
↓ 9 callers
Function
SplitStringUsing
depends/protobuf/google/protobuf/stubs/strutil.cc:185
↓ 9 callers
Function
addFunction
library/include/RemoteServer.h:172
↓ 9 callers
Function
adjust_smooth_wall_dir
plugins/dig-now.cpp:619
↓ 9 callers
Function
bits_match
library/include/MiscUtils.h:546
↓ 9 callers
Function
check_match
depends/lua/src/lparser.c:122
↓ 9 callers
Function
clean_ramp
plugins/dig-now.cpp:338
↓ 9 callers
Function
debug_pause
plugins/autolabor/labormanager.cpp:294
↓ 9 callers
Method
dependency_size
repeated string dependency = 3;
depends/protobuf/google/protobuf/descriptor.pb.h:2783
↓ 9 callers
Method
display
plugins/listcolumn.h:109
↓ 9 callers
Function
enterblock
depends/lua/src/lparser.c:439
↓ 9 callers
Function
expr
depends/lua/src/lparser.c:1079
↓ 9 callers
Method
flush
library/Console-posix.cpp:301
↓ 9 callers
Function
freeexp
** Free register used by expression 'e' (if any) */
depends/lua/src/lcode.c:397
↓ 9 callers
Method
get
library/include/DataIdentity.h:781
↓ 9 callers
Method
has_default_value
optional string default_value = 7;
depends/protobuf/google/protobuf/descriptor.pb.h:3495
↓ 9 callers
Method
has_name
optional string name = 1;
depends/protobuf/google/protobuf/descriptor.pb.h:2667
↓ 9 callers
Function
is_wagon_traversible
plugins/pathable.cpp:273
↓ 9 callers
Function
is_wet
plugins/dig.cpp:291
↓ 9 callers
Function
leaveblock
depends/lua/src/lparser.c:473
↓ 9 callers
Function
lexerror
depends/lua/src/llex.c:109
↓ 9 callers
Function
lodepng_get_bpp
calculate bits per pixel out of colortype and bitdepth*/
depends/lodepng/lodepng.cpp:2758
↓ 9 callers
Function
lodepng_realloc
NOTE: when realloc returns NULL, it leaves the original memory untouched */
depends/lodepng/lodepng.cpp:82
↓ 9 callers
Function
luaK_patchtohere
** Add elements in 'list' to list of pending jumps to "here" ** (current position) */
depends/lua/src/lcode.c:252
↓ 9 callers
Function
luaL_addvalue
depends/lua/src/lauxlib.c:558
↓ 9 callers
Function
lua_getuservalue
depends/lua/src/lapi.c:724
↓ 9 callers
Function
lua_seti
depends/lua/src/lapi.c:783
↓ 9 callers
Function
mutable_unknown_fields
depends/protobuf/google/protobuf/compiler/plugin.pb.h:60
↓ 9 callers
Method
name_size
repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
depends/protobuf/google/protobuf/descriptor.pb.h:4843
↓ 9 callers
Function
needs_unhide
plugins/dig-now.cpp:920
↓ 9 callers
Method
negative_int_value
depends/protobuf/google/protobuf/descriptor.pb.h:4961
↓ 9 callers
Function
process_embark_incursion
plugins/embark-assistant/survey.cpp:445
↓ 9 callers
Function
process_embark_incursion
plugins/embark-assistant/matcher.cpp:73
↓ 9 callers
Method
reset
plugins/tailor.cpp:196
↓ 9 callers
Method
reset_color
library/ColorText.cpp:91
↓ 9 callers
Method
runCommand
library/Core.cpp:361
↓ 9 callers
Function
serialize_list_itemdef
* There are many repeated (un)serialization cases throughout the stockpile_settings structure, * so the most common cases have been generalized into
plugins/stockpiles/StockpileSerializer.cpp:273
↓ 9 callers
Method
set_mode
plugins/autolabor/autolabor.cpp:121
↓ 9 callers
Function
str_checkname
depends/lua/src/lparser.c:135
↓ 9 callers
Function
tofile
depends/lua/src/liolib.c:174
↓ 9 callers
Function
unserialize_list_itemdef
plugins/stockpiles/StockpileSerializer.cpp:296
↓ 9 callers
Method
value_size
repeated .google.protobuf.EnumValueDescriptorProto value = 2;
depends/protobuf/google/protobuf/descriptor.pb.h:3644
↓ 9 callers
Function
vtable_ptr
library/include/DataDefs.h:417
↓ 8 callers
Method
Add
depends/tinyxml/tinyxml.cpp:1514
↓ 8 callers
Function
AddRegionTiles
plugins/remotefortressreader/remotefortressreader.cpp:2186
↓ 8 callers
Method
FindFile
depends/protobuf/google/protobuf/descriptor.cc:596
↓ 8 callers
Function
GetState
plugins/remotefortressreader/remotefortressreader.cpp:797
↓ 8 callers
Method
GetTypeName
depends/protobuf/google/protobuf/message.cc:83
↓ 8 callers
Function
GlobalAddDescriptorsName
Return the name of the AddDescriptors() function for a given file.
depends/protobuf/google/protobuf/compiler/cpp/cpp_helpers.cc:325
↓ 8 callers
Function
HuffmanTree_cleanup
depends/lodepng/lodepng.cpp:674
↓ 8 callers
Function
HuffmanTree_init
depends/lodepng/lodepng.cpp:667
↓ 8 callers
Function
LowPassable
tile is missing a floor
library/include/TileTypes.h:237
↓ 8 callers
Method
MergeFrom
depends/protobuf/google/protobuf/message.cc:61
↓ 8 callers
Method
New
depends/protobuf/google/protobuf/descriptor.pb.cc:760
↓ 8 callers
Function
PersistentDataItem
library/include/modules/Persistence.h:181
↓ 8 callers
Method
PushLimit
depends/protobuf/google/protobuf/io/coded_stream.cc:99
↓ 8 callers
Function
ShiftCoords
plugins/remotefortressreader/remotefortressreader.cpp:2230
↓ 8 callers
Function
addNameWord
library/modules/Translation.cpp:102
↓ 8 callers
Function
centered
plugins/debug.cpp:643
↓ 8 callers
Function
check_container_index
* Index verification: number and in range. */
library/LuaTypes.cpp:902
↓ 8 callers
Function
check_random_native
library/LuaApi.cpp:1081
↓ 8 callers
Method
count
plugins/channel-safely/include/channel-jobs.h:39
↓ 8 callers
Function
dig
plugins/dig.cpp:490
↓ 8 callers
Function
do_enable
plugins/dig.cpp:108
↓ 8 callers
Method
enabled
plugins/debug.cpp:298
↓ 8 callers
Method
get
get from job; if no job, then fall back to querying map
plugins/dig.cpp:2366
↓ 8 callers
Method
getHackPath
library/Core.cpp:1087
↓ 8 callers
Function
get_burrow
plugins/burrow.cpp:254
↓ 8 callers
Function
get_caption_str
(prefix='')
conf.py:105
↓ 8 callers
Function
has_point
plugins/design.cpp:69
↓ 8 callers
Method
init
library/PluginManager.cpp:879
↓ 8 callers
Function
is_instance
library/include/DataDefs.h:460
↓ 8 callers
Function
is_wall
plugins/dig-now.cpp:332
↓ 8 callers
Function
isxdigit
The definitions of these in ctype.h change based on locale. Since our string manipulation is all in relation to the protocol buffer and C++ languages
depends/protobuf/google/protobuf/stubs/strutil.cc:72
↓ 8 callers
Function
lodepng_chunk_length
depends/lodepng/lodepng.cpp:2466
↓ 8 callers
Function
luaK_concat
** Concatenate jump-list 'l2' into jump-list 'l1' */
depends/lua/src/lcode.c:116
↓ 8 callers
Function
luaL_prepbuffsize
** returns a pointer to a free area with at least 'sz' bytes */
depends/lua/src/lauxlib.c:505
↓ 8 callers
Function
luaS_newlstr
** new string (with explicit length) */
depends/lua/src/lstring.c:199
↓ 8 callers
Function
lua_concat
depends/lua/src/lapi.c:1140
↓ 8 callers
Function
lua_error
depends/lua/src/lapi.c:1114
↓ 8 callers
Method
lua_item_count
library/LuaTypes.cpp:308
↓ 8 callers
Function
lua_newuserdata
depends/lua/src/lapi.c:1184
↓ 8 callers
Function
lua_setglobal
depends/lua/src/lapi.c:759
↓ 8 callers
Function
lua_tointegerx
depends/lua/src/lapi.c:356
↓ 8 callers
Method
max_z
plugins/3dveins.cpp:387
↓ 8 callers
Method
min_z
plugins/3dveins.cpp:386
↓ 8 callers
Method
mutable_name
depends/protobuf/google/protobuf/compiler/plugin.pb.h:551
↓ 8 callers
Method
number
depends/protobuf/google/protobuf/extension_set.h:770
↓ 8 callers
Function
propagate_if_material_match
plugins/dig.cpp:318
↓ 8 callers
Method
remove
plugins/debug.cpp:325
↓ 8 callers
Function
setfield
depends/lua/src/loslib.c:197
↓ 8 callers
Function
tolower
zilpin: These two functions were giving me compile errors in VS2008, so I cheated with the C style loop below, just to get it to build. Original code
plugins/tiletypes.cpp:482
↓ 8 callers
Function
ucvector_resize
returns 1 if success, 0 if failure ==> nothing done*/
depends/lodepng/lodepng.cpp:270
↓ 7 callers
Method
AddMessage
depends/protobuf/google/protobuf/extension_set.cc:470
↓ 7 callers
Method
DebugString
depends/protobuf/google/protobuf/descriptor.cc:1544
↓ 7 callers
Function
FastInt32ToBuffer
Yes, this is a duplicate of FastInt64ToBuffer. But, we need this for the compiler to generate 32 bit arithmetic instructions. It's much faster, at l
depends/protobuf/google/protobuf/stubs/strutil.cc:618
↓ 7 callers
Method
FindByNameHelper
depends/protobuf/google/protobuf/descriptor.cc:575
← previous
next →
401–500 of 8,799, ranked by callers