-
Notifications
You must be signed in to change notification settings - Fork 4
Home
Manuel edited this page Jul 2, 2024
·
16 revisions
Welcome to the ASFML wiki!
Available resources:
- API documentation for ASFML.
- Tutorials for SFML (C++) or CSFML (C) are useful. Applicability to Ada is usually straightforward.
Build the SFML and CSFML and use it through the ASFML in Ada (Linux) by HonkiTonk
Feel free to add yours!
- 16 Games
- Play 2048
- pygamer-simulator
- lvgl-ada-simulator
- Honki Tonk's Zivilisationen
- BingAda (only for sound)
- Quiza (archived)
- qva
- VcAdaSfmlTetris
- Spaceport (unfinished)
Steps to update to a new CSFML release:
- Install the new CSFML release.
- Change current directory to
include/generated
. - Run
make CSFML_PREFIX=/your/path/to/CSFML check
, in order to get the list of new symbols to import. - Read the release notes for SFML and CSFML to get an idea of API changes.
- Compare the two tags (current bound release and new release) to see differences in header files, for example: https://github.com/SFML/CSFML/compare/2.5.2...2.6.0
- Run
make CSFML_PREFIX=/your/path/to/CSFML generate
to get the automatically generated specifications. - Merge generated specifications with current ones and edit accordingly.
- Update tests if needed.
- Repeat until
make check
says everything is updated and compile and run tests. - Update version numbers in
include/sf.ads
- Regenerate documentation and update
README.md
. - Make new release in GitHub and in Alire.