Hey,
SDL_image 1.2.8 changes the loading backend to use native Mac APIs. So
there could very well be a new bug.
As Dominus stated, other project have similar issue and do not use
SDL_image, so the bug itself may be in SDL.
Can you provide more information? The final release date is coming up
fast, so we need to hurry up and fix this.
Whats the rush? Releasing with a bug like this could be very damaging
for games on the mac.
When you say it works on Leopard, what works, 1.2.8? If the same 1.2.8
framework works differently on Snow Leopard vs Leopard, this is a
different bug than if there is a difference between 1.2.7 and 1.2.8.
Leopard + SDL 1.2.13 + SDL_image 1.2.7 = works
Snow Leopard + SDL 1.2.13 (with patch) + SDL_image 1.2.7 = doesn’t work
Snow Leopard + SDL 1.2.13 (with patch) + SDL_image 1.2.8 = doesn’t work
Snow Leopard + SDL 1.2.14 pre-release + SDL_image 1.2.7 = doesn’t work
Snow Leopard + SDL 1.2.14 pre-release + SDL_image 1.2.8 = doesn’t work
Can you describe what the problem is specifically? I don’t know what
your image is supposed to look like.
Good: http://globulation2.org/wiki/Image:Beta2_AttackingEnemy.jpg
Good: http://globulation2.org/wiki/Image:Beta2_BuildingCamp.jpg
Bad: http://screencast.com/t/WD8SLtkF1x
In the bad version. the menu on the right and the top stats bar which
are normal transparent black shade are blue background. The black
undiscovered areas, which are normally solid black, are now solid
blue. The blackish fog out when an area is out of view of
buildings/units is now a transparent blue instead of black. Also
notice that all units and buildings, where normally pink, are orange.
The bar above the main building (Swarm) should have white dots, the
bar to its left should have yellow dots, the bar below it should have
green dots. All three bars are blue. The small pink areas over the
resources called wheat are actually meant to be red.
There are quite a few other issues throughout the game menus and other screens.
Is there a simple reproducible test image file that reproduces this
problem in the showimage test program that comes with the SDL_image
source? Producing this would go a long way in helping diagnose the
problem.
Unfortunately not. I’m not a developer, only know enough c++ to read
whats happening, not write it.
I emailed one of the devs of the game, who said that, given the built
in graphics lib we use (called libgag -
http://hg.globulation2.org/glob2-new/file/default/libgag ) it won’t be
trivial to find the exact code causing the issue.
From the sounds of it though, there are other apps with similar issues.
Regards
Kieran