MCPcopy Create free account

hub / github.com/Sezzary/SilentEngine / functions

Functions1,649 in github.com/Sezzary/SilentEngine

↓ 480 callersFunctionQ12
@brief Converts a floating-point value to Q19.12 fixed-point. * * @param x Value to convert (`float`). * @return `x` converted to Q19.1
Source/Math/FixedPoint.h:389
↓ 271 callersFunctionQ4
@brief Converts a floating-point value to Q27.4 fixed-point. * * @param x Value to convert. * @return `x` converted to Q27.4 fixed-poin
Source/Math/FixedPoint.h:319
↓ 152 callersFunctionQ8
@brief Converts a floating-point value to Q23.8 fixed-point. * * @param x Value to convert. * @return `x` converted to Q23.8 fixed-poin
Source/Math/FixedPoint.h:359
↓ 139 callersFunctionQ12_ANGLE
@brief Converts floating-point degrees to signed Q3.12 fixed-point, full rotation integer range `[0, 4096]`. * * This angle format is used i
Source/Math/FixedPoint.h:583
↓ 121 callersFunctionLog
Source/Debug/Debug.cpp:159
↓ 52 callersMethodIsHeld
Source/Input/Action.cpp:151
↓ 50 callersFunctionQ12_MULT
@brief Multiplies two integers in Q19.12 fixed-point. * * @param a First Q19.12 fixed-point factor. * @param b Second Q19.12 fixed-poin
Source/Math/FixedPoint.h:228
↓ 47 callersFunctionMath_MulFixed
Source/Math/Legacy.cpp:215
↓ 46 callersFunctionQ12_TO_Q8
@brief Converts a fixed-point value from Q19.12 to Q23.8. * * @param x Q19.12 fixed-point value to convert. * @return `x` converted to
Source/Math/FixedPoint.h:499
↓ 43 callersFunctionMath_Sin
Source/Math/Legacy.cpp:142
↓ 42 callersFunctionMath_Cos
Source/Math/Legacy.cpp:148
↓ 41 callersMethodIsClicked
Source/Input/Action.cpp:145
↓ 41 callersFunctionQ4_TO_Q12
@brief Converts a fixed-point value from Q27.4 to Q19.12. * * @param x Q27.4 fixed-point value to convert. * @return `x` converted to Q
Source/Math/FixedPoint.h:429
↓ 36 callersFunctionMath_Ratan2
Source/Math/Legacy.cpp:154
↓ 36 callersFunctionegetc
Source/Game/Bodyprog/LibSd/SmfMid.cpp:88
↓ 33 callersFunctionSysWork_StateStepIncrement
@brief Increments `sysStateStep` in `g_SysWork` for the next tick. * * @param stepIdx Index of the `sysStateStep` to increment. */
Source/Game/Game.h:510
↓ 32 callersFunctionGame_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: * -
Source/Game/Game.h:691
↓ 32 callersFunctionSD_Call
Source/Game/Bodyprog/Sound/SdCall.cpp:69
↓ 31 callersFunctionFind
Source/Utils/Utils.h:49
↓ 31 callersFunctionGfx_StringSetPosition
Source/Game/Bodyprog/Text/TextDraw.cpp:58
↓ 31 callersMethodReadUint32
Source/Utils/Stream.cpp:158
↓ 30 callersMethodReadUint8
Source/Utils/Stream.cpp:148
↓ 27 callersFunctionGfx_StringDraw
Source/Game/Bodyprog/Text/TextDraw.cpp:92
↓ 27 callersFunctionQ8_COLOR
@brief Converts a normalized floating-point color component in the range `[0.0f, 1.0f]` to Q0.8 fixed-point, * integer range `[0, 255]`. *
Source/Math/FixedPoint.h:558
↓ 26 callersFunctionEvent_ScreenFadeCmd
Source/Game/Bodyprog/Events/Utils.c:213
↓ 26 callersMethodReadInt8
Source/Utils/Stream.cpp:120
↓ 25 callersFunctionSysWork_StateSetNext
@brief Sets `sysState` in `g_SysWork` for the next tick. * * @param sysState System state to set. * @return New system state. */
Source/Game/Game.h:491
↓ 24 callersMethodgetOpcode
(self, opcode, instrument = None, group = None, region = None, default = None)
Tools/freepats-tools/sf2.py:147
↓ 23 callersFunctionGame_StateSetNext
@brief Sets the GameState to be used in the next game update. * Inlined into `stream` and `b_konami`. */
Source/Game/Game.h:630
↓ 23 callersFunctionToSpan
Source/Utils/Utils.h:202
↓ 22 callersMethodIsPulsed
Source/Input/Action.cpp:164
↓ 21 callersFunctionMath_AngleNormalize
@brief Normalizes Q19.12 fixed-point degrees, unsigned integer range `[0, 4096]` to the signed integer range * `[-2048, 2047]`. * Thin wrapp
Source/Math/Legacy.h:304
↓ 21 callersMethodToVector2
Source/Math/Objects/Vector2i.cpp:99
↓ 20 callersMethodSubmitDebugTriangle
Source/Renderer/Renderer.cpp:379
↓ 19 callersFunctionGame_StateStepIncrement
Source/Game/Bodyprog/GameBoot/GameLoad.cpp:65
↓ 19 callersFunctionVc_VectorMagnitudeCalc
Source/Game/Bodyprog/View/VcMain.cpp:2915
↓ 18 callersMethodSubmitDebugLine
Source/Renderer/Renderer.cpp:355
↓ 17 callersFunctionEvent_BgTextureCmd
Source/Game/Bodyprog/Events/Utils.c:302
↓ 17 callersFunctionMemCard_RamClear
Source/Game/Bodyprog/MemCard.cpp:91
↓ 16 callersFunctionFP_RADIAN
@brief Converts floating-point radians in the range `[-PI, PI]` to the fixed-point full rotation, * integer range `[0, 20480]`. * * Thi
Source/Math/FixedPoint.h:676
↓ 16 callersFunctionGfx_StringSetColor
Source/Game/Bodyprog/Text/TextDraw.cpp:87
↓ 16 callersFunctionQ12_MULT_PRECISE
@brief Multiplies two integers in Q19.12 fixed-point, using 64-bit intermediates for higher precision. * * @param a First Q19.12 fixed-point
Source/Math/FixedPoint.h:251
↓ 16 callersFunctionQ8_TO_Q12
@brief Converts a fixed-point value from Q23.8 to Q19.12. * * @param x Q23.8 fixed-point value to convert. * @return `x` converted to Q
Source/Math/FixedPoint.h:449
↓ 16 callersMethodReadUint16
Source/Utils/Stream.cpp:153
↓ 15 callersMethodReadInt16
Source/Utils/Stream.cpp:127
↓ 15 callersMethodSetPosition
Source/Utils/Stream.cpp:60
↓ 14 callersFunctionAssert
Source/Debug/Debug.cpp:219
↓ 13 callersFunctionFP_TO
@brief Converts an integer to a fixed-point Q format. * * @note Deprecated. * * @param x Integer to convert. * @param shift F
Source/Math/FixedPoint.h:25
↓ 13 callersMethodSkip
Source/Utils/Stream.cpp:90
↓ 12 callersFunctionFs_QueueWaitForEmpty
Source/Game/Main/FsQueue.cpp:53
↓ 12 callersMethodIsOpen
Source/Utils/Stream.cpp:74
↓ 12 callersFunctionSd_TaskPoolAdd
Source/Game/Bodyprog/Sound/SdCall.cpp:1144
↓ 11 callersMethodBind
Source/Renderer/Backends/SdlGpu/Resources/Buffer.h:191
↓ 11 callersFunctionDEG_TO_RAD
@brief Converts degrees to radians. * * @param deg Angle in degrees to covnert. * @return Angle converted to radians. */
Source/Math/Constants.h:269
↓ 11 callersFunctionEvent_SysStateStepIncrement
Source/Game/Bodyprog/Events/Utils.c:53
↓ 11 callersFunctionSd_GetVolSe
Source/Game/Bodyprog/Sound/SdCall.cpp:1135
↓ 11 callersFunctionTO_FIXED
@brief Converts a float to a fixed-point Q format. * * @param x Floating-point value to convert. * @param shift Fixed-point shift.
Source/Math/FixedPoint.h:36
↓ 11 callersMethodconvertNumberF
(self, numS, minVal, maxVal)
Tools/freepats-tools/sfz.py:374
↓ 11 callersFunctionmidi_smf_main
TODO: goto jumps below which I'm not sure how to remove yet, maybe code actually included them.
Source/Game/Bodyprog/LibSd/SmfMid.cpp:853
↓ 10 callersFunctionCheckPage
Source/Debug/Debug.cpp:26
↓ 10 callersFunctionFP_FROM
@brief Converts an integer from a fixed-point Q format. * * @param x Integer to convert. * @param shift Fixed-point shift. * @retu
Source/Math/FixedPoint.h:47
↓ 10 callersFunctionQ6_TO_FLT
@brief Converts Q25.6 fixed-point value to floating-point. * * @param x Q25.6 fixedd-point value to convert. * @return `x` converted to
Source/Math/FixedPoint.h:349
↓ 10 callersMethodToRotationMatrix
Source/Math/Objects/AxisAngle.cpp:84
↓ 9 callersFunctionConvertScreenPercentToNdc
Source/Renderer/Common/Utils.cpp:145
↓ 9 callersFunctionCreateSprite2d
Source/Renderer/Common/Resources/Scene/Sprite2d.cpp:119
↓ 9 callersFunctionFP_MULTIPLY
@brief Multiplies two integers in a fixed-point Q format. * * @param a First fixed-point factor. * @param b Second fixed-point factor.
Source/Math/FixedPoint.h:114
↓ 9 callersFunctionFP_TO_FLT
@brief Converts an integer from a fixed-point Q format to floating-point. * * @param x Fixed-point value to convert. * @param shift Fix
Source/Math/FixedPoint.h:58
↓ 9 callersFunctionQ12_TO_Q6
@brief Converts a fixed-point value from Q19.12 to Q25.6. * * @param x Q19.12 fixed-point value to convert. * @return `x` converted to
Source/Math/FixedPoint.h:489
↓ 9 callersMethodRead
Source/Utils/Stream.cpp:96
↓ 9 callersFunctionSd_TaskPoolUpdate
Source/Game/Bodyprog/Sound/SdCall.cpp:1194
↓ 9 callersMethodSubmitSprite2d
Source/Renderer/Renderer.cpp:155
↓ 9 callersMethodconvertNumberI
(self, numS, minVal, maxVal)
Tools/freepats-tools/sfz.py:365
↓ 9 callersMethodgetOpcode
(self, opcode, instrument = None, group = None, region = None, default = None)
Tools/freepats-tools/sfz.py:199
↓ 9 callersFunctionrr_off
Source/Game/Bodyprog/LibSd/SmfIo.cpp:825
↓ 8 callersFunctionDemo_DemoRandSeedRestore
Source/Game/Bodyprog/Demo.cpp:284
↓ 8 callersFunctionGetLookupIdx
Source/Utils/Utils.h:181
↓ 8 callersMethodGetSize
Source/Utils/Bitfield.cpp:68
↓ 8 callersMethodGetSurfaceArea
Source/Math/Objects/BoundingSphere.cpp:42
↓ 8 callersMethodLoad
Source/Services/Options.cpp:187
↓ 8 callersFunctionMemCard_FilenameGenerate
Source/Game/Bodyprog/MemCard.cpp:1174
↓ 8 callersFunctionMemCard_StateResult
Source/Game/Bodyprog/MemCard.cpp:1355
↓ 8 callersFunctionMemCard_WorkSet
Source/Game/Bodyprog/MemCard.cpp:1360
↓ 8 callersFunctionOptions_Selection_ArrowDraw
Source/Game/Screens/Options/SelectionGraphics.cpp:39
↓ 8 callersFunctionOptions_Selection_BulletPointDraw
Source/Game/Screens/Options/SelectionGraphics.cpp:120
↓ 8 callersFunctionQ12_ANGLE_FROM_Q8
@brief Converts an unsigned Q0.8 fixed-point angle, full rotation integer range `[0, 255]` to * unsigned Q3.12 fixed-point, full rotation integer
Source/Math/FixedPoint.h:629
↓ 8 callersFunctionQ12_ANGLE_FROM_RAD
@brief Converts floating-point radians to fixed-point degrees in Q3.12 format. * * @param rad Angle in radians. * @return Unsigned Q3.1
Source/Math/FixedPoint.h:593
↓ 8 callersFunctionQ12_TO_Q4
@brief Converts a fixed-point value from Q19.12 to Q27.4. * * @param x Q19.12 fixed-point value to convert. * @return `x` converted to
Source/Math/FixedPoint.h:479
↓ 8 callersFunctionSEC_TO_TICK
@brief Converts seconds to ticks. * * @param sec Seconds to convert. * @return Seconds converted to ticks. */
Source/Services/Clock.h:95
↓ 8 callersFunctionSavegame_EventFlagSetAlt
@brief Sets an event flag state in the savegame event flags array. * * @note Some map event code only seems to work with this inline version
Source/Game/Bodyprog/Savegame.h:152
↓ 8 callersFunctionScreen_Init
Source/Game/Bodyprog/Screen/ScreenDraw.cpp:22
↓ 8 callersMethodTranslate
Source/Math/Objects/Matrix.cpp:78
↓ 8 callersFunctionadsr_set
Source/Game/Bodyprog/LibSd/SmfIo.cpp:815
↓ 8 callersFunctionvcCamMatNoise
Source/Game/Bodyprog/View/VcMain.cpp:2905
↓ 7 callersFunctionFs_QueueChunksLoad
Source/Game/Main/FsQueue.cpp:38
↓ 7 callersFunctionFs_QueueGetLength
Source/Game/Main/FsQueue.cpp:31
↓ 7 callersMethodGetAsset
Source/Assets/AssetStreamer.cpp:94
↓ 7 callersMethodIntersects
Source/Math/Objects/Ray.cpp:13
↓ 7 callersMethodIsLeaf
Source/Utils/BoundingVolumeHierarchy.cpp:8
↓ 7 callersMethodLength
Source/Math/Objects/Vector2.cpp:15
↓ 7 callersFunctionQ12_CLAMPED
@brief Converts a floating-point value to clamped Q19.12 fixed-point. * * @param x Value to convert. * @return `x` converted to clamped
Source/Math/FixedPoint.h:399
next →1–100 of 1,649, ranked by callers