3
« on: November 07, 2007, 02:12:56 pm »
did you know that you can get similiar, and sometimes better compression if you use tga files and compress them using b2zip library?
i store all my textures in tga and put them in a bz2 compressed archive.
bzip2 is completely ansi-c and can be easily compiled and statically linked. i even managed to throw all bzip2 c files into one singe c-file, so i only need to add that single c-file to my project.
about openAL. you can make a static linkable version of that one, too. you will loose native hardware acceleration, though. but if you are fine with openAL generic software and hardware modes, you can just link it statically (with some minor modifications to the source code)
about less image formats: strong vote for NO EXTERNAL DEPENDENCIES!!! if possible.
and memory loading is an absolute must have! i load all stuff from a compressed archive, and do not want to be forced to first write stuff to harddisk to be able to load it. everything in SFML should be also loadable from a memory location. very important!!
i have looked into the stb_image.c source - it allows loading from memory. but it has an ugly c interface. so combining stb_image with SFML sounds like the perfect idea!! cant wait to see a new SFML released!
p.s. really nice project. i love the simplicity of the network stuff. its so nice that i now finally think i will try out to add networking to my little game.