Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Version function  (Read 1171 times)

0 Members and 2 Guests are viewing this topic.

KZ

  • Newbie
  • *
  • Posts: 2
    • View Profile
Version function
« on: September 20, 2012, 12:17:28 pm »
Hi!

Great job, this library.
I use it and I make the library version appear in the 'About' sections of my softwares.

But I am a bit lazy and I did not find any function that returns the version of the SFML lib used.

Does it exist?
Otherwise, is it planned to implement one in the future versions of SFML libs? (it could be a good idea)

Thanks.
KZ.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11032
    • View Profile
    • development blog
    • Email
Re: Version function
« Reply #1 on: September 20, 2012, 12:22:18 pm »
Yes SFML_VERSION_MAJOR and SFML_VERSION_MINOR see here.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

KZ

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Version function
« Reply #2 on: September 20, 2012, 12:27:45 pm »
Sorry I didn't find it.
I really searched for it, though.

Thanks a lot!
KZ

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
Re: Version function
« Reply #3 on: September 20, 2012, 12:47:53 pm »
I don't know whether the macros are mentioned anywhere in the documentation or the tutorials, so you actually already have to know it ;)
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development: