Hi,
I've been working on porting a particular game (a roguelike called
ivan )to mac os x. With some research, I was able to get it to compile for mac os x, but there were some issues with the compiled game. One of them is an endian issue that is beyond the scope of this post so I will get into the two errors that I think are sdl-related (and probably simple to fix):
1. 'delete' key on keyboard doesn't delete, but adds garbage characters. I can use control-H to delete inserted text. I've found the code where input is handled, just need to know how to remap the key.
2. when in fullscreen mode, some sprites and menus have incorrect colors. This game likes to run in 16-bit mode. It runs fine in windowed mode, but in fullscreen it gets yucky. I figured this might be a difference between mac's "15-bit" mode and windows/linux's 16-bit mode. I tried editing the code to tell it to run at 24 or 32 bits in fullscreen, but it only changed the video's mode...the game itself still seemed to be putting out only 16 bits, which made the graphics look even more garbled.
The reason I am asking about this here is that I figured I might find someone who has ported an sdl app to os x in the past. I've learned a lot about it by reading the faqs and documents on their site...and some of them did help me quite a bit with getting the game to compile on the mac....but these problems listed here, I have not been able to find a solution for.
As of now, I am playing the game in Virtual PC, as are many other people...hopefully we'll be able to figure this out!