Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Vatuu/silent-hill-decomp
/ functions
Functions
3,246 in github.com/Vatuu/silent-hill-decomp
⨍
Functions
3,246
◇
Types & classes
505
↓ 1,049 callers
Function
SysWork_StateStepIncrement
@brief Increments `sysStateStep` in `g_SysWork` for the next tick. * * @param stepIdx Index of the `sysStateStep` to increment. */
include/game.h:530
↓ 661 callers
Function
Event_ScreenFadeCmd
src/bodyprog/events/events_util.c:215
↓ 455 callers
Function
Event_CharaAnimCmdExecute
src/bodyprog/events/events_util.c:97
↓ 450 callers
Function
WorldObjects_Add
src/bodyprog/gfx/world_draw.c:395
↓ 324 callers
Function
Event_CutsceneTimerAdvance
@brief Advances a cutscene timer between `[startTime, endTime]` at the given rate, * optionally advancing the state step when the end time is reache
include/maps/shared/Event_CutsceneTimerAdvance.h:17
↓ 294 callers
Function
Event_WaitTimer
src/bodyprog/events/events_util.c:88
↓ 281 callers
Function
Sfx_WithFlagsPlay
src/bodyprog/sound/sfx.c:161
↓ 271 callers
Function
Event_BgTextureCmd
src/bodyprog/events/events_util.c:304
↓ 258 callers
Function
SD_Call
src/bodyprog/sound/sd_call.c:95
↓ 258 callers
Function
SysWork_StateSetNext
@brief Sets `sysState` in `g_SysWork` for the next tick. * * @param sysState System state to set. * @return New system state. */
include/game.h:511
↓ 250 callers
Function
WorldObject_ModelNameSet
src/bodyprog/gfx/world_draw.c:385
↓ 238 callers
Function
Event_DisplayMapMsgWithAudio
src/bodyprog/events/events_util.c:562
↓ 233 callers
Function
Rng_Rand16
src/main/rng.c:15
↓ 211 callers
Function
Player_ControlUnfreeze
src/maps/characters/player.c:284
↓ 199 callers
Function
Player_ControlFreeze
src/maps/characters/player.c:234
↓ 174 callers
Function
Event_DisplayMapMsg
src/bodyprog/events/events_util.c:185
↓ 169 callers
Function
Fs_QueueStartRead
src/main/fsqueue.c:78
↓ 148 callers
Function
SysWork_StateStepSet
@brief Sets `sysStateStep[stepIdx]` in `g_SysWork` for the next tick. * * @param stepIdx The `sysStateStep` index to change. * @param sysStateStep
include/game.h:558
↓ 141 callers
Function
Math_AngleNormalizeSigned
src/bodyprog/bodyprog_math_8005BF38.c:42
↓ 138 callers
Function
Gfx_StringSetPosition
src/bodyprog/text/text_draw.c:66
↓ 136 callers
Function
Chara_AnimStateReset
@brief Resets an NPC's control state to `*_None` if the control subsystem was flagged for a reset. * * @note This is only for NPCs which use the `s_
include/bodyprog/chara/chara.h:763
↓ 131 callers
Function
Gfx_StringDraw
src/bodyprog/text/text_draw.c:103
↓ 130 callers
Function
Collision_CharaCollisionSet
src/bodyprog/collision/chara.c:61
↓ 127 callers
Function
Dms_CharacterTransformGet
src/bodyprog/dms.c:49
↓ 122 callers
Function
Event_CameraLookAtSet
src/bodyprog/events/events_util.c:645
↓ 120 callers
Function
Player_AnimStateReset
@brief Resets the extra player parameters state if `g_Player_AnimResetRequest` is set. * * @note This works similar to `Chara_AnimStateReset`. * *
include/bodyprog/player.h:723
↓ 115 callers
Function
Event_CameraPositionSet
src/bodyprog/events/events_util.c:580
↓ 114 callers
Function
Model_AnimStatusSet
@brief Updates a model anim if `model->stateStep` is 0. * * @param model Model to update. * @param animIdx Anim index to set. * @param isActive Ac
include/bodyprog/model.h:102
↓ 114 callers
Function
Player_FootstepSfxPlay
src/bodyprog/player_control.c:679
↓ 105 callers
Function
Sd_SfxStop
src/bodyprog/sound/sd_call.c:644
↓ 105 callers
Function
vcReturnPreAutoCamWork
src/bodyprog/view/vc_main.c:254
↓ 104 callers
Function
Fs_QueueStartReadTim
src/main/fsqueue.c:83
↓ 100 callers
Function
Sd_PlaySfx
src/bodyprog/sound/sd_call.c:396
↓ 98 callers
Function
Event_WaitPlayerStop
src/bodyprog/events/events_util.c:79
↓ 98 callers
Function
Game_StateStepSet
@brief Sets one of the three game state step counters. * * The steps form a hierarchy used by the game's game state state machines: * - [0] = state
include/game.h:631
↓ 96 callers
Function
Chara_SpawnFlagsSet
src/bodyprog/chara_spawn.c:143
↓ 91 callers
Function
Fs_QueueWaitForEmpty
src/main/fsqueue.c:52
↓ 90 callers
Function
func_8007FB94
src/bodyprog/player_control.c:8734
↓ 82 callers
Function
WorldGfx_HeldItemAttach
src/bodyprog/gfx/world_draw.c:1236
↓ 74 callers
Function
Vw_CoordHierarchyMatrixCompute
src/bodyprog/view/vw_calc.c:331
↓ 74 callers
Function
sharedFunc_800D908C_0_s00
src/maps/chara_util.c:433
↓ 73 callers
Function
Event_CharaAnimPlayToEnd
src/bodyprog/events/events_util.c:711
↓ 70 callers
Function
Event_InvItemCmd
src/bodyprog/events/events_util.c:378
↓ 68 callers
Function
Rng_RandQ12
src/bodyprog/player_control.c:9075
↓ 60 callers
Function
func_8003D01C
src/bodyprog/gfx/world_draw.c:771
↓ 58 callers
Function
Event_ItemTake
src/bodyprog/events/events_util.c:1024
↓ 58 callers
Function
Math_Distance2dGet
src/bodyprog/player_control.c:9018
↓ 57 callers
Function
Chara_ModelCharaIdClear
src/bodyprog/chara_spawn.c:128
↓ 57 callers
Function
Math_MulFixed
src/bodyprog/player_control.c:9281
↓ 57 callers
Function
func_8003D03C
src/bodyprog/gfx/world_draw.c:776
↓ 55 callers
Function
Collision_SurfaceGet
src/bodyprog/collision/collision.c:125
↓ 55 callers
Function
Gfx_StringSetColor
src/bodyprog/text/text_draw.c:98
↓ 54 callers
Function
Chara_Spawn
src/bodyprog/chara_spawn.c:40
↓ 54 callers
Function
func_80045468
src/bodyprog/gfx/bodyprog_bone_80044F14.c:232
↓ 51 callers
Function
Event_DisplayMapMsgWithBg
src/bodyprog/events/events_util.c:892
↓ 50 callers
Function
Dms_HeaderFixOffsets
src/bodyprog/dms.c:15
↓ 47 callers
Function
Event_PathWaypointSet
src/bodyprog/events/events_util.c:455
↓ 47 callers
Function
Game_TurnFlashlightOn
src/bodyprog/gfx/map_effects.c:246
↓ 46 callers
Function
Event_DisplayMapMsgWithSfx
src/bodyprog/events/events_util.c:802
↓ 46 callers
Function
vcUserCamTarget
src/bodyprog/view/vc_main.c:195
↓ 46 callers
Function
vcUserWatchTarget
src/bodyprog/view/vc_main.c:173
↓ 45 callers
Function
sharedFunc_800D2EF4_0_s00
src/maps/characters/player.c:1057
↓ 43 callers
Function
Chara_Load
src/bodyprog/chara_spawn.c:18
↓ 43 callers
Function
Gfx_MapEnvSet
src/bodyprog/gfx/map_effects.c:277
↓ 43 callers
Function
func_8007FC48
src/bodyprog/player_control.c:8769
↓ 43 callers
Function
func_80080478
src/bodyprog/player_control.c:9047
↓ 42 callers
Function
vcChangeProjectionValue
src/bodyprog/view/vc_main.c:217
↓ 41 callers
Function
Dms_CameraTargetGet
src/bodyprog/dms.c:137
↓ 41 callers
Function
Sfx_WithFalloffAndPitchPlay
src/bodyprog/sound/sfx.c:259
↓ 41 callers
Function
sharedFunc_800D2EB4_0_s00
src/maps/characters/player.c:1046
↓ 40 callers
Function
Chara_ProcessLoads
src/bodyprog/chara_spawn.c:27
↓ 40 callers
Function
func_8006FD90
src/bodyprog/collision/los.c:137
↓ 37 callers
Function
func_800D7394
src/maps/map4_s03/map4_s03.c:398
↓ 36 callers
Function
Collision_GroundHeightGet
src/bodyprog/player_control.c:9269
↓ 36 callers
Function
Sd_SfxAttributesUpdate
src/bodyprog/sound/sd_call.c:487
↓ 36 callers
Function
egetc
src/bodyprog/libsd/smf_mid.c:88
↓ 35 callers
Function
Sd_AudioStreamingCheck
src/bodyprog/sound/sd_call.c:141
↓ 35 callers
Function
SysWork_StateStepReset
@brief Resets `sysStateStep` in `g_SysWork` for the next tick. */
include/game.h:588
↓ 35 callers
Method
append_line
(self, lines, line)
tools/bin2c.py:845
↓ 34 callers
Function
sharedFunc_800CDAA8_0_s02_Switch
Very similar to `func_80071968_Switch1`
include/maps/shared/sharedFunc_800CDAA8_0_s02.h:80
↓ 34 callers
Function
sharedFunc_800D4A80_0_s01
src/maps/characters/air_screamer.c:8770
↓ 33 callers
Function
Event_TweenReset
src/bodyprog/events/events_util.c:531
↓ 33 callers
Function
Math_ShortestAngleGet
src/bodyprog/player_control.c:8704
↓ 33 callers
Function
func_8008D448
src/bodyprog/water.c:35
↓ 31 callers
Function
Event_PathWaypointExecutePlayer
src/bodyprog/events/events_util.c:481
↓ 31 callers
Function
Gfx_StringDrawInt
src/bodyprog/text/text_draw.c:823
↓ 30 callers
Function
Event_TweenLinear
src/bodyprog/events/events_util.c:540
↓ 30 callers
Function
Fs_QueueChunksLoad
src/main/fsqueue.c:37
↓ 29 callers
Function
Text_Debug_Draw
src/bodyprog/text/text_debug_draw.c:39
↓ 29 callers
Function
func_8008D438
src/bodyprog/water.c:30
↓ 29 callers
Function
func_800D826C
src/maps/map4_s03/map4_s03.c:984
↓ 28 callers
Function
Vc_VectorMagnitudeCalc
src/bodyprog/view/vc_main.c:2946
↓ 27 callers
Function
Event_CommonItemTake
src/bodyprog/events/events_util.c:1100
↓ 27 callers
Function
Game_FlashlightAttributesFix
src/bodyprog/gfx/map_effects.c:187
↓ 27 callers
Function
Player_ItemRemove
src/bodyprog/items/item_screens_2.c:1434
↓ 27 callers
Function
func_8005E7E0
src/bodyprog/gfx/bodyprog_effects_8005E0DC.c:329
↓ 26 callers
Function
Chara_AnimSet
@brief Sets the animation of a character. * * @param chara Character to set animation for. TODO: Maybe should take `s_ModelAnim` instead? If fits be
include/bodyprog/chara/chara.h:750
↓ 26 callers
Function
Collision_FlagBitsSet
src/bodyprog/collision/collision.c:43
↓ 26 callers
Function
func_80055D78
src/bodyprog/gfx/bodyprog_80055028.c:562
↓ 25 callers
Function
Sfx_WithPitchPlay
src/bodyprog/sound/sfx.c:215
next →
1–100 of 3,246, ranked by callers