Re: [Pingus-Devel] MacOS X Compiling

2011-11-29 Thread Josh Dye
 On 28 November 2011 23:41, Josh Dye josh.jpeng...@gmail.com wrote:
 Interesting, now it at least load the level, but many thing are not drawn; 
 here is a scrennie from Entering the pyramid
 
 Judging from the screenshot it looks like indexed images with colorkey
 are loaded as RGBA images or maybe RGB with colorkey, which Pingus
 currently doesn't handle. Guess I have to write some code to fix that.
They do seem to load in the editor, I tried to us ImageMagik to convert all the 
PNGs to 16-depth; that silenced the error, but they still didn't load.  So I 
redownloaded the images from GIT; and took a screenie of the same level in the 
editor
http://www.mediafire.com/?ko1f37g2rjgy5ak
 
 Please add me as a member on GoogleCode, so I can create a wiki page there
 josh.jpeng...@gmail.com
 
 Done.
Thans :-)
___
Pingus-Devel mailing list
Pingus-Devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/pingus-devel


Re: [Pingus-Devel] MacOS X Compiling

2011-11-28 Thread Ingo Ruhnke
On 28 November 2011 20:20, Joshua M Dye jpeng...@gmx.us wrote:
 So I compiled and installed GCC 4/6/2  scons detects everything now; but 
 when I try to start a level-

 Pingus 0.7.5
 Pingus: Standard exception caught!:
 e has wrong color depth:

 GIT Version
 Pingus: Standard exception caught!:
 GroundMap::put_alpha_surface(): SpotMap::put_alpha_surface: Image has wrong 
 color depth:

Added a quick workaround to turn that exception into an
non-terminating error message.

-- 
Blog:     http://grumbel.blogspot.com/
JabberID: xmpp:grum...@jabber.org
ICQ:      59461927

___
Pingus-Devel mailing list
Pingus-Devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/pingus-devel


Re: [Pingus-Devel] MacOS X Compiling

2011-11-28 Thread Ingo Ruhnke
On 28 November 2011 23:41, Josh Dye josh.jpeng...@gmail.com wrote:
 Interesting, now it at least load the level, but many thing are not drawn; 
 here is a scrennie from Entering the pyramid

Judging from the screenshot it looks like indexed images with colorkey
are loaded as RGBA images or maybe RGB with colorkey, which Pingus
currently doesn't handle. Guess I have to write some code to fix that.

 Please add me as a member on GoogleCode, so I can create a wiki page there
 josh.jpeng...@gmail.com

Done.

-- 
Blog:     http://grumbel.blogspot.com/
JabberID: xmpp:grum...@jabber.org
ICQ:      59461927

___
Pingus-Devel mailing list
Pingus-Devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/pingus-devel


Re: [Pingus-Devel] MacOS X Compiling

2011-11-25 Thread Ingo Ruhnke
On 26 November 2011 01:04, Josh Dye josh.jpeng...@gmail.com wrote:
 In file included from src/blitter.cpp:31:
 src/blitter_impl.hpp: In function 'Surface BlitterImpl::modify(Surface, 
 const TransF)':
 src/blitter_impl.hpp:176: error: 'struct SDL_PixelFormat' has no member 
 named 'colorkey'
 src/blitter.cpp: In static member function 'static SDL_Surface* 
 Blitter::scale_surface(SDL_Surface*, int, int)':
 src/blitter.cpp:65: error: 'struct SDL_PixelFormat' has no member named 
 'colorkey'
 src/blitter.cpp: In static member function 'static SDL_Surface* 
 Blitter::create_surface_from_format(SDL_Surface*, int, int)':
 src/blitter.cpp:251: error: 'struct SDL_PixelFormat' has no member named 
 'alpha'
 src/blitter.cpp:258: error: 'struct SDL_PixelFormat' has no member named 
 'colorkey'
 scons: *** [src/blitter.o] Error 1
 scons: building terminated because of errors.

 I'm suree it's becaus I'm use a HG release of SDL 1.3.0

Yes, that's because of 1.3, Pingus still uses SDL 1.2.

-- 
Blog:     http://grumbel.blogspot.com/
JabberID: xmpp:grum...@jabber.org
ICQ:      59461927

___
Pingus-Devel mailing list
Pingus-Devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/pingus-devel