I've been trying to build Rocks'n'Diamonds on MacOS X (intel).
Well, I actually built it with "make mac" and having installed the SDL libraries required with darwinports.
The problem is: the program is horribly slow. If there's much graphical action (such as displaying the graphics/sounds loaded at startup or magic walls) I can watch every block on the field being updated seperately.
The strange thing is: If I use the pre-built (PowerPc) binary from artsoft.org it's much faster (though still slower than it should be).
Strange. I wouldn't have expected this on an intel Mac...
> The strange thing is: If I use the pre-built (PowerPc) binary from
> artsoft.org it's much faster (though still slower than it should be).
Even stranger, as it has to be emulated... :-o
> In full-screen mode everything runs fine.
That's something I have observed on my iBook, too: Incredibly slow on the desktop (windowed mode), acceptably fast in fullscreen mode. But then, this iBook has only 500 MHz and non-accelerated graphics...
> So: How do I build a fast version for MacOS X?
Unfortunately, I have no idea.
I suspect this having something to do with the SDL libraries -- have you natively build them? But even then it might be possible that they simply need some special treatment to run well on intel Macs. (As the pre-build binary works better, I indeed think that it has something to do with the SDL libraries -- but still it's strange...)
> Have you tried to link the SDL libraries static with the executable?