GTL Update : PhysFS Support

posted in Not dead...
Published September 05, 2005
Advertisement
After a slightly busy week and my PSU going south on Saturday I've finally managed to make a start on intergrating PhysFS support into GTL.

However, I'm a bit... iffy... with regards to my current method of doing it. I tried using it as an external library which I included into the lib however this causes conflicts with my test application, so currently GTL includes the PhysFS files as well.

While this does work and end users can use PhysFS without needing the PhysFS library installed it does couple them alot. So, I'll be intrested in peoples opinions on this (if I dont get many here I'll start a thread in Alt. Libs. sooner or later about it), should I keep PhysFS compiled into the library or work out how to seperate it out?

I also found what appears to be a nice bug in the developement build of PhysFS, it wont infact compile on Windows/VS.Net03 as it doesnt include malloc.h, meaning _alloca() isnt defined for useage and fails to compile. I've fixed this for now by just including the file in the files which require access to _alloca()

Right now everything compiles however my simple test failed to work, so I'm going to have todo some debugging on my PhysFSDevice code (I suspect the problem is with seeking, but I need to confirm this).
0 likes 2 comments

Comments

rick_appleton
I'd most certainly try and separate it out. Not only is that 'nicer' for the users of your library, but imagine the fun if they are already using PhysFS in their project (in an entirely different path).
September 05, 2005 03:32 PM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement

Latest Entries

Advertisement