Hello Everyone,
First off, kind of funny thing. I’m guessing Sam’s middle inital is D… so
with SDL, he worked out a name to work with his initals. Am I right?
Anyway, on to the real question. While not trying to start a Micro VS
Monolithic flame. I’m curious as to if with SDL 1.3, there are plans to make it
more modular, making some of the “non-essential” functions in their own library?
(eg. SDL_Joystick, SDL_CDRom etc.) Probably not a big deal. Some of the
projects I work on, the executables are under 50k, but then even a non-debug SDL
library, I’m looking at ~450k. Some of the programs I do are simply for image
manipulation. When I do a custom build, I can get SDL down close to 150k.
Then again, size isn’t that important.
My other question is, is there any way to change a library, (say SDL_image) so
that it can run without it, it just cannot load PNGs/JPGs/ETCs. So, some way to
check during run time if it is there, if not, then the IMG_Load is a function
pointer that will point at SDL_LoadBMP. And if something other than a BMP is
attempted to be loaded, it fails with an error?
Is what I’m talking about possible? If I’m the only one asking for it, then
forget it, it’s really not that big of a deal.