Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why not make a “lite” version of Allegro? I don need any of the sound, maths, or GUI routines…

0
Posted

Why not make a “lite” version of Allegro? I don need any of the sound, maths, or GUI routines…

0

There is no need. The linker will only include the parts of the library that you actually use, so if you don’t call any of, say, the texture mapping or FLIC playing functions, they will be left out of your executable. This doesn’t work perfectly because a lot of the Allegro code uses tables of function pointers that cause some unnecessary routines to be linked in, so the majority of the graphics functions will be included in every executable, but I have tried to keep this to a minimum. See allegro.txt for information about more precise ways to remove some of the graphics and sound drivers.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.