Skip to content

CSFML v3 missing functionalities #331

Closed
@Marioalexsan

Description

@Marioalexsan

Noticed a few functionalities / methods are still missing in CSFML v3, so I'm making this list to track things that might need to be added.

  • Listener Implement new audio functions #349
    • void sfListener_setVelocity(sfVector3f* velocity)
    • sfVector3f sfListener_getVelocity(void)
    • void sfListener_setCone(sfListenerCone* velocity)
    • sfListenerCone sfListener_getCone(void)
  • Music Implement new audio functions #349
    • sfSoundChannel* sfMusic_getChannelMap(sfMusic* music, size_t* count)
    • void sfMusic_setEffectProcessor(sfMusic* music, sfEffectProcessor processor)
    • void sfMusic_setPan(sfMusic* music, float pan)
    • void sfMusic_setSpatializationEnabled(sfMusic* music, bool enabled)
    • void sfMusic_setDirection(sfMusic* music, sfVector3f direction)
    • void sfMusic_setCone(sfMusic* music, sfCone cone)
    • void sfMusic_setVelocity(sfMusic* music, sfVector3f velocity)
    • void sfMusic_setDopplerFactor(sfMusic* music, float factor)
    • void sfMusic_setDirectionalAttenuationFactor(sfMusic* music, float factor)
    • void sfMusic_setMaxDistance(sfMusic* music, float distance)
    • void sfMusic_setMinGain(sfMusic* music, float gain)
    • void sfMusic_setMaxGain(sfMusic* music, float gain)
    • float sfMusic_getPan(sfMusic* music)
    • bool sfMusic_isSpatializationEnabled(sfMusic* music)
    • sfVector3f sfMusic_getDirection(sfMusic* music)
    • sfCone sfMusic_getCone(sfMusic* music)
    • sfVector3f sfMusic_getVelocity(sfMusic* music)
    • float sfMusic_getDopplerFactor(sfMusic* music)
    • float sfMusic_getDirectionalAttenuationFactor(sfMusic* music)
    • float sfMusic_getMaxDistance(sfMusic* music)
    • float sfMusic_getMinGain(sfMusic* music)
    • float sfMusic_getMaxGain(sfMusic* music)
  • Sound Implement new audio functions #349
    • void sfSound_setEffectProcessor(sfSound* sound, sfEffectProcessor processor)
    • void sfSound_setPan(sfSound* sound, float pan)
    • void sfSound_setSpatializationEnabled(sfSound* sound, bool enabled)
    • void sfSound_setDirection(sfSound* sound, sfVector3f direction)
    • void sfSound_setCone(sfSound* sound, sfCone cone)
    • void sfSound_setVelocity(sfSound* sound, sfVector3f velocity)
    • void sfSound_setDopplerFactor(sfSound* sound, float factor)
    • void sfSound_setDirectionalAttenuationFactor(sfSound* sound, float factor)
    • void sfSound_setMaxDistance(sfSound* sound, float distance)
    • void sfSound_setMinGain(sfSound* sound, float gain)
    • void sfSound_setMaxGain(sfSound* sound, float gain)
    • float sfSound_getPan(sfSound* sound)
    • bool sfSound_isSpatializationEnabled(sfSound* sound)
    • sfVector3f sfSound_getDirection(sfSound* sound)
    • sfCone sfSound_getCone(sfSound* sound)
    • sfVector3f sfSound_getVelocity(sfSound* sound)
    • float sfSound_getDopplerFactor(sfSound* sound)
    • float sfSound_getDirectionalAttenuationFactor(sfSound* sound)
    • float sfSound_getMaxDistance(sfSound* sound)
    • float sfSound_getMinGain(sfSound* sound)
    • float sfSound_getMaxGain(sfSound* sound)
  • SoundBuffer Implement new audio functions #349
    • sfSoundChannel* sfSoundBuffer_getChannelMap(sfSound* sound, size_t* count)
  • SoundRecorder Implement new audio functions #349
    • sfSoundChannel* sfSoundRecorder_getChannelMap(sfSoundRecorder* recorder, size_t* count)
  • SoundStream Implement new audio functions #349
    • void sfSoundStream_setEffectProcessor(sfSoundStream* stream, sfEffectProcessor processor)
    • sfSoundChannel* sfSoundStream_getChannelMap(sfSoundStream* stream, size_t* count)
    • void sfSoundStream_setPan(sfSoundStream* stream, float pan)
    • void sfSoundStream_setSpatializationEnabled(sfSoundStream* stream, bool enabled)
    • void sfSoundStream_setDirection(sfSoundStream* stream, sfVector3f direction)
    • void sfSoundStream_setCone(sfSoundStream* stream, sfCone cone)
    • void sfSoundStream_setVelocity(sfSoundStream* stream, sfVector3f velocity)
    • void sfSoundStream_setDopplerFactor(sfSoundStream* stream, float factor)
    • void sfSoundStream_setDirectionalAttenuationFactor(sfSoundStream* stream, float factor)
    • void sfSoundStream_setMaxDistance(sfSoundStream* stream, float distance)
    • void sfSoundStream_setMinGain(sfSoundStream* stream, float gain)
    • void sfSoundStream_setMaxGain(sfSoundStream* stream, float gain)
    • float sfSoundStream_getPan(sfSoundStream* stream)
    • bool sfSoundStream_isSpatializationEnabled(sfSoundStream* stream)
    • sfVector3f sfSoundStream_getDirection(sfSoundStream* stream)
    • sfCone sfSoundStream_getCone(sfSoundStream* stream)
    • sfVector3f sfSoundStream_getVelocity(sfSoundStream* stream)
    • float sfSoundStream_getDopplerFactor(sfSoundStream* stream)
    • float sfSoundStream_getDirectionalAttenuationFactor(sfSoundStream* stream)
    • float sfSoundStream_getMaxDistance(sfSoundStream* stream)
    • float sfSoundStream_getMinGain(sfSoundStream* stream)
    • float sfSoundStream_getMaxGain(sfSoundStream* stream)
  • CircleShape
  • ConvexShape
  • RectangleShape
  • RenderTexture Implement new graphics, system and window functions #350
    • sfIntRect sfRenderTexture_getScissor(sfRenderTexture* texture, sfView* view)
    • void sfRenderTexture_clearStencil(sfRenderTexture* texture, sfStencilValue stencilValue)
    • void sfRenderTexture_clearColorAndStencil(sfRenderTexture* texture, sfColor color, sfStencilValue stencilValue)
  • RenderWindow Implement new graphics, system and window functions #350
    • sfIntRect sfRenderWindow_getScissor(sfRenderWindow* window, sfView* view)
    • void sfRenderWindow_clearStencil(sfRenderWindow* window, sfStencilValue stencilValue)
    • void sfRenderWindow_clearColorAndStencil(sfRenderWindow* window, sfColor color, sfStencilValue stencilValue)
    • bool sfRenderWindow_waitEvent(sfRenderWindow* window, sfEvent* event) -> bool sfRenderWindow_waitEvent(sfRenderWindow* renderWindow, sfTime timeout, sfEvent* event)
  • Shape
  • Texture Implement new graphics, system and window functions #350
    • IntPtr sfTexture_createSrgb(sfVector2u size) (missing overload?)
  • View Implement new graphics, system and window functions #350
    • void sfView_setScissor(sfView* view, sfFloatRect scissor)
    • sfFloatRect sfView_getScissor(sfView* view)
  • Clock Implement new sf::Clock functions #346
    • bool sfClock_isRunning(sfClock* clock)
    • void sfClock_start(sfClock* clock)
    • void sfClock_stop(sfClock* clock)
    • sfTime sfClock_reset(sfClock* clock)
  • Event Implement new graphics, system and window functions #350
    • Raw mouse move event data (sfEvtMouseMovedRaw) + raw mouse move event enumeration
    • Event struct changes (usage of sfVector2i, sfVector2u, sfVector3f, etc.)
  • Keyboard Update enumerations to match SFML 3 #354
    • sfScancodeCount / sfKeyCount should be extracted outside of the enum into a variable (similar to SFML)
  • Mouse Update enumerations to match SFML 3 #354
    • sfMouseButtonCount should be extracted outside of the enum into a variable (similar to SFML)
    • sfMouseXButton1 -> sfMouseExtra1
    • sfMouseXButton2 -> sfMouseExtra2
  • Sensor Update enumerations to match SFML 3 #354
    • sfSensorCount should be extracted outside of the enum into a variable (similar to SFML)
  • Window Implement new graphics, system and window functions #350
    • bool sfWindowBase_waitEvent(sfWindowBase* window, sfEvent* event) -> bool sfWindowBase_waitEvent(sfWindowBase* window, sfTime timeout, sfEvent* event)
  • WindowBase Implement new graphics, system and window functions #350
    • bool sfWindow_waitEvent(sfWindow* window, sfEvent* event) -> bool sfWindow_waitEvent(sfWindow* window, sfTime timeout, sfEvent* event)
  • Network module

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions