Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSFML v3 missing functionalities #331

Open
98 tasks
Marioalexsan opened this issue Sep 12, 2024 · 0 comments
Open
98 tasks

CSFML v3 missing functionalities #331

Marioalexsan opened this issue Sep 12, 2024 · 0 comments
Labels
Milestone

Comments

@Marioalexsan
Copy link
Member

Marioalexsan commented Sep 12, 2024

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
    • void sfListener_setVelocity(Vector3f* velocity)
    • Vector3f sfListener_getVelocity(void)
    • void sfListener_setCone(sfListenerCone* velocity)
    • sfListenerCone sfListener_getCone(void)
  • Music
    • SoundChannel* 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
    • 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
    • sfSoundChannel* sfSoundBuffer_getChannelMap(sfSound* sound, size_t* count)
  • SoundRecorder
    • sfSoundChannel* sfSoundRecorder_getChannelMap(sfSoundRecorder* recorder, size_t* count)
  • SoundStream
    • 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
    • sfVector2f sfCircleShape_getGeometricCenter(sfCircleShape* shape)
  • ConvexShape
    • sfVector2f sfConvexShape_getGeometricCenter(sfConvexShape* shape)
  • RectangleShape
    • sfVector2f sfRectangleShape_getGeometricCenter(sfRectangleShape* shape)
  • RenderTexture
    • sfIntRect sfRenderTexture_getScissor(sfRenderTexture* texture, sfView* view)
    • void sfRenderTexture_clearStencil(sfRenderTexture* texture, sfStencilValue stencilValue)
    • void sfRenderTexture_clearColorAndStencil(sfRenderTexture* texture, sfColor color, sfStencilValue stencilValue)
  • RenderWindow
    • 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
    • sfVector2f sfShape_getGeometricCenter(sfShape* shape)
  • Texture
    • IntPtr sfTexture_createSrgb(Vector2u size) (missing overload?)
  • View
    • void sfView_setScissor(sfView* view, sfFloatRect scissor)
    • sfFloatRect sfView_getScissor(sfView* view)
  • Clock
    • bool sfClock_isRunning(sfClock* clock)
    • void sfClock_start(sfClock* clock)
    • void sfClock_stop(sfClock* clock)
    • sfTime sfClock_reset(sfClock* clock)
  • Event
    • Raw mouse move event data (sfEvtMouseMovedRaw) + raw mouse move event enumeration
    • Event struct changes (usage of sfVector2i, sfVector2u, sfVector3f, etc.)
  • Keyboard
    • sfScancodeCount / sfKeyCount should be extracted outside of the enum into a variable (similar to SFML)
  • Mouse
    • sfMouseButtonCount should be extracted outside of the enum into a variable (similar to SFML)
    • sfMouseXButton1 -> sfMouseExtra1
    • sfMouseXButton2 -> sfMouseExtra2
  • Sensor
    • sfSensorCount should be extracted outside of the enum into a variable (similar to SFML)
  • Window
    • bool sfWindowBase_waitEvent(sfWindowBase* window, sfEvent* event) -> bool sfWindowBase_waitEvent(sfWindowBase* window, sfTime timeout, sfEvent* event)
  • WindowBase
    • bool sfWindow_waitEvent(sfWindow* window, sfEvent* event) -> bool sfWindow_waitEvent(sfWindow* window, sfTime timeout, sfEvent* event)
@eXpl0it3r eXpl0it3r added this to the 3.0 milestone Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants