1
General discussions / SFML 2.0 Mac OSX in App Bundle
« on: June 19, 2011, 06:29:19 pm »
I just noticed I misread your posts, I thought you were adding the function to OSX SFML, not to a pregenerated source file. I'd prefer the former.
As for the convincing part, my arguments still stay the same:
* There are no good fire-and-forget (or include-and-link-to in this case) solutions for this problem, apart from libraries doing magic without asking you (like SFML did).
* I often read the argument of high or low level here, but isn't the task finding out what will be the most needed/used functions and supplying them instead of clamoring to some arbitrary measure of leveled-ness?
[/list]
I hope I don't sound too harsh, or else I'm sorry. I just had the questionable pleasure of working with SFML without those functions and spend days getting all of this working and compiling, and I don't get why everyone will have to suffer through the same.
And lastly, what about people starting development on Linux and wanting to port their application to OS X? Instead of cross-compiling, they will have to get the necessary functions from the XCode templates and somehow stitch it all together.
I admire the work you do here, but this a decision I just don't get. Especially since the cost of providing the functions are so much less for SFML than for SFML-using applications.
OK, rant done. ;-)
As for the convincing part, my arguments still stay the same:
- * You definitely need GetResourceDirectory() if you want to deploy on OS X and use any kind of data file, and and GetWriteableDirectory() if you want to save anything to the hard disk. It is similar for Windows and Linux if you want your application to be a good citizen on those platforms.
* There are default locations for both on all major platforms.
* Getting their values "the right way" requires platform specific code, and in the case of OS X even the use of another language (assuming most SFML users write C++).
* When you use SFML for what (I again assume) is the most common project, something game-like or at least an application that does its drawing itself and doesn't need a OS-supported menu bar, you don't need any platform specific code for the entire application and still got every kind of functionality (graphics, sound, input, networking, file access) at your disposal,
* There are no good fire-and-forget (or include-and-link-to in this case) solutions for this problem, apart from libraries doing magic without asking you (like SFML did).
* I often read the argument of high or low level here, but isn't the task finding out what will be the most needed/used functions and supplying them instead of clamoring to some arbitrary measure of leveled-ness?
[/list]
I hope I don't sound too harsh, or else I'm sorry. I just had the questionable pleasure of working with SFML without those functions and spend days getting all of this working and compiling, and I don't get why everyone will have to suffer through the same.
And lastly, what about people starting development on Linux and wanting to port their application to OS X? Instead of cross-compiling, they will have to get the necessary functions from the XCode templates and somehow stitch it all together.
I admire the work you do here, but this a decision I just don't get. Especially since the cost of providing the functions are so much less for SFML than for SFML-using applications.
OK, rant done. ;-)