CSFML icon indicating copy to clipboard operation
CSFML copied to clipboard

CSFML v3 missing functionalities

Open Marioalexsan opened this issue 1 year ago • 0 comments

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

Marioalexsan avatar Sep 12 '24 22:09 Marioalexsan