Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davemoore22/sorcery
/ functions
Functions
1,218 in github.com/davemoore22/sorcery
⨍
Functions
1,218
◇
Types & classes
356
↓ 373 callers
Method
at
src/types/level.cpp:158
↓ 262 callers
Method
get_string
src/core/context.cpp:47
↓ 231 callers
Method
get
src/core/random.cpp:94
↓ 124 callers
Function
unenum
inc/common/macro.hpp:46
↓ 104 callers
Method
has
src/types/tile.cpp:95
↓ 97 callers
Method
display
src/core/ui.cpp:690
↓ 94 callers
Method
size
src/types/level.cpp:117
↓ 81 callers
Method
clear
src/types/inventory.cpp:58
↓ 67 callers
Function
CSTR
Macro to convert std::string to C string
inc/core/macro.hpp:33
↓ 65 callers
Method
go_to
src/core/controller.cpp:1341
↓ 63 callers
Method
get_flag_ref
src/core/context.cpp:75
↓ 61 callers
Method
wants
src/core/controller.cpp:1349
↓ 53 callers
Method
get_random
src/core/context.cpp:41
↓ 50 callers
Method
contains
inc/common/types.hpp:68
↓ 49 callers
Method
set
src/types/level.cpp:148
↓ 44 callers
Method
abilities
src/types/character.cpp:99
↓ 43 callers
Method
get_config
src/core/context.cpp:52
↓ 33 callers
Method
tick
src/core/context.cpp:36
↓ 33 callers
Method
unset_flag
src/core/controller.cpp:719
↓ 32 callers
Method
check_for_abort
Check if the SDL event is a Window-Shut-Down event
src/core/controller.cpp:905
↓ 32 callers
Method
check_for_back
Check if the SDL event is go-back-to-previous event
src/core/controller.cpp:812
↓ 32 callers
Method
check_for_resize
Check for a resize event
src/core/controller.cpp:825
↓ 32 callers
Method
get_character
src/core/database.cpp:326
↓ 29 callers
Method
get_player_pos
src/types/state.cpp:247
↓ 28 callers
Method
initialise
src/gui/input.cpp:65
↓ 27 callers
Method
get_current_font
src/resources/fontstore.cpp:254
↓ 27 callers
Method
is
src/types/tile.cpp:159
↓ 26 callers
Method
get_lit
src/types/state.cpp:128
↓ 25 callers
Method
clear_character
src/core/controller.cpp:806
↓ 25 callers
Method
get_float
src/types/component.cpp:166
↓ 24 callers
Method
add_type
src/types/inventory.cpp:83
↓ 24 callers
Method
create_dynamic_modal
Create a Modal on Demand (used whenever data items on it aren't fixed - for example the Party Members); normally otherwise fixed Modals are created at
src/core/ui.cpp:326
↓ 23 callers
Method
regenerate
src/gui/menu.cpp:70
↓ 22 callers
Function
BOOL2OPTIONCSTR
Macro to convert bool to C string
inc/types/config.hpp:62
↓ 22 callers
Method
get_name
src/types/item.cpp:128
↓ 20 callers
Method
get_party_characters
src/types/state.cpp:188
↓ 19 callers
Method
get
src/types/error.cpp:88
↓ 19 callers
Method
get_cur_attr
src/types/character.cpp:289
↓ 19 callers
Method
set_selected
src/core/controller.cpp:740
↓ 18 callers
Method
get_depth
src/types/state.cpp:143
↓ 18 callers
Method
has_flag
src/core/controller.cpp:724
↓ 18 callers
Method
set_flag
src/core/controller.cpp:706
↓ 18 callers
Method
set_player_facing
src/types/state.cpp:257
↓ 18 callers
Function
with_Window
src/core/ui.cpp:1100
↓ 17 callers
Method
get_equipped
src/types/item.cpp:113
↓ 17 callers
Method
save_game
src/types/game.cpp:254
↓ 17 callers
Function
set_text_bright
inc/gui/uistyle.hpp:48
↓ 16 callers
Method
handle_menu_with_flags
Menu Setting but with Flags (used with a temporary vector of references) - note that we need to use this instead of the normal handle_menu method for
src/core/controller.cpp:585
↓ 16 callers
Method
reset
src/types/game.cpp:77
↓ 15 callers
Method
get
src/gui/input.cpp:75
↓ 15 callers
Method
get_type_id
src/types/item.cpp:88
↓ 15 callers
Method
items
src/types/inventory.cpp:53
↓ 15 callers
Method
set_stage
Reset a character back to a particular state
src/types/character.cpp:147
↓ 15 callers
Method
str
src/types/dice.cpp:93
↓ 14 callers
Method
get_status
src/types/character.cpp:2080
↓ 13 callers
Method
set_location
src/types/character.cpp:87
↓ 13 callers
Method
size
src/types/inventory.cpp:63
↓ 13 callers
Function
with_TabItem
src/core/ui.cpp:2977
↓ 12 callers
Method
create_class_alignment
Given an Alignment and a Class, create a character
src/types/character.cpp:1896
↓ 12 callers
Method
get_points_left
src/types/character.cpp:263
↓ 12 callers
Method
get_stage
src/types/character.cpp:77
↓ 12 callers
Method
set_volume
src/core/audioplayer.cpp:160
↓ 11 callers
Method
get_cursed
src/types/item.cpp:118
↓ 11 callers
Method
get_display_name
src/types/item.cpp:133
↓ 11 callers
Method
set_busy
src/core/controller.cpp:207
↓ 11 callers
Method
set_current_hp
src/types/character.cpp:2185
↓ 11 callers
Method
want_to_abort
src/core/controller.cpp:930
↓ 10 callers
Function
PRINT
Print
inc/common/macro.hpp:150
↓ 10 callers
Method
get_category
src/types/item.cpp:93
↓ 10 callers
Method
get_code
src/types/error.cpp:60
↓ 10 callers
Method
get_gold
src/types/character.cpp:533
↓ 10 callers
Method
get_int
src/types/component.cpp:157
↓ 10 callers
Method
get_known
src/types/item.cpp:98
↓ 10 callers
Method
get_player_facing
src/types/state.cpp:242
↓ 10 callers
Method
load
src/core/audioplayer.cpp:83
↓ 10 callers
Function
set_text_dim
inc/gui/uistyle.hpp:58
↓ 10 callers
Method
stop
Stop the Game
src/core/application.cpp:607
↓ 9 callers
Method
get_location
src/types/character.cpp:82
↓ 9 callers
Method
get_monochrome
src/core/render.cpp:51
↓ 9 callers
Function
set_faded
RAII shortcuts for Imgui Styles
inc/gui/uistyle.hpp:35
↓ 8 callers
Method
get_file
src/core/context.cpp:63
↓ 8 callers
Method
get_known_name
src/types/itemtype.cpp:37
↓ 8 callers
Method
get_max_hp
src/types/monster.cpp:66
↓ 8 callers
Method
name
src/gui/input.cpp:60
↓ 8 callers
Method
set_can_undo
src/core/controller.cpp:564
↓ 8 callers
Method
set_player_pos
src/types/state.cpp:263
↓ 8 callers
Method
set_pos_class
Given a character's current stats and alignment, work out what classes are available
src/types/character.cpp:385
↓ 8 callers
Method
set_status
src/types/character.cpp:2173
↓ 8 callers
Method
wall
src/types/tile.cpp:195
↓ 8 callers
Method
want_to_leave_game
src/core/controller.cpp:940
↓ 7 callers
Method
draw_frame
Draw a Frame (a Rect) to the current window
src/core/ui.cpp:3963
↓ 7 callers
Method
get_SDL_window
src/core/display.cpp:88
↓ 7 callers
Method
get_party_size
src/types/state.cpp:183
↓ 7 callers
Method
get_selected
src/core/context.cpp:85
↓ 7 callers
Method
get_start_attr
src/types/character.cpp:295
↓ 7 callers
Method
has_character
src/core/controller.cpp:792
↓ 7 callers
Method
mage_cur_sp
src/types/character.cpp:128
↓ 7 callers
Method
priest_cur_sp
src/types/character.cpp:122
↓ 7 callers
Method
set_depth
src/types/state.cpp:138
↓ 7 callers
Method
set_last_dir
src/core/controller.cpp:173
next →
1–100 of 1,218, ranked by callers